:root {
    --ink: #0e0d0b;
    --ink-2: #4a4842;
    --ink-3: #9a9690;
    --paper: #f7f5f0;
    --paper-2: #edeae3;
    --paper-3: #e2ddd5;
    --accent: #5e17eb;
    --border: rgba(14, 13, 11, 0.1);
    --border-2: rgba(14, 13, 11, 0.18);
    --shadow: 0 12px 38px rgba(14, 13, 11, 0.08);
    --radius: 10px;
    --radius-lg: 16px;
    --font-display: "DM Serif Display", Georgia, serif;
    --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 3rem;
    min-height: 4rem;
    border-bottom: 1px solid var(--border);
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(14px);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-decoration: none;
}

.nav-logo img,
.f-logo img {
    width: auto;
    height: 2rem;
}

.nav-mobile-controls {
    display: none;
    align-items: center;
    gap: 0.65rem;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-language {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    padding: 0.125rem;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    background: rgba(14, 13, 11, 0.04);
}

.nav-language-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.65rem;
    min-height: 2.05rem;
    padding: 0 0.85rem;
    border-radius: 999px;
    color: var(--ink-3);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.nav-language-option:hover,
.nav-language-option:focus-visible {
    color: var(--ink);
}

.nav-language-option.is-active {
    background: var(--accent);
    color: var(--paper);
    box-shadow: 0 8px 18px rgba(94, 23, 235, 0.24);
}

.nav-language-mobile {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--ink-2);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--ink);
}

.nav-cta,
.btn-primary,
.btn-light,
.price-cta,
.sc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease,
        border-color 0.2s ease;
}

.nav-cta,
.btn-primary,
.price-cta.dark,
.sc-btn {
    background: var(--ink);
    color: var(--paper);
}

.nav-cta,
.sc-btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-cta:hover,
.btn-primary:hover,
.price-cta.dark:hover,
.sc-btn:hover,
.btn-light:hover,
.price-cta.light:hover {
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    padding: 0.55rem 0.95rem;
    cursor: pointer;
}

.mobile-nav-cta {
    display: none;
}

.hero-shell,
.page-shell {
    padding: 0 3rem;
}

.hero,
.proof,
.sec,
.page,
.site-footer,
.f-bottom,
.cta-inner,
.related {
    max-width: 1100px;
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: start;
    padding: 5.5rem 0 3.5rem;
}

.hero-left {
    padding-top: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding: 0.3rem 0.9rem;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--ink-2);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-badge i,
.hf-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.hero h1,
.sec-h,
.article-title,
.feat-name,
.cta-inner h2 {
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.hero h1 {
    font-size: clamp(2.35rem, 4.8vw, 3.75rem);
    margin-bottom: 1.5rem;
}

.hero h1 em,
.sec-h em,
.cta-inner h2 em {
    color: var(--accent);
    font-style: italic;
}

.hero-sub,
.page-intro,
.article-excerpt,
.feat-desc,
.price-desc,
.sc-desc,
.ac-bio,
.what-desc,
.proc-desc {
    color: var(--ink-2);
    font-weight: 300;
}

.hero-sub {
    max-width: 30rem;
    margin: 0 0 2.25rem;
    font-size: 1.05rem;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary,
.price-cta,
.btn-light {
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-ghost,
.view-all {
    color: var(--ink-2);
    border-bottom: 1px solid var(--border-2);
    padding-bottom: 1px;
    text-decoration: none;
}

.btn-ghost:hover,
.view-all:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.hero-right {
    position: relative;
}

.term-shell,
.code-block {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #1a1916;
    box-shadow: 0 2px 48px rgba(14, 13, 11, 0.18);
}

.term-bar,
.code-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: #252320;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
}

.dr {
    background: #fc6058;
}

.dy {
    background: #ffc130;
}

.dg {
    background: #27ca3f;
}

.term-title {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.7rem;
}

.term-body,
.code-body {
    padding: 1.35rem 1.5rem;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
    line-height: 1.8;
}

.tc,
.ck {
    color: #c87d4b;
}

.tg,
.cg {
    color: #5dca8f;
}

.ty,
.cy {
    color: #e8c07a;
}

.tb,
.cb {
    color: #6fa9e8;
}

.td,
.cd {
    color: rgba(255, 255, 255, 0.3);
}

.term-cursor {
    display: inline-block;
    width: 0.5rem;
    height: 0.875rem;
    background: rgba(255, 255, 255, 0.6);
    vertical-align: middle;
    animation: blink 1.1s step-end infinite;
}

.hero-float {
    position: absolute;
    right: -1rem;
    bottom: -1rem;
    min-width: 11rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-2);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(14, 13, 11, 0.12);
}

.hf-label {
    color: var(--ink-3);
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
}

.hf-val {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1rem;
}

.proof {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    flex-wrap: wrap;
    padding: 1.4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.proof-lbl,
.sec-lbl,
.blog-tag,
.article-tag,
.feat-tag,
.toc-title,
.sc-label {
    color: var(--ink-3);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-names {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.proof-name {
    color: var(--ink-3);
    font-family: var(--font-display);
    font-size: 0.95rem;
    opacity: 0.7;
    text-decoration: none;
}

.proof-name:hover {
    color: var(--ink);
    opacity: 1;
}

.sec {
    padding: 6rem 0 0;
}

.sec-blog {
    padding-bottom: 6rem;
}

.sec-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.sec-h {
    max-width: 36rem;
    font-size: clamp(1.8rem, 3.1vw, 2.65rem);
}

.what-grid,
.process {
    overflow: hidden;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--border-2);
}

.what-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 2rem;
    background: var(--paper);
}

.what-title,
.proc-title,
.price-plan,
.related-title,
.sc-title {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.what-title {
    font-size: 1.375rem;
}

.what-desc,
.proc-desc,
.price-desc {
    margin: 0;
    line-height: 1.7;
}

.what-tags,
.stack-items,
.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag,
.stack-tag,
.article-tag-pill,
.share-btn,
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--ink-2);
    text-decoration: none;
}

.tag,
.stack-tag,
.article-tag-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.stack-strip {
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding: 1.4rem 1.8rem;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
}

.stack-lbl {
    color: var(--ink-3);
    font-size: 0.75rem;
    white-space: nowrap;
}

.process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proc-step {
    padding: 2rem;
    border-right: 1px solid var(--border-2);
}

.proc-step:last-child {
    border-right: none;
}

.proc-n,
.what-num {
    color: var(--ink-3);
    font-family: var(--font-display);
    font-size: 0.8rem;
}

.proc-title {
    margin: 0 0 0.6rem;
    font-size: 1.25rem;
}

.port-grid,
.pricing-grid,
.blog-grid,
.related-grid {
    display: grid;
    gap: 1.25rem;
}

.port-grid,
.pricing-grid,
.blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.port-card,
.port-feat,
.price-card,
.blog-card,
.toc,
.sidebar-cta,
.author-card {
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--paper);
}

.port-card,
.port-feat,
.blog-card {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.port-card:hover,
.port-feat:hover,
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.port-feat,
.blog-feat {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.port-img,
.blog-thumb,
.article-hero,
.rel-thumb,
.port-img-feat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(14, 13, 11, 0.18);
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.port-img,
.blog-thumb {
    min-height: 11rem;
}

.blog-thumb-lg,
.port-img-feat {
    min-height: 17.5rem;
    font-size: 2rem;
}

.port-img-feat {
    overflow: hidden;
    background: var(--paper-2);
}

.port-img-feat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-thumb img,
.article-hero img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-thumb.has-image::after,
.article-hero.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(14, 13, 11, 0.18), rgba(14, 13, 11, 0.18));
}

.blog-thumb-label,
.article-hero-label {
    position: relative;
    z-index: 2;
    padding: 1rem;
    text-align: center;
}

.port-img {
    font-size: 1.6rem;
}

.pi1 {
    background-color: #e5ddd0;
    background-image: linear-gradient(135deg, #e5ddd0, #cfc4b2);
}

.pi2 {
    background-color: #d0e5d8;
    background-image: linear-gradient(135deg, #d0e5d8, #b2cfbb);
}

.pi3 {
    background-color: #ddd0e5;
    background-image: linear-gradient(135deg, #ddd0e5, #c4b2cf);
}

.pi4 {
    background-color: #d0dde5;
    background-image: linear-gradient(135deg, #d0dde5, #b2c4cf);
}

.pi5 {
    background-color: #e5d8d0;
    background-image: linear-gradient(135deg, #e5d8d0, #cfbbb2);
}

.port-meta,
.blog-body,
.port-feat-meta {
    display: flex;
    flex-direction: column;
}

.port-meta,
.blog-body {
    padding: 1.15rem 1.25rem;
    border-top: 1px solid var(--border);
}

.port-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.port-feat-meta {
    justify-content: center;
    gap: 0.65rem;
    padding: 2rem;
    border-left: 1px solid var(--border);
}

.feat-name {
    font-size: 1.8rem;
}

.feat-desc {
    margin: 0;
    line-height: 1.7;
}

.feat-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feat-link,
.port-type,
.blog-date,
.meta-item,
.share-lbl,
.ac-role,
.article-list-head .page-intro,
.f-copy {
    color: var(--ink-3);
}

.port-name,
.blog-title,
.related-title,
.article-title,
.ac-name {
    color: var(--ink);
}

.port-name,
.blog-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.2;
}

.blog-body {
    gap: 0.65rem;
}

.blog-excerpt {
    margin: 0;
    color: var(--ink-2);
    line-height: 1.7;
}

.price-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.price-card.featured {
    border-width: 1.5px;
    border-color: var(--ink);
    background: #fff;
}

.price-badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-prefix {
    color: var(--ink-3);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-amount span {
    color: var(--ink-2);
    font-size: 1rem;
}

.price-divider {
    width: 100%;
    margin: 0.25rem 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.price-toggle {
    display: none;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-2);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.price-toggle:hover,
.price-toggle:focus-visible {
    color: var(--ink);
}

.price-details {
    display: block;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-list li {
    display: flex;
    gap: 0.65rem;
    color: var(--ink-2);
}

.price-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.price-cta.light,
.btn-light {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
}

.price-note {
    margin: 0;
    color: var(--ink-3);
    font-size: 0.85rem;
}

.faq-list {
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.35);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.faq-q:hover {
    color: var(--accent);
}

.faq-icon {
    color: var(--ink-3);
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: var(--ink-2);
    transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.open .faq-a {
    max-height: 16rem;
    padding-bottom: 1.35rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.cta-band {
    padding: 5rem 3rem 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 2.75rem;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--paper);
}

.cta-inner h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.cta-inner p {
    max-width: 37rem;
    margin: 0;
    color: rgba(247, 245, 240, 0.72);
}

.empty-state {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 1px dashed var(--border-2);
    border-radius: var(--radius-lg);
    color: var(--ink-2);
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 5.5rem 0 2rem;
}

.f-brand p {
    max-width: 26rem;
    margin: 1rem 0 0;
    color: var(--ink-2);
}

.f-social,
.f-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.f-col h4 {
    margin: 0;
    font-size: 0.95rem;
}

.f-col a,
.f-social a {
    color: var(--ink-2);
    text-decoration: none;
}

.f-col a:hover,
.f-social a:hover {
    color: var(--ink);
}

.f-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 0 3rem;
}

.page {
    padding: 1.5rem 0 5rem;
}

.page-narrow {
    max-width: 860px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: var(--ink-3);
    font-size: 0.82rem;
}

.breadcrumb a {
    text-decoration: none;
}

.article-list-head,
.textpage-header {
    max-width: 48rem;
    padding: 2.25rem 0 2rem;
}

.page-intro {
    margin: 1rem 0 0;
    line-height: 1.7;
}

.article-header {
    max-width: 48rem;
    padding: 2rem 0 0;
}

.article-tag {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent);
}

.article-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.article-excerpt {
    max-width: 40rem;
    margin: 1.25rem 0 2rem;
    font-size: 1.05rem;
    line-height: 1.72;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.author,
.ac-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar,
.ac-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    background: var(--paper-3);
    color: var(--ink-2);
    font-size: 0.8rem;
    font-weight: 600;
}

.author-name,
.ac-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.ac-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-role,
.ac-role {
    font-size: 0.78rem;
}

.meta-divider {
    width: 1px;
    height: 1.8rem;
    background: var(--border-2);
}

.article-hero {
    min-height: 26rem;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    background-image: linear-gradient(135deg, #e8e4d8, #d5ceb8);
    font-size: 2.25rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 4rem;
    padding-bottom: 4rem;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
}

.share-btn,
.page-link {
    padding: 0.55rem 1rem;
    font: inherit;
    cursor: pointer;
}

.share-btn:hover,
.page-link:hover {
    background: var(--paper-3);
    color: var(--ink);
}

.sidebar-sticky {
    position: sticky;
    top: 5.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toc,
.sidebar-cta,
.author-card {
    padding: 1.5rem;
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.toc-list li.is-sub a {
    padding-left: 1rem;
    font-size: 0.85rem;
}

.toc-list a {
    color: var(--ink-2);
    text-decoration: none;
}

.toc-list a.active,
.toc-list a:hover {
    color: var(--ink);
}

.sidebar-cta {
    background: #fff;
}

.sc-title {
    margin: 0.45rem 0 0.65rem;
    font-size: 1.4rem;
}

.sc-desc,
.ac-bio {
    margin: 0 0 1rem;
    line-height: 1.7;
}

.related {
    padding: 0 0 5rem;
}

.related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.related-title {
    font-size: 1.6rem;
}

.related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pagination-shell {
    padding-top: 2rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.page-link.current {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.legal-shell {
    padding-bottom: 4rem;
}

.textpage-body {
    padding: 2rem 0 0;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .site-nav,
    .hero-shell,
    .page-shell,
    .cta-band {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .nav-mobile-controls {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1.5rem;
        left: 1.5rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
        border: 1px solid var(--border-2);
        border-radius: var(--radius-lg);
        background: rgba(247, 245, 240, 0.98);
        box-shadow: var(--shadow);
    }

    .nav-panel.is-open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .nav-language-desktop,
    .nav-cta-panel {
        display: none;
    }

    .nav-language-mobile {
        display: inline-flex;
    }

    .nav-language {
        align-self: flex-start;
    }

    .nav-language-mobile {
        gap: 0.1rem;
        padding: 0.1rem;
    }

    .nav-language-mobile .nav-language-option {
        min-width: 2.35rem;
        min-height: 1.85rem;
        padding: 0 0.7rem;
        font-size: 0.82rem;
    }

    .mobile-nav-cta {
        position: fixed;
        top: calc(4.6rem + env(safe-area-inset-top));
        left: 50%;
        z-index: 95;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: max-content;
        max-width: calc(100% - 3rem);
        padding: 0.55rem 1.25rem;
        border-radius: 999px;
        background: var(--ink);
        color: var(--paper);
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        box-shadow: 0 12px 30px rgba(14, 13, 11, 0.2);
        transform: translateX(-50%);
        transition: transform 0.15s ease, opacity 0.15s ease;
    }

    .nav-is-open .mobile-nav-cta {
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, -0.4rem);
    }

    .site-body.has-mobile-cta .hero-shell,
    .site-body.has-mobile-cta .page-shell {
        margin-top: 3.5rem;
    }

    .hero,
    .article-layout,
    .site-footer,
    .pricing-grid,
    .port-feat,
    .blog-feat {
        grid-template-columns: 1fr;
    }

    .hero,
    .port-grid,
    .blog-grid,
    .related-grid,
    .what-grid,
    .process {
        gap: 1rem;
    }

    .what-grid,
    .port-grid,
    .blog-grid,
    .related-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .what-grid,
    .process {
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .process {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(18rem, calc((100% - 1rem) / 1.5));
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .process::-webkit-scrollbar {
        display: none;
    }

    .what-card,
    .proc-step {
        border: 1px solid var(--border-2);
        border-radius: var(--radius-lg);
        background: var(--paper);
    }

    .proc-step {
        min-width: 0;
        border-right: 1px solid var(--border-2);
        scroll-snap-align: start;
    }

    .port-feat,
    .blog-feat {
        grid-column: span 1;
    }

    .port-feat-meta {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .related,
    .page,
    .site-footer {
        padding-top: 2rem;
    }
}

@media (max-width: 720px) {
    .site-nav {
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .site-body.has-mobile-cta .hero-shell,
    .site-body.has-mobile-cta .page-shell {
        margin-top: 3.25rem;
    }

    .hero {
        padding-top: 3.5rem;
        gap: 2rem;
    }

    .hero-float {
        position: static;
        margin-top: 1rem;
    }

    .article-meta,
    .f-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .proof,
    .sec,
    .related,
    .site-footer,
    .f-bottom {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .proof {
        flex-wrap: nowrap;
        gap: 1.25rem;
        overflow-x: auto;
        overflow-y: hidden;
        align-items: center;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .proof::-webkit-scrollbar,
    .process::-webkit-scrollbar {
        display: none;
    }

    .js-ready .price-toggle {
        display: inline-flex;
        align-self: flex-start;
    }

    .js-ready .price-details {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.28s ease, opacity 0.2s ease;
    }

    .js-ready .price-card.is-open .price-details {
        opacity: 1;
    }

    .proof-lbl,
    .proof-name {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .proof-names {
        flex-wrap: nowrap;
        gap: 1.25rem;
        min-width: max-content;
    }

    .process {
        grid-auto-columns: minmax(16rem, calc((100% - 0.875rem) / 1.5));
    }

    .proc-step {
        min-width: 0;
    }

    .meta-divider {
        display: none;
    }

    .article-hero {
        min-height: 14rem;
    }
}
