/* =============================================================================
   FM Studio - fms.ug landing page
   -----------------------------------------------------------------------------
   Hand-written rather than a framework: the page has to load fast on a Ugandan
   phone paying per megabyte, and that is hard to square with shipping a CSS
   framework's whole vocabulary to render one page.

   The greyscale ramp is copied verbatim from the app's own design system
   (public/assets/css/app.css) so the marketing site and the Studio read as one
   product rather than two brands that happen to share a name.

   There is no colour anywhere. Hierarchy comes from type scale, weight and
   whitespace, and the only "accent" is contrast - near-black on off-white,
   inverted for emphasis.
   ========================================================================== */

:root {
    /* Greyscale ramp - the entire palette. Same values as the app. */
    --sr-0:#0a0a0a; --sr-1:#121212; --sr-2:#1a1a1a; --sr-3:#232323;
    --sr-4:#2e2e2e; --sr-5:#3d3d3d; --sr-6:#565656; --sr-7:#767676;
    --sr-8:#9a9a9a; --sr-9:#bdbdbd; --sr-10:#d9d9d9; --sr-11:#ebebeb;
    --sr-12:#f4f4f4;

    /* Semantic roles, so a dark-mode flip is a handful of lines below. */
    --bg:      #ffffff;
    --bg-soft: #fbfbfa;   /* warm off-white - pure grey reads clinical */
    --surface: #ffffff;
    --line:    var(--sr-11);
    --line-strong: var(--sr-10);
    --text:    var(--sr-0);
    --muted:   var(--sr-6);
    --faint:   var(--sr-7);
    --invert-bg:   var(--sr-0);
    --invert-text: #ffffff;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
            "Helvetica Neue", Arial, sans-serif;

    /* One radius scale. Rounded, never pill-shaped except on badges. */
    --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,.05), 0 12px 32px rgba(0,0,0,.05);
    --shadow-lg: 0 18px 60px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.04);

    --ease: cubic-bezier(.22,1,.36,1);   /* decelerating - feels "settled" */
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:      var(--sr-0);
        --bg-soft: var(--sr-1);
        --surface: var(--sr-1);
        --line:    var(--sr-3);
        --line-strong: var(--sr-4);
        --text:    var(--sr-12);
        --muted:   var(--sr-8);
        --faint:   var(--sr-7);
        --invert-bg:   var(--sr-12);
        --invert-text: var(--sr-0);
        --shadow-lg: 0 18px 60px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.3);
        --shadow-md: 0 4px 12px rgba(0,0,0,.4);
        --shadow-sm: 0 1px 3px rgba(0,0,0,.35);
    }
}

/* ---- reset ------------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: -.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* Visible focus everywhere. Keyboard users are not an afterthought. */
:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip {
    position: absolute; left: -9999px; top: 0;
    background: var(--text); color: var(--bg);
    padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ---- layout ------------------------------------------------------------ */
.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 1.5rem; }
.narrow { max-width: 760px; }

section { padding-block: clamp(4.5rem, 11vw, 9rem); }
.section-soft { background: var(--bg-soft); }
.section-invert { background: var(--invert-bg); color: var(--invert-text); }
.section-invert .eyebrow, .section-invert .lede { color: var(--sr-8); }

/* ---- type -------------------------------------------------------------- */
h1,h2,h3,h4 { margin: 0; font-weight: 640; letter-spacing: -.03em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 7.2vw, 4.4rem); letter-spacing: -.042em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.16rem; letter-spacing: -.02em; line-height: 1.3; }
p  { margin: 0; }

.eyebrow {
    font-size: .75rem; font-weight: 600; letter-spacing: .11em;
    text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem;
}
.lede { font-size: clamp(1.06rem, 1.9vw, 1.28rem); color: var(--muted); line-height: 1.6; }
.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 + .lede { margin-top: 1.15rem; }

/* ---- buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.5rem; border-radius: 999px;
    font-size: .96rem; font-weight: 560; letter-spacing: -.01em;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), background .2s, border-color .2s, opacity .2s;
}
.btn:active { transform: scale(.975); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { opacity: .87; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.section-invert .btn-primary { background: var(--invert-text); color: var(--invert-bg); }
.section-invert .btn-ghost { border-color: var(--sr-5); color: var(--invert-text); }
.section-invert .btn-ghost:hover { border-color: var(--sr-8); }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }

/* ---- header ------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { font-size: 1.12rem; font-weight: 680; letter-spacing: -.035em; }
.brand span { font-weight: 300; color: var(--muted); }
.nav-links { display: flex; gap: 1.9rem; margin-left: auto; font-size: .93rem; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; margin-left: auto; }

@media (max-width: 880px) {
    .nav-links, .nav-cta .btn-ghost { display: none; }
    .nav-toggle { display: block; }
    .nav-cta { margin-left: .5rem; }
    .mobile-menu[hidden] { display: none; }
    .mobile-menu {
        border-top: 1px solid var(--line); background: var(--bg);
        padding: 1rem 1.5rem 1.6rem;
    }
    .mobile-menu a { display: block; padding: .7rem 0; color: var(--muted); font-size: 1rem; }
}

/* ---- hero -------------------------------------------------------------- */
.hero { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: 0; text-align: center; }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero .lede { max-width: 56ch; margin: 1.6rem auto 0; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-trust {
    margin-top: 1.5rem; font-size: .85rem; color: var(--faint);
    display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

.pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .38rem .85rem .38rem .5rem; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface);
    font-size: .82rem; color: var(--muted); margin-bottom: 1.8rem;
    box-shadow: var(--shadow-sm);
}
.pill b { color: var(--text); font-weight: 600; }
.pill .tag {
    background: var(--text); color: var(--bg); border-radius: 999px;
    padding: .1rem .5rem; font-size: .7rem; font-weight: 650; letter-spacing: .02em;
}

/* ---- product visual ---------------------------------------------------- */
.showcase { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(4rem,8vw,7rem); }
.showcase-stage { position: relative; max-width: 980px; margin-inline: auto; }

/* The soft halo behind the mockup - the one piece of "glass" on the page. */
.showcase-stage::before {
    content: ""; position: absolute; inset: -8% -4% 12%;
    background: radial-gradient(60% 50% at 50% 40%, rgba(0,0,0,.07), transparent 70%);
    filter: blur(30px); z-index: 0;
}
@media (prefers-color-scheme: dark) {
    .showcase-stage::before { background: radial-gradient(60% 50% at 50% 40%, rgba(255,255,255,.07), transparent 70%); }
}

.mock {
    position: relative; z-index: 1;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
    display: flex; align-items: center; gap: .45rem;
    padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-url {
    margin-left: .6rem; font-size: .72rem; color: var(--faint);
    background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
    padding: .18rem .7rem;
}
.mock-body { display: grid; grid-template-columns: 176px 1fr; min-height: 380px; }
/* On a phone the 176px sidebar plus a squeezed chart is most of the viewport,
   and the sidebar is the least informative half. Drop it and let the numbers -
   the actual point of the screenshot - have the width. */
@media (max-width: 620px) {
    .mock-body { grid-template-columns: 1fr; min-height: 0; }
    .mock-side { display: none; }
    .mock-main { padding: 1rem; }
}
.mock-side { border-right: 1px solid var(--line); padding: 1rem .75rem; background: var(--bg-soft); }
.mock-nav { display: flex; align-items: center; gap: .55rem; padding: .32rem .6rem; border-radius: 3px;
            font-size: .78rem; color: var(--muted); }
/* The panel's active state is a quiet fill, not an inverted block - no accent
   bar, no pill. Copying that is most of what makes this look like the product. */
.mock-nav.is-on { background: var(--line); color: var(--text); font-weight: 550; }
/* Group headings, as the real sidebar has. */
.mock-label { font-size: .6rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 600;
              color: var(--faint); padding: .75rem .6rem .2rem; }
.mock-label:first-child { padding-top: .1rem; }
.mock-main { padding: 1.4rem; }

/* Floating phone, offset off the dashboard's corner. */
.phone {
    position: absolute; z-index: 2; right: -12px; bottom: -46px; width: 208px;
    border-radius: 30px; border: 1px solid var(--line);
    background: var(--surface); box-shadow: var(--shadow-lg); padding: 10px;
    animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-screen { border-radius: 22px; overflow: hidden; background: var(--sr-0); color: #fff; padding: 1rem .9rem 1.1rem; }
@media (max-width: 720px) { .phone { display: none; } }

/* ---- stat strip -------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.stat-n { font-size: clamp(1.7rem,3.4vw,2.5rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.stat-l { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; } }

/* ---- generic grids ----------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 1.7rem 1.6rem;
    transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .93rem; line-height: 1.6; }
.section-invert .card { background: var(--sr-1); border-color: var(--sr-3); }
.section-invert .card p { color: var(--sr-8); }

.ico {
    width: 34px; height: 34px; border-radius: 9px;
    display: grid; place-items: center; margin-bottom: 1.05rem;
    border: 1px solid var(--line); color: var(--text);
}
.ico svg { width: 16px; height: 16px; }
.section-invert .ico { border-color: var(--sr-4); color: var(--invert-text); }

/* ---- Uganda ------------------------------------------------------------ */
.uganda { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
@media (max-width: 860px) { .uganda { grid-template-columns: 1fr; } }
.pay-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 2rem; }
.pay-chip {
    border: 1px solid var(--sr-4); border-radius: var(--r-md);
    padding: .7rem 1.05rem; font-size: .87rem; font-weight: 550;
    display: inline-flex; align-items: center; gap: .55rem;
}
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li {
    display: flex; gap: .9rem; padding: 1.05rem 0; border-top: 1px solid var(--sr-3);
    font-size: .96rem; color: var(--sr-9);
}
.fact-list li:last-child { border-bottom: 1px solid var(--sr-3); }
.fact-list b { color: var(--invert-text); font-weight: 600; display: block; margin-bottom: .15rem; }

/* ---- player demo ------------------------------------------------------- */
.player {
    max-width: 480px; margin-inline: auto;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden;
}
.player-tabs { display: flex; border-bottom: 1px solid var(--line); }
.player-tab {
    flex: 1; padding: .95rem; background: none; border: 0; cursor: pointer;
    font-size: .88rem; font-weight: 550; color: var(--faint);
    border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.player-tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.player-body { padding: 1.7rem; }
.player-top { display: flex; gap: 1.1rem; align-items: center; }
.art {
    width: 92px; height: 92px; border-radius: var(--r-md); flex: none;
    background: linear-gradient(135deg, var(--sr-3), var(--sr-6));
    display: grid; place-items: center; color: #fff; position: relative; overflow: hidden;
}
.art svg { width: 26px; height: 26px; opacity: .85; }
.live {
    display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem;
    font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
    border: 1px solid var(--line-strong); border-radius: 999px; padding: .18rem .6rem;
    color: var(--muted);
}
.live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.np-title { font-weight: 600; font-size: 1.02rem; margin-top: .55rem; letter-spacing: -.02em; }
.np-artist { color: var(--muted); font-size: .9rem; }
.player-ctrls { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.play-btn {
    width: 52px; height: 52px; border-radius: 50%; border: 0; flex: none;
    background: var(--text); color: var(--bg); cursor: pointer;
    display: grid; place-items: center;
    transition: transform .25s var(--ease), opacity .2s;
}
.play-btn:hover { opacity: .87; }
.play-btn:active { transform: scale(.94); }
.play-btn svg { width: 17px; height: 17px; }
.vol { flex: 1; height: 3px; background: var(--line); border-radius: 2px; position: relative; cursor: pointer; }
.vol-fill { position: absolute; inset: 0 auto 0 0; width: 72%; background: var(--text); border-radius: 2px; }
.listeners { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; white-space: nowrap; }
.recent { border-top: 1px solid var(--line); padding: 1.1rem 1.7rem 1.5rem; }
.recent-h { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: .7rem; }
.recent-row { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; font-size: .88rem; }
.recent-row span:last-child { color: var(--faint); font-size: .8rem; white-space: nowrap; }

/* ---- dashboard showcase ------------------------------------------------ */
/* Five tiles, matching the panel. The app uses a 3px radius throughout, and
   copying that is most of what makes this read as the real product rather than
   as a generic SaaS mockup. */
.dash-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: .7rem; }
@media (max-width: 1000px) { .dash-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 620px)  { .dash-grid { grid-template-columns: repeat(2,1fr); } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: .9rem 1rem; }
.tile-l { font-size: .68rem; color: var(--faint); letter-spacing: .07em; text-transform: uppercase; font-weight: 500; }
.tile-v { font-size: 1.3rem; font-weight: 620; letter-spacing: -.03em; margin-top: .25rem; line-height: 1.15;
          font-variant-numeric: tabular-nums; }

.chart { margin-top: .7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; }
/* The panel's card header: its own band with a rule under it, not a floating title. */
.chart-head { font-size: .72rem; font-weight: 550; text-transform: uppercase; letter-spacing: .06em;
              color: var(--faint); padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.chart-figs { display: flex; flex-wrap: wrap; gap: 1.6rem; padding: 1rem 1rem .4rem; }
.chart-figs b { display: block; font-size: 1.05rem; font-weight: 620; letter-spacing: -.02em;
                font-variant-numeric: tabular-nums; }
.chart-figs span { font-size: .74rem; color: var(--muted); }
/* Line + faint fill, no gridlines, no colour - currentColor, exactly as the app draws it. */
.spark { width: 100%; height: 130px; display: block; padding: 0 1rem; }
.chart-x { display: flex; justify-content: space-between; font-size: .68rem; color: var(--faint); padding: 0 1rem; }
.chart-more { font-size: .78rem; text-align: right; padding: .6rem 1rem 1rem; color: var(--muted); }

/* ---- steps ------------------------------------------------------------- */
.steps { counter-reset: s; display: grid; gap: 1.25rem; grid-template-columns: repeat(3,1fr); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; padding-top: 2.6rem; position: relative; }
.step::before {
    content: counter(s,decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    font-size: .82rem; font-weight: 650; letter-spacing: .06em; color: var(--faint);
}
.step::after { content: ""; position: absolute; top: 1.6rem; left: 0; right: 1.25rem; height: 1px; background: var(--line); }
.step:last-child::after { right: 0; }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---- pricing ----------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 1.9rem 1.7rem; position: relative;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.is-popular { border-color: var(--text); box-shadow: var(--shadow-md); }
.plan-badge {
    position: absolute; top: -11px; left: 1.7rem;
    background: var(--text); color: var(--bg); font-size: .68rem; font-weight: 650;
    letter-spacing: .08em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px;
}
.plan-name { font-size: 1.02rem; font-weight: 620; }
.plan-pitch { color: var(--muted); font-size: .87rem; margin-top: .3rem; min-height: 2.6em; }
.plan-price { font-size: 2.3rem; font-weight: 660; letter-spacing: -.045em; margin-top: 1.1rem; line-height: 1; }
.plan-period { font-size: .84rem; color: var(--faint); margin-top: .35rem; }
.plan .btn { width: 100%; margin-top: 1.4rem; }
.plan-feats { list-style: none; margin: 1.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.plan-feats li { display: flex; gap: .65rem; padding: .42rem 0; font-size: .89rem; color: var(--muted); }
.plan-feats svg { width: 15px; height: 15px; flex: none; margin-top: .28rem; color: var(--text); }
.price-note { text-align: center; color: var(--faint); font-size: .87rem; margin-top: 2rem; }

/* ---- testimonials ------------------------------------------------------ */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem 1.6rem; }
.quote p { font-size: .99rem; line-height: 1.6; letter-spacing: -.012em; }
.quote footer { margin-top: 1.2rem; font-size: .82rem; color: var(--faint); }
.quote footer b { display: block; color: var(--text); font-weight: 580; }

/* ---- faq --------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
    font-size: 1.03rem; font-weight: 550; letter-spacing: -.018em; line-height: 1.4;
}
.faq-q::after {
    content: ""; position: absolute; right: .35rem; top: 50%; width: 10px; height: 10px;
    border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
    transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item.is-open .faq-q::after { transform: translateY(-20%) rotate(-135deg); }
.faq-a { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.faq-a > div { padding-bottom: 1.4rem; color: var(--muted); font-size: .96rem; max-width: 68ch; }

/* ---- cta band ---------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { max-width: 50ch; margin: 1.2rem auto 0; }

/* ---- footer ------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); padding-block: 4rem 2.5rem; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 2.5rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.foot-col h4 { font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; font-weight: 600; }
.foot-col a { display: block; padding: .3rem 0; color: var(--muted); font-size: .91rem; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-brand p { color: var(--muted); font-size: .91rem; max-width: 30ch; margin-top: .7rem; }
.foot-bottom {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
    font-size: .84rem; color: var(--faint);
}
.socials { display: flex; gap: .5rem; }
.socials a {
    width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%;
    display: grid; place-items: center; transition: border-color .2s, transform .2s;
}
.socials a:hover { border-color: var(--text); transform: translateY(-2px); }
.socials svg { width: 15px; height: 15px; }

/* ---- reveal on scroll -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Motion is decoration. If the visitor has asked for less of it, every bit of
   it goes - including the floating phone and the smooth scroll. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .phone { animation: none; }
}
