/* =================================================================
   FoodManager — marketing site styles (shared by index.html & api.html)
   Audience: restaurateurs. Palette: warm orange (brand) + green (fresh).
   Dark mode via prefers-color-scheme; reduced-motion respected.
   ================================================================= */

:root {
    /* brand */
    --brand: #ea580c;
    --brand-600: #c2410c;
    --brand-50: #fff7ed;
    --leaf: #16a34a;
    --leaf-50: #f0fdf4;

    /* neutrals */
    --ink: #0f172a;
    --ink-soft: #475569;
    --muted: #64748b;
    --line: #e8edf3;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-cream: #fffaf3;
    --bg-alt: #fbfaf8;

    /* effects */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 24px 60px -20px rgba(234, 88, 12, .35);
    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1160px;

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Sora', 'Inter', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --brand: #fb923c;
        --brand-600: #f97316;
        --brand-50: #2a1a10;
        --leaf: #4ade80;
        --leaf-50: #0f2a18;
        --ink: #e8edf5;
        --ink-soft: #aab6c8;
        --muted: #8a97aa;
        --line: #243042;
        --bg: #0b1220;
        --bg-soft: #0f1729;
        --bg-cream: #0f1729;
        --bg-alt: #0d1424;
        --shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
        --shadow-lg: 0 24px 60px -20px rgba(251, 146, 60, .25);
    }
}

/* ---------------------------- reset ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code {
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
    font-size: .9em; background: var(--bg-soft); border: 1px solid var(--line);
    padding: .1em .4em; border-radius: 6px; color: var(--brand-600);
}

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }
.container--narrow { max-width: 820px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--brand); color: #fff; padding: .7rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------- buttons ---------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .7rem 1.15rem; border-radius: 999px;
    font-weight: 600; font-size: .95rem; cursor: pointer;
    border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(234, 88, 12, .6); }
.btn--primary:hover { background: var(--brand-600); box-shadow: 0 12px 26px -8px rgba(234, 88, 12, .7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--brand); color: var(--brand-600); }
.btn--light { background: #fff; color: var(--brand-600); }
.btn--light:hover { background: #fff7ed; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------------------------- navbar ---------------------------- */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 1rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; font-family: var(--font-head); font-size: 1.15rem; }
.brand:hover { text-decoration: none; color: var(--brand-600); }
.brand__mark { color: var(--brand); display: inline-flex; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.nav__links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav__links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--brand-600); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none; flex-direction: column; gap: .25rem;
    padding: .8rem 0 1.2rem; background: var(--bg); border-bottom: 1px solid var(--line);
}
.mobile-menu a { color: var(--ink-soft); padding: .7rem 1rem; border-radius: 8px; }
.mobile-menu a:hover { background: var(--bg-soft); text-decoration: none; color: var(--brand-600); }
.mobile-menu .btn { margin: .6rem 1rem 0; }

/* ---------------------------- banner ---------------------------- */
.banner { background: linear-gradient(90deg, var(--brand), #f43f5e); color: #fff; font-size: .9rem; }
.banner__inner { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .5rem 0; text-align: center; }
.banner__close { background: none; border: 0; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; opacity: .85; padding: 0 .4rem; }
.banner__close:hover { opacity: 1; }
.banner.is-hidden { display: none; }

/* ---------------------------- sections ---------------------------- */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 660px; margin: 0 auto 2.5rem; text-align: center; }
.eyebrow { color: var(--brand-600); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.section__head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-top: .4rem; }
.section__head p { color: var(--ink-soft); }

/* ---------------------------- hero ---------------------------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 500px at 80% -10%, var(--brand-50), transparent 60%),
        radial-gradient(800px 400px at 0% 10%, var(--leaf-50), transparent 55%),
        var(--bg-cream);
    padding: 4rem 0 5rem;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft);
    padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin: 1rem 0; }
.grad {
    background: linear-gradient(90deg, var(--brand), #f43f5e 60%, var(--leaf));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.hero__stats { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--brand-600); }
.hero__stats span { font-size: .85rem; color: var(--muted); }

/* phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
    width: 300px; padding: 12px; border-radius: 38px;
    background: linear-gradient(160deg, #1e293b, #0f172a);
    box-shadow: var(--shadow-lg); position: relative;
}
.phone::before { /* notch */
    content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 22px; background: #0f172a; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone__screen { background: var(--bg); border-radius: 28px; overflow: hidden; min-height: 460px; }
.phone__head { background: linear-gradient(120deg, var(--brand), #f43f5e); color: #fff; padding: 2.2rem 1.1rem 1rem; }
.phone__head h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.phone__head p { color: rgba(255,255,255,.85); font-size: .8rem; margin: .15rem 0 0; }
.phone__list { padding: .4rem .9rem 1rem; }
.phone__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-600); margin: 1rem 0 .3rem; }
.phone__item { display: flex; justify-content: space-between; gap: .6rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.phone__item:last-child { border-bottom: 0; }
.phone__item h4 { font-size: .92rem; margin: 0; font-family: var(--font-body); font-weight: 600; }
.phone__item .d { font-size: .72rem; color: var(--muted); }
.phone__price { font-weight: 700; color: var(--ink); font-size: .92rem; white-space: nowrap; }

/* ---------------------------- value strip ---------------------------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.strip__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1.2rem 0; justify-content: center; }
.strip__label { color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.strip__list { display: flex; gap: .6rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.strip__list li {
    background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft);
    padding: .35rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
}

/* ---------------------------- steps ---------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.5rem 1.5rem; box-shadow: var(--shadow-sm); }
.step__num {
    counter-increment: step; position: absolute; top: -16px; left: 1.5rem;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.step__num::before { content: counter(step); }
.step__emoji { font-size: 1.8rem; display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---------------------------- menu demo ---------------------------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.demo__note { color: var(--ink-soft); }
.demo__note .checks { margin-bottom: 1.4rem; }
.demo__card {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
}
.demo__head { background: linear-gradient(120deg, var(--brand), #f43f5e); color: #fff; padding: 1.3rem 1.4rem; }
.demo__head h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.demo__head p { color: rgba(255,255,255,.85); margin: .2rem 0 0; font-size: .85rem; }
.demo__tabs { display: flex; gap: .3rem; padding: .8rem .9rem 0; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.demo__tab {
    background: transparent; border: 1px solid transparent; cursor: pointer;
    padding: .45rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink-soft);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.demo__tab:hover { background: var(--bg-soft); color: var(--brand-600); }
.demo__tab.is-active { background: var(--brand-50); color: var(--brand-600); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.demo__panel { padding: .4rem 1.1rem 1.2rem; min-height: 240px; }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item__name { font-weight: 600; font-size: .98rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.menu-item__desc { color: var(--muted); font-size: .82rem; margin: .1rem 0 0; }
.menu-item__price { font-weight: 700; color: var(--brand-600); white-space: nowrap; }
.tag { font-size: .72rem; background: var(--leaf-50); color: var(--leaf); border-radius: 999px; padding: .05rem .45rem; font-weight: 700; }
.tag--spicy { background: #fff1f2; color: #e11d48; }

/* ---------------------------- cards / features ---------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.card__emoji, .card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--brand-50); margin-bottom: 1rem; font-size: 1.6rem;
}
.card__icon { color: var(--brand-600); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---------------------------- benefits ---------------------------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.benefit { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.benefit h3 { font-size: 1.05rem; color: var(--brand-600); }
.benefit p { color: var(--ink-soft); margin: 0; font-size: .94rem; }

/* ---------------------------- testimonials ---------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.testimonial blockquote { margin: 0 0 1.2rem; font-size: .98rem; color: var(--ink-soft); }
.testimonial blockquote::before { content: "“"; font-family: var(--font-head); font-size: 2.4rem; line-height: 0; color: var(--brand); vertical-align: -.4em; margin-right: .2rem; }
.testimonial__who { display: flex; align-items: center; gap: .7rem; }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-head); }
.testimonial__who strong { display: block; font-size: .92rem; }
.testimonial__who span { font-size: .82rem; color: var(--muted); }

/* ---------------------------- pricing ---------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.plan {
    position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.plan--featured { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.plan__badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700;
    padding: .3rem .9rem; border-radius: 999px; letter-spacing: .04em;
}
.plan h3 { font-size: 1.25rem; }
.plan__price { font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); margin: .2rem 0; }
.plan__price small { font-size: .85rem; color: var(--muted); font-family: var(--font-body); }
.plan__desc { color: var(--muted); font-size: .92rem; min-height: 2.4em; }
.plan__feats { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex: 1; }
.plan__feats li { padding: .4rem 0 .4rem 1.5rem; position: relative; color: var(--ink-soft); font-size: .94rem; border-bottom: 1px dashed var(--line); }
.plan__feats li:last-child { border-bottom: 0; }
.plan__feats li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 700; }

/* ---------------------------- FAQ ---------------------------- */
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq__item {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: .2rem 1.1rem; box-shadow: var(--shadow-sm); transition: border-color .15s ease;
}
.faq__item[open] { border-color: var(--brand); }
.faq__item summary {
    cursor: pointer; list-style: none; padding: .9rem 0; font-weight: 600; font-family: var(--font-head);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--brand-600); font-size: 1.4rem; font-weight: 600; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); margin: 0 0 1rem; }

/* ---------------------------- CTA band ---------------------------- */
.cta-band { background: linear-gradient(120deg, var(--brand-600), var(--brand) 50%, #f43f5e); color: #fff; text-align: center; padding: 4rem 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto 1.5rem; }
.cta-band__btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------------------------- contact ---------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; color: var(--ink-soft); }
.contact__ico { font-size: 1.3rem; }
.contact__form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.form__note { color: var(--muted); font-size: .85rem; margin: 0 0 1.2rem; }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.field input, .field textarea {
    width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink);
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: .7rem .85rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.form__success { color: var(--leaf); font-weight: 600; margin: 1rem 0 0; }

/* ---------------------------- checks list ---------------------------- */
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: .6rem; color: var(--ink-soft); }
.checks li::before {
    content: "✓"; position: absolute; left: 0; top: .05rem;
    color: #fff; background: var(--leaf); width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700;
}

/* ---------------------------- footer ---------------------------- */
.footer { background: #0b1220; color: #cbd5e1; padding: 3.5rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #1e293b; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer__col p { color: #94a3b8; font-size: .92rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: .5rem; }
.footer__col a { color: #cbd5e1; font-size: .92rem; }
.footer__col a:hover { color: var(--brand); text-decoration: none; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; color: #94a3b8; font-size: .85rem; }
.footer__made { color: #64748b; }

/* ============================ DEV PAGE (api.html) ============================ */
.dev { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.window, .snippet { background: #0f172a; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #1e293b; }
.window__bar, .snippet__tabs { display: flex; align-items: center; gap: .5rem; background: #1e293b; }
.window__bar { padding: .7rem .9rem; }
.window__title { margin-left: .6rem; color: #94a3b8; font-size: .8rem; font-family: ui-monospace, monospace; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.window__body { margin: 0; padding: 1.1rem 1.2rem; color: #e2e8f0; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.7; overflow-x: auto; }
.window__body code { background: none; border: 0; padding: 0; color: inherit; }
.snippet__tabs { gap: .2rem; padding: .4rem .5rem 0; }
.snippet__tab {
    background: transparent; color: #94a3b8; border: 0; cursor: pointer;
    padding: .55rem .9rem; font-size: .85rem; font-weight: 600; border-radius: 8px 8px 0 0;
    transition: color .15s ease, background .15s ease;
}
.snippet__tab:hover { color: #e2e8f0; }
.snippet__tab.is-active { background: #0f172a; color: #fb923c; }
.snippet__panel { margin: 0; padding: 1.2rem 1.3rem; color: #e2e8f0; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.7; overflow-x: auto; }
.snippet__panel code { background: none; border: 0; padding: 0; color: inherit; }
/* token colors */
.c-k { color: #f472b6; }
.c-s { color: #86efac; }
.c-p { color: #fcd34d; }
.c-c { color: #64748b; font-style: italic; }

.dev__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.dev__feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.dev__feature h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.dev__feature p { color: var(--ink-soft); margin: 0; font-size: .94rem; }

/* ---------------------------- scroll reveal ---------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------- responsive ---------------------------- */
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .demo { grid-template-columns: 1fr; gap: 2rem; }
    .dev { grid-template-columns: 1fr; gap: 2rem; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .testimonials { grid-template-columns: 1fr; }
    .contact { grid-template-columns: 1fr; gap: 2rem; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .dev__features { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nav__links, .nav__actions .btn { display: none; }
    .nav__toggle { display: flex; }
    .nav__actions { margin-left: auto; }
    .mobile-menu[hidden] { display: none; }
    .mobile-menu:not([hidden]) { display: flex; }
    .hero { padding-top: 2.5rem; }
    .plan--featured { transform: none; }
    .pricing { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .cards, .benefits { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .section { padding: 3.5rem 0; }
}

/* ---------------------------- reduced motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
