/* =============================================================================
   Thamini, the control tower for logbook loan valuations
   screen.css, design system v3
   ============================================================================= */

/* 0. Fonts (TM-19)
   ==========================================================================
   Served from this site rather than from fonts.googleapis.com, so first paint no
   longer waits on a cross-origin stylesheet and no third party sees a visitor's
   IP address. The files are Google's latin subsets with each variable axis
   clamped to the range this site uses, which takes them from 160 KB to 98 KB;
   scripts/subset-fonts.py rebuilds them and records where they came from. The
   Archivo ranges below must match that script, or the browser will ask for an
   instance the font no longer has. Licences sit beside the files
   (assets/fonts/OFL-*.txt). Replacing a family means replacing its .woff2 and
   this block together. */

@font-face{ font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 100% 125%; font-display: swap; src: url(../fonts/archivo.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Overpass Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/overpass-mono.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 1. Tokens
   ========================================================================== */
:root{
  --bg:        #F7F5FB;
  --surface:   #FDFCFE;
  --ink:       #1A1226;
  --ink-muted: #574C63;
  --ink-soft:  #6E6280;
  --ink-faint: #756A82;
  --brand:     #6A1B9A;
  --brand-deep:#4A0E6B;
  --lav-1:     #F0EAFB;
  --lav-2:     #E3D7F4;
  --lav-line:  rgba(106,27,154,.13);
  --green:     #2E9B6B;
  --green-bg:  rgba(46,155,107,.10);
  --green-text:#1E6B4A;
  --amber:     #C9781E;
  --amber-bg:  #FBEEDD;
  --amber-text:#8A5212;
  --line:      #E7E0F0;
  --line-soft: #F0EAF6;

  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --pad: max((100vw - var(--maxw)) / 2, 1.5rem);
  --nav-h: 70px;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 999px;

  --sh-sm: 0 2px 6px -2px rgba(74,14,107,.14);
  --sh-md: 0 12px 30px -16px rgba(74,14,107,.30);
  --sh-lg: 0 30px 60px -28px rgba(74,14,107,.40);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset and base
   ========================================================================== */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--gh-font-body, var(--body));
  font-size:16px;
  line-height:1.65;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
body.nav-open{ overflow:hidden; }
svg{ display:block; }
img{ display:block; max-width:100%; height:auto; }
a{ color:var(--brand); text-decoration:none; transition:color .18s ease; }
a:hover{ color:var(--brand-deep); }
ul,ol{ list-style:none; }
h1,h2,h3,h4{ font-family:var(--gh-font-heading, var(--sans)); line-height:1.12; letter-spacing:-.012em; color:var(--ink); }
strong,b{ font-weight:700; }
button{ font:inherit; cursor:pointer; }

/* 3. Accessibility
   ========================================================================== */
:focus-visible{ outline:2px solid var(--brand); outline-offset:3px; border-radius:4px; }
.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; }
.skip-link{ position:absolute; left:1rem; top:-3rem; z-index:100; background:var(--brand); color:#fff; padding:.6rem 1rem; border-radius:var(--r-sm); transition:top .2s ease; }
.skip-link:focus{ top:1rem; color:#fff; }

/* 4. Layout
   ========================================================================== */
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 1.5rem; }
.section{ padding:2.5rem 0; }
.section--lav{ background:linear-gradient(180deg, var(--lav-1), #F4EEFC); }
.section--tight{ padding:3rem 0; }
/* A page header is a lead-in, not a section (TM-19). Without this the first block
   below it sits at the bottom of an otherwise empty screen, because the gap is the
   header's tail plus the next section's top. */
.section--lead{ padding-top:0; padding-bottom:1.5rem; }
/* The page header alone sets the gap under the nav. */
.section--lead .page-header{ padding-top:2.5rem; }
/* Beside a tall picture, centred text would reopen that gap. */
.section--lead + .section .feature{ align-items:start; }
.section--lead + .section--tight{ padding-top:0; }
.section__head{ max-width:42rem; margin:0 0 2.75rem; }
.section__head--center{ margin-left:auto; margin-right:auto; text-align:center; }
.measure{ max-width:42rem; }

.eyebrow{
  font-size:.8rem; font-weight:600; letter-spacing:.15em; text-transform:uppercase;
  color:var(--brand); margin-bottom:1.1rem; display:inline-flex; align-items:center; gap:.65rem;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--brand); }
.section__head--center .eyebrow{ display:inline-flex; }

.h2{ font-stretch:112%; font-weight:800; font-size:clamp(1.9rem, 3.4vw, 2.7rem); }
.h3{ font-weight:700; font-size:clamp(1.2rem, 2vw, 1.45rem); }
.lede{ font-size:1.12rem; color:var(--ink-muted); }
.lede--lg{ font-size:1.22rem; }

@media (min-width:1024px){
  .section{ padding:3.5rem 0; }
  .section--lead .page-header{ padding-top:3.5rem; }
}

/* 5. Navigation
   ========================================================================== */
/* No call to action in the header (TM-19). The hero button is above the fold at
   every width measured, so a header button repeats it inside the same screen,
   and the header is not sticky, so it adds nothing after scrolling. A sticky
   header would change that: reopen before restoring a button here. */
.nav{ position:relative; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.1rem var(--pad); min-height:var(--nav-h); }
.brand{ display:inline-flex; align-items:center; gap:.6rem; color:var(--ink); }
.brand:hover{ color:var(--ink); }
.brand__mark{ width:22px; height:22px; color:var(--brand); }
.brand__name{ font-weight:700; font-size:1.3rem; font-stretch:115%; letter-spacing:-.01em; }

.nav__links{ display:flex; align-items:center; gap:1.9rem; }
.nav__links a{ font-size:.9375rem; font-weight:500; color:var(--ink-muted); }
.nav__links a:hover{ color:var(--ink); }

.nav__right{ display:flex; align-items:center; gap:1.25rem; }

.nav__login{ position:relative; }
.nav__login > button{ display:inline-flex; align-items:center; gap:.35rem; background:none; border:0; color:var(--ink-muted); font-size:.9375rem; font-weight:500; padding:.4rem 0; }
.nav__login > button:hover{ color:var(--ink); }
.nav__login__menu{ position:absolute; right:0; top:calc(100% + .5rem); min-width:200px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:var(--sh-md); padding:.4rem; opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .16s ease, transform .16s ease, visibility .16s; }
.nav__login.is-open .nav__login__menu{ opacity:1; visibility:visible; transform:none; }
.nav__login__menu a{ display:block; padding:.55rem .65rem; border-radius:var(--r-sm); color:var(--ink); font-size:.9rem; }
.nav__login__menu a:hover{ background:var(--lav-1); }
.nav__login__menu small{ display:block; color:var(--ink-faint); font-size:.75rem; }

.nav__toggle{ display:none; width:42px; height:42px; align-items:center; justify-content:center; background:none; border:1px solid var(--line); border-radius:var(--r-sm); color:var(--ink); }
.nav__mobile{ display:none; }

@media (max-width:900px){
  .nav__links, .nav__right .nav__login{ display:none; }
  .nav__toggle{ display:inline-flex; }
  .nav__mobile{ display:block; position:absolute; left:0; right:0; top:100%; background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); box-shadow:var(--sh-md); padding:1rem var(--pad) 1.5rem; max-height:0; overflow:hidden; opacity:0; visibility:hidden; transition:max-height .25s var(--ease), opacity .2s ease, visibility .25s; }
  .nav__mobile.is-open{ max-height:80vh; opacity:1; visibility:visible; }
  .nav__mobile a{ display:block; padding:.85rem 0; font-size:1.05rem; font-weight:500; color:var(--ink); border-bottom:1px solid var(--line-soft); }
  .nav__mobile .nav__mobile-login{ margin-top:.75rem; color:var(--ink-faint); font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; border:0; padding-bottom:.25rem; }
}

/* 6. Buttons
   ========================================================================== */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.55rem; font-family:var(--sans); font-weight:600; font-size:1rem; line-height:1; padding:.85rem 1.4rem; border-radius:var(--r-full); border:1.5px solid transparent; transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn--wa{ background:var(--brand); color:#fff; }
.btn--wa:hover{ background:var(--brand-deep); color:#fff; transform:translateY(-1px); }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--brand); color:var(--brand); }
.btn--light{ background:#fff; color:var(--brand-deep); }
.btn--light:hover{ background:#fff; color:var(--brand); transform:translateY(-1px); }
.btn--lg{ padding:1rem 1.6rem; font-size:1.05rem; }
.cta-row{ display:flex; align-items:center; gap:.9rem; flex-wrap:wrap; }
.btn svg{ width:1.15em; height:1.15em; flex:0 0 auto; }
.vstrip a svg{ width:17px; height:17px; vertical-align:-3px; }
.pillar__where{ display:block; }
:where(p, li) a svg{ width:1em; height:1em; vertical-align:-.12em; flex:none; }

/* 7. Badges
   ========================================================================== */
.badge{ display:inline-flex; align-items:center; gap:.35rem; font-family:var(--body); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:.2rem .5rem; border-radius:var(--r-full); border:1px solid transparent; }
.badge::before{ content:""; width:5px; height:5px; border-radius:50%; }
.badge--live{ color:var(--green); background:var(--green-bg); border-color:rgba(46,155,107,.22); }
.badge--live::before{ background:var(--green); }
.badge--soon{ color:var(--ink-faint); background:rgba(117,106,130,.10); border-color:rgba(117,106,130,.22); }
.badge--soon::before{ background:var(--ink-faint); }

/* 8. Hero (committed split)
   ========================================================================== */
.hero{ display:grid; grid-template-columns:1.02fr .98fr; align-items:stretch; }
.hero__copy{ padding:2.75rem var(--pad) 4rem; padding-right:0; display:flex; flex-direction:column; justify-content:center; }
.copy__inner{ padding-right:3.4rem; max-width:37rem; }
.hero__title{ font-stretch:125%; font-size:clamp(2.3rem, 4.7vw, 3.7rem); line-height:1.03; margin:.4rem 0 1.4rem; }
.hero__title .set{ font-weight:600; color:var(--ink-soft); }
.hero__title .pay{ font-weight:800; color:var(--brand-deep); }
.hero__lede{ font-size:1.12rem; line-height:1.7; color:var(--ink-muted); max-width:34rem; margin-bottom:2rem; }
.hero__lede b{ color:var(--ink); font-weight:600; }
.hero .cta-row{ margin-bottom:2.2rem; }

.trust{ display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.stamp{ display:inline-flex; align-items:center; gap:.55rem; }
.stamp__seal{ width:38px; height:38px; flex:0 0 auto; color:var(--green); }
.stamp__txt{ font-size:.78rem; line-height:1.25; color:var(--ink-muted); }
.stamp__txt b{ display:block; color:var(--ink); font-weight:700; font-size:.84rem; }
.trust__div{ width:1px; height:30px; background:var(--line); }

/* ODPC certificate card (compliance). Registration number is a placeholder until the real certificate is issued. */
.cert{ max-width:340px; margin:0 auto; text-align:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--sh-md); padding:2.1rem 1.75rem; position:relative; }
.cert::before{ content:""; position:absolute; inset:9px; border:1px solid var(--lav-line); border-radius:calc(var(--r-lg) - 3px); pointer-events:none; }
.cert__seal{ width:64px; height:64px; margin:0 auto .9rem; color:var(--green); }
.cert__issuer{ font-family:var(--body); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:.5rem; }
.cert__title{ font-family:var(--gh-font-heading, var(--sans)); font-weight:700; font-size:1.2rem; color:var(--ink); line-height:1.15; margin-bottom:.35rem; }
.cert__body{ font-size:.82rem; color:var(--ink-muted); margin-bottom:1.15rem; max-width:20rem; margin-left:auto; margin-right:auto; }
.cert__reg{ display:inline-flex; flex-direction:column; gap:.15rem; padding:.55rem 1.05rem; background:var(--lav-1); border:1px solid var(--lav-line); border-radius:var(--r-sm); }
.cert__reg-k{ font-family:var(--body); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); }
.cert__reg-v{ font-family:var(--mono); font-size:.92rem; font-weight:600; letter-spacing:.02em; color:var(--brand-deep, var(--ink)); }
.trust__item{ font-size:.82rem; color:var(--ink-faint); line-height:1.3; }
.trust__item b{ display:block; color:var(--ink-muted); font-weight:700; font-size:.95rem; }

/* Stage and Tower product surface */
.stage{ position:relative; overflow:hidden; background:linear-gradient(150deg, var(--lav-1), var(--lav-2)); padding:3rem var(--pad) 4rem 3rem; display:flex; align-items:center; justify-content:center; }
.tower-wrap{ position:relative; width:100%; max-width:456px; }
.tower{ position:relative; z-index:1; width:100%; background:var(--surface); border:1px solid #fff; border-radius:var(--r-lg); box-shadow:var(--sh-lg); overflow:hidden; }
.tower__bar{ display:flex; align-items:center; justify-content:space-between; padding:.7rem .9rem; border-bottom:1px solid var(--line-soft); }
.tower__id{ display:flex; align-items:center; gap:.5rem; font-weight:700; font-size:.9rem; }
.tower__id svg{ width:16px; height:16px; color:var(--brand); }
.tower__id .sub{ font-weight:500; color:var(--ink-faint); font-size:.8rem; }
.tower__live{ display:inline-flex; align-items:center; gap:.4rem; font-family:var(--body); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--green); }
.tower__live .dot{ width:6px; height:6px; border-radius:50%; background:var(--green); animation:pulse 2.4s ease-in-out infinite; }

.radar{ position:relative; height:300px; background:radial-gradient(circle at 52% 58%, #fbf9fe, #f4eefb); overflow:hidden; }
.radar__rings{ position:absolute; top:58%; left:52%; width:420px; height:420px; transform:translate(-50%,-50%); background:repeating-radial-gradient(circle at center, transparent 0 30px, var(--lav-line) 30px 31px); -webkit-mask-image:radial-gradient(circle at center,#000 0 58%, transparent 74%); mask-image:radial-gradient(circle at center,#000 0 58%, transparent 74%); }
.radar__glow{ position:absolute; top:58%; left:52%; width:150px; height:150px; transform:translate(-50%,-50%); background:radial-gradient(circle, rgba(106,27,154,.10), transparent 70%); }
.pin{ position:absolute; width:16px; height:16px; transform:translate(-50%,-100%); color:var(--brand); }
.pin svg{ width:100%; height:100%; filter:drop-shadow(0 2px 3px rgba(74,14,107,.3)); }
.pin.dim{ color:color-mix(in srgb, var(--brand) 55%, var(--surface)); }
.pin.dim svg{ filter:none; }
.alert{ position:absolute; display:inline-flex; align-items:center; gap:.4rem; background:var(--amber-bg); border:1px solid rgba(201,120,30,.35); color:var(--amber-text); font-size:.75rem; font-weight:600; padding:.28rem .55rem; border-radius:7px; box-shadow:0 6px 14px -6px rgba(201,120,30,.4); white-space:nowrap; }
.alert .adot{ width:6px; height:6px; border-radius:50%; background:var(--amber); }

/* Signal feed: severity-tiered chips, lead (amber) → alert (amber) → watch (quiet) */
.signals{ position:absolute; z-index:3; top:14px; left:14px; display:flex; flex-direction:column; gap:.34rem; }
.signals--right{ left:auto; right:14px; align-items:flex-end; }
.sig{ display:inline-flex; align-items:center; gap:.45rem; background:rgba(255,255,255,.86); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); border:1px solid var(--line); border-radius:8px; padding:.32rem .55rem; font-size:.75rem; font-weight:600; color:var(--ink); box-shadow:0 6px 14px -9px rgba(74,14,107,.32); white-space:nowrap; }
.sig__dot{ width:6px; height:6px; border-radius:50%; background:var(--amber); flex:none; }
.sig--lead{ background:var(--amber-bg); border-color:rgba(201,120,30,.35); color:var(--amber-text); box-shadow:0 6px 14px -6px rgba(201,120,30,.4); }
.sig--watch{ color:var(--ink-muted); }
.sig--watch .sig__dot{ background:var(--ink-faint); }

.capture{ position:absolute; z-index:2; left:-22px; bottom:-30px; width:236px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:0 18px 36px -16px rgba(74,14,107,.42); padding:.7rem .75rem .8rem; }
.capture__h{ display:flex; align-items:center; justify-content:space-between; margin-bottom:.5rem; }
.capture__h span{ font-family:var(--body); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); }
.capture__thumb{ display:flex; align-items:center; gap:.55rem; padding:.45rem .55rem; background:linear-gradient(150deg,#efe7f6,#e6daf1); border-radius:var(--r-sm); margin-bottom:.55rem; }
.capture__thumb svg{ width:42px; height:24px; color:var(--brand-deep); opacity:.6; }
.capture__thumb .gps{ font-family:var(--body); font-variant-numeric:tabular-nums; font-size:.75rem; color:var(--brand-deep); line-height:1.35; }
.capture__verify{ display:flex; align-items:center; gap:.4rem; color:var(--green); font-size:.75rem; font-weight:600; }
.capture__verify svg{ width:14px; height:14px; flex:none; }

/* Audit-trail card: timestamped milestones with a collapse cue for the fuller log */
.trail{ list-style:none; margin:.2rem 0 .7rem; padding:0; }
.trail li{ display:flex; align-items:center; gap:.65rem; padding:.32rem 0; position:relative; }
.trail li:not(:last-child)::before{ content:""; position:absolute; left:5px; top:50%; bottom:-50%; width:2px; background:var(--lav-2); transform:translateX(-50%); z-index:0; }
.trail__dot{ width:10px; height:10px; border-radius:50%; border:2px solid var(--brand); background:var(--surface); flex:none; position:relative; z-index:1; }
.trail__dot--done{ background:var(--green); border-color:var(--green); }
.trail__ev{ font-size:.82rem; font-weight:600; color:var(--ink); }
.trail__t{ margin-left:auto; font-family:var(--body); font-variant-numeric:tabular-nums; font-size:.75rem; color:var(--ink-faint); }
.trail__more{ color:var(--ink-soft); font-size:.75rem; }
.trail__more .trail__dots{ width:10px; flex:none; text-align:center; color:var(--brand); opacity:.55; position:relative; z-index:1; }

.hero__entrance .tower{ animation:rise .8s var(--ease) both; }
.hero__entrance .capture{ animation:rise2 .9s var(--ease) both .15s; }

/* 9. Pillars (three live capabilities, columns not boxed cards)
   ========================================================================== */
.pillars{ display:grid; grid-template-columns:repeat(3, 1fr); gap:2.5rem; }
.pillar{ padding-top:1.4rem; border-top:2px solid var(--line); }
.pillar__icon{ width:34px; height:34px; color:var(--brand); margin-bottom:1rem; }
.pillar__icon svg{ width:100%; height:100%; }
.pillar h3{ font-size:1.22rem; font-weight:700; margin-bottom:.2rem; }
.pillar__where{ margin-bottom:.7rem; }
.pillar p{ color:var(--ink-muted); font-size:.98rem; }

/* 10. Feature rows (alternating, not identical card grid)
   ========================================================================== */
.feature{ display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; align-items:center; }
.feature + .feature{ margin-top:4rem; }
.feature--flip .feature__media{ order:-1; }
.feature__media{ background:linear-gradient(150deg,var(--lav-1),var(--lav-2)); border-radius:var(--r-lg); border:1px solid var(--line); min-height:280px; padding:1.5rem; display:flex; align-items:center; justify-content:center; }
.feature h3{ font-size:clamp(1.4rem,2.4vw,1.8rem); font-weight:800; font-stretch:108%; margin-bottom:.9rem; }
.feature p{ color:var(--ink-muted); }
.feature .badge{ margin-bottom:.6rem; }
.page-header .lede{ margin-top:1rem; }
.page-header .cta-row{ margin-top:1.75rem; }
/* Price signal under the hero buttons: small, quiet, and close to the click it
   is answering for. Not a link. */
.cta-note{ margin-top:1rem; font-size:.86rem; color:var(--ink-faint); }

/* Mini illustrative surfaces for inner-page feature media */
.mini{ width:100%; max-width:340px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:var(--sh-sm); padding:1.1rem 1.15rem; }
.mini__title{ font-family:var(--body); font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:.7rem; }
.mini__row{ display:grid; grid-template-columns:1fr auto; gap:.85rem; align-items:center; padding:.55rem 0; border-top:1px solid var(--line-soft); }
.mini__row:first-of-type{ border-top:0; }
.mini__k{ font-size:.9rem; color:var(--ink); font-weight:500; }
.mini__bar{ height:7px; width:100%; border-radius:4px; background:var(--lav-2); overflow:hidden; }
.mini__bar > i{ display:block; height:100%; background:var(--brand); border-radius:4px; }
.mini__v{ font-family:var(--body); font-variant-numeric:tabular-nums; font-size:.78rem; color:var(--ink-muted); white-space:nowrap; }
.mini__dot{ width:7px; height:7px; border-radius:50%; background:var(--green); display:inline-block; margin-right:.4rem; }
.mini__alert{ display:inline-flex; align-items:center; gap:.45rem; background:var(--amber-bg); border:1px solid rgba(201,120,30,.35); color:var(--amber-text); font-size:.8rem; font-weight:600; padding:.4rem .65rem; border-radius:8px; }
.mini__alert .adot{ width:6px; height:6px; border-radius:50%; background:var(--amber); }
.mini__note{ margin-top:.7rem; font-size:.8rem; color:var(--ink-faint); }

/* Job panel (static site home, TM-11): one job's timestamped timeline, the stage it is waiting at, and other open jobs. Static: shows only what the product shows. */
.pipe{ width:100%; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:var(--sh-sm); padding:1rem 1.1rem; }
.pipe__head{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.25rem .75rem; padding-bottom:.8rem; border-bottom:1px solid var(--line-soft); }
.pipe__job{ display:flex; align-items:center; gap:.45rem; }
.pipe__job .pipe__plate{ font-size:.85rem; }
.pipe__title{ white-space:nowrap; font-family:var(--body); font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); }
.pipe__car{ margin:.6rem 0 0; font-size:.8rem; color:var(--ink-soft); }
.pipe__plate{ font-family:var(--mono); font-size:.75rem; font-weight:600; color:var(--ink); white-space:nowrap; }
.pipe__lender{ font-family:var(--body); font-size:.75rem; color:var(--brand); background:var(--lav-1); border:1px solid var(--lav-line); border-radius:var(--r-full); padding:.05rem .4rem; white-space:nowrap; }
.pipe__model{ font-size:.76rem; color:var(--ink-soft); white-space:nowrap; }
.pipe__steps{ list-style:none; margin:.9rem 0 0; padding:0; }
.pipe__step{ position:relative; display:grid; grid-template-columns:18px 1fr auto; gap:.7rem; align-items:start; padding-bottom:.85rem; }
.pipe__step::before{ content:""; position:absolute; left:8px; top:14px; bottom:0; width:2px; background:var(--lav-2); }
.pipe__step:last-child{ padding-bottom:0; }
.pipe__step:last-child::before{ display:none; }
.pipe__mark{ position:relative; z-index:1; width:18px; height:18px; border-radius:50%; margin-top:1px; background:var(--green); box-shadow:0 0 0 3px var(--green-bg); }
.pipe__step--now .pipe__mark{ background:var(--amber); box-shadow:0 0 0 3px var(--amber-bg); }
.pipe__step--next .pipe__mark{ background:var(--surface); border:2px solid var(--lav-2); box-shadow:none; }
.pipe__what{ font-size:.86rem; font-weight:600; color:var(--ink); line-height:1.3; }
.pipe__what small{ display:block; margin-top:.1rem; font-size:.76rem; font-weight:400; color:var(--ink-soft); }
.pipe__step--next .pipe__what{ font-weight:500; color:var(--ink-faint); }
.pipe__when{ padding-top:1px; font-family:var(--body); font-variant-numeric:tabular-nums; font-size:.75rem; color:var(--ink-muted); white-space:nowrap; }
.pipe__when .mini__alert{ padding:.2rem .5rem; font-family:var(--body); font-variant-numeric:tabular-nums; font-size:.75rem; }
.pipe__feed{ margin-top:1rem; padding-top:.8rem; border-top:1px solid var(--line-soft); }
.pipe__feed .mini__row{ padding:.45rem 0; }
.pipe__feed .mini__k{ display:flex; align-items:baseline; flex-wrap:wrap; gap:.2rem .5rem; font-size:.82rem; }
.pipe__late{ color:var(--amber-text); }
@media (max-width:420px){
  .pipe__feed .mini__row{ grid-template-columns:1fr; gap:.15rem; }
  .pipe__step{ grid-template-columns:18px 1fr; }
  .pipe__when{ grid-column:2; padding-top:0; }
}

/* 11. Plain list (proof points, anxiety reducers)
   ========================================================================== */
.checks{ display:grid; gap:1rem; }
.checks li{ display:grid; grid-template-columns:24px 1fr; gap:.75rem; align-items:start; color:var(--ink-muted); }
.checks svg{ width:22px; height:22px; color:var(--green); margin-top:.15rem; }
.checks b{ color:var(--ink); font-weight:600; }
.checks--cols{ grid-template-columns:1fr 1fr; gap:1.5rem 3rem; }

/* 12. Valuer reassurance strip
   ========================================================================== */
.vstrip{ display:grid; grid-template-columns:auto 1fr auto; gap:2rem; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:1.75rem 2rem; box-shadow:var(--sh-sm); }
.vstrip__stat{ font-stretch:120%; font-weight:800; font-size:2.6rem; color:var(--brand); line-height:1; }
.vstrip__stat small{ display:block; font-size:.8rem; font-weight:600; color:var(--ink-faint); font-stretch:100%; letter-spacing:.02em; margin-top:.35rem; }
.vstrip p{ color:var(--ink-muted); }
.vstrip a{ font-weight:600; white-space:nowrap; }
.vstrip a svg{ width:17px; height:17px; vertical-align:-3px; }

/* Customisation band (TM-23): example cards for the three things a firm
   configures. Made-up figures drawn in HTML, so no real firm's form, schedule
   or report is published and there are no image files to keep in step. */
.cfg__head{ display:grid; grid-template-columns:1.1fr 1fr; gap:3.5rem; align-items:end; margin-bottom:2.75rem; }
.cfg__head h2{ text-wrap:balance; }
.cfg{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2.5rem; }
.cfg__item{ display:flex; flex-direction:column; gap:1.15rem; }
.cfg__card{ flex:1; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:var(--sh-sm); padding:1.05rem 1.1rem 1.2rem; }
.cfg__cap{ font-family:var(--body); font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:.5rem; }
.cfg__sub{ font-size:.76rem; font-weight:600; color:var(--brand); margin:.75rem 0 .15rem; }
.cfg__row{ display:flex; justify-content:space-between; align-items:baseline; gap:.75rem; padding:.4rem 0; border-top:1px solid var(--line-soft); font-size:.84rem; color:var(--ink-soft); }
.cfg__row b{ font-family:var(--body); font-variant-numeric:tabular-nums; font-size:.76rem; font-weight:600; color:var(--ink); white-space:nowrap; }
.cfg__shots{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.4rem; margin-top:.4rem; }
.cfg__shots span{ aspect-ratio:1; display:flex; align-items:flex-end; justify-content:center; text-align:center; padding:.3rem .1rem; border-radius:var(--r-sm); background:var(--lav-1); font-size:.75rem; line-height:1.2; color:var(--ink-muted); }
.cfg__shots .cfg__more{ align-items:center; background:none; border:1px dashed var(--brand); color:var(--brand); }
.cfg__page{ border:1px solid var(--line); border-radius:var(--r-sm); padding:.8rem; }
.cfg__brand{ display:flex; gap:.6rem; align-items:center; padding-bottom:.7rem; border-bottom:2px solid var(--brand); font-size:.86rem; line-height:1.3; }
.cfg__brand small{ display:block; font-size:.75rem; color:var(--ink-soft); }
.cfg__brand + .cfg__row{ border-top:0; }
.cfg__logo{ flex:none; width:34px; height:34px; display:grid; place-items:center; border-radius:var(--r-sm); background:var(--ink); color:var(--surface); font:700 .75rem var(--sans); }
.cfg__verify{ display:flex; gap:.6rem; align-items:center; margin-top:.7rem; color:var(--ink); font-size:.75rem; }
.cfg__body{ min-height:4.6rem; }
.cfg__body h3{ font-size:1.1rem; font-weight:700; margin-bottom:.25rem; }
.cfg__body p{ color:var(--ink-muted); font-size:.95rem; }


/* Cards and contact */
.cards2{ display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
/* Split section (TM-28): heading on the left, content on the right, so text
   keeps a readable width without leaving half a wide screen empty. */
.split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:3.5rem; align-items:start; }
.split .section__head{ margin-bottom:0; }
.split > div > .section__head{ margin-bottom:1.5rem; }
.contact-list--row{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.5rem; }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:1.85rem; box-shadow:var(--sh-sm); }
.card h2, .card h3{ font-size:1.2rem; font-weight:700; margin-bottom:.5rem; }
.card > p{ color:var(--ink-muted); font-size:.96rem; margin-bottom:1.2rem; }
.contact-list{ display:grid; gap:1.1rem; margin-top:.5rem; }
.contact-list .ci{ display:grid; grid-template-columns:24px 1fr; gap:.8rem; align-items:start; color:var(--ink-muted); }
.contact-list svg{ width:20px; height:20px; color:var(--brand); margin-top:.15rem; }
.contact-list b{ display:block; color:var(--ink); font-weight:600; }

/* 13. CTA band
   ========================================================================== */
.cta-band{ background:linear-gradient(150deg, var(--brand-deep), var(--brand)); color:#fff; }
.cta-band__inner{ padding:4rem 1.5rem; text-align:center; max-width:46rem; margin:0 auto; }
.cta-band h2{ color:#fff; font-stretch:112%; font-weight:800; font-size:clamp(1.8rem,3.2vw,2.5rem); margin-bottom:1rem; }
.cta-band p{ color:#EBDDF5; font-size:1.1rem; margin-bottom:2rem; }
.cta-band .cta-row{ justify-content:center; }
.cta-band .btn--ghost{ color:#fff; border-color:rgba(255,255,255,.45); }
.cta-band .btn--ghost:hover{ color:#fff; border-color:#fff; background:rgba(255,255,255,.10); }

/* 14. FAQ
   ========================================================================== */
.faq{ max-width:46rem; }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__item summary{ list-style:none; cursor:pointer; padding:1.25rem 2rem 1.25rem 0; font-weight:600; font-size:1.08rem; position:relative; }
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::after{ content:"+"; position:absolute; right:.25rem; top:1.1rem; font-size:1.4rem; color:var(--brand); font-weight:400; }
.faq__item[open] summary::after{ content:"\2212"; }
.faq__item p{ color:var(--ink-muted); padding:0 0 1.4rem; max-width:42rem; }
/* A link inside a grey answer needs the underline: brand purple against muted
   body text is not distinguishable enough on its own (TM-19). */
.faq__item p a{ text-decoration:underline; text-underline-offset:2px; }

/* 15. Footer
   ========================================================================== */
.footer{ background:#fff; border-top:1px solid var(--line); }
.footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2.5rem; padding:3.5rem var(--pad) 2.5rem; }
.footer__grid--2col{ grid-template-columns:2fr 1fr 1fr; }
.footer__brand .brand{ margin-bottom:1rem; }
.footer__brand p{ color:var(--ink-faint); font-size:.9rem; max-width:22rem; }
.footer__col h4{ font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--ink-faint); margin-bottom:1rem; font-weight:600; }
.footer__col a, .footer__col span{ display:block; color:var(--ink-muted); font-size:.92rem; padding:.3rem 0; }
.footer__col a:hover{ color:var(--brand); }
.footer__legal{ border-top:1px solid var(--line); padding:1.5rem var(--pad); display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; color:var(--ink-faint); font-size:.82rem; }

/* 16. Video modal
   ========================================================================== */
.video-modal{ position:fixed; inset:0; z-index:200; background:rgba(26,18,38,.82); display:flex; align-items:center; justify-content:center; padding:1.5rem; opacity:0; visibility:hidden; transition:opacity .2s ease, visibility .2s; }
.video-modal.is-open{ opacity:1; visibility:visible; }
.video-modal__inner{ width:100%; max-width:920px; }
.video-modal__close{ display:inline-flex; align-items:center; gap:.4rem; background:none; border:0; color:#fff; margin-bottom:.75rem; font-weight:500; }
.video-modal iframe{ width:100%; aspect-ratio:16/9; border:0; border-radius:var(--r-md); background:#000; }

/* 17. Prose (blog and long-form pages)
   ========================================================================== */
.prose{ max-width:42rem; }
.prose > * + *{ margin-top:1.25rem; }
.prose h2{ font-size:1.6rem; font-weight:800; margin-top:2.5rem; }
.prose h3{ font-size:1.25rem; font-weight:700; margin-top:2rem; }
.prose p, .prose li{ color:var(--ink-muted); }
.prose ul, .prose ol{ padding-left:1.25rem; }
.prose ul{ list-style:disc; }
.prose ol{ list-style:decimal; }
.prose li + li{ margin-top:.5rem; }
.prose a{ text-decoration:underline; text-underline-offset:2px; }
.prose blockquote{ border-left:3px solid var(--brand); padding-left:1.25rem; color:var(--ink); font-size:1.1rem; }
.prose img{ border-radius:var(--r-md); }

/* Koenig editor card widths */
.kg-width-wide{ position:relative; left:50%; transform:translateX(-50%); width:min(60rem, 92vw); margin-top:2rem; margin-bottom:2rem; }
.kg-width-full{ position:relative; left:50%; transform:translateX(-50%); width:100vw; max-width:100vw; margin-top:2rem; margin-bottom:2rem; }
.kg-width-full img{ width:100%; border-radius:0; }
figure.kg-card{ margin-top:2rem; margin-bottom:2rem; }
.kg-card figcaption{ text-align:center; font-size:.85rem; color:var(--ink-faint); margin-top:.6rem; }

/* Blog list */
.post-card{ display:block; padding:1.75rem 0; border-top:1px solid var(--line); }
.post-card h3{ font-size:1.35rem; font-weight:700; margin-bottom:.4rem; color:var(--ink); }
.post-card:hover h3{ color:var(--brand); }
.post-card p{ color:var(--ink-muted); }
.post-card time{ font-family:var(--mono); font-size:.76rem; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.05em; }

.page-header{ padding-top:3.5rem; padding-bottom:1rem; }
.page-header h1{ font-stretch:118%; font-weight:800; font-size:clamp(2rem,4vw,3rem); }
.post-title{ font-stretch:115%; font-weight:800; font-size:clamp(2rem,4vw,2.9rem); }
.post-meta{ font-family:var(--mono); font-size:.8rem; color:var(--ink-faint); margin:.6rem 0 1.5rem; letter-spacing:.03em; }
.post-feature{ width:100%; border-radius:var(--r-lg); margin:0 0 2rem; }
.post-tag{ display:inline-block; font-size:.84rem; color:var(--brand); margin-right:.7rem; }
.post-back{ border-top:1px solid var(--line); margin-top:3rem; padding-top:1.5rem; }
.error-wrap{ text-align:center; max-width:34rem; margin:0 auto; padding:5rem 1.5rem; }
.error-code{ font-family:var(--mono); font-size:.85rem; color:var(--brand); letter-spacing:.1em; text-transform:uppercase; }

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

@keyframes rise{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:none; } }
@keyframes rise2{ from{ opacity:0; transform:translateY(20px);} to{ opacity:1; transform:none; } }
@keyframes pulse{ 0%,100%{ opacity:1;} 50%{ opacity:.3; } }

/* 19. Responsive
   ========================================================================== */
@media (max-width:940px){
  .cfg__head{ grid-template-columns:1fr; gap:1rem; }
  .cfg__head .lede{ max-width:42rem; }
  .cfg{ grid-template-columns:1fr; gap:2.5rem; }
  .cfg__item{ display:grid; grid-template-columns:minmax(0,320px) 1fr; gap:1.5rem; align-items:center; }
  .cfg__body{ min-height:0; }
  .hero{ grid-template-columns:1fr; }
  .hero__copy{ padding:2.2rem 1.5rem 2.6rem; }
  .copy__inner{ padding-right:0; max-width:none; }
  .stage{ padding:2.6rem 1.5rem 3.8rem; }
  .capture{ left:-8px; bottom:-26px; }
  .pillars{ grid-template-columns:1fr; gap:0; }
  .pillar{ padding:1.4rem 0; border-top:1px solid var(--line); }
  .pillar:first-child{ border-top:2px solid var(--line); }
  .feature{ grid-template-columns:1fr; gap:1.75rem; }
  .feature--flip .feature__media{ order:0; }
  .vstrip{ grid-template-columns:1fr; gap:1.25rem; text-align:left; padding:1.5rem; }
  .checks--cols{ grid-template-columns:1fr; gap:1rem; }
  .cards2{ grid-template-columns:1fr; }
  .split{ grid-template-columns:minmax(0,1fr); gap:1.75rem; }
  .contact-list--row{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer__grid{ grid-template-columns:1fr 1fr; gap:2rem; }
}
@media (max-width:560px){
  .contact-list--row{ grid-template-columns:minmax(0,1fr); gap:1.1rem; }
  .footer__grid{ grid-template-columns:1fr; }
  .trust__div{ display:none; }
  .cfg__item{ grid-template-columns:1fr; gap:.9rem; }
  /* Shorter cards on phones: drop the detail the card text already covers. */
  .cfg__extra{ display:none; }
}

/* 20. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
  [data-reveal]{ opacity:1; transform:none; }
}
