/* ────────────────────────────────────────────────────────────────
   KinetiqLoop marketing + legal site
   Palette mirrors the iOS Home tab (KLHomeTheme): sage canvas,
   forest CTAs, warm gold accents — earthy and flat, not aurora.
   ──────────────────────────────────────────────────────────────── */

:root {
    /* Canvas + surfaces */
    --canvas:       #f5f8f6;
    --card:         #ffffff;
    --card-stroke:  rgba(26, 36, 32, 0.08);
    --divider:      rgba(26, 36, 32, 0.06);

    /* Text */
    --ink:          #1a2420;
    --ink-soft:     #586860;
    --ink-muted:    #96a89a;

    /* Forest brand */
    --forest:       #5a8868;
    --forest-dark:  #4a7560;
    --forest-soft:  #e8f2eb;
    --sage-strip:   #edf4ef;
    --mint-icon:    #e4f2f0;
    --track:        #f5f8f6;

    /* Semantic accents */
    --gold:         #b89a68;
    --gold-soft:    #f5eed8;
    --ready:        #4ea870;
    --ready-track:  #e4f2ea;
    --teal:         #5a9890;
    --rose:         #b06878;
    --rose-soft:    #f5e8ec;
    --violet:       #8870a8;
    --violet-soft:  #eae8f4;

    /* Aliases used across pages */
    --line:         var(--divider);
    --bg-soft:      var(--canvas);
    --bg-page:      var(--canvas);
    --accent:       var(--forest);
    --tick:         var(--forest);

    --radius:       22px;
    --radius-lg:    22px;
    --shadow-sm:    0 1px 3px rgba(26, 36, 32, 0.06), 0 1px 2px rgba(26, 36, 32, 0.04);
    --shadow-md:    0 16px 40px rgba(26, 36, 32, 0.08), 0 4px 12px rgba(26, 36, 32, 0.05);
    --shadow-lg:    0 16px 40px rgba(26, 36, 32, 0.10), 0 8px 24px rgba(26, 36, 32, 0.06);
    --brand-grad:   linear-gradient(135deg, var(--forest) 0%, var(--teal) 100%);
    --max-w:        1080px;
}

#kl-staging-banner {
    position: sticky;
    top: 0;
    z-index: 10000;
    padding: 10px 16px;
    background: #3d2f1f;
    color: #fff8ef;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    border-bottom: 2px solid #b89a68;
}

#kl-staging-banner strong {
    color: #ffe8b8;
}

#kl-staging-banner code {
    background: rgba(255, 255, 255, 0.12);
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 12px;
}

#kl-staging-banner a {
    color: #ffe8b8;
    font-weight: 700;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
                 "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
    font-size: 17px;
}

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

a {
    color: var(--forest);
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 136, 104, 0.22);
    transition: border-color 120ms ease, color 120ms ease;
}
a:hover { border-color: var(--forest); color: var(--forest-dark); }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ────────────────────────────────────────────────── */

.site-header {
    padding: 18px 0;
    border-bottom: 1px solid var(--divider);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255, 255, 255, 0.92);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    border: none;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

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

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

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

/* ─── Hero ──────────────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 64px;
}

.hero-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    text-align: left;
}

.hero-copy .logo-stage {
    margin: 0 0 24px;
}

.hero-copy .tagline,
.hero-copy .subtag {
    margin-left: 0;
    margin-right: 0;
}

.hero-copy .pill-row,
.hero-copy .cta-row {
    justify-content: flex-start;
}

.hero-visual img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-aurora::before,
.hero-aurora::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
}

.hero-aurora::before {
    width: 320px;
    height: 320px;
    top: -120px;
    left: -80px;
    background: rgba(90, 136, 104, 0.16);
}

.hero-aurora::after {
    width: 360px;
    height: 360px;
    top: -80px;
    right: -100px;
    background: rgba(184, 154, 104, 0.14);
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.logo-stage {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 28px;
}

.logo-halo {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 136, 104, 0.16), transparent 68%);
}

.hero-icon {
    width: 112px;
    height: 112px;
    margin: 10px auto 0;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
}

.hero h1 {
    margin: 0 0 14px;
    font-size: 54px;
    line-height: 1.06;
    letter-spacing: -1.4px;
    font-weight: 800;
    color: var(--ink);
}

.hero .tagline {
    font-size: 21px;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0 auto 18px;
}

.hero .subtag {
    font-size: 17px;
    color: var(--ink-muted);
    max-width: 560px;
    margin: 0 auto 28px;
}

.pill-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--forest);
    background: var(--forest-soft);
    border: 1px solid rgba(90, 136, 104, 0.14);
}

.pill svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.appstore-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--forest);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--shadow-md);
}

.appstore-badge:hover {
    background: var(--forest-dark);
    border: none;
    color: white;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 22px;
    background: var(--card);
    color: var(--ink);
    border: 1.5px solid var(--card-stroke);
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
}

.cta-secondary:hover { border-color: rgba(90, 136, 104, 0.35); }

/* ─── Stats strip ───────────────────────────────────────────── */

.stats-strip {
    padding: 28px 0;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    background: rgba(255, 255, 255, 0.55);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 28px;
    letter-spacing: -0.6px;
    font-weight: 800;
    color: var(--forest);
}

.stat span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ─── Section ───────────────────────────────────────────────── */

.section {
    padding: 72px 0;
}

.section.bg-soft { background: var(--sage-strip); }
.section.bg-grad {
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(90, 136, 104, 0.08), transparent 60%),
        radial-gradient(900px 420px at 90% 100%, rgba(184, 154, 104, 0.08), transparent 60%),
        var(--canvas);
}

.section h2 {
    font-size: 36px;
    letter-spacing: -0.8px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--ink);
}

.section .lead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 680px;
    margin: 0 0 40px;
}

.section.center { text-align: center; }
.section.center .lead { margin-left: auto; margin-right: auto; }

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--forest);
    background: var(--forest-soft);
}

/* ─── Steps ─────────────────────────────────────────────────── */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.step-card {
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--card-stroke);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    color: white;
    background: var(--forest);
    margin-bottom: 16px;
}

.step-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
}

.step-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

/* ─── Audience grid ─────────────────────────────────────────── */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 8px;
    text-align: left;
}

.audience-card {
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--card-stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.audience-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
}

.audience-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

/* ─── Feature grid ──────────────────────────────────────────── */

.features-subhead {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--ink-muted);
    margin: 32px 0 16px;
}

.features-primary .feature {
    border-color: rgba(90, 136, 104, 0.18);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature {
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--card-stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature .ico {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-icon);
    margin-bottom: 16px;
    color: var(--forest);
}

.feature .ico svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature h3 {
    font-size: 18px;
    margin: 0 0 8px;
    font-weight: 700;
}

.feature p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

.feature .tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--violet);
    background: var(--violet-soft);
}

/* ─── Programs ──────────────────────────────────────────────── */

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.program-card {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--card-stroke);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.program-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.program-card .meta {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
}

.program-card p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ─── Premium split ───────────────────────────────────────────── */

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tier-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--card-stroke);
    background: var(--card);
    text-align: left;
}

.tier-card.premium {
    border-color: rgba(90, 136, 104, 0.35);
    box-shadow: var(--shadow-md);
    background:
        linear-gradient(180deg, rgba(232, 242, 235, 0.55), rgba(255, 255, 255, 0)),
        var(--card);
}

.tier-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.tier-card .tier-note {
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.tier-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-card li {
    padding: 7px 0;
    font-size: 15px;
    color: var(--ink-soft);
    display: flex;
    gap: 10px;
}

.tier-card li::before {
    content: "✓";
    color: var(--forest);
    font-weight: 700;
}

/* ─── Pricing ───────────────────────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.plan {
    padding: 32px;
    background: var(--card);
    border: 1.5px solid var(--card-stroke);
    border-radius: var(--radius-lg);
    text-align: left;
    position: relative;
}

.plan.featured {
    border-color: rgba(90, 136, 104, 0.40);
    box-shadow: var(--shadow-md);
}

.plan .badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--forest);
    color: white;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.plan h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }

.plan .price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 14px 0 4px;
    color: var(--ink);
}

.plan .price small {
    font-size: 17px;
    font-weight: 500;
    color: var(--ink-soft);
}

.plan .regular-price {
    display: inline-block;
    margin-right: 8px;
    color: var(--ink-muted);
    font-size: 22px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    opacity: 0.72;
}

.plan .save {
    font-size: 13px;
    color: var(--forest);
    font-weight: 600;
    margin-bottom: 16px;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.plan ul li {
    padding: 6px 0;
    font-size: 15px;
    color: var(--ink-soft);
    display: flex;
    gap: 10px;
}

.plan ul li::before {
    content: "✓";
    color: var(--forest);
    font-weight: 700;
}

.pricing-note {
    max-width: 640px;
    margin: 28px auto 0;
    font-size: 14px;
    color: var(--ink-soft);
}

/* ─── Footer ────────────────────────────────────────────────── */

.site-footer {
    background: #0e1411;
    color: rgba(236, 242, 238, 0.72);
    padding: 56px 0 32px;
    font-size: 14px;
}

.site-footer a {
    color: rgba(236, 242, 238, 0.90);
    border: none;
}

.site-footer a:hover { color: white; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-grid h4 {
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    margin: 0 0 14px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid ul li { padding: 5px 0; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(236, 242, 238, 0.50);
}

/* ─── Legal pages ───────────────────────────────────────────── */

.legal {
    padding: 56px 0 80px;
    max-width: 760px;
}

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

.legal h1 {
    font-size: 40px;
    letter-spacing: -1px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--ink);
}

.legal h2 {
    margin-top: 40px;
    font-size: 22px;
    font-weight: 700;
}

.legal h3 {
    margin-top: 28px;
    font-size: 17px;
    font-weight: 700;
}

.legal p, .legal li {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
}

.legal ul, .legal ol { padding-left: 22px; }

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}

.legal th, .legal td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--divider);
    vertical-align: top;
}

.legal th { background: var(--sage-strip); font-weight: 600; }

.legal .notice-card {
    padding: 16px 18px;
    border: 1px solid rgba(90, 136, 104, 0.22);
    border-radius: 14px;
    background: var(--forest-soft);
    color: var(--ink);
}

.redirect-page { min-height: 60vh; }

/* ─── FAQ ───────────────────────────────────────────────────── */

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

.faq-item {
    border: 1px solid var(--card-stroke);
    border-radius: 14px;
    background: var(--card);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    float: right;
    font-size: 20px;
    font-weight: 400;
    color: var(--forest);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
    margin: 0;
    padding: 0 22px 18px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* ─── Screenshot gallery ────────────────────────────────────── */

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.screenshot-card {
    margin: 0;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-stroke);
}

/* ─── Hero screenshot placeholder ─────────────────────────────── */

.hero-screenshot-placeholder {
    display: none;
}

/* ─── Mobile ────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy .logo-stage {
        margin: 0 auto 24px;
    }

    .hero-copy .pill-row,
    .hero-copy .cta-row {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-width: 260px;
    }
}

@media (max-width: 820px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .audience-grid { grid-template-columns: 1fr; }
    .split-grid { grid-template-columns: 1fr; }
    .screenshot-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hero { padding: 64px 0 56px; }
    .hero h1 { font-size: 38px; letter-spacing: -1px; }
    .hero .tagline { font-size: 18px; }
    .section { padding: 56px 0; }
    .section h2 { font-size: 28px; }
    .steps-grid { grid-template-columns: 1fr; }
    .screenshot-gallery { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .legal h1 { font-size: 30px; }
}

/* ─── Creator program pages ─────────────────────────────────── */

.creator-hero {
    padding: 72px 0 56px;
    background: linear-gradient(180deg, var(--sage-strip) 0%, var(--canvas) 100%);
}

.creator-hero h1 {
    font-size: clamp(36px, 5vw, 54px);
    letter-spacing: -1.2px;
    margin: 0 0 16px;
    font-weight: 800;
}

.creator-hero .lead {
    font-size: 20px;
    color: var(--ink-soft);
    max-width: 680px;
    margin: 0 0 28px;
}

.creator-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.creator-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.creator-card {
    background: var(--card);
    border: 1px solid var(--card-stroke);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.creator-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.creator-card p,
.creator-card li {
    color: var(--ink-soft);
    font-size: 16px;
}

.creator-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--forest-soft);
    color: var(--forest);
    font-weight: 800;
    margin-bottom: 12px;
}

.creator-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--card-stroke);
    border-radius: var(--radius);
    background: var(--card);
}

.creator-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.creator-table th,
.creator-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--divider);
}

.creator-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--ink-soft);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--card-stroke);
    background: var(--card);
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--ink-muted);
}

.status-badge.is-pending::before { background: var(--gold); }
.status-badge.is-approved::before { background: var(--ready); }
.status-badge.is-rejected::before { background: var(--rose); }
.status-badge.is-review::before { background: var(--teal); }

.creator-form {
    display: grid;
    gap: 18px;
}

.creator-form .field-row {
    display: grid;
    gap: 18px;
}

.creator-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.creator-form input,
.creator-form select,
.creator-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg-page);
}

.creator-form input:focus,
.creator-form select:focus,
.creator-form textarea:focus {
    outline: none;
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(90, 136, 104, 0.18);
}

.creator-form .error-summary {
    display: none;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--rose-soft);
    color: #7a3040;
    border: 1px solid rgba(176, 104, 120, 0.25);
}

.creator-form .error-summary.is-visible { display: block; }

.creator-form .field-error {
    color: #7a3040;
    font-size: 14px;
    margin-top: 6px;
}

.creator-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.creator-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--card-stroke);
    background: var(--card);
}

.creator-checklist li.is-complete {
    border-color: rgba(78, 168, 112, 0.25);
    background: var(--ready-track);
}

.creator-checklist .mark {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.creator-checklist li.is-complete .mark {
    border-color: var(--ready);
    background: var(--ready);
    color: white;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--forest);
    color: white;
}

.btn-primary:hover { background: var(--forest-dark); color: white; border: none; }

.btn-secondary {
    background: var(--card);
    color: var(--forest);
    border: 1px solid rgba(90, 136, 104, 0.25);
}

.btn-secondary:hover { background: var(--forest-soft); border-color: var(--forest); color: var(--forest-dark); }

.creator-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.creator-note {
    font-size: 14px;
    color: var(--ink-soft);
}

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

.creator-nav-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}

.creator-nav-toggle {
    border: 1px solid var(--card-stroke);
    background: var(--card);
    color: var(--ink);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
}

.creator-nav-toggle:focus-visible,
.creator-form input:focus-visible,
.creator-form select:focus-visible,
.creator-form textarea:focus-visible,
.creator-form button:focus-visible,
.nav-links a:focus-visible,
.creator-support-link:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 2px;
}

.creator-nav-menu {
    position: absolute;
    right: 16px;
    top: calc(100% + 8px);
    min-width: 220px;
    background: var(--card);
    border: 1px solid var(--card-stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 20;
}

.creator-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
}

.creator-nav-drawer[hidden] {
    display: none !important;
}

.creator-nav-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 36, 32, 0.45);
    cursor: pointer;
}

.creator-nav-sheet {
    position: fixed;
    top: var(--creator-header-height, 68px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - var(--creator-header-height, 68px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--card);
    border-bottom: 1px solid var(--card-stroke);
    box-shadow: var(--shadow-md);
    padding: 8px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
}

body.creator-nav-open {
    overflow: hidden;
}

.creator-nav-menu a {
    padding: 8px 10px;
    border-radius: 10px;
}

.creator-nav-menu .nav-apply {
    text-align: center;
    justify-content: center;
}

.nav-row {
    position: relative;
}

@media (max-width: 820px) {
    .creator-nav-desktop { display: none !important; }
    .creator-nav-mobile { display: flex; }
}

@media (min-width: 821px) {
    .creator-nav-mobile { display: none; }
}

@media (min-width: 760px) {
    .creator-form .field-row.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .creator-grid-2,
    .creator-grid-3 { grid-template-columns: 1fr; }
}

/* ─── Creator program — scoped theme (#A86878 secondary) ─────── */

body[data-creator-page-view] {
    --creator-secondary: #A86878;
    --creator-secondary-dark: #8f5564;
    --creator-secondary-soft: rgba(168, 104, 120, 0.10);
    --creator-secondary-border: rgba(168, 104, 120, 0.24);
}

html:has(body[data-creator-page-view]) {
    scroll-padding-top: calc(var(--creator-header-height, 68px) + 8px);
}

body[data-creator-page-view] {
    width: 100%;
    overflow-x: hidden;
}

/* Content links only — never override button/nav CTA colors */
body[data-creator-page-view] .section a:not(.btn-primary):not(.btn-secondary):not(.creator-nav-apply):not(.creator-nav-apply-mobile),
body[data-creator-page-view] .legal a:not(.btn-primary):not(.btn-secondary),
body[data-creator-page-view] .creator-card a:not(.btn-primary):not(.btn-secondary),
body[data-creator-page-view] .creator-hero a:not(.btn-primary):not(.btn-secondary) {
    color: var(--forest);
    border-bottom-color: rgba(90, 136, 104, 0.22);
}

body[data-creator-page-view] .section a:not(.btn-primary):not(.btn-secondary):not(.creator-nav-apply):not(.creator-nav-apply-mobile):hover,
body[data-creator-page-view] .legal a:not(.btn-primary):not(.btn-secondary):hover,
body[data-creator-page-view] .creator-card a:not(.btn-primary):not(.btn-secondary):hover,
body[data-creator-page-view] .creator-hero a:not(.btn-primary):not(.btn-secondary):hover {
    color: var(--creator-secondary-dark);
    border-bottom-color: var(--creator-secondary);
}

body[data-creator-page-view] .site-header {
    padding: 12px 0;
    z-index: 130;
}

body[data-creator-page-view] .brand {
    font-size: 16px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-creator-page-view] .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-creator-page-view] [data-creator-nav] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
    position: static;
}

body[data-creator-page-view] .creator-nav-desktop {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 20px;
    align-items: center;
}

body[data-creator-page-view] .creator-nav-desktop a {
    font-size: 14px;
    white-space: nowrap;
    color: var(--ink-soft);
    border: none;
    font-weight: 500;
}

body[data-creator-page-view] .creator-nav-desktop a:hover {
    color: var(--creator-secondary-dark);
}

body[data-creator-page-view] .creator-nav-desktop a[aria-current="page"] {
    color: var(--creator-secondary-dark);
    font-weight: 700;
}

body[data-creator-page-view] .creator-nav-desktop a.creator-nav-apply,
body[data-creator-page-view] .creator-nav-desktop a.creator-nav-apply:hover {
    color: #fff;
    border: none;
    margin-left: 6px;
    padding: 10px 18px;
    box-shadow: 0 1px 2px rgba(26, 36, 32, 0.08);
}

body[data-creator-page-view] .creator-nav-apply,
body[data-creator-page-view] .creator-nav-apply-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    background: var(--forest);
    color: #fff;
}

body[data-creator-page-view] .creator-nav-apply:hover,
body[data-creator-page-view] .creator-nav-apply-mobile:hover {
    background: var(--forest-dark);
    color: #fff;
}

body[data-creator-page-view] .creator-nav-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

body.creator-nav-open .creator-nav-apply-mobile {
    display: none;
}

body[data-creator-page-view] .creator-nav-apply-mobile {
    padding: 8px 14px;
    font-size: 13px;
    flex-shrink: 0;
}

body[data-creator-page-view] .creator-nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--creator-secondary-border);
    background: var(--card);
    border-radius: 12px;
    flex-shrink: 0;
    cursor: pointer;
}

body[data-creator-page-view] .creator-nav-toggle-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background: var(--creator-secondary);
    border-radius: 999px;
    transition: background 120ms ease;
}

body[data-creator-page-view] .creator-nav-toggle-icon::before,
body[data-creator-page-view] .creator-nav-toggle-icon::after {
    position: absolute;
    left: 0;
    display: block;
    width: 18px;
    height: 2px;
    background: var(--creator-secondary);
    border-radius: 999px;
    content: "";
    transition: transform 160ms ease, top 160ms ease;
}

body[data-creator-page-view] .creator-nav-toggle-icon::before {
    top: -6px;
}

body[data-creator-page-view] .creator-nav-toggle-icon::after {
    top: 6px;
}

body[data-creator-page-view] .creator-nav-toggle[aria-expanded="true"] .creator-nav-toggle-icon {
    background: transparent;
}

body[data-creator-page-view] .creator-nav-toggle[aria-expanded="true"] .creator-nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

body[data-creator-page-view] .creator-nav-toggle[aria-expanded="true"] .creator-nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

body[data-creator-page-view] .creator-nav-drawer {
    z-index: 120;
}

body[data-creator-page-view] .creator-nav-sheet {
    border-bottom: 1px solid var(--creator-secondary-border);
    border-radius: 0 0 20px 20px;
    padding: 8px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));
}

body[data-creator-page-view] .creator-nav-sheet a {
    display: block;
    padding: 14px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    border: none;
}

body[data-creator-page-view] .creator-nav-sheet a[aria-current="page"] {
    color: var(--creator-secondary-dark);
    background: var(--creator-secondary-soft);
}

body[data-creator-page-view] .creator-nav-sheet a:hover {
    background: var(--creator-secondary-soft);
    color: var(--creator-secondary-dark);
}

body[data-creator-page-view] .creator-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 48px;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(168, 104, 120, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(90, 136, 104, 0.14) 0%, transparent 50%),
        linear-gradient(180deg, var(--sage-strip) 0%, var(--canvas) 88%);
    border-bottom: 1px solid var(--divider);
}

body[data-creator-page-view] .creator-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

body[data-creator-page-view] .creator-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--creator-secondary-dark);
    background: var(--creator-secondary-soft);
    border: 1px solid var(--creator-secondary-border);
}

body[data-creator-page-view] .creator-hero h1 {
    font-size: clamp(34px, 8vw, 56px);
    line-height: 1.06;
    letter-spacing: -1px;
    margin: 0 0 16px;
}

body[data-creator-page-view] .creator-hero .lead {
    font-size: clamp(17px, 4.2vw, 21px);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
    margin: 0 0 28px;
}

body[data-creator-page-view] .section {
    padding: 56px 0;
}

body[data-creator-page-view] .section h2 {
    font-size: clamp(26px, 5vw, 34px);
    letter-spacing: -0.6px;
    margin-bottom: 8px;
}

body[data-creator-page-view] .section h2::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: var(--creator-secondary);
    margin-bottom: 14px;
}

body[data-creator-page-view] .creator-section-head {
    max-width: 640px;
    margin-bottom: 8px;
}

body[data-creator-page-view] .creator-section-head .creator-eyebrow {
    margin-bottom: 12px;
}

body[data-creator-page-view] .creator-section-head h2::before {
    display: none;
}

body[data-creator-page-view] .creator-section-lead {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-soft);
}

body[data-creator-page-view] .creator-commission-section {
    background:
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(168, 104, 120, 0.06) 0%, transparent 70%),
        var(--canvas);
}

body[data-creator-page-view] .creator-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body[data-creator-page-view] .creator-stat-chip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--creator-secondary-border);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

body[data-creator-page-view] .creator-stat-value {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--forest);
    line-height: 1.1;
}

body[data-creator-page-view] .creator-stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--creator-secondary-dark);
    line-height: 1.35;
}

body[data-creator-page-view] .creator-commission-grid {
    display: grid;
    gap: 20px;
    align-items: start;
}

body[data-creator-page-view] .creator-panel {
    padding: 24px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--card-stroke);
    box-shadow: var(--shadow-md);
}

body[data-creator-page-view] .creator-panel-rules {
    border-top: 3px solid var(--forest);
}

body[data-creator-page-view] .creator-panel-example {
    border-top: 3px solid var(--creator-secondary);
    background:
        linear-gradient(180deg, rgba(168, 104, 120, 0.04) 0%, var(--card) 120px);
}

body[data-creator-page-view] .creator-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

body[data-creator-page-view] .creator-panel-header h3 {
    margin: 0 0 4px;
    font-size: 20px;
    letter-spacing: -0.3px;
}

body[data-creator-page-view] .creator-panel-sub {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}

body[data-creator-page-view] .creator-panel-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 800;
    color: var(--creator-secondary-dark);
    background: var(--creator-secondary-soft);
    border: 1px solid var(--creator-secondary-border);
}

body[data-creator-page-view] .creator-panel-badge.is-rules {
    color: var(--forest);
    background: var(--forest-soft);
    border-color: rgba(90, 136, 104, 0.22);
}

body[data-creator-page-view] .creator-rule-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

body[data-creator-page-view] .creator-rule-list li {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--divider);
    align-items: start;
}

body[data-creator-page-view] .creator-rule-list li:last-child {
    border-bottom: none;
}

body[data-creator-page-view] .creator-rule-key {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--creator-secondary-dark);
    padding-top: 2px;
}

body[data-creator-page-view] .creator-rule-val {
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink);
}

body[data-creator-page-view] .creator-exclusion-note {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
    background: var(--sage-strip);
    border: 1px dashed var(--creator-secondary-border);
}

body[data-creator-page-view] .creator-formula-card {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--forest-soft) 0%, var(--creator-secondary-soft) 100%);
    border: 1px solid var(--creator-secondary-border);
}

body[data-creator-page-view] .creator-formula-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--creator-secondary-dark);
    margin-bottom: 8px;
}

body[data-creator-page-view] .creator-formula-card code {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    word-break: break-word;
}

body[data-creator-page-view] .creator-metric-list {
    display: grid;
    gap: 0;
    border: 1px solid var(--creator-secondary-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--card);
}

body[data-creator-page-view] .creator-metric-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--divider);
}

body[data-creator-page-view] .creator-metric-row:last-child {
    border-bottom: none;
}

body[data-creator-page-view] .creator-metric-row.is-highlight {
    background: linear-gradient(90deg, var(--creator-secondary-soft) 0%, rgba(232, 242, 235, 0.6) 100%);
}

body[data-creator-page-view] .creator-metric-label {
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-soft);
}

body[data-creator-page-view] .creator-metric-label em {
    font-style: normal;
    font-size: 12px;
    color: var(--ink-muted);
}

body[data-creator-page-view] .creator-metric-value {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--ink);
    word-break: break-word;
}

body[data-creator-page-view] .creator-metric-value.is-accent {
    color: var(--creator-secondary-dark);
    font-size: 24px;
}

body[data-creator-page-view] .creator-disclaimer {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-muted);
}

body[data-creator-page-view] .creator-benefits-section {
    background: var(--canvas);
}

body[data-creator-page-view] .creator-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body[data-creator-page-view] .creator-benefit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 22px 22px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--card-stroke);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

body[data-creator-page-view] .creator-benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--forest);
}

body[data-creator-page-view] .creator-benefit-card.is-rose::before {
    background: var(--creator-secondary);
}

body[data-creator-page-view] .creator-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--creator-secondary-border);
}

body[data-creator-page-view] .creator-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
}

body[data-creator-page-view] .creator-benefit-icon svg {
    width: 24px;
    height: 24px;
}

body[data-creator-page-view] .creator-benefit-card.is-green .creator-benefit-icon {
    color: var(--forest);
    background: var(--forest-soft);
    border: 1px solid rgba(90, 136, 104, 0.22);
}

body[data-creator-page-view] .creator-benefit-card.is-rose .creator-benefit-icon {
    color: var(--creator-secondary-dark);
    background: var(--creator-secondary-soft);
    border: 1px solid var(--creator-secondary-border);
}

body[data-creator-page-view] .creator-benefit-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

body[data-creator-page-view] .creator-benefit-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 960px) {
    body[data-creator-page-view] .creator-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body[data-creator-page-view] .creator-benefits-grid {
        grid-template-columns: 1fr;
    }
}

body[data-creator-page-view] .creator-status-card {
    border-left: 3px solid var(--creator-secondary-border);
}

body[data-creator-page-view] .creator-support-card {
    text-align: center;
    padding: 8px 0;
}

body[data-creator-page-view] .creator-support-heading {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

body[data-creator-page-view] .creator-site-footer .footer-bottom {
    flex-wrap: wrap;
    gap: 8px 16px;
}

body[data-creator-page-view] .creator-apply-page {
    background:
        radial-gradient(ellipse 70% 40% at 100% 0%, rgba(90, 136, 104, 0.08) 0%, transparent 55%),
        var(--canvas);
}

body[data-creator-page-view] .creator-apply-panel {
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid var(--card-stroke);
    background: var(--card);
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--forest);
}

body[data-creator-page-view] .creator-token-page {
    min-height: calc(100dvh - var(--creator-header-height, 68px));
}

body[data-creator-page-view] .creator-token-header {
    padding: 14px 0;
    border-bottom: 1px solid var(--divider);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
}

body[data-creator-page-view] .creator-token-header .brand {
    font-size: 15px;
}

body[data-creator-page-view] #faq-preview-list {
    margin-top: 20px;
}

body[data-creator-page-view] .creator-split-block > h2 {
    margin-bottom: 12px;
}

body[data-creator-page-view] .creator-split-block > h2::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--creator-secondary);
    margin-bottom: 10px;
}

body[data-creator-page-view] .creator-section-alt {
    background: var(--sage-strip);
}

body[data-creator-page-view] .creator-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--card-stroke);
    box-shadow: var(--shadow-sm);
}

body[data-creator-page-view] .creator-card-accent {
    border-left: 3px solid var(--creator-secondary);
}

body[data-creator-page-view] .creator-card h3 {
    font-size: 18px;
    color: var(--ink);
}

body[data-creator-page-view] .creator-card ul {
    margin: 0;
    padding-left: 1.15rem;
}

body[data-creator-page-view] .creator-card li + li {
    margin-top: 8px;
}

body[data-creator-page-view] .creator-step-num {
    background: var(--creator-secondary-soft);
    color: var(--creator-secondary-dark);
    border: 1px solid var(--creator-secondary-border);
}

body[data-creator-page-view] .creator-table-wrap {
    border-color: var(--creator-secondary-border);
    border-radius: 16px;
}

body[data-creator-page-view] .creator-table th {
    color: var(--creator-secondary-dark);
    font-size: 11px;
    width: 58%;
}

body[data-creator-page-view] .creator-table td {
    font-weight: 600;
    color: var(--ink);
}

body[data-creator-page-view] .creator-table tr:last-child th,
body[data-creator-page-view] .creator-table tr:last-child td {
    border-bottom: none;
}

body[data-creator-page-view] .creator-table code,
body[data-creator-page-view] .creator-form code {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--creator-secondary-soft);
    border: 1px solid var(--creator-secondary-border);
    color: var(--ink);
    font-size: 13px;
    word-break: break-word;
}

body[data-creator-page-view] .status-badge.is-pending::before { background: var(--gold); }
body[data-creator-page-view] .status-badge.is-approved::before { background: var(--forest); }
body[data-creator-page-view] .status-badge.is-rejected::before { background: var(--creator-secondary); }
body[data-creator-page-view] .status-badge.is-review::before { background: var(--teal); }

body[data-creator-page-view] .btn-primary,
body[data-creator-page-view] .btn-primary:hover {
    background: var(--forest);
    color: #fff;
    border: none;
    text-decoration: none;
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 14px;
    width: auto;
}

body[data-creator-page-view] .btn-primary:hover {
    background: var(--forest-dark);
    color: #fff;
}

body[data-creator-page-view] .btn-secondary {
    color: var(--creator-secondary-dark);
    border: 1px solid var(--creator-secondary-border);
    background: var(--card);
    min-height: 48px;
    text-decoration: none;
    border-bottom: 1px solid var(--creator-secondary-border);
}

body[data-creator-page-view] .btn-secondary:hover {
    background: var(--creator-secondary-soft);
    border-color: var(--creator-secondary);
    color: var(--creator-secondary-dark);
}

body[data-creator-page-view] .creator-actions {
    gap: 12px;
}

body[data-creator-page-view] .creator-actions .btn-primary,
body[data-creator-page-view] .creator-actions .btn-secondary {
    flex: 1 1 220px;
}

body[data-creator-page-view] .creator-cta-band {
    padding: 64px 0;
    background:
        radial-gradient(ellipse 80% 80% at 50% 100%, rgba(90, 136, 104, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--forest-soft) 0%, var(--canvas) 100%);
    border-top: 1px solid var(--divider);
}

body[data-creator-page-view] .creator-cta-inner h2::before {
    display: none;
}

body[data-creator-page-view] .creator-cta-inner h2 {
    font-size: clamp(28px, 5vw, 36px);
}

body[data-creator-page-view] .creator-cta-inner {
    text-align: center;
}

body[data-creator-page-view] .creator-split-section {
    display: grid;
    gap: 28px;
}

body[data-creator-page-view] .creator-support-link {
    color: var(--creator-secondary-dark);
    font-weight: 700;
    border-bottom-color: var(--creator-secondary-border);
}

body[data-creator-page-view] main .container,
body[data-creator-page-view] .legal .container {
    max-width: 760px;
}

body[data-creator-page-view] main.legal,
body[data-creator-page-view] main.creator-content-page {
    max-width: none;
    width: 100%;
    margin: 0;
}

body[data-creator-page-view] .creator-content-shell {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

body[data-creator-page-view] .creator-section-head-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
}

body[data-creator-page-view] .creator-section-head-center h1 {
    font-size: clamp(32px, 6vw, 44px);
    letter-spacing: -0.8px;
    margin: 0 0 12px;
}

body[data-creator-page-view] .creator-section-head-center .creator-section-lead {
    margin-top: 0;
}

body[data-creator-page-view] .creator-faq-page {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(168, 104, 120, 0.07) 0%, transparent 65%),
        var(--canvas);
}

body[data-creator-page-view] .creator-faq-cta {
    margin: 32px 0 0;
    text-align: center;
}

body[data-creator-page-view] .faq-item {
    border-color: var(--card-stroke);
    border-radius: 16px;
    margin-bottom: 0;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

body[data-creator-page-view] .faq-item:hover {
    border-color: var(--creator-secondary-border);
    box-shadow: var(--shadow-sm);
}

body[data-creator-page-view] .faq-item[open] {
    border-color: var(--creator-secondary-border);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--creator-secondary);
}

body[data-creator-page-view] .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-size: 16px;
    line-height: 1.4;
}

body[data-creator-page-view] .faq-item summary::after {
    float: none;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    color: var(--creator-secondary-dark);
    background: var(--creator-secondary-soft);
    border: 1px solid var(--creator-secondary-border);
}

body[data-creator-page-view] .faq-item[open] summary {
    color: var(--creator-secondary-dark);
    background: linear-gradient(90deg, var(--creator-secondary-soft) 0%, transparent 100%);
}

body[data-creator-page-view] .faq-item p {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 1.65;
    border-top: 1px solid var(--divider);
    padding-top: 16px;
    margin-top: 0;
}

body[data-creator-page-view] #faq-list,
body[data-creator-page-view] .faq-list {
    display: grid;
    gap: 12px;
    margin-top: 32px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

body[data-creator-page-view] .legal h2 {
    font-size: clamp(22px, 4.5vw, 28px);
}

body[data-creator-page-view] .legal h2::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--creator-secondary);
    margin-bottom: 10px;
}

body[data-creator-page-view] .creator-form label:not(.creator-checkbox) {
    font-size: 13px;
    letter-spacing: 0.2px;
}

body[data-creator-page-view] .creator-form label.creator-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-transform: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
    cursor: pointer;
}

body[data-creator-page-view] .creator-form label.creator-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--creator-secondary);
}

body[data-creator-page-view] .creator-form input:focus,
body[data-creator-page-view] .creator-form select:focus,
body[data-creator-page-view] .creator-form textarea:focus {
    border-color: var(--creator-secondary);
    box-shadow: 0 0 0 3px var(--creator-secondary-soft);
}

body[data-creator-page-view] .creator-form .error-summary {
    background: var(--creator-secondary-soft);
    color: var(--creator-secondary-dark);
    border-color: var(--creator-secondary-border);
}

body[data-creator-page-view] main .container,
body[data-creator-page-view] .legal .container {
    max-width: 760px;
}

body[data-creator-page-view] .container.creator-narrow {
    max-width: 640px;
}

body[data-creator-page-view] .creator-text-center {
    text-align: center;
}

body[data-creator-page-view] h1 {
    font-size: clamp(28px, 6vw, 40px);
    letter-spacing: -0.8px;
    line-height: 1.12;
    margin: 0 0 12px;
}

body[data-creator-page-view] .creator-stack { margin-top: 24px; }
body[data-creator-page-view] .creator-stack-sm { margin-top: 12px; }
body[data-creator-page-view] .creator-stack-md { margin-top: 16px; }
body[data-creator-page-view] .creator-stack-lg { margin-top: 20px; }

body[data-creator-page-view] .creator-form-block {
    margin: 20px 0;
}

body[data-creator-page-view] .creator-status-copy {
    margin-top: 12px;
}

body[data-creator-page-view] .creator-onboarding-agreement {
    max-height: 280px;
    overflow: auto;
    margin: 16px 0;
    padding: 14px 16px;
    background: var(--sage-strip);
    border: 1px solid var(--creator-secondary-border);
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.55;
}

body[data-creator-page-view] .creator-code-display {
    font-size: clamp(24px, 6vw, 28px);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--creator-secondary-dark);
    margin: 0;
}

body[data-creator-page-view] .nav-row {
    gap: 12px;
}

body[data-creator-page-view] main .container > .creator-card + .creator-card {
    margin-top: 16px;
}

body[data-creator-page-view] .creator-text-center .creator-card {
    text-align: left;
}

body[data-creator-page-view] .section > .container > p:first-of-type {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.55;
    max-width: 62ch;
}

body[data-creator-page-view] .creator-card h2 {
    font-size: clamp(20px, 4vw, 24px);
    margin: 0 0 10px;
}

@media (max-width: 820px) {
    body[data-creator-page-view] .creator-nav-desktop { display: none !important; }
    body[data-creator-page-view] .creator-nav-mobile { display: flex; }
}

@media (min-width: 821px) {
    body[data-creator-page-view] .creator-nav-mobile { display: none; }
    body[data-creator-page-view] .creator-nav-drawer {
        display: none !important;
    }
    body[data-creator-page-view] .creator-split-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body[data-creator-page-view] .creator-commission-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
    body[data-creator-page-view] .creator-metric-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    body[data-creator-page-view] .creator-metric-label {
        flex: 1 1 auto;
        max-width: 62%;
    }
    body[data-creator-page-view] .creator-metric-value {
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    body[data-creator-page-view] .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    body[data-creator-page-view] .section {
        padding: 44px 0;
    }

    body[data-creator-page-view] .creator-hero {
        padding: 36px 0 32px;
    }

    body[data-creator-page-view] .creator-actions {
        flex-direction: column;
    }

    body[data-creator-page-view] .creator-actions .btn-primary,
    body[data-creator-page-view] .creator-actions .btn-secondary,
    body[data-creator-page-view] .creator-cta-inner .btn-primary {
        width: 100%;
        flex: 1 1 auto;
    }

    body[data-creator-page-view] .creator-stat-row {
        grid-template-columns: 1fr;
    }

    body[data-creator-page-view] .creator-rule-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    body[data-creator-page-view] .creator-table {
        min-width: 0;
    }

    body[data-creator-page-view] .creator-table tr {
        display: grid;
        gap: 4px;
        padding: 14px 0;
        border-bottom: 1px solid var(--divider);
    }

    body[data-creator-page-view] .creator-table tr:last-child {
        border-bottom: none;
    }

    body[data-creator-page-view] .creator-table th,
    body[data-creator-page-view] .creator-table td {
        display: block;
        width: 100%;
        padding: 0;
        border: none;
    }

    body[data-creator-page-view] .creator-table th {
        font-size: 12px;
        line-height: 1.35;
        text-transform: none;
        letter-spacing: 0;
        color: var(--ink-soft);
    }

    body[data-creator-page-view] .creator-table td {
        font-size: 17px;
        margin-bottom: 4px;
    }

    body[data-creator-page-view] .site-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
