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

:root,
[data-theme="dark"] {
    --green: #00C896;
    --green-deep: #009E78;
    --green-glow: rgba(0, 200, 150, 0.18);
    --green-pale: rgba(0, 200, 150, 0.08);
    --green-pale-hover: rgba(0, 200, 150, 0.14);

    --bg-base: #0A0F0D;
    --bg-alt: #1C2820;
    --bg-card: #1C2820;
    --bg-card-hover: rgba(0, 200, 150, 0.04);

    --text-primary: #FFFFFF;
    --text-secondary: #6B7F79;
    --text-muted: #9EB5AF;

    --border: rgba(0, 200, 150, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.06);
    --border-nav: rgba(0, 200, 150, 0.15);

    --nav-scrolled-bg: rgba(10, 15, 13, 0.88);
    --nav-link-hover-bg: rgba(255, 255, 255, 0.05);
    --nav-link-color: #9EB5AF;

    --mockup-bg: #1C2820;
    --mockup-border: rgba(255, 255, 255, 0.1);
    --mockup-bar-bg: rgba(255, 255, 255, 0.04);
    --mockup-bar-border: rgba(255, 255, 255, 0.06);
    --mockup-url-bg: rgba(255, 255, 255, 0.06);
    --mockup-url-color: #6B7F79;
    --mockup-cat-bg: rgba(255, 255, 255, 0.04);
    --mockup-cat-border: rgba(255, 255, 255, 0.07);
    --mockup-cat-name: #FFFFFF;
    --mockup-cat-count: #6B7F79;

    --hero-stat-border: rgba(255, 255, 255, 0.07);
    --btn-ghost-border: rgba(255, 255, 255, 0.12);
    --btn-ghost-border-hover: rgba(255, 255, 255, 0.24);
    --btn-ghost-color: #9EB5AF;
    --btn-ghost-hover-bg: rgba(255, 255, 255, 0.04);

    --step-bg: #1C2820;
    --step-gap: rgba(0, 0, 0, 0.2);

    --plan-bg: #0A0F0D;
    --plan-border: rgba(255, 255, 255, 0.08);
    --plan-hr: rgba(255, 255, 255, 0.08);
    --plan-feat-color: #9EB5AF;
    --pb-outline-color: #9EB5AF;
    --pb-outline-border: rgba(255, 255, 255, 0.15);

    --float-a-bg: rgba(10, 15, 13, 0.92);
    --float-b-bg: rgba(0, 200, 150, 0.14);
    --float-b-border: rgba(0, 200, 150, 0.25);

    --scrollbar-track: #0A0F0D;

    --toggle-bg: rgba(255, 255, 255, 0.08);
    --toggle-border: rgba(255, 255, 255, 0.12);
    --toggle-icon-color: #9EB5AF;

    --footer-border: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] {
    --green: #009E78;
    --green-deep: #007A5E;
    --green-glow: rgba(0, 158, 120, 0.2);
    --green-pale: rgba(0, 158, 120, 0.08);
    --green-pale-hover: rgba(0, 158, 120, 0.14);

    --bg-base: #F5FAF8;
    --bg-alt: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: rgba(0, 158, 120, 0.04);

    --text-primary: #0D1F1A;
    --text-secondary: #4A6660;
    --text-muted: #6B8F88;

    --border: rgba(0, 158, 120, 0.18);
    --border-subtle: rgba(0, 0, 0, 0.07);
    --border-card: rgba(0, 0, 0, 0.08);
    --border-nav: rgba(0, 158, 120, 0.15);

    --nav-scrolled-bg: rgba(245, 250, 248, 0.92);
    --nav-link-hover-bg: rgba(0, 0, 0, 0.05);
    --nav-link-color: #4A6660;

    --mockup-bg: #FFFFFF;
    --mockup-border: rgba(0, 0, 0, 0.1);
    --mockup-bar-bg: rgba(0, 0, 0, 0.04);
    --mockup-bar-border: rgba(0, 0, 0, 0.07);
    --mockup-url-bg: rgba(0, 0, 0, 0.05);
    --mockup-url-color: #6B8F88;
    --mockup-cat-bg: rgba(0, 0, 0, 0.03);
    --mockup-cat-border: rgba(0, 0, 0, 0.08);
    --mockup-cat-name: #0D1F1A;
    --mockup-cat-count: #6B8F88;

    --hero-stat-border: rgba(0, 0, 0, 0.09);
    --btn-ghost-border: rgba(0, 0, 0, 0.15);
    --btn-ghost-border-hover: rgba(0, 0, 0, 0.3);
    --btn-ghost-color: #4A6660;
    --btn-ghost-hover-bg: rgba(0, 0, 0, 0.04);

    --step-bg: #FFFFFF;
    --step-gap: rgba(0, 0, 0, 0.06);

    --plan-bg: #F5FAF8;
    --plan-border: rgba(0, 0, 0, 0.09);
    --plan-hr: rgba(0, 0, 0, 0.09);
    --plan-feat-color: #4A6660;
    --pb-outline-color: #4A6660;
    --pb-outline-border: rgba(0, 0, 0, 0.15);

    --float-a-bg: rgba(255, 255, 255, 0.96);
    --float-b-bg: rgba(0, 158, 120, 0.1);
    --float-b-border: rgba(0, 158, 120, 0.25);

    --scrollbar-track: #F5FAF8;

    --toggle-bg: rgba(0, 0, 0, 0.06);
    --toggle-border: rgba(0, 0, 0, 0.1);
    --toggle-icon-color: #4A6660;

    --footer-border: rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cabinet Grotesk', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--green-deep);
    border-radius: 3px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    background: var(--toggle-bg);
    border: 1px solid var(--toggle-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--green-pale);
    border-color: var(--border);
    transform: scale(1.08);
}

.toggle-icon-dark {
    display: block;
}

.toggle-icon-light {
    display: none;
}

[data-theme="light"] .toggle-icon-dark {
    display: none;
}

[data-theme="light"] .toggle-icon-light {
    display: block;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.35s;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s;
}

nav.scrolled .nav-inner {
    padding: 14px 0px;
}

@media (max-width: 960px) {
        nav.scrolled .nav-inner {
            padding: 14px 22px;
        }
}

nav.scrolled {
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(20px);
    padding: 14px 0px!important;
    border-bottom: 1px solid var(--border-nav);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    transition: color 0.35s;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: background 0.35s;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: var(--nav-link-color);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--nav-link-hover-bg);
}

.nav-cta {
    background: var(--green) !important;
    color: #0A0F0D !important;
    font-weight: 700 !important;
    padding: 9px 20px !important;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
    border-radius: 8px !important;
}

.nav-cta:hover {
    background: #00DEAD !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--green-glow) !important;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 70% at 65% 40%, rgba(0, 200, 150, 0.11) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 85% 85%, rgba(0, 158, 120, 0.07) 0%, transparent 55%),
        var(--bg-base);
    transition: background 0.35s;
}

[data-theme="light"] .hero-bg {
    background:
        radial-gradient(ellipse 80% 70% at 65% 40%, rgba(0, 158, 120, 0.09) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 85% 85%, rgba(0, 120, 90, 0.05) 0%, transparent 55%),
        var(--bg-base);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 200, 150, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 150, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
    transition: opacity 0.35s;
}

[data-theme="light"] .hero-grid-bg {
    opacity: 0.6;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px 6px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 28px;
    font-family: 'DM Mono', monospace;
    animation: fadeUp 0.6s ease both;
    transition: background 0.35s, border-color 0.35s, color 0.35s;
}

.badge-dot {
    width: 20px;
    height: 20px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    animation: glow 2.5s ease infinite;
    color: #0A0F0D;
    transition: background 0.35s;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.5);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(0, 200, 150, 0);
    }
}

h1.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 22px;
    animation: fadeUp 0.6s 0.1s ease both;
    transition: color 0.35s;
}

h1.hero-title em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--green);
    letter-spacing: -0.01em;
    transition: color 0.35s;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 38px;
    animation: fadeUp 0.6s 0.2s ease both;
    transition: color 0.35s;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
    background: var(--green);
    color: #0A0F0D;
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    border-radius: 8px;
    padding: 13px 26px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: #00DEAD;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--green-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--btn-ghost-color);
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    border: 1px solid var(--btn-ghost-border);
    border-radius: 8px;
    padding: 13px 22px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--btn-ghost-border-hover);
    background: var(--btn-ghost-hover-bg);
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid var(--hero-stat-border);
    animation: fadeUp 0.6s 0.4s ease both;
    transition: border-color 0.35s;
}

.stat-num {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
    transition: color 0.35s;
}

.stat-num span {
    color: var(--green);
    transition: color 0.35s;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
    transition: color 0.35s;
}

/* ── MOCKUP ──────────────────────────────────────── */
.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.7s 0.15s ease both;
}

.mockup {
    background: var(--mockup-bg);
    border: 1px solid var(--mockup-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 200, 150, 0.08);
    transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

[data-theme="light"] .mockup {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 158, 120, 0.1);
}

.mockup-bar {
    background: var(--mockup-bar-bg);
    border-bottom: 1px solid var(--mockup-bar-border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background 0.35s, border-color 0.35s;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-url-pill {
    background: var(--mockup-url-bg);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.7rem;
    color: var(--mockup-url-color);
    font-family: 'DM Mono', monospace;
    margin-left: 8px;
    transition: background 0.35s, color 0.35s;
}

.mockup-body {
    padding: 24px 22px;
}

.kb-hero-bar {
    background: linear-gradient(135deg, var(--green), #00B886);
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 18px;
    transition: background 0.35s;
}

[data-theme="light"] .kb-hero-bar {
    background: linear-gradient(135deg, #009E78, #007A5E);
}

.kb-hero-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0A0F0D;
    margin-bottom: 10px;
}

.kb-search-box {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 0.78rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.kb-cat {
    background: var(--mockup-cat-bg);
    border: 1px solid var(--mockup-cat-border);
    border-radius: 12px;
    padding: 14px 13px;
    transition: background 0.35s, border-color 0.35s;
}

.kb-cat-icon {
    font-size: 18px;
    margin-bottom: 6px;
}

.kb-cat-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mockup-cat-name);
    margin-bottom: 2px;
    transition: color 0.35s;
}

.kb-cat-count {
    font-size: 0.67rem;
    color: var(--mockup-cat-count);
    font-family: 'DM Mono', monospace;
    transition: color 0.35s;
}

.float-chip {
    position: absolute;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.76rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    animation: bob 4s ease-in-out infinite;
    transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.float-a {
    background: var(--float-a-bg);
    color: var(--text-primary);
    bottom: 24px;
    left: -28px;
    animation-delay: 0s;
    border-color: var(--border-subtle);
}

[data-theme="light"] .float-a {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.float-b {
    background: var(--float-b-bg);
    color: var(--green);
    top: 36px;
    right: -20px;
    animation-delay: 1.3s;
    border-color: var(--float-b-border);
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

section {
    position: relative;
    z-index: 1;
}

.s-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--green);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    transition: color 0.35s;
}

.s-label::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--green);
    display: block;
    transition: background 0.35s;
}

.s-title {
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--text-primary);
    margin-bottom: 14px;
    transition: color 0.35s;
}

.s-title em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--green);
    transition: color 0.35s;
}

.s-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    transition: color 0.35s;
}

.how {
    padding: 96px 40px;
    background: var(--bg-alt);
    transition: background 0.35s;
}

.how-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.how-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--step-gap);
    border-radius: 24px;
    overflow: hidden;
    transition: background 0.35s;
}

.step {
    background: var(--step-bg);
    padding: 44px 32px;
    transition: background 0.3s;
}

.step:hover {
    background: var(--bg-card-hover);
}

.step-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--green);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    display: block;
    transition: color 0.35s;
}

.step-icon {
    width: 52px;
    height: 52px;
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: transform 0.2s, background 0.2s, border-color 0.35s;
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(-4deg);
    background: var(--green-pale-hover);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    transition: color 0.35s;
}

.step-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.65;
    transition: color 0.35s;
}

.features {
    padding: 96px 40px;
    background: var(--bg-base);
    transition: background 0.35s;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features-head {
    text-align: center;
    margin-bottom: 56px;
}

.features-head .s-label {
    justify-content: center;
}

.features-head .s-label::before {
    display: none;
}

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

.feat {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 34px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s, background 0.35s;
}

.feat::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 200, 150, 0.07), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

[data-theme="light"] .feat::after {
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 158, 120, 0.06), transparent 70%);
}

.feat:hover {
    border-color: rgba(0, 200, 150, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .feat:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
}

.feat:hover::after {
    opacity: 1;
}

.feat-wide {
    grid-column: span 2;
}

.feat-icon {
    width: 46px;
    height: 46px;
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    transition: background 0.35s, border-color 0.35s;
}

.feat-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    transition: color 0.35s;
}

.feat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    position: relative;
    z-index: 1;
    transition: color 0.35s;
}

.feat-chip {
    display: inline-block;
    margin-top: 14px;
    background: var(--green-pale);
    border: 1px solid var(--border);
    color: var(--green);
    font-size: 0.68rem;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    padding: 3px 9px;
    border-radius: 100px;
    letter-spacing: 0.06em;
    position: relative;
    z-index: 1;
    transition: background 0.35s, border-color 0.35s, color 0.35s;
}

.pricing {
    padding: 96px 40px;
    background: var(--bg-alt);
    transition: background 0.35s;
}

.pricing-inner {
    max-width: 860px;
    margin: 0 auto;
}

.pricing-head {
    text-align: center;
    margin-bottom: 52px;
}

.pricing-head .s-label {
    justify-content: center;
}

.pricing-head .s-label::before {
    display: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.plan {
    background: var(--plan-bg);
    border: 1px solid var(--plan-border);
    border-radius: 24px;
    padding: 38px 34px;
    position: relative;
    overflow: hidden;
    transition: background 0.35s, border-color 0.35s;
}

.plan-pro {
    background: var(--green);
    border-color: transparent;
}

[data-theme="light"] .plan-pro {
    background: #009E78;
}

.plan-tier {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 6px;
    transition: color 0.35s;
}

.plan-pro .plan-tier {
    color: rgba(10, 15, 13, 0.55);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    margin-bottom: 6px;
    transition: color 0.35s;
}

.plan-pro .plan-name {
    color: #0A0F0D;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 6px;
    transition: color 0.35s;
}

.plan-pro .plan-price {
    color: #0A0F0D;
}

.plan-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    transition: color 0.35s;
}

.plan-pro .plan-note {
    color: rgba(10, 15, 13, 0.5);
}

.plan-hr {
    border: none;
    border-top: 1px solid var(--plan-hr);
    margin-bottom: 24px;
    transition: border-color 0.35s;
}

.plan-pro .plan-hr {
    border-top-color: rgba(10, 15, 13, 0.15);
}

.plan-feats {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-feats li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.85rem;
    color: var(--plan-feat-color);
    transition: color 0.35s;
}

.plan-pro .plan-feats li {
    color: rgba(10, 15, 13, 0.72);
}

.ck {
    color: var(--green);
    font-size: 13px;
    flex-shrink: 0;
    transition: color 0.35s;
}

.plan-pro .ck {
    color: #0A0F0D;
}

.cx {
    color: #E04D4D;
    font-size: 13px;
    flex-shrink: 0;
}

.plan-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px;
    border-radius: 8px;
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.pb-outline {
    background: transparent;
    color: var(--pb-outline-color);
    border: 1px solid var(--pb-outline-border);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pb-outline:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-pale);
}

.pb-dark {
    background: #0A0F0D;
    color: #FFFFFF;
}

[data-theme="light"] .pb-dark {
    background: #0D1F1A;
}

.pb-dark:hover {
    background: #0F1A16;
}

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(10, 15, 13, 0.18);
    color: rgba(10, 15, 13, 0.7);
    font-size: 0.62rem;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
    padding: 3px 9px;
    border-radius: 100px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-foot {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'DM Mono', monospace;
    transition: color 0.35s;
}

.cta {
    padding: 80px 40px;
    background: var(--bg-base);
    position: relative;
    overflow: hidden;
    transition: background 0.35s;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(0, 200, 150, 0.09), transparent 65%);
    pointer-events: none;
}

[data-theme="light"] .cta-glow {
    background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(0, 158, 120, 0.07), transparent 65%);
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    line-height: 1.1;
    color: var(--text-primary);
    transition: color 0.35s;
}

.cta-title em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--green);
    transition: color 0.35s;
}

.cta-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 34px;
    line-height: 1.65;
    transition: color 0.35s;
}

footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--footer-border);
    padding: 44px 40px;
    transition: background 0.35s, border-color 0.35s;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.3rem;
    transition: color 0.35s;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'DM Mono', monospace;
    transition: color 0.35s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    nav {
        padding: 16px 22px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 22px 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-visual {
        order: -1;
    }

    .float-chip {
        display: none;
    }

    .how,
    .features,
    .pricing,
    .cta {
        padding: 70px 22px;
    }

    .how-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

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

    .feat-wide {
        grid-column: span 1;
    }

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

    footer {
        padding: 36px 22px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  /* ── DARK THEME ─────────────────────────────────── */
  :root,
  [data-theme="dark"] {
    --green: #00C896;
    --green-deep: #009E78;
    --green-glow: rgba(0,200,150,0.18);
    --green-pale: rgba(0,200,150,0.08);

    --bg-base: #0A0F0D;
    --bg-alt:  #1C2820;
    --bg-card: #1C2820;

    --text-primary: #FFFFFF;
    --text-secondary: #6B7F79;
    --text-muted: #9EB5AF;
    --text-body: #B8CEC9;

    --border: rgba(0,200,150,0.15);
    --border-subtle: rgba(255,255,255,0.06);
    --border-card: rgba(255,255,255,0.07);
    --border-nav: rgba(0,200,150,0.15);

    --nav-scrolled-bg: rgba(10,15,13,0.88);
    --nav-link-hover-bg: rgba(255,255,255,0.05);
    --nav-link-color: #9EB5AF;

    --toc-bg: #1C2820;
    --toc-border: rgba(0,200,150,0.15);
    --toc-hover: rgba(0,200,150,0.06);

    --section-num-bg: rgba(0,200,150,0.08);
    --section-num-border: rgba(0,200,150,0.15);

    --table-head-bg: rgba(0,200,150,0.08);
    --table-row-alt: rgba(255,255,255,0.02);
    --table-border: rgba(255,255,255,0.07);

    --toggle-bg: rgba(255,255,255,0.08);
    --toggle-border: rgba(255,255,255,0.12);

    --footer-border: rgba(255,255,255,0.06);
    --scrollbar-track: #0A0F0D;
    --hero-glow: rgba(0,200,150,0.08);
  }

  /* ── LIGHT THEME ────────────────────────────────── */
  [data-theme="light"] {
    --green: #009E78;
    --green-deep: #007A5E;
    --green-glow: rgba(0,158,120,0.2);
    --green-pale: rgba(0,158,120,0.08);

    --bg-base: #F5FAF8;
    --bg-alt:  #FFFFFF;
    --bg-card: #FFFFFF;

    --text-primary: #0D1F1A;
    --text-secondary: #4A6660;
    --text-muted: #6B8F88;
    --text-body: #2E4A44;

    --border: rgba(0,158,120,0.18);
    --border-subtle: rgba(0,0,0,0.07);
    --border-card: rgba(0,0,0,0.08);
    --border-nav: rgba(0,158,120,0.15);

    --nav-scrolled-bg: rgba(245,250,248,0.92);
    --nav-link-hover-bg: rgba(0,0,0,0.05);
    --nav-link-color: #4A6660;

    --toc-bg: #FFFFFF;
    --toc-border: rgba(0,158,120,0.18);
    --toc-hover: rgba(0,158,120,0.05);

    --section-num-bg: rgba(0,158,120,0.08);
    --section-num-border: rgba(0,158,120,0.18);

    --table-head-bg: rgba(0,158,120,0.08);
    --table-row-alt: rgba(0,0,0,0.02);
    --table-border: rgba(0,0,0,0.08);

    --toggle-bg: rgba(0,0,0,0.06);
    --toggle-border: rgba(0,0,0,0.1);

    --footer-border: rgba(0,0,0,0.08);
    --scrollbar-track: #F5FAF8;
    --hero-glow: rgba(0,158,120,0.07);
  }

  html { scroll-behavior: smooth; }


  /* ── PAGE HERO ───────────────────────────────────── */
  .page-hero {
    position: relative; padding: 140px 40px 72px; overflow: hidden;
    background: var(--bg-base); transition: background 0.35s;
  }
  .page-hero-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(ellipse 70% 80% at 20% 50%, var(--hero-glow) 0%, transparent 65%),
      radial-gradient(ellipse 40% 60% at 80% 20%, rgba(0,200,150,0.04) 0%, transparent 60%);
  }
  .page-hero-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(0,200,150,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,200,150,0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 20% 50%, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 100% at 20% 50%, black 20%, transparent 80%);
    opacity: 0.7;
  }
  [data-theme="light"] .page-hero-grid { opacity: 0.4; }
  .page-hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
  .breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-family: 'DM Mono', monospace; font-size: 0.72rem;
    color: var(--text-secondary); margin-bottom: 24px; transition: color 0.35s;
  }
  .breadcrumb a { color: var(--green); text-decoration: none; transition: opacity 0.2s; }
  .breadcrumb a:hover { opacity: 0.8; }
  .breadcrumb-sep { opacity: 0.4; }
  .page-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 900;
    letter-spacing: -0.04em; line-height: 1.05; color: var(--text-primary);
    margin-bottom: 16px; transition: color 0.35s;
  }
  .page-title em {
    font-family: 'Instrument Serif', serif; font-style: italic;
    font-weight: 400; color: var(--green); transition: color 0.35s;
  }
  .page-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
  .meta-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--green-pale); border: 1px solid var(--border);
    border-radius: 100px; padding: 5px 14px;
    font-family: 'DM Mono', monospace; font-size: 0.7rem; font-weight: 500;
    color: var(--green); letter-spacing: 0.04em;
    transition: background 0.35s, border-color 0.35s, color 0.35s;
  }
  .meta-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); transition: background 0.35s; }

  /* ── MAIN LAYOUT ─────────────────────────────────── */
  .content-wrap { max-width: 860px; margin: 0 auto; padding: 0 40px 100px; }

  /* ── TABLE OF CONTENTS ───────────────────────────── */
  .toc {
    background: var(--toc-bg); border: 1px solid var(--toc-border);
    border-radius: 20px; padding: 28px 32px; margin-bottom: 56px; margin-top: -8px;
    transition: background 0.35s, border-color 0.35s;
  }
  .toc-title {
    font-family: 'DM Mono', monospace; font-size: 0.7rem; font-weight: 500;
    color: var(--green); letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
    transition: color 0.35s;
  }
  .toc-title::before { content:''; width:18px; height:1px; background:var(--green); display:block; transition: background 0.35s; }
  .toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
  .toc-list li a {
    display: flex; align-items: center; gap: 12px; padding: 9px 12px;
    border-radius: 10px; text-decoration: none; font-size: 0.875rem; font-weight: 500;
    color: var(--text-muted); transition: background 0.2s, color 0.2s;
  }
  .toc-list li a:hover { background: var(--toc-hover); color: var(--text-primary); }
  .toc-num { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--green); min-width: 24px; transition: color 0.35s; }

  /* ── SECTIONS ────────────────────────────────────── */
  .terms-sections { display: flex; flex-direction: column; }
  .terms-section {
    padding: 40px 0; border-bottom: 1px solid var(--border-subtle);
    transition: border-color 0.35s;
  }
  .terms-section:last-child { border-bottom: none; }
  .section-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 20px; }
  .section-num {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--section-num-bg); border: 1px solid var(--section-num-border);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-family: 'DM Mono', monospace; font-size: 0.7rem; font-weight: 500;
    color: var(--green); margin-top: 3px;
    transition: background 0.35s, border-color 0.35s, color 0.35s;
  }
  .section-title {
    font-size: 1.25rem; font-weight: 800; color: var(--text-primary);
    letter-spacing: -0.02em; line-height: 1.2; transition: color 0.35s;
  }
  .terms-body { padding-left: 58px; }
  .terms-body p {
    font-size: 0.925rem; color: var(--text-body); line-height: 1.75;
    margin-bottom: 14px; transition: color 0.35s;
  }
  .terms-body p:last-child { margin-bottom: 0; }

  /* ── CLAUSE CARDS ────────────────────────────────── */
  .clause {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: 14px; padding: 18px 20px; margin-bottom: 10px;
    transition: background 0.35s, border-color 0.35s;
  }
  .clause:last-child { margin-bottom: 0; }
  .clause-label {
    font-family: 'DM Mono', monospace; font-size: 0.67rem; font-weight: 500;
    color: var(--green); letter-spacing: 0.08em; margin-bottom: 6px;
    transition: color 0.35s;
  }
  .clause p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin-bottom: 0 !important; transition: color 0.35s; }

  /* ── CALLOUT ─────────────────────────────────────── */
  .callout {
    background: var(--green-pale); border: 1px solid var(--border);
    border-left: 3px solid var(--green); border-radius: 12px; padding: 18px 20px;
    margin-bottom: 14px; transition: background 0.35s, border-color 0.35s;
  }
  .callout p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin-bottom: 0 !important; transition: color 0.35s; }

  /* ── LIST (rights, bullets) ──────────────────────── */
  .terms-list {
    list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px;
  }
  .terms-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.9rem; color: var(--text-body); line-height: 1.65; transition: color 0.35s;
  }
  .terms-list li::before {
    content: '—'; color: var(--green); font-family: 'DM Mono', monospace;
    font-size: 0.8rem; flex-shrink: 0; margin-top: 2px; transition: color 0.35s;
  }
  .terms-list:last-child { margin-bottom: 0; }

  /* ── COOKIE TABLE ────────────────────────────────── */
  .cookie-table-wrap {
    overflow-x: auto; border-radius: 14px;
    border: 1px solid var(--border-card);
    transition: border-color 0.35s;
  }
  table {
    width: 100%; border-collapse: collapse;
    font-size: 0.875rem;
  }
  thead tr {
    background: var(--table-head-bg);
    transition: background 0.35s;
  }
  thead th {
    padding: 13px 18px; text-align: left; font-weight: 700;
    color: var(--text-primary); font-size: 0.8rem; letter-spacing: 0.01em;
    border-bottom: 1px solid var(--table-border);
    transition: color 0.35s, border-color 0.35s;
  }
  thead th:first-child { font-family: 'DM Mono', monospace; color: var(--green); }
  tbody tr { transition: background 0.2s; }
  tbody tr:nth-child(even) { background: var(--table-row-alt); }
  tbody tr:hover { background: var(--toc-hover); }
  tbody td {
    padding: 13px 18px; color: var(--text-body); line-height: 1.55;
    border-bottom: 1px solid var(--table-border);
    transition: color 0.35s, border-color 0.35s;
  }
  tbody tr:last-child td { border-bottom: none; }
  tbody td:first-child {
    font-family: 'DM Mono', monospace; font-size: 0.8rem;
    color: var(--green); white-space: nowrap; font-weight: 500;
  }

  /* ── RIGHTS GRID ─────────────────────────────────── */
  .rights-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
  }
  .right-card {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: 12px; padding: 16px 18px;
    transition: background 0.35s, border-color 0.35s;
  }
  .right-card-icon { font-size: 20px; margin-bottom: 8px; }
  .right-card-title { font-size: 0.82rem; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; transition: color 0.35s; }
  .right-card-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; transition: color 0.35s; }

  /* ── CONTACT CARD ────────────────────────────────── */
  .contact-card {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: 16px; padding: 28px; display: flex; align-items: center;
    gap: 20px; flex-wrap: wrap;
    transition: background 0.35s, border-color 0.35s;
  }
  .contact-icon {
    width: 48px; height: 48px; background: var(--green-pale); border: 1px solid var(--border);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0; transition: background 0.35s, border-color 0.35s;
  }
  .contact-info { flex: 1; }
  .contact-label {
    font-family: 'DM Mono', monospace; font-size: 0.68rem; color: var(--text-secondary);
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; transition: color 0.35s;
  }
  .contact-value { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); transition: color 0.35s; }
  .contact-value a { color: var(--green); text-decoration: none; transition: opacity 0.2s; }
  .contact-value a:hover { opacity: 0.8; }
  .contact-cards-grid { display: flex; flex-direction: column; gap: 10px; }

  /* ── ICO NOTICE ──────────────────────────────────── */
  .ico-notice {
    background: var(--bg-card); border: 1px solid var(--border-card);
    border-radius: 14px; padding: 18px 20px;
    display: flex; align-items: flex-start; gap: 14px;
    transition: background 0.35s, border-color 0.35s;
  }
  .ico-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
  .ico-notice p { font-size: 0.875rem; color: var(--text-body); line-height: 1.65; margin-bottom: 0 !important; transition: color 0.35s; }
  .ico-notice a { color: var(--green); text-decoration: none; }
  .ico-notice a:hover { text-decoration: underline; }

  /* ── FOOTER ──────────────────────────────────────── */
  footer { background: var(--bg-alt); border-top: 1px solid var(--footer-border); padding: 44px 40px; transition: background 0.35s, border-color 0.35s; }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
  .footer-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text-primary); font-weight: 800; font-size: 1.3rem; transition: color 0.35s; }
  .footer-links { display: flex; gap: 20px; }
  .footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
  .footer-links a:hover { color: var(--text-primary); }
  .footer-copy { font-size: 0.75rem; color: var(--text-secondary); font-family: 'DM Mono', monospace; transition: color 0.35s; }

  /* ── RESPONSIVE ───────────────────────────────────── */
  @media (max-width: 768px) {
    nav { padding: 16px 22px; }
    nav.scrolled { padding: 14px 22px; }
    .nav-links { display: none; }
    .page-hero { padding: 120px 22px 56px; }
    .content-wrap { padding: 0 22px 80px; }
    .toc { padding: 22px 20px; }
    .terms-body { padding-left: 0; }
    .section-header { gap: 14px; }
    .rights-grid { grid-template-columns: 1fr; }
    footer { padding: 36px 22px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
  }

/* ── PAGE HERO ───────────────────────────────────── */
.page-hero {
    position: relative;
    padding: 140px 40px 72px;
    overflow: hidden;
    background: var(--bg-base);
    transition: background 0.35s;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 80% at 20% 50%, var(--hero-glow) 0%, transparent 65%),
        radial-gradient(ellipse 40% 60% at 80% 20%, rgba(0, 200, 150, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 200, 150, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 150, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 20% 50%, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 100% at 20% 50%, black 20%, transparent 80%);
    opacity: 0.7;
}

[data-theme="light"] .page-hero-grid {
    opacity: 0.4;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    transition: color 0.35s;
}

.breadcrumb a {
    color: var(--green);
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb-sep {
    opacity: 0.4;
}

.page-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: color 0.35s;
}

.page-title em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--green);
    transition: color 0.35s;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px 14px;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--green);
    letter-spacing: 0.04em;
    transition: background 0.35s, border-color 0.35s, color 0.35s;
}

.meta-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    transition: background 0.35s;
}

/* ── MAIN LAYOUT ─────────────────────────────────── */
.content-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px 100px;
}

/* ── TABLE OF CONTENTS ───────────────────────────── */
.toc {
    background: var(--toc-bg);
    border: 1px solid var(--toc-border);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 56px;
    margin-top: -8px;
    transition: background 0.35s, border-color 0.35s;
}

.toc-title {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--green);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.35s;
}

.toc-title::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--green);
    display: block;
    transition: background 0.35s;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
}

.toc-list li a:hover {
    background: var(--toc-hover);
    color: var(--text-primary);
}

.toc-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    color: var(--green);
    min-width: 24px;
    transition: color 0.35s;
}

/* ── SECTIONS ────────────────────────────────────── */
.terms-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.terms-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: border-color 0.35s;
}

.terms-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.section-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--section-num-bg);
    border: 1px solid var(--section-num-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--green);
    margin-top: 3px;
    transition: background 0.35s, border-color 0.35s, color 0.35s;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: color 0.35s;
}

.terms-body {
    padding-left: 58px;
}

.terms-body p {
    font-size: 0.925rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 14px;
    transition: color 0.35s;
}

.terms-body p:last-child {
    margin-bottom: 0;
}

.terms-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.terms-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.925rem;
    color: var(--text-body);
    line-height: 1.65;
    transition: color 0.35s;
}

.terms-body ul li::before {
    content: '—';
    color: var(--green);
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: color 0.35s;
}

.clause {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 10px;
    transition: background 0.35s, border-color 0.35s;
}

.clause:last-child {
    margin-bottom: 0;
}

.clause-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.67rem;
    font-weight: 500;
    color: var(--green);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    transition: color 0.35s;
}

.clause p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 0 !important;
    transition: color 0.35s;
}

/* ── HIGHLIGHT CALLOUT ───────────────────────────── */
.callout {
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-left: 3px solid var(--green);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 10px;
    transition: background 0.35s, border-color 0.35s;
}

.callout p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 0 !important;
    transition: color 0.35s;
}

/* ── CONTACT CARD ────────────────────────────────── */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 28px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: background 0.35s, border-color 0.35s;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--green-pale);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background 0.35s, border-color 0.35s;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    transition: color 0.35s;
}

.contact-email {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.35s;
}

.contact-email a {
    color: var(--green);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-email a:hover {
    opacity: 0.8;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--footer-border);
    padding: 44px 40px;
    transition: background 0.35s, border-color 0.35s;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.3rem;
    transition: color 0.35s;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'DM Mono', monospace;
    transition: color 0.35s;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
    nav {
        padding: 16px 22px;
    }

    .nav-links {
        display: none;
    }

    .page-hero {
        padding: 120px 22px 56px;
    }

    .content-wrap {
        padding: 0 22px 80px;
    }

    .toc {
        padding: 22px 20px;
    }

    .terms-body {
        padding-left: 0;
    }

    .section-header {
        gap: 14px;
    }

    footer {
        padding: 36px 22px;
    }

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

    nav.scrolled {
        padding: 14px 22px;
    }
}

.nav-burger {
    display: none;
    width: 40px;
    height: 40px;
    background: var(--toggle-bg);
    border: 1px solid var(--toggle-border);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}

.nav-burger:hover {
    background: var(--green-pale);
    border-color: var(--border);
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--toggle-icon-color);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s, width 0.25s;
    transform-origin: center;
}

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

.nav-burger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

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

.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--bg-base);
    padding: 90px 28px 40px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-mobile.open {
    opacity: 1;
    transform: translateY(0);
}

.nav-mobile a {
    display: block;
    padding: 14px 16px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    letter-spacing: -0.02em;
    transition: background 0.15s, color 0.15s;
}

.nav-mobile a:hover {
    background: var(--green-pale);
    color: var(--green);
}

.nav-mobile-cta {
    margin-top: 16px;
    background: var(--green) !important;
    color: #0A0F0D !important;
    text-align: center;
    border-radius: 10px !important;
    padding: 15px 16px !important;
    font-size: 1rem !important;
}

.nav-mobile-cta:hover {
    background: var(--green-hover, #00C896) !important;
    color: #0A0F0D !important;
}

@media (max-width: 960px) {
    .nav-links {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

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