/* ============================================
   KRINO Dokim — Landing Page Styles
   Brand: Anchor (#1B3A5C) + Amber (#A8741F)
   ============================================ */

/* --- Self-hosted Inter (GDPR compliance — no third-party font requests) --- */
/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Self-hosted Newsreader (GDPR compliance — no third-party font requests) --- */
/* latin-ext */
@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../assets/fonts/newsreader-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../assets/fonts/newsreader-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext italic */
@font-face {
    font-family: 'Newsreader';
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
    src: url('../assets/fonts/newsreader-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin italic */
@font-face {
    font-family: 'Newsreader';
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
    src: url('../assets/fonts/newsreader-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Self-hosted Geist Mono (GDPR compliance — no third-party font requests) --- */
/* latin */
@font-face {
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../assets/fonts/geist-mono-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- Anchor palette (navy) --- */
    --anchor:         #1B3A5C;
    --anchor-deep:    #132A44;
    --anchor-light:   #24496F;
    --anchor-alpha-2: rgba(27, 58, 92, 0.02);
    --anchor-alpha-4: rgba(27, 58, 92, 0.04);
    --anchor-alpha-6: rgba(27, 58, 92, 0.06);

    /* --- Accent palette (amber) --- */
    --accent:         #A8741F;                    /* amber display — headlines, accent moments */
    --accent-text:    #8C5F18;                    /* amber body — links, CTAs (AA-compliant) */
    --accent-deep:    #6E4A0F;                    /* amber hover */
    --accent-soft-bg: #F5E6CF;                    /* soft amber background — badges, soft emphasis */
    --accent-alpha-4:  rgba(168, 116, 31, 0.04);
    --accent-alpha-10: rgba(168, 116, 31, 0.1);
    --accent-alpha-15: rgba(168, 116, 31, 0.15);
    --accent-alpha-20: rgba(168, 116, 31, 0.2);
    --accent-alpha-25: rgba(168, 116, 31, 0.25);
    --accent-alpha-30: rgba(168, 116, 31, 0.3);
    --accent-alpha-40: rgba(168, 116, 31, 0.4);

    /* --- Semantic --- */
    --positive:       #3D7A0A;                    /* semantic green — comparison checkmarks only; distinct from --accent */

    /* --- Ink (text) --- */
    --ink:            #2D3748;
    --ink-soft:       #607085;
    --ink-muted:      #697077;
    --text-on-dark:   rgba(255, 255, 255, 0.95);  /* primary text on dark/navy surfaces */
    --text-on-dark-secondary: rgba(255, 255, 255, 0.75);  /* secondary text on dark surfaces */
    --code-comment:           #9AB0C5;                     /* designed slate — passes contrast on anchor-deep, preserves syntax dimming */

    /* --- Surface --- */
    --bg: #F4F0E6;
    --bg-alt: #FFFFFF;
    --border: #E2E8F0;

    /* --- Elevation --- */
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

    /* --- Shape --- */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    /* --- Motion --- */
    --transition: 0.2s ease;

    /* --- Typography --- */
    --font-display:   'Newsreader', Georgia, serif;
    --font-body:      'Inter', system-ui, sans-serif;
    --font-mono:      'Geist Mono', 'SF Mono', monospace;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 1001;
    padding: 8px 16px;
    background: var(--anchor);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px var(--accent-alpha-40);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(244, 240, 230, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
    border-bottom-color: var(--border);
    background: rgba(244, 240, 230, 0.95);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--anchor);
}

.nav-links .nav-mobile-cta {
    display: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
}

.nav-links .nav-mobile-cta:hover {
    color: #fff;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--anchor);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Nav dropdown --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color var(--transition);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--anchor);
}

.nav-dropdown-arrow {
    font-size: 10px;
    display: inline-block;
    transition: transform var(--transition);
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 160px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 100;
}

@media (hover: hover) {
    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color var(--transition), background var(--transition);
}

.nav-dropdown-menu a:hover {
    color: var(--anchor);
    background: var(--bg-alt);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm {
    font-size: 13px;
    padding: 8px 18px;
}

.btn-lg {
    font-size: 16px;
    padding: 14px 32px;
}

.btn-block {
    display: flex;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
}

.btn-primary {
    background: var(--accent-text);
    color: #fff;
    border-color: var(--accent-text);
}

.btn-primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-alpha-30);
}

.btn-outline {
    background: transparent;
    color: var(--anchor);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--anchor);
    background: var(--anchor-alpha-4);
}

.btn-disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: default;
}

/* --- Hero --- */
.hero {
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-text);
    background: var(--accent-alpha-10);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--anchor);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-accent {
    color: var(--accent-text);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--anchor);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Hero Generation Animation */
.hero-visual {
    display: flex;
    justify-content: center;
}

/* Generation Animation (single-window, Path B) */
.gen-anim {
    --output-text: #E8DEC6;
    --output-step: #8FB3D9;
    background: var(--anchor-deep);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
}

.gen-anim-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.15);
}

.gen-anim-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.gen-anim-dots span:nth-child(1) { background: #FF5F57; }
.gen-anim-dots span:nth-child(2) { background: #FFBD2E; }
.gen-anim-dots span:nth-child(3) { background: #28C840; }

.gen-anim-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.gen-anim-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    color: var(--output-text);
}

.gen-anim-input {
    margin-bottom: 8px;
    position: relative;
}

.gen-anim-divider {
    text-align: center;
    color: var(--accent);
    font-weight: 600;
    padding: 8px 0;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.gen-anim-divider-text {
    position: relative;
    z-index: 1;
}

.gen-anim-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--accent-alpha-25) 40%,
        var(--accent-alpha-25) 60%,
        transparent 100%
    );
    animation: gen-scan 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gen-scan {
    0%   { transform: translateX(-100%); opacity: 1; }
    30%  { transform: translateX(100%);  opacity: 1; }
    35%  { opacity: 0; }
    100% { opacity: 0; transform: translateX(100%); }
}

.gen-anim-indent { padding-left: 20px; }
.gen-anim-code-comment { color: var(--code-comment); }
.gen-anim-code-kw { color: var(--accent); font-weight: 600; }
.gen-anim-code-step { color: var(--output-step); font-weight: 600; }

.gen-anim-scenario {
    opacity: 0;
    transform: translateY(8px);
    margin-bottom: 12px;
}

.gen-anim-scenario[data-delay="1"] { animation: gen-cascade-1 8s ease-out infinite; }
.gen-anim-scenario[data-delay="2"] { animation: gen-cascade-2 8s ease-out infinite; }
.gen-anim-scenario[data-delay="3"] { animation: gen-cascade-3 8s ease-out infinite; }

@keyframes gen-cascade-1 {
    0%, 35%   { opacity: 0; transform: translateY(8px); }
    40%       { opacity: 1; transform: translateY(0); }
    80%       { opacity: 1; }
    85%       { opacity: 0; transform: translateY(-4px); }
    100%      { opacity: 0; transform: translateY(8px); }
}

@keyframes gen-cascade-2 {
    0%, 40%   { opacity: 0; transform: translateY(8px); }
    45%       { opacity: 1; transform: translateY(0); }
    82.5%     { opacity: 1; }
    87.5%     { opacity: 0; transform: translateY(-4px); }
    100%      { opacity: 0; transform: translateY(8px); }
}

@keyframes gen-cascade-3 {
    0%, 45%   { opacity: 0; transform: translateY(8px); }
    50%       { opacity: 1; transform: translateY(0); }
    85%       { opacity: 1; }
    90%       { opacity: 0; transform: translateY(-4px); }
    100%      { opacity: 0; transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
    .gen-anim-scan {
        animation: none;
        display: none;
    }
    .gen-anim-scenario {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* --- Sections --- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--anchor);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--ink-soft);
}

.section-header a {
    color: var(--accent-deep);
    text-decoration: underline;
    transition: var(--transition);
}

.section-header a:hover {
    color: var(--anchor);
}

/* --- How It Works --- */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-alt);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    text-align: center;
    max-width: 280px;
    padding: 0 20px;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-text);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-alpha-10);
    color: var(--accent);
    margin-bottom: 16px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--anchor);
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--ink-muted);
}

/* --- Audience / Who It's For --- */
.audience {
    padding: 100px 0;
    background: var(--bg);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.audience-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

@media (hover: hover) {
    .audience-card:hover {
        border-color: var(--accent-alpha-30);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }
}

.audience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-alpha-10);
    color: var(--accent);
    margin-bottom: 14px;
}

.audience-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--anchor);
    margin-bottom: 8px;
}

.audience-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* --- Features --- */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

@media (hover: hover) {
    .feature-card:hover {
        border-color: var(--accent-alpha-30);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-alpha-10);
    color: var(--accent);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--anchor);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* --- Providers Strip --- */
.providers {
    padding: 48px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.providers-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ink-muted);
    margin-bottom: 24px;
}

.providers-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.provider {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 500;
}

.provider svg {
    opacity: 0.5;
}

.provider-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent-alpha-10);
    color: var(--accent-text);
    padding: 2px 6px;
    border-radius: 4px;
}

/* --- Batch Processing --- */
.batch {
    padding: 80px 0;
    background: var(--bg-alt);
}

.batch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.batch-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.batch-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-alpha-10);
    color: var(--accent);
}

.batch-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--anchor);
    margin-bottom: 4px;
}

.batch-text p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* --- Persona Callout (How It Works) --- */
.persona-callout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 720px;
    margin: 48px auto 0;
    padding: 24px 28px;
    background: var(--anchor-alpha-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.persona-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-alpha-10);
    color: var(--accent);
}

.persona-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--anchor);
    margin-bottom: 6px;
}

.persona-text p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.persona-text a {
    color: var(--accent-deep);
    text-decoration: underline;
    transition: var(--transition);
}

.persona-text a:hover {
    color: var(--anchor);
}

/* --- Comparison Section --- */
.comparison {
    padding: 100px 0;
    background: var(--bg);
}

.comparison-table {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-alt);
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table thead tr {
    background: var(--anchor);
    color: #fff;
}

.comparison-feature-label {
    padding: 14px 20px;
}

.comparison-col-header {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.comparison-col-krino {
    background: var(--accent-alpha-15);
}

.comparison-row td,
.comparison-row th {
    border-top: 1px solid var(--border);
}

.comparison-row:hover {
    background: var(--anchor-alpha-2);
}

.comparison-feature {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--anchor);
    text-align: left;
}

.comparison-cell {
    padding: 14px 20px;
    font-size: 13px;
    line-height: 1.5;
}

.comparison-cell svg {
    vertical-align: middle;
    margin-right: 8px;
}

.comparison-no {
    color: var(--ink-muted);
}

.comparison-no svg {
    color: #D97706;
}

.comparison-yes {
    color: var(--ink);
    background: var(--accent-alpha-4);
}

.comparison-yes svg {
    color: var(--positive);
}

.pipeline-callout {
    max-width: 640px;
    margin: 32px auto 0;
    padding: 24px 28px;
    background: var(--anchor-alpha-4);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    text-align: left;
}

.pipeline-callout-headline {
    font-size: 16px;
    color: var(--anchor);
    margin-bottom: 8px;
    line-height: 1.5;
}

.pipeline-callout-body {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.pipeline-callout-body a {
    color: var(--accent-deep);
    text-decoration: underline;
    transition: var(--transition);
}

.pipeline-callout-body a:hover {
    color: var(--anchor);
}

/* --- Slogan Band --- */
/* Also provides visual break between --bg sections (Comparison + Security) */
.slogan-band {
    padding: 48px 0;
    background: var(--anchor-deep);
    text-align: center;
}

.slogan-band-text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.3px;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Security Section (expanded privacy) --- */
.security {
    padding: 100px 0;
    background: var(--bg);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.security-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

@media (hover: hover) {
    .security-card:hover {
        border-color: var(--accent-alpha-30);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }
}

.security-card-highlight {
    border-color: var(--accent-text);
    box-shadow: 0 0 0 1px var(--accent-text);
}

.security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-alpha-10);
    color: var(--accent);
    margin-bottom: 14px;
}

.security-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--anchor);
    margin-bottom: 8px;
}

.security-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* --- Coverage Levels --- */
.coverage {
    padding: 100px 0;
    background: var(--bg-alt);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.coverage-card {
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    transition: all var(--transition);
}

@media (hover: hover) {
    .coverage-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

.coverage-card-active {
    border-color: var(--accent-text);
    box-shadow: 0 0 0 1px var(--accent-text);
}

.coverage-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-text);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.coverage-level {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink-muted);
    margin-bottom: 8px;
}

.coverage-count {
    font-size: 40px;
    font-weight: 800;
    color: var(--anchor);
    line-height: 1;
    margin-bottom: 4px;
}

.coverage-label {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.coverage-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* --- Pricing --- */
.pricing {
    padding: 100px 0;
    background: var(--bg-alt);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pricing-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    background: transparent;
    color: var(--ink-soft);
    transition: all var(--transition);
}

.pricing-toggle-btn.active {
    background: var(--anchor);
    color: #fff;
}

.pricing-toggle-save {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--accent-alpha-15);
    color: var(--accent-text);
    padding: 2px 8px;
    border-radius: 100px;
}

.pricing-toggle-btn.active .pricing-toggle-save {
    background: var(--accent-alpha-25);
    color: var(--accent);
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
}

.pricing-card-featured {
    background: var(--anchor);
    border-color: var(--anchor);
    color: #fff;
}

.pricing-card-header {
    margin-bottom: 28px;
}

.pricing-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--anchor);
}

.pricing-card-featured .pricing-card-header h3 {
    color: #fff;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-amount,
.pricing-period {
    transition: opacity 150ms ease;
}

.pricing-amount.price-updating,
.pricing-period.price-updating {
    opacity: 0;
}

.pricing-amount {
    font-size: 40px;
    font-weight: 800;
    color: var(--anchor);
    letter-spacing: -1px;
}

.pricing-card-featured .pricing-amount {
    color: #fff;
}

.pricing-period {
    font-size: 16px;
    color: var(--ink-muted);
    font-weight: 500;
}

.pricing-card-featured .pricing-period {
    color: rgba(255,255,255,0.6);
}

.pricing-desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.pricing-card-featured .pricing-desc {
    color: rgba(255,255,255,0.7);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink);
}

.pricing-card-featured .pricing-features li {
    color: rgba(255,255,255,0.9);
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--accent);
}

.pricing-card-featured .pricing-features li svg {
    color: var(--accent);
}

.pricing-card-featured .btn-primary {
    background: var(--accent-text);
    border-color: var(--accent-text);
}

.pricing-card-featured .btn-primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
}

.pricing-trial-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-on-dark-secondary);
    margin-top: 16px;
    line-height: 1.5;
}

.pricing-roi-note {
    text-align: center;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--ink-muted);
    margin-top: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--anchor);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

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

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--ink-muted);
}

.faq-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* --- Download / CTA --- */
.download {
    padding: 100px 0;
    background: var(--anchor);
    text-align: center;
}

.download h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.download p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.download-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.release-notes-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-on-dark-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.release-notes-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.download .btn-primary {
    font-size: 18px;
    padding: 16px 40px;
}

.download-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.platform {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
    background: none;
    appearance: none;
    font-family: inherit;
    transition: var(--transition);
    cursor: default;
}

.platform:not(.platform-soon) {
    cursor: pointer;
}

.platform-active {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent-alpha-15);
}

.platform-active svg {
    color: var(--accent);
}

.platform-soon {
    opacity: 0.5;
    cursor: not-allowed;
}

.coming-soon {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.download-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-on-dark-secondary);
}

.download-meta-sep {
    font-size: 10px;
}

.download-hint {
    font-size: 13px;
    color: var(--text-on-dark-secondary);
    margin-top: 8px;
}

/* --- Getting Started --- */
.getting-started {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.getting-started h3 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.getting-started-steps {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.getting-started-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.getting-started-steps li strong {
    color: rgba(255,255,255,0.9);
}

.gs-step-number {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-alpha-20);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.gs-step-code {
    display: block;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 12px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    padding: 3px 8px;
    border-radius: 4px;
    margin: 6px 0;
}

.gs-footnote {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-on-dark-secondary);
    line-height: 1.5;
}

.gs-footnote a {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition);
}

.gs-footnote a:hover {
    color: #fff;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 32px;
    background: var(--anchor-deep);
    color: rgba(255,255,255,0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 300px;
}

.footer-slogan {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-top: 8px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-on-dark-secondary);
}

/* --- Legal Pages --- */
.legal {
    padding: 120px 0 80px;
}

.legal h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--anchor);
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--anchor);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--anchor);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal p {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal li {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal a {
    color: var(--accent-text);
    text-decoration: underline;
    transition: var(--transition);
}

.legal a:hover {
    color: var(--anchor);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.legal-shortcuts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-top: 8px;
}

.legal-shortcuts-table thead tr {
    border-bottom: 1px solid var(--anchor-alpha-6);
}

.legal-shortcuts-table th {
    text-align: left;
    padding: 8px 12px;
    color: var(--ink-soft);
    font-weight: 600;
}

.legal-shortcuts-table td {
    padding: 8px 12px;
}

.release-card {
    background: var(--bg-alt);
    border: 1px solid var(--anchor-alpha-6);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}

.release-card h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.release-card p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.release-card-links {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.release-card-links a {
    color: var(--accent-text);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.release-card-links a:hover {
    color: var(--accent-deep);
}

.legal-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0 24px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 520px;
}

.legal-table thead tr {
    border-bottom: 1px solid var(--anchor-alpha-6);
}

.legal-table th {
    text-align: left;
    padding: 8px 12px;
    color: var(--ink-soft);
    font-weight: 600;
    white-space: nowrap;
}

.legal-table td {
    padding: 8px 12px;
}

.legal-table tbody tr + tr {
    border-top: 1px solid var(--anchor-alpha-2);
}

/* --- Docs sidebar nav --- */
.docs-nav {
    position: sticky;
    top: 80px;
    flex-shrink: 0;
    width: 200px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.docs-nav a {
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 4px 12px;
    border-left: 2px solid transparent;
    transition: var(--transition);
}

.docs-nav a:hover {
    color: var(--ink);
}

.docs-nav-active {
    color: var(--accent-text) !important;
    font-weight: 600;
    border-left-color: var(--accent-text) !important;
}

/* Legal section becomes flex when docs-nav is present */
.legal:has(.docs-nav) {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.legal:has(.docs-nav) > .container {
    flex: 1;
    min-width: 0;
}

@media (max-width: 900px) {
    .legal:has(.docs-nav) {
        flex-direction: column;
        gap: 0;
    }

    .docs-nav {
        position: sticky;
        top: 60px;
        width: 100%;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        gap: 0;
        padding: 12px 0;
        background: var(--bg);
        z-index: 10;
        border-bottom: 1px solid var(--border);
    }

    .docs-nav a {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 6px 12px;
        flex-shrink: 0;
    }

    .docs-nav-active {
        border-left-color: transparent !important;
        border-bottom-color: var(--accent-text) !important;
    }
}

/* --- 404 Error Page --- */
.error-page {
    padding: 180px 0 120px;
    text-align: center;
}

.error-page h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--anchor);
    margin-bottom: 12px;
}

.error-page p {
    font-size: 18px;
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.error-recovery {
    margin-top: 40px;
}

.error-recovery p {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.error-recovery ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.error-recovery a {
    color: var(--accent-text);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.error-recovery a:hover {
    color: var(--accent-deep);
}

/* --- Animations --- */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
    .animate-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .feature-card,
    .coverage-card,
    .security-card,
    .audience-card {
        transition: none;
    }
    .faq-answer {
        transition: none;
    }
    .faq-chevron {
        transition: none;
    }
    .platform {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-visual {
        order: -1;
    }

    .gen-anim {
        max-width: 480px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-feature,
    .comparison-cell {
        padding: 12px 14px;
    }

    .download-platforms {
        flex-wrap: wrap;
        gap: 12px;
    }

    .slogan-band-text {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: calc(100vh - 72px);
        min-height: calc(100dvh - 72px);
        padding: 32px 24px 40px;
        gap: 8px;
    }

    .nav-links.open {
        display: flex;
    }

    body.drawer-open {
        overflow: hidden;
    }

    .nav .btn-sm {
        display: none;
    }

    .nav-links .nav-mobile-cta {
        display: inline-flex;
        align-self: center;
        margin-top: 16px;
    }

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

    .nav-dropdown-toggle {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: none;
        padding: 0;
        min-width: auto;
    }

    .nav-dropdown-menu a {
        justify-content: center;
        text-align: center;
    }

    .nav-dropdown-menu a {
        padding: 0;
        background: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-visual {
        order: 0;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .step-connector {
        display: none;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .batch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table th,
    .comparison-table td {
        display: block;
    }

    .comparison-feature {
        background: var(--bg);
        font-weight: 700;
    }

    .comparison-cell {
        padding-left: 20px;
    }

    .comparison-cell[data-column]::before {
        content: attr(data-column);
        display: block;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
        line-height: 1;
        color: var(--ink-muted);
    }

    .comparison-cell[data-column="KRINO Dokim"]::before {
        color: var(--accent-text);
    }

    .persona-callout {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .download h2 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .slogan-band {
        padding: 36px 0;
    }

    .slogan-band-text {
        font-size: 22px;
    }

    .pricing-toggle-btn {
        padding: 12px 24px;
        min-height: 44px;
    }

    .platform {
        padding: 12px 20px;
        min-height: 44px;
    }

    .download-meta {
        flex-wrap: wrap;
        justify-content: center;
    }

    .download-meta-sep {
        display: none;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .how-it-works,
    .audience,
    .features,
    .batch,
    .comparison,
    .security,
    .coverage,
    .pricing,
    .faq,
    .download {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header p {
        font-size: 16px;
    }

    .nav-mobile-toggle {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    .nav-links a,
    .nav-dropdown-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer-col a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .providers-grid {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .slogan-band-text {
        font-size: 20px;
    }

    .gen-anim-body {
        font-size: 11px;
        padding: 16px;
    }

    .batch-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .batch-grid,
    .security-grid,
    .audience-grid,
    .coverage-grid {
        gap: 16px;
    }

    .how-it-works,
    .audience,
    .features,
    .batch,
    .comparison,
    .security,
    .coverage,
    .pricing,
    .faq,
    .download {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .download h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 15px;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .feature-card {
        padding: 20px;
    }

    .security-card,
    .audience-card {
        padding: 20px;
    }

    .pricing-card {
        padding: 24px;
    }

    .coverage-card {
        padding: 20px 16px;
    }

    .providers-grid {
        gap: 16px;
    }

    .pricing-toggle-btn {
        padding: 8px 16px;
        min-height: auto;
        font-size: 13px;
    }

    .pricing-toggle-save {
        padding: 2px 6px;
        letter-spacing: 0;
    }

    .comparison-cell[data-column]::before {
        font-size: 12px;
    }
}

/* ============================================================
   Blog Listing
   ============================================================ */

.blog {
    padding: 120px 0 80px;
}

.blog .section-header h1 {
    font-size: 36px;
    color: var(--anchor);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 720px;
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    transition: var(--transition);
}

@media (hover: hover) {
    .blog-card:hover {
        border-color: var(--accent-alpha-30);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }
}

.blog-card-link {
    display: block;
    padding: 28px;
    text-decoration: none;
    color: inherit;
}

.blog-card time {
    display: block;
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 8px;
}

.blog-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--anchor);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card-meta {
    font-size: 13px;
    color: var(--ink-muted);
}

/* ============================================================
   Blog Post
   ============================================================ */

.post {
    padding: 120px 0 80px;
}

.post .container {
    max-width: 720px;
}

.post-back {
    display: inline-block;
    font-size: 14px;
    color: var(--ink-muted);
    text-decoration: none;
    margin-bottom: 24px;
    transition: var(--transition);
}

.post-back:hover {
    color: var(--accent-text);
}

.post-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--anchor);
    line-height: 1.2;
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.post-deck {
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.post-byline strong {
    color: var(--anchor);
}

/* Post prose — optimised for reading */
.post-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink);
}

.post-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--anchor);
    margin-top: 48px;
    margin-bottom: 16px;
}

.post-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--anchor);
    margin-top: 36px;
    margin-bottom: 12px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content a:not(.btn) {
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.post-content a:hover:not(.btn) {
    color: var(--anchor);
}

.post-content pre {
    background: var(--anchor);
    color: #E2E8F0;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.post-content code {
    font-family: 'Courier New', Courier, monospace;
}

.post-content p code {
    background: var(--anchor-alpha-6);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 15px;
}

.post-content figure {
    margin: 32px 0;
}

.post-content figure img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.post-content figcaption {
    font-size: 14px;
    color: var(--ink-muted);
    text-align: center;
    margin-top: 8px;
}

.post-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 24px 0;
    color: var(--ink-soft);
    font-style: italic;
}

.post-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--anchor);
    margin-top: 28px;
    margin-bottom: 8px;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 15px;
    border: 1px solid #CBD5E1;
    overflow-x: auto;
}

.post-content th,
.post-content td {
    padding: 12px 18px;
    border: 1px solid #CBD5E1;
    text-align: left;
    vertical-align: top;
}

.post-content thead th {
    background: var(--anchor);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    vertical-align: middle;
    border-color: rgba(255, 255, 255, 0.15);
}

.post-content tbody tr:nth-child(even) {
    background: #EEEEE8;
}

.post-content td:first-child {
    white-space: nowrap;
    font-weight: 600;
    color: var(--anchor);
}

/* Post footer */
.post-footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.post-cta {
    background: var(--accent-alpha-4);
    border: 1px solid var(--accent-alpha-20);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.post-cta p {
    font-size: 15px;
    color: var(--ink);
    margin: 0;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.post-nav a {
    font-size: 14px;
    color: var(--ink-muted);
    text-decoration: none;
    transition: var(--transition);
}

.post-nav a:hover {
    color: var(--accent-text);
}

.post-nav-next {
    margin-left: auto;
}

/* Post share */
.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.post-share-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
}

.post-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--anchor);
    text-decoration: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    line-height: 1.4;
}

.post-share-btn svg {
    flex-shrink: 0;
}

.post-share-btn:hover {
    border-color: var(--accent-text);
    color: var(--accent-text);
}

.post-share-btn:focus-visible {
    outline: 2px solid var(--accent-text);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .blog {
        padding: 60px 0;
    }

    .post {
        padding: 112px 0 60px;
    }

    .post-back {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin-bottom: 20px;
        color: var(--anchor);
        font-weight: 600;
    }

    .post-header h1 {
        font-size: 28px;
    }

    .post-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog {
        padding: 40px 0;
    }

    .post {
        padding: 104px 0 40px;
    }

    .post-header h1 {
        font-size: 24px;
    }

    .post-content {
        font-size: 16px;
    }

    .post-content h2 {
        font-size: 20px;
    }

    .post-content pre {
        padding: 16px;
        font-size: 13px;
    }

    .post-content table {
        font-size: 13px;
    }

    .post-content th,
    .post-content td {
        padding: 8px 12px;
    }

    .post-deck {
        font-size: 16px;
    }

    .blog-card-link {
        padding: 20px;
    }
}
