/* EstateData Pro homepage.
 *
 * Built from the approved design export (docs/design/design-home.html, canvas 05-08.11),
 * which carries the copy as well as the layout. The design's own numbers are stale and
 * are NOT used: every figure on the page is injected by scripts/build_home.py from the
 * index that is actually served, and the twelve answer sentences are fetched live from
 * /platform/questions?with_answers=1 so the page cannot drift from /q.
 *
 * Palette is the one /q and /deal already use. #2DD4BF (teal) is reserved for research
 * and questions, #FDBA74 for the product, #C2410C for the accent on light sections
 * (#FDBA74 on white is 1.7:1 and fails AA).
 */
:root{
  --bg:#0A0E13; --panel:#0F151C; --panel2:#17212C; --line:#1C2530; --line2:#263240;
  --text:#E6EDF3; --bright:#C9D3DD; --muted:#9AA7B4; --faint:#748391;
  /* --faint carries 10.5-13px labels (stat keys, card dates, the footer). The
   * design export used #6B7A8A, which is 4.40:1 on #0A0E13 -- under AA for text
   * that small. #748391 is 4.97:1 and visually the same grey. */
  --accent:#FDBA74; --accent-hi:#FED7AA; --accent-ink:#2A1606; --accent-on-light:#C2410C;
  --teal:#2DD4BF; --teal-line:#134E4A; --teal-fill:rgba(13,26,28,.85);
  --lt:#F4F6F8; --lt2:#FFFFFF; --ink:#0F1720; --ink-mute:#4A5866; --lt-line:#E2E7EC;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 15px/1.55 var(--sans);
     -webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-hi)}
h1,h2,h3{margin:0;font-weight:700;letter-spacing:-.03em}
p{margin:0}
img{max-width:100%}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px}
.eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);
    clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;z-index:50;background:var(--accent);color:var(--accent-ink);
            padding:10px 14px;border-radius:9px;font-weight:600}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- nav ---------- */
.nav{border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
           gap:16px;padding-top:18px;padding-bottom:18px}
.brand{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:700;
       font-size:18px;letter-spacing:-.01em}
.brand:hover{color:var(--text)}
.nav nav{display:flex;flex-wrap:wrap;align-items:center;gap:28px;font-size:14px}
/* `:not(.btn)` is load-bearing, not tidiness. ".nav nav a" is specificity (0,1,2) and
 * ".btn" is (0,1,0), so without the guard the muted link colour WINS on the nav button and
 * it renders #9AA7B4 on #FDBA74 -- 1.45:1, which is what "portocaliu decolorat, text slab"
 * was (:hover made it 1.43:1). With the guard the button keeps #2A1606 on #FDBA74 = 10.2:1. */
.nav nav a:not(.btn){color:var(--muted)}
.nav nav a:not(.btn):hover{color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);
     color:var(--accent-ink);font:600 15px var(--sans);padding:12px 20px;border-radius:11px;
     border:0;cursor:pointer}
.btn:hover{background:var(--accent-hi);color:var(--accent-ink)}
.nav .btn{padding:10px 16px;font-size:14px}
.nav nav a.btn,.nav nav a.btn:hover{color:var(--accent-ink)}  /* belt and braces */

/* ---------- hero ---------- */
/* The background image slot. build_home.py writes a `.hero.has-bg` rule ONLY when
 * assets/hero-bg.jpg is on disk, so a missing image is a plain gradient and not a 404 in
 * the console. The gradient alone already carries the page; the image is a licence
 * question, not a layout one. */
.hero{position:relative;isolation:isolate;overflow-x:clip;padding:120px 0 96px;
      background-color:var(--bg);
      background-image:radial-gradient(ellipse 60% 55% at 50% 38%,rgba(45,212,191,.07) 0%,rgba(10,14,19,0) 70%),
                       radial-gradient(ellipse 70% 60% at 50% 100%,rgba(253,186,116,.08) 0%,rgba(10,14,19,0) 70%),
                       linear-gradient(180deg,#0d141c 0%,var(--bg) 70%)}
.hero .wrap{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}

/* HERO TEXT READABILITY: PER ELEMENT, BY WCAG'S OWN SIZE BOUNDARY (05.12.2026, r3).
 *
 * THE BRIEF, AND THE ONE PLACE IT COULD NOT BE MET. Every darkening layer came off the
 * artwork this round: the photograph renders within 1% of the file we ship (measured
 * below, and asserted by hero_layout_test's brightness-fidelity check), and the only
 * gradient build_home.py writes is a fade over the last 10% of the hero into the page
 * background. The type was then to carry itself -- solid fills, one tight offset drop
 * shadow each, a small frosted pill under the small text.
 *
 * It carries the SMALL text. It does not carry the large text, and that is a measurement
 * rather than a preference. With nothing at all over the picture, the worst pixel under
 * each glyph's own ink reads, at 1920 / 1280 / 400:
 *
 *     headline  1.74 / 1.02 / 1.01 : 1        subtitle  1.03 / 1.01 / 1.12 : 1
 *
 * against a 3.0 large-text floor. The artwork reaches luminance 0.95 under the headline
 * at 1280, where the crop puts a lit building face directly beneath the top line. A
 * stronger shadow does not reach it either: swept to a FULLY OPAQUE tight shadow, the
 * headline stops at 3.06 / 1.67 / 1.79 and the subtitle at 1.47 / 1.39 / 1.42. Contrast
 * over a photograph comes from darkening the picture or from drawing something dark
 * around the letters, and there is no third place (CLAUDE.md s5c).
 *
 * So the two large lines get ONE SOFT FEATHERED PLATE behind them, and nothing else in
 * the hero is darkened. That is the whole of the compromise, it is bounded, and every
 * number in it is a floor rather than a taste -- see .hero .sub::before below.
 *
 * THE SIZE BOUNDARY IS WHY THERE ARE TWO DEVICES AND NOT ONE. Large text (>=24px, or
 * >=18.66px bold) needs 3:1; small text needs 4.5:1. Over this artwork that is not a
 * difference in degree: a 12px glyph in --accent needs its background pushed down to
 * luminance 0.09 to clear 4.5, where a 68px near-white glyph needs 0.30 to clear 3.0.
 * One mechanism cannot serve both without either failing the small text or putting a
 * slab behind the big text. So:
 *
 *     >= 24px   solid fill + one tight offset drop shadow, over the plate.
 *     <  24px   its own small frosted pill, hugging that one line.
 *
 * WHAT THE SHIPPED DESIGN MEASURES. Worst pixel under the element's own ink, as a ratio
 * and as a multiple of that element's AA floor, at 1920 / 1280 / 400:
 *
 *                       worst pixel : 1          x its floor        floor
 *   eyebrow        11.07 / 10.87 / 10.25      2.46 / 2.42 / 2.28     4.5
 *   headline        7.08 /  4.45 /  4.84      2.36 / 1.48 / 1.61     3.0   <- binding
 *   subtitle        5.16 /  4.82 /  5.03      1.72 / 1.61 / 1.68     3.0   <- binding
 *   try label      11.36 / 11.97 / 12.19      2.52 / 2.66 / 2.71     4.5
 *   sample note    11.62 / 11.89 / 12.68      2.58 / 2.64 / 2.82     4.5
 *
 * The thinnest thing on the page is the subtitle at 1920 (1.72x) and the headline at
 * 1280 (1.48x), both clear of the house 1.20x margin. AND THE BARE COLUMN CLEARS AA
 * TOO: with the text-shadow discounted entirely -- which is what a strict reading of
 * WCAG does, since it has no provision for text-shadow -- the headline reads 5.16 /
 * 3.11 / 3.62 and the subtitle 4.14 / 4.07 / 4.54. The shadows are depth, not the
 * argument. hero_layout_test re-measures all of this on every run and prints both
 * columns; these figures are a record, not the check.
 *
 * NO HALOS. The stack this replaces was six layers, four of them at ZERO OFFSET, which
 * is an outline: the glyph's own shape drawn in #0A0E13 all the way round it, 16px and
 * 28px wide at the outside. It cleared AA and read as a smudge welded to every letter.
 * There is no --hero-halo any more and the gate fails on any zero-offset shadow in the
 * hero, which is the cheap guard against it coming back one layer at a time. */

/* THE SMALL TEXT'S PILL, DEFINED ONCE FOR ALL THREE ELEMENTS -- a value copied into
 * three rules is three rules to keep in step forever (CLAUDE.md s5c).
 *
 * THE BRIEF'S EXAMPLE WAS rgba(10,14,19,.55) AND IT IS MEASURABLY NOT ENOUGH HERE.
 * The binding case is the eyebrow at 400px, where the portrait crop puts the artwork's
 * brightest run (luminance 0.927) directly behind 12px of --accent orange. Clearing 4.5
 * against that orange needs the background at 0.092, which needs 0.905 of darkening:
 * at .55 the pill measures 3.2:1 and fails. .92 measures 10.25:1 at 400px and leaves
 * the artwork reading through it -- which is what the blur is for.
 *
 * `backdrop-filter` is what makes it frosted rather than a flat chip: the picture is
 * still there behind the line, softened. It also makes each of these a containing block
 * and a stacking context, which is harmless here and is neutralised in the gate's glyph
 * mask pass so the mask stays "flat white behind solid black text".
 *
 * THE PILL IS A PILL, NOT A BAND. These are flex items of a column flex container with
 * `align-items:center`, so each is already shrink-to-fit: a background plus padding
 * hugs its own line. The gate asserts the rendered width stays under 92% of the hero's,
 * because `align-items:stretch` arriving here one day would turn all three into
 * full-width slabs that read exactly as well and look like a label. */
.hero{--hero-pill:rgba(10,14,19,.92)}
.hero .eyebrow,.hero .note,.hero .try .lbl{background:var(--hero-pill);
      -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:999px}
.hero .eyebrow{color:var(--accent);padding:7px 15px}
/* THE HEADLINE: SOLID NEAR-WHITE, ONE TIGHT OFFSET DROP SHADOW.
 * The fill is explicit rather than inherited so the one colour the hero is loudest in
 * cannot be changed by repointing a token used in forty other places. #F5F7FA over
 * --text (#E6EDF3) is a deliberate half-step brighter: this is the only 68px text on
 * the site. The shadow is OFFSET and 6px, which is what makes it read as depth rather
 * than as an outline, and tight enough that it does nothing visible at the glyph's
 * edge; the readability comes from the plate. */
.hero h1{font-size:clamp(34px,5.4vw,68px);line-height:1.04;letter-spacing:-.035em;max-width:880px;
         color:#F5F7FA;text-shadow:0 2px 6px rgba(10,14,19,.7)}
/* THE SUBTITLE: SOLID WHITE, AND SIZED TO BE LARGE TEXT ON PURPOSE.
 *
 * TEAL IS THE RESEARCH COLOUR -- the lede on /q, the question cards, the pills,
 * the "go" links, everywhere the product is talking about its own numbers. The hero
 * subtitle is the first line of marketing copy on the site; it wore teal only because
 * teal happened to read well on the photograph, and near-white gives teal its meaning
 * back.
 *
 * IT IS FULLY OPAQUE, AND THAT IS A MEASURED RULE RATHER THAN A STYLE CHOICE. It
 * shipped at rgba(...,.85) earlier the same day. A translucent fill composites with
 * whatever is behind each glyph, so it moves WITH the background and loses contrast
 * exactly where the background is brightest -- which over this artwork is where this
 * line sits -- and it has no single rendered colour, so there is nothing for a
 * fill-fidelity check to compare against. Solid costs nothing here and is scoreable.
 *
 * THE CLAMP'S FLOOR IS 24px, AND IT IS LOAD-BEARING. WCAG's large-text boundary is 24px
 * (or 18.66px bold): above it the floor is 3:1, below it 4.5:1. At 20px this line would
 * need 4.5 over an artwork that reaches luminance 0.92 under it, which is not reachable
 * without a near-opaque box behind the text. So the type scale is part of the
 * readability argument, not separate from it, and the gate reads this number out of the
 * stylesheet and fails if it drops. 2.1vw rather than 2vw so the clamp SATURATES at 26px
 * from 1238px up: the hero's height is content-driven, the crop rule in build_home.py
 * depends on that height being the same at every landscape width, and a subtitle that
 * grew from 24 to 26px across the landscape range made the hero 6px taller at 1920 than
 * at 1280 and broke that invariant. */
.hero .sub{font-size:clamp(24px,2.1vw,26px);line-height:1.45;max-width:680px;
           color:#FFFFFF;position:relative;
           text-shadow:0 2px 6px rgba(10,14,19,.7)}
/* THE PLATE: THE ONE DARKENING LAYER IN THE HERO, AND IT IS BEHIND THE TYPE.
 *
 * Why it exists at all is the measurement at the top of this section: with nothing over
 * the picture the two large lines read about 1:1 at their worst pixel, and no shadow
 * short of an outline reaches 3:1. What is bounded about it:
 *
 *   PEAK ALPHA IS A FLOOR. Swept at 0.40 / 0.45 / 0.50 / 0.55 / 0.60, worst pixel under
 *   each glyph as a multiple of its AA floor; the binding element is the headline at
 *   1280, where the crop puts a lit facade under the top line:
 *
 *       plate   0.40   0.45   0.50   0.55   0.60
 *       1280    1.03   1.13   1.24   1.38   1.53
 *
 *   0.50 is the lightest that holds the house 1.20x margin. .54 ships, because the 0.04
 *   takes the BARE column -- text-shadow discounted, what a strict WCAG audit scores --
 *   from 2.95 to 3.11 at 1280, and the difference is not visible.
 *
 *   WIDTH IS A FLOOR TOO. At 150% / 170% / 200% of the subtitle's own width the 1280
 *   headline reads 0.98x / 1.17x / 1.42x: 200% is the narrowest that holds. So neither
 *   "lighter" nor "smaller" is available without failing the type.
 *
 *   EXTENT IS WHAT MAKES IT A PLATE AND NOT A SCRIM. Measured from the solved alpha
 *   field: 66.6% / 50.7% / 65.7% of the hero is at alpha ZERO, it clears the hero's top
 *   edge and the bottom fade at every width, and the artwork outside it renders within
 *   1% of the shipped file. The scrim this replaced left 0% of the hero untouched. The
 *   1280 figure is arithmetic, not slack: the headline is 880px wide, 68% of that
 *   viewport, and a plate covering it plus the ~300px feather a 0.52 ramp needs cannot
 *   be narrower than the screen.
 *
 * `closest-side` IS LOAD-BEARING, and it is the whole of "no visible rectangle". A
 * radial-gradient with no size keyword defaults to `farthest-corner`, so the ellipse is
 * sized to the box's CORNER and is still at alpha ~0.15 where the box's top and bottom
 * edges clip it. THAT CLIP IS THE HARD EDGE -- measured at 0.0086/px against this
 * project's 0.0045/px definition of one -- and it does not go away by making the box
 * bigger, because the cut is proportional to the gradient rather than to the distance.
 * With closest-side the feather measures 0.0018/px across and 0.0040/px down.
 *
 * THE STACKING CONTEXT IS ON .hero, NOT HERE, AND THAT IS THE BUG THIS ROUND INHERITED.
 * An earlier version of this plate shipped with `isolation:isolate` on `.sub`, which
 * confines its own `z-index:-1` to the SUBTITLE's stacking context -- so it painted
 * below the subtitle and ABOVE everything else in the hero. It is tall enough that the
 * headline sits entirely inside it: "platform." rendered (124,130,135) against a
 * declared (230,237,243). The report was "the headline has a white-to-grey gradient";
 * there is no gradient in this file and never was, and every contrast check in the gate
 * scored the DECLARED colour, so the headline's numbers went UP in the round that broke
 * it. There is now a fill-fidelity check that reads the rendered glyph interior off the
 * page, and `.sub` keeps `position:relative` only. */
.hero .sub::before{content:"";position:absolute;left:50%;top:calc(50% - 82px);
           transform:translate(-50%,-50%);width:min(200%,140vw);
           height:calc(100% + 500px);
           background:radial-gradient(ellipse closest-side at center,
                      rgba(10,14,19,.54) 0%,rgba(10,14,19,.52) 55%,
                      rgba(10,14,19,0) 100%);
           z-index:-1;pointer-events:none}
.hero .note{font-size:13px;color:var(--bright);padding:7px 14px}
/* The FIFTH element, which the approved canvas's list of four did not name: "Try" is
 * bare 11px text directly on the photograph -- the pills beside it carry their own
 * near-opaque fill, so they were never at risk. Under the DARKENING scrim of two designs
 * ago it measured 9.94-11.24:1 and nobody had to think about it; with the photograph
 * showing through it measured 4.47:1 at 1920 against a 4.5 floor. It is small text on a
 * photograph, which is the whole category the pill is for, so it gets one: 11.36 /
 * 11.97 / 12.19:1. A list written against the old design is short exactly by the
 * elements the old design was carrying in silence. */
.hero .try .lbl{padding:5px 11px}
.hero .note a{color:var(--accent)}

/* search field (design-search.html: accent ring on focus, panel hangs off the field) */
.search{position:relative;width:100%;max-width:680px;margin-top:16px;text-align:left}
.sform{display:flex;flex-wrap:wrap;gap:8px;background:var(--panel2);
       border:1.5px solid var(--line2);border-radius:16px;padding:8px;transition:.15s}
.search.focus .sform{border-color:var(--accent);
  box-shadow:0 0 0 6px rgba(253,186,116,.12),0 20px 60px rgba(253,186,116,.18)}
.search.open .sform{border-radius:16px 16px 0 0}
.search.err .sform{border-color:#F87171;box-shadow:0 0 0 6px rgba(248,113,113,.12)}
.sfield{flex:1 1 320px;display:flex;align-items:center;gap:10px;padding:0 12px;min-width:0}
.sfield svg{flex:0 0 auto}
#addr{flex:1;min-width:0;height:56px;background:transparent;border:0;outline:none;
      color:#FFF;font:500 17px var(--sans)}
#addr::placeholder{color:var(--muted);opacity:1}
.sform .btn{flex:0 0 auto;height:56px;padding:0 24px}
.serr{display:none;margin-top:8px;font-size:13px;color:#FCA5A5}
.search.err .serr{display:block}
/* suggestions */
.spanel{display:none;position:absolute;left:0;right:0;top:100%;z-index:30;
        background:var(--panel);border:1.5px solid var(--accent);border-top:1px solid var(--line2);
        border-radius:0 0 16px 16px;padding:10px;box-shadow:0 30px 80px rgba(0,0,0,.6);
        max-height:min(60vh,420px);overflow-y:auto}
.search.open .spanel{display:block}
.sgrp{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
      color:var(--teal);padding:8px 10px 4px;display:block}
.sopt{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;
      padding:7px 10px;border-radius:8px;color:var(--bright);font-size:14px;line-height:1.3}
.sopt:hover,.sopt.on{background:var(--panel2);color:var(--text)}
.sopt .qid{flex:0 0 auto;font-family:var(--mono);font-size:10px;letter-spacing:.06em;
           text-transform:uppercase;color:var(--muted);border:1px solid var(--line2);
           border-radius:4px;padding:2px 6px}
.sopt.addr .qid{color:var(--accent);border-color:#5C3A14}
.shint{font-family:var(--mono);font-size:10.5px;color:var(--faint);padding:8px 10px 2px;
       border-top:1px solid var(--line);margin-top:6px}

/* Try pills */
.try{width:100%;max-width:880px;display:flex;flex-wrap:wrap;justify-content:center;
     align-items:center;gap:8px}
.try .lbl{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
          color:var(--bright);margin-right:4px}
.pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;
      border-radius:999px;background:var(--teal-fill);border:1px solid var(--teal-line);
      color:var(--text);font-size:14px}
.pill:hover{color:var(--text);border-color:var(--teal)}
.pill svg{flex:0 0 auto}

/* ---------- stat cards ---------- */
.stats{padding:0 0 56px}
.stats .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.stat{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px;
      display:flex;flex-direction:column;gap:8px}
.stat .k{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;
         color:var(--faint)}
.stat .v{font-size:clamp(26px,3vw,32px);font-weight:700;letter-spacing:-.02em;line-height:1.1}
.stat .v .u{font-size:15px;font-weight:500;color:var(--muted);letter-spacing:0}
.stat .d{font-size:13px;color:var(--muted)}
.stat.lead{border-color:#3A2A17;background:linear-gradient(180deg,#141a1e,var(--panel))}
.stat.lead .v{color:var(--accent)}

/* ---------- light sections ---------- */
.sec{padding:96px 0}
.sec.lt{background:var(--lt);color:var(--ink)}
.sec.lt2{background:var(--lt2);color:var(--ink)}
.sec.dk{background:var(--bg);color:var(--text)}
.sec .wrap{display:flex;flex-direction:column;gap:44px}
.sec.lt .eyebrow,.sec.lt2 .eyebrow{color:var(--accent-on-light)}
.sec h2{font-size:clamp(28px,3.6vw,44px);line-height:1.1}
.sechead{display:flex;flex-direction:column;gap:12px;max-width:720px}
.sec.lt .lede,.sec.lt2 .lede{font-size:18px;line-height:1.55;color:var(--ink-mute)}
.sec.dk .lede{font-size:18px;line-height:1.55;color:var(--teal)}
.sec.dk .eyebrow{color:var(--teal)}
.qstack{display:flex;flex-direction:column;gap:36px}
.cards4{display:grid;grid-template-columns:repeat(auto-fit,minmax(252px,1fr));gap:16px}
.card{background:var(--lt2);border:1px solid var(--lt-line);border-radius:14px;padding:24px;
      display:flex;flex-direction:column;gap:10px}
.sec.lt2 .card{background:var(--lt)}
.card h3{font-size:18px;font-weight:600;letter-spacing:-.01em}
.card p{font-size:15px;line-height:1.55;color:var(--ink-mute)}
.rule{display:flex;flex-direction:column;gap:10px;border-top:2px solid var(--accent-on-light);
      padding-top:20px}
.rule h3{font-size:18px;font-weight:600}
.rule p{font-size:15px;line-height:1.55;color:var(--ink-mute)}

/* ---------- the tax section ---------- */
.taxgrid{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.taxcopy{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:20px}
.taxcopy ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.taxcopy li{font-size:15px;line-height:1.55;color:var(--ink-mute);padding-left:16px;
            border-left:2px solid var(--lt-line)}
.taxcopy li b{color:var(--ink);font-weight:600}
.taxcard{flex:1 1 340px;min-width:0;background:var(--bg);color:var(--text);
         border:1px solid var(--line2);border-radius:16px;padding:26px;
         display:flex;flex-direction:column;gap:18px}
.taxcard .k{font-family:var(--mono);font-size:11px;letter-spacing:.1em;
            text-transform:uppercase;color:var(--accent)}
.taxcard .who{font-size:17px;font-weight:600}
.taxcard .who span{display:block;font-size:13px;font-weight:400;color:var(--muted);margin-top:4px}
.taxrow{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
        padding-top:14px;border-top:1px solid var(--line)}
.taxrow .l{font-size:14px;color:var(--muted)}
.taxrow .n{font-family:var(--mono);font-size:21px;font-weight:500;white-space:nowrap}
.taxrow .n .u{font-size:12px;color:var(--muted)}
.taxrow.hi .n{color:var(--accent);font-size:25px}
.taxcard .fine{font-size:12px;line-height:1.5;color:var(--faint)}

/* ---------- ask the data ---------- */
.qgroup{display:flex;flex-direction:column;gap:14px}
.qgroup>.glabel{font-family:var(--mono);font-size:11px;letter-spacing:.1em;
                text-transform:uppercase;color:var(--teal)}
.qgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.qcard{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px;
       display:flex;flex-direction:column;gap:10px;color:var(--text)}
.qcard:hover{border-color:var(--teal);color:var(--text)}
.qcard .top{display:flex;align-items:center;gap:10px}
.qcard .qid{font-family:var(--mono);font-size:11px;color:var(--faint)}
.qcard .asof{font-family:var(--mono);font-size:10.5px;color:var(--faint);margin-left:auto}
.qcard h3{font-size:16px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.qcard .ans{font-size:13.5px;line-height:1.5;color:var(--bright);
            display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
            line-clamp:3;overflow:hidden}
.qcard .foot{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
             gap:8px;margin-top:auto}
.qcard .go{font-size:13px;color:var(--teal)}
.qcard .src{font-family:var(--mono);font-size:10.5px;color:var(--faint);text-align:right}
.qcard .src .newer{color:var(--accent);font-weight:500}
.qsrc{font-size:12.5px;color:var(--faint);line-height:1.5}
.qsrc a{color:var(--muted)}
.qcard.soon{opacity:.6}
.qcard.soon:hover{border-color:var(--line)}
.qcard.soon .go{color:var(--faint)}
.qfoot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
       font-size:14px}
.qfoot a{color:var(--teal)}
.qnote{font-size:13px;color:var(--faint)}

/* ---------- one platform ---------- */
.q2{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:16px}
.q2 .card h3{font-size:19px}
.band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;
      background:var(--lt2);border:1px solid var(--lt-line);border-radius:14px;padding:22px 24px}
.sec.lt2 .band{background:var(--lt)}
.band p{font-size:16px;color:var(--ink-mute)}
.band b{color:var(--ink)}
.band.dk{background:var(--panel);border-color:var(--line)}
.band.dk p{color:var(--muted)}
.band.dk b{color:var(--text)}

/* ---------- roadmap ---------- */
.rmgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(252px,1fr));gap:12px}
.rm{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px;
    display:flex;flex-direction:column;gap:10px}
.rm .tag{align-self:flex-start;font-family:var(--mono);font-size:10px;letter-spacing:.06em;
         text-transform:uppercase;color:var(--teal);border:1px solid var(--teal-line);
         border-radius:4px;padding:2px 6px}
/* "Partly live" has to read as a DIFFERENT state, not a louder version of the same one,
 * so it takes the amber accent pair already used by .sopt.addr .qid -- no new colour is
 * invented, and amber vs teal is a hue change, not just a brightness one (the distinction
 * survives greyscale printing and the common forms of colour blindness only because the
 * label also says which state it is; the colour is never the only carrier). */
.rm .tag.live{color:var(--accent);border-color:#5C3A14}
.rm h3{font-size:17px;font-weight:600}
.rm p{font-size:14px;line-height:1.5;color:var(--muted)}
.rm p b{color:var(--bright);font-weight:600}
/* pins the link to the bottom of its card, so the two links line up across a row of
 * cards whose text runs to different lengths */
.rm .rmgo{margin-top:auto;padding-top:2px}

/* ---------- faq ---------- */
.faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column}
.faq .qa{border-top:1px solid var(--lt-line);padding:22px 0;display:flex;
         flex-direction:column;gap:8px}
.faq h3{font-size:17px;font-weight:600}
.faq p{font-size:15px;line-height:1.6;color:var(--ink-mute)}
.draftnote{font-size:12.5px;color:var(--ink-mute);opacity:.8}

/* ---------- cta + footer ---------- */
.cta{background:var(--bg);padding:88px 0 36px}
.cta .wrap{display:flex;flex-direction:column;gap:64px}
.ctabox{display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.ctabox h2{font-size:clamp(28px,3.6vw,44px);line-height:1.1}
footer{border-top:1px solid var(--line);padding-top:26px;display:flex;flex-wrap:wrap;
       align-items:center;justify-content:space-between;gap:16px;font-size:13px;
       color:var(--faint)}
footer nav{display:flex;flex-wrap:wrap;gap:18px}
footer a{color:var(--muted)}
footer a:hover{color:var(--text)}

/* ---------- breakpoints: 1366 keeps the 1200 container (1264 incl. padding) ---------- */
@media (max-width:1100px){
  .q2{grid-template-columns:1fr}
  .taxgrid{gap:36px}
}
@media (max-width:760px){
  .wrap{padding:0 20px}
  .hero{padding:72px 0 64px}
  /* THE PLATE'S BOX, AND ONLY ITS BOX, DIFFERS ON A PHONE -- the gradient above is one
   * declaration for every width. The reason is room: `.hero{padding:72px}` here against
   * 120px above, and a text block that starts 154px below the hero's top edge instead of
   * 297px. The desktop box (centred 82px above the subtitle, 575px tall) would put the
   * plate's top edge 90px ABOVE the hero, so its feather would be cut off at the hero's
   * own boundary -- which is a horizontal seam exactly where the header meets the
   * artwork, the one hard edge this design cannot have. So on a phone the plate sits
   * lower and is shorter: measured, it clears the hero's top by 19px and the bottom fade
   * by 239px, and the text still clears AA by 1.35x. */
  .hero .sub::before{top:calc(50% - 20px);height:calc(100% + 426px)}
  .sec{padding:64px 0}
  .sec .wrap{gap:32px}
  .cta{padding:64px 0 32px}
  .cta .wrap{gap:44px}
  .nav nav{gap:16px;font-size:13px}
  .stats .wrap,.cards4,.rmgrid,.qgrid{grid-template-columns:1fr}
  .sform{padding:6px}
  .sfield{flex:1 1 100%}
  .sform .btn{flex:1 1 100%;height:50px}
  #addr{height:50px;font-size:16px}   /* 16px: iOS zooms a focused input below it */
  .try{justify-content:flex-start}
  .card{padding:20px}
  .taxcard{padding:20px}
  footer{flex-direction:column;align-items:flex-start;gap:12px}
}

/* ---------- /terms, /privacy, /contact: minimal draft pages ---------- */
/* They exist because the footer links to them and the nginx catch-all is a dead proxy:
 * an unrouted path answers 502, so a footer link with no page is a broken site, not a
 * missing page. Content is a DRAFT, not reviewed by a lawyer, and says so on the page. */
.doc{max-width:760px;margin:0 auto;padding:56px 20px 80px}
.doc h1{font-size:clamp(28px,4vw,40px);line-height:1.1;margin-bottom:8px}
.doc h2{font-size:19px;margin:32px 0 8px;letter-spacing:-.01em}
.doc p,.doc li{font-size:15px;line-height:1.65;color:var(--bright)}
.doc p{margin:10px 0}
.doc ul{margin:10px 0;padding-left:20px}
.doc .meta{font-family:var(--mono);font-size:12px;color:var(--faint)}
.doc .draft{margin:20px 0 0;padding:14px 16px;border:1px solid var(--line2);
            border-left:3px solid var(--accent);border-radius:8px;background:var(--panel);
            font-size:13.5px;color:var(--muted)}
.doc footer{margin-top:44px}
