/* ==========================================================================
   Kassio — Tinmas Services LTD
   Online payment gateway. White ground, deep indigo, Satoshi.
   Card illustrations and product surfaces carry the page; photography is used
   twice in the whole site. No dark mode, no neon, no decorative gradients.
   Every contrast pair below is measured (21/21 pass).
   ========================================================================== */

:root {
  --white:    oklch(100% 0 0);
  --paper:    oklch(98.0% 0.004 265);   /* #F7F8FB */
  --paper-2:  oklch(95.8% 0.006 265);   /* #EFF1F5 */
  --line:     oklch(90.5% 0.008 265);   /* #DDE0E5 */
  --line-s:   oklch(64.0% 0.014 265);   /* #888C95 form borders, 3.4:1 */

  --ink:      oklch(19.0% 0.030 265);   /* #0D1321  16.9:1 on white */
  --ink-2:    oklch(40.0% 0.022 265);   /* #424854   8.2:1 */
  --ink-3:    oklch(52.0% 0.020 265);   /* #636975   5.2:1 */

  --ind:      oklch(47.0% 0.180 275);   /* #4348BD  6.9:1 on white */
  --ind-d:    oklch(38.0% 0.165 275);   /* #2F2F97 */
  --ind-l:    oklch(70.0% 0.130 275);   /* #8797EF on-dark only */
  --ind-t:    oklch(95.5% 0.021 275);   /* #ECEFFF */
  --on-ind:   oklch(99.5% 0.002 265);
  --on-ink-2: oklch(78.0% 0.018 265);   /* text on the dark footer */
  --on-ink-3: oklch(66.0% 0.020 265);
  --mint:     oklch(78.0% 0.135 165);   /* #50D2A2 small positive signal */
  --gold:     oklch(82.0% 0.090  85);   /* card chip only */

  --font: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --fs-h1:   clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-h2:   clamp(1.65rem, 1.35rem + 1.2vw, 2.375rem);
  --fs-h3:   clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-lead: clamp(1.0625rem, 1.01rem + 0.3vw, 1.1875rem);
  --fs-body: 1.0625rem;
  --fs-sm:   0.9375rem;
  --fs-xs:   0.8125rem;
  --fs-lab:  0.75rem;

  --sp:     clamp(3.5rem, 6.5vw, 6rem);
  --gutter: clamp(1.15rem, 3.6vw, 3rem);
  --max:    1180px;

  --r:   10px;
  --r-2: 14px;
  --r-p: 999px;
  --sh:  0 1px 2px oklch(19% 0.03 265 / 0.04), 0 8px 24px -12px oklch(19% 0.03 265 / 0.12);
  --sh-2: 0 2px 6px oklch(19% 0.03 265 / 0.06), 0 26px 60px -24px oklch(19% 0.03 265 / 0.22);
  --ease: cubic-bezier(0.25, 0.8, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; overflow-x: clip; }
body {
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.65;
  color: var(--ink-2); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 900; line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.022em; line-height: 1.3; }
/* Two-tone headline: the second half carries the accent (the Stripe device) */
h1 .hl, h2 .hl { color: var(--ind); }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-2); max-width: 50ch; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.05em; }
.prose .subh { font-size: var(--fs-h3); font-weight: 700; color: var(--ink); margin: 1.7em 0 0.5em; }
.prose > .subh:first-child { margin-top: 0; }
.prose a { color: var(--ind); font-weight: 600; }
.prose ul { margin: 1em 0; display: grid; gap: 0.5rem; }
.prose ul li { padding-left: 1.4rem; position: relative; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--ind); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: var(--fs-lab); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ind);
  background: var(--ind-t); padding: 0.4rem 0.72rem; border-radius: var(--r-p);
}
.lab { font-size: var(--fs-lab); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ind-3, var(--ink-3)); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sp); }
.band { background: var(--paper); }
.shead { max-width: 60ch; margin-bottom: clamp(1.85rem, 3.5vw, 2.75rem); }
.shead .eyebrow { margin-bottom: 0.9rem; }
.shead p { margin-top: 0.85rem; }

.skip {
  position: absolute; left: var(--gutter); top: 0.5rem; z-index: 200;
  transform: translateY(-200%); background: var(--ind); color: var(--on-ind);
  padding: 0.65rem 1.05rem; font-size: var(--fs-sm); font-weight: 700;
  text-decoration: none; border-radius: var(--r); transition: transform 0.2s var(--ease);
}
.skip:focus-visible { transform: translateY(0); }
:where(a, button, summary, input, textarea, [tabindex]):focus-visible { outline: 2px solid var(--ind); outline-offset: 2px; border-radius: 3px; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1.25rem; border: 0; border-radius: var(--r);
  background: var(--ind); color: var(--on-ind);
  font-size: var(--fs-sm); font-weight: 700; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s var(--ease);
}
.btn:hover { background: var(--ind-d); }
.btn__ar { transition: transform 0.25s var(--ease); }
.btn:hover .btn__ar { transform: translateX(3px); }
.btn--out { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--out:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-s); }
.btn--wht { background: var(--white); color: var(--ind-d); }
.btn--wht:hover { background: var(--ind-t); }
.tlink { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); font-weight: 700; color: var(--ind); text-decoration: none; }
.tlink:hover { color: var(--ind-d); text-decoration: underline; text-underline-offset: 3px; }
.tlink svg { transition: transform 0.25s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* ---------- header: two-tier product bar ---------------------------- */
/* Solid, opaque, no backdrop-filter: the bar is a printed plate, not glass.
   The outer edge is the one boundary a sticky solid bar relies on, so it takes
   --line-s (#888C95 on white = 3.36:1), not the 1.33:1 --line hairline. */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line-s);
}

/* tier 1 — utility strip: registered entity left, email right. */
.ustrip { display: none; background: var(--paper); border-bottom: 1px solid var(--line); }
.ustrip__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 36px; font-size: var(--fs-xs); line-height: 1.3;
}
.ustrip__reg { color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.ustrip__a { color: var(--ind); font-weight: 700; text-decoration: none; white-space: nowrap; }
.ustrip__a:hover { color: var(--ind-d); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) {
  /* The strip does NOT retract on scroll — both tiers stay pinned, so the
     registered number and contact address are readable the whole way down. */
  .ustrip { display: block; }
}

/* tier 2 — main bar: logo left, nav pushed hard right, CTA last */
.hdr__in { display: flex; align-items: center; gap: 1rem; min-height: 70px; }
/* Lockup = wordmark only (K3): "kassio" in Unbounded 700, with the dot of the
   i replaced by an indigo square turned 45 degrees. The square is ::after on
   the dotless i (nameHtml in _src/content.mjs), so it tracks the live glyph at
   any size; the favicon reuses the same square from _src/build.mjs. One colour
   on the word, the accent only in the dot. flex:none so the lockup never
   compresses when the nav runs long. */
.logo {
  display: inline-flex; align-items: center; flex: none;
  text-decoration: none; margin-right: 0.5rem;
}
.logo__w { font-family: 'Unbounded', 'Satoshi', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.logo__i { position: relative; }
.logo__i::after {
  content: ""; position: absolute; left: 50%; top: 0.17em;
  width: 0.19em; height: 0.19em; margin-left: -0.095em; border-radius: 0.035em;
  background: var(--ind); transform: rotate(45deg);
}
/* Footer ground is --ink #0D1321, where --ind is only 2.56:1; the dot steps up
   to --ind-l #8797EF (6.80:1) and the word goes white. */
.logo--inv .logo__w { color: var(--white); }
.logo--inv .logo__i::after { background: var(--ind-l); }

.nav { display: none; margin-left: auto; margin-right: 0; }
.nav ul { display: flex; align-items: center; gap: 0.15rem; }
.nav__it { position: relative; }
.nav__a {
  display: inline-flex; align-items: center; gap: 0.32rem;
  padding: 0.5rem 0.7rem; font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-2); text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__a:hover { color: var(--ind); background: var(--paper); }
/* matches aria-current="page" (this page) and aria-current="true" (ancestor) */
.nav__a[aria-current] { color: var(--ind); }
.nav__a svg { transition: transform 0.22s var(--ease); }
.nav__it--has:hover > .nav__a, .nav__it--has:focus-within > .nav__a { color: var(--ind); background: var(--paper); }
.nav__it--has:hover > .nav__a svg, .nav__it--has:focus-within > .nav__a svg { transform: rotate(180deg); }
.hdr__div { display: none; }

/* Solutions opens a two-column card panel, centred under its trigger.
   Opens on hover AND on keyboard focus (:focus-within), never hover-only. */
.nav__pan {
  /* top:100% — flush with the trigger's bottom edge so pointer travel is
     continuous (WCAG 1.4.13 Hoverable). The 0.45rem visual offset that used to
     be a dead gap now lives inside the panel's own padding-top. */
  position: absolute; top: 100%; left: 50%;
  width: min(36rem, calc(100vw - 2.5rem));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2);
  padding: 1.15rem 0.7rem 0.7rem; box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.24s var(--ease), visibility 0.2s;
}
.nav__it--has:hover .nav__pan, .nav__it--has:focus-within .nav__pan { opacity: 1; visibility: visible; transform: translateX(-50%); }
/* data-shut is the force-closed state. Equal specificity to the :hover rule
   above, so it must stay AFTER it to win. Escape sets it; a fresh pointer entry
   or a fresh focus from outside clears it. Without this the panel could not be
   dismissed at all — WCAG 1.4.13 "Dismissible". */
.nav__it--has[data-shut='true'] .nav__pan { opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px); }
.pan__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
/* Solutions panel cards. NOTE: must not be named .pcard — that belongs to the
   hero payment-card artwork further down this file (see .pcard at the artwork
   section). A collision there silently absolutely-positions these. */
.scard {
  display: block; padding: 0.8rem 0.85rem; border-radius: var(--r);
  background: var(--white); text-decoration: none;
  font-size: var(--fs-sm); font-weight: 700; color: var(--ink);
  letter-spacing: -0.018em; line-height: 1.3;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.scard:hover { background: var(--paper); color: var(--ind-d); box-shadow: inset 0 0 0 1px var(--ind); }
.scard[aria-current='page'] { color: var(--ind); box-shadow: inset 0 0 0 1px var(--ind); }

.hdr__cta { display: none; }

.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
/* TWO rules, not three. Square caps echo the stroke-linecap="square" icon set.
   Both bars travel to the centre line and cross: an X, nothing fades out. */
.burger span { width: 20px; height: 12px; position: relative; display: block; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform 0.28s var(--ease); }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 10px; }
.burger[aria-expanded='true'] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded='true'] i:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- mobile: full-screen overlay ----------------------------- */
.mnav {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
  padding-block: 71px 3.5rem;
}
.mnav[data-open='true'] { display: block; }
.mnav__in { padding-block: 1rem; }
.mnav__l > li { border-top: 1px solid var(--line); }
.mnav__l > li:last-child { border-bottom: 1px solid var(--line); }
.mnav__l > li > a {
  display: flex; align-items: center; min-height: 62px; padding: 0.4rem 0;
  font-size: 1.375rem; font-weight: 900; letter-spacing: -0.032em;
  color: var(--ink); text-decoration: none;
}
.mnav__l > li > a[aria-current] { color: var(--ind); }
/* Rail is --line-s (3.36:1 on white). --ind-t was 1.14:1 — a border nobody saw. */
.mnav__sl { display: grid; gap: 0.1rem; margin: -0.15rem 0 1rem 0.15rem; padding-left: 1rem; border-left: 2px solid var(--line-s); }
.mnav__sl a {
  display: flex; align-items: center; min-height: 50px; padding: 0.4rem 0;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.mnav__sl a[aria-current='page'] { color: var(--ind); }
.mnav__cta { margin-top: 1.75rem; width: 100%; justify-content: center; min-height: 54px; font-size: var(--fs-body); }

/* while the overlay is open the header collapses to one opaque tier */
.nav-open .ustrip { display: none; }

@media (min-width: 1040px) {
  .nav { display: block; }
  .hdr__cta { display: inline-flex; }
  .hdr__div { display: block; flex: none; width: 1px; height: 22px; background: var(--line); }
  .burger { display: none; }
  .mnav { display: none !important; }
}

/* ---------- hero ---------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5.5vw, 4.5rem); }
.dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(90% 70% at 70% 28%, oklch(0% 0 0), transparent 72%);
  -webkit-mask-image: radial-gradient(90% 70% at 70% 28%, oklch(0% 0 0), transparent 72%);
}
.hero__in { position: relative; display: grid; gap: clamp(2rem, 4.5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .hero__in { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); } }
.hero h1 { margin-top: 1.1rem; }
.hero .lead { margin-top: 1.05rem; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.7rem; }

/* ---------- payment card artwork ------------------------------------ */
.comp { position: relative; min-height: 418px; }
.pcard {
  position: absolute; width: 278px; height: 175px;      /* ISO 1.586:1 */
  border-radius: 14px; padding: 18px; color: var(--white); box-shadow: var(--sh-2);
}
/* The lighter back card takes dark print — white on #8797EF is only 2.7:1,
   and a pale card with dark type is what a real card stack looks like anyway. */
.pcard--back  { background: var(--ind-l); color: var(--ink); top: 0; right: 0; transform: rotate(-7deg); }
.pcard--back .prow { opacity: 1; color: var(--ink); }
.pcard--front { background: var(--ind);   top: 32px; right: 20px; transform: rotate(3deg); }
.pcard--solo  { position: static; transform: none; width: 100%; max-width: 300px; }
.chip { width: 32px; height: 25px; border-radius: 5px; background: var(--gold); position: relative; }
.chip::after { content: ''; position: absolute; inset: 6px 4px; border-left: 1px solid oklch(30% 0.04 85 / 0.35); border-right: 1px solid oklch(30% 0.04 85 / 0.35); }
.wave { position: absolute; top: 20px; right: 18px; opacity: 0.9; }
.pnum { margin-top: 23px; font-size: 14.5px; font-weight: 700; letter-spacing: 0.09em; font-variant-numeric: tabular-nums; }
.prow { display: flex; justify-content: space-between; margin-top: 13px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.88; }
.pbrand { position: absolute; bottom: 15px; right: 18px; font-size: 13px; font-weight: 900; letter-spacing: -0.03em; }

/* ---------- checkout sheet ------------------------------------------ */
.sheet { position: absolute; left: 0; bottom: 0; width: 238px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--sh-2); overflow: hidden; }
.sheet--solo { position: static; width: 100%; max-width: 320px; }
.sheet__t { display: flex; align-items: center; gap: 0.5rem; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.sheet__t b { font-size: 12.5px; color: var(--ink); }
.sheet__t i { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 700; color: oklch(42% 0.10 165); background: oklch(95% 0.04 165); padding: 3px 7px; border-radius: var(--r-p); }
.sheet__b { padding: 14px; }
.fl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; }
.inp { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 12.5px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.inp + .fl { margin-top: 11px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.paybtn { margin-top: 13px; width: 100%; background: var(--ind); color: var(--white); border: 0; border-radius: 8px; padding: 10px; font-weight: 700; font-size: 13.5px; }
.marks { margin-left: auto; display: flex; gap: 3px; }
.marks i { width: 13px; height: 9px; border-radius: 2px; display: block; flex: none; }
@media (max-width: 720px) {
  .comp { min-height: 0; display: grid; gap: 1rem; justify-items: center; }
  .pcard, .sheet { position: static; transform: none; }
  .pcard--back { display: none; }
  .pcard { width: 100%; max-width: 320px; }
  .sheet { width: 100%; max-width: 320px; }
}

/* ---------- works-with strip --------------------------------------- */

/* ---------- product panels (light) --------------------------------- */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--sh); overflow: hidden; }
.panel__t { display: flex; align-items: center; gap: 0.55rem; padding: 0.72rem 0.95rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.panel__t b { font-size: 12.5px; color: var(--ink); }
.panel__t i { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ind); background: var(--ind-t); padding: 3px 7px; border-radius: var(--r-p); }
.ptbl { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.ptbl th { text-align: left; padding: 0.55rem 0.95rem; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.ptbl td { padding: 0.62rem 0.95rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ptbl tr:last-child td { border-bottom: 0; }
.ptbl td b { color: var(--ink); font-weight: 700; }
.ptbl td.ok { color: oklch(42% 0.10 165); font-weight: 700; }
.ptbl td.on { color: var(--ind); font-weight: 700; }
.ptbl td:last-child, .ptbl th:last-child { text-align: right; }
.code { background: var(--ink); padding: 0.95rem 1.05rem; overflow-x: auto; }
.code pre { margin: 0; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 12px; line-height: 1.75; color: var(--on-ink-2); }
.code .k { color: var(--ind-l); } .code .s { color: var(--mint); } .code .c { color: var(--on-ink-3); }
.meter { display: inline-block; width: 44px; height: 5px; border-radius: 3px; background: var(--paper-2); vertical-align: 1px; margin-right: 0.45rem; }
.meter i { display: block; height: 100%; border-radius: 3px; width: var(--v); background: var(--ind); }

/* ---------- feature / solution cards ------------------------------- */
.grid3 { display: grid; gap: clamp(1rem, 2.2vw, 1.35rem); }
@media (min-width: 780px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.grid2 { display: grid; gap: clamp(1rem, 2.2vw, 1.35rem); }
@media (min-width: 720px) { .grid2 { grid-template-columns: repeat(2, 1fr); } }
.fc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); padding: clamp(1.2rem, 2.5vw, 1.55rem); box-shadow: var(--sh); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease); }
a.fc:hover { box-shadow: var(--sh-2); border-color: var(--line-s); transform: translateY(-2px); }
.ic { width: 38px; height: 38px; border-radius: 9px; background: var(--ind-t); color: var(--ind); display: grid; place-items: center; flex: none; }
.fc h3 { margin: 0.85rem 0 0.4rem; }
.fc p { font-size: var(--fs-sm); }
.fc__go { margin-top: auto; padding-top: 1.1rem; }

/* ---------- checklist / split -------------------------------------- */
.split { display: grid; gap: clamp(1.85rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--flip > :first-child { order: 2; }
  .split--start { align-items: start; }
}
.checks { display: grid; gap: 0.9rem; margin-top: 1.4rem; }
.checks li { display: grid; grid-template-columns: 1.35rem 1fr; gap: 0.7rem; align-items: start; font-size: var(--fs-sm); }
.checks li b { display: block; color: var(--ink); font-weight: 700; font-size: var(--fs-body); margin-bottom: 0.12rem; }
.checks svg { color: var(--ind); margin-top: 0.2em; }

/* ---------- stats -------------------------------------------------- */
.stats { display: grid; gap: clamp(1.35rem, 3vw, 2rem); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat__f { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.625rem); font-weight: 900; color: var(--ind); letter-spacing: -0.035em; line-height: 1; }
.stat__l { margin-top: 0.5rem; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.stat__d { margin-top: 0.2rem; font-size: var(--fs-xs); color: var(--ink-3); }

/* ---------- rows --------------------------------------------------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; gap: 0.4rem 1.5rem; padding: clamp(1.1rem, 2.4vw, 1.5rem) 0; border-bottom: 1px solid var(--line); align-items: center; }
@media (min-width: 760px) { .row { grid-template-columns: minmax(0, 1fr) auto; } }
.row h3 { margin-bottom: 0.2rem; }
.row p { font-size: var(--fs-sm); }
.row--link { text-decoration: none; color: inherit; transition: background-color 0.2s var(--ease); }
.row--link:hover { background: var(--paper); }

/* ---------- photography (used twice site-wide) --------------------- */
.shot { position: relative; }
.shot__bg { position: absolute; right: -0.7rem; top: 1.1rem; bottom: -0.7rem; left: 2.75rem; background: var(--ind-t); border-radius: var(--r-2); }
.shot img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-2); box-shadow: var(--sh-2); }

/* ---------- contact / form ---------------------------------------- */
.cbox { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); padding: clamp(1.15rem, 2.4vw, 1.55rem); text-decoration: none; color: inherit; display: block; box-shadow: var(--sh); }
a.cbox:hover { border-color: var(--ind); }
.cbox h3 { font-size: var(--fs-body); margin: 0.75rem 0 0.3rem; }
.cbox p { font-size: var(--fs-sm); word-break: break-word; }
.form { display: grid; gap: 0.9rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); padding: clamp(1.25rem, 2.8vw, 1.85rem); box-shadow: var(--sh); }
.fld { display: grid; gap: 0.32rem; }
.fld label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.fld label b { color: var(--ind); }
.fld input, .fld textarea { width: 100%; padding: 0.72rem 0.85rem; background: var(--white); border: 1px solid var(--line-s); border-radius: var(--r); font-size: var(--fs-body); color: var(--ink); transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.fld textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--ink-3); opacity: 1; }
.fld input:focus-visible, .fld textarea:focus-visible { border-color: var(--ind); box-shadow: 0 0 0 3px var(--ind-t); }
.fld__e { display: none; align-items: center; gap: 0.35rem; font-size: var(--fs-xs); font-weight: 700; color: var(--ind-d); }
.fld[data-bad='true'] .fld__e { display: flex; }
.fld[data-bad='true'] input, .fld[data-bad='true'] textarea { border-color: var(--ind-d); }
.form__ok { display: none; gap: 0.6rem; padding: 0.85rem 1rem; background: var(--ind-t); border-radius: var(--r); font-size: var(--fs-sm); color: var(--ink); }
.form[data-sent='true'] .form__ok { display: flex; }
.form__n { font-size: var(--fs-xs); color: var(--ink-3); }

/* ---------- page hero, CTA, footer -------------------------------- */
.phero { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 4.5vw, 3.25rem); position: relative; overflow: hidden; }
.phero > .wrap { position: relative; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 0.9rem; }
.crumb a, .crumb span { font-size: var(--fs-xs); color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--ind); text-decoration: underline; }
.crumb i { color: var(--line-s); font-style: normal; }
.phero h1 { max-width: 28ch; }
.phero .lead { margin-top: 0.8rem; }

.cta { background: var(--ind); color: oklch(90% 0.03 275); padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta__in { display: grid; gap: 1.4rem clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 880px) { .cta__in { grid-template-columns: minmax(0, 1fr) auto; } }
.cta h2 { color: var(--white); max-width: 34ch; }
.cta p { margin-top: 0.6rem; max-width: 54ch; }

.ftr { background: var(--ink); color: var(--on-ink-3); padding-block: clamp(2.5rem, 5vw, 3.5rem) 0; }
.ftr__top { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); padding-bottom: clamp(1.85rem, 4vw, 2.75rem); }
@media (min-width: 860px) { .ftr__top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.ftr__blurb { font-size: var(--fs-sm); max-width: 38ch; margin-top: 0.85rem; line-height: 1.68; }
.ftr__legal { margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid oklch(100% 0 0 / 0.14); font-size: var(--fs-xs); line-height: 1.75; }
.ftr__legal b { display: block; color: var(--white); font-size: var(--fs-lab); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; font-weight: 700; }
.ftr h2 { font-size: var(--fs-lab); font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--white); margin-bottom: 0.9rem; }
.ftr__l { display: grid; gap: 0.12rem; }
.ftr__l a { padding: 0.3rem 0; font-size: var(--fs-sm); color: var(--on-ink-3); text-decoration: none; width: fit-content; }
.ftr__l a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.ftr__bot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; padding-block: 1.2rem; border-top: 1px solid oklch(100% 0 0 / 0.14); }
.ftr__cr { font-size: var(--fs-xs); }

/* ---------- reveal (opt-in, fail-safe) --------------------------- */
.js [data-rv] { opacity: 0; transform: translateY(12px); }
.js [data-rv].in { opacity: 1; transform: none; transition: opacity 0.55s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--d, 0) * 45ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .js [data-rv] { opacity: 1 !important; transform: none !important; }
}
@media print { .hdr, .ustrip, .mnav, .cta, .dots { display: none !important; } body { background: #fff; color: #000; } }

/* Credentials live inside the checkout sheet, not in a page-wide band. */
.sheet__sec {
  display: flex; align-items: center; gap: 0.4rem;
  margin: 0.85rem 0 0; padding-top: 0.8rem; border-top: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); line-height: 1.35;
}
.sheet__lock { flex: none; display: flex; color: var(--ink-3); }

.cta__k { display: block; font-size: var(--fs-lab); font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent-on-dark, var(--white)); opacity: 0.72; margin-bottom: 0.55rem; }

/* ---------- no-JS: .mnav is display:none until JS sets state, so a phone had no
   navigation at all. Render it in-flow and hide the burger. --------------- */
html:not(.js) .burger { display: none; }
html:not(.js) .mnav {
  display: block; position: static; inset: auto; height: auto;
  opacity: 1; visibility: visible; transform: none; overflow: visible;
}

/* "Why choose" cards. Each carries a full paragraph of the original source
   copy that the old title-plus-spec checklist never rendered. */
/* Four items, so 2x2 — auto-fit gave three columns and left one card stranded
   on a second row. */
.whyg { margin-top: clamp(1.6rem, 3.4vw, 2.4rem); }
@media (min-width: 720px) { .whyg { grid-template-columns: 1fr 1fr; } }
.wc {
  background: var(--white); border-radius: var(--r-2);
  box-shadow: inset 0 0 0 1px var(--line); padding: clamp(1.1rem, 2.2vw, 1.5rem);
  transition: box-shadow 0.18s var(--ease);
}
.wc:hover { box-shadow: inset 0 0 0 1px var(--ind), var(--sh); }
.wc h3 { margin: 0.7rem 0 0; font-size: var(--fs-h4, 1.0625rem); font-weight: 700; color: var(--ink); letter-spacing: -0.018em; line-height: 1.3; }
.wc p { margin: 0.55rem 0 0; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.62; }

/* contact form, live send (2026-10-09): sending and error states for the fetch
   handler in site.js, and the no-JS fallback targets contact.php redirects to. */
.form__static { display: none; padding: 0.85rem 1rem; margin-bottom: 1rem; border: 1px solid currentColor; border-radius: 6px; font-size: 0.9rem; }
.form__static:target { display: block; }
.form__err { display: none; gap: 0.6rem; align-items: flex-start; padding: 0.85rem 1rem; margin-bottom: 1rem; border: 1px solid currentColor; border-radius: 6px; font-size: 0.9rem; }
.form[data-sent='error'] .form__err { display: flex; }
.form[data-sent='sending'] button[type='submit'] { opacity: 0.65; cursor: progress; }
