/* Fidara design system: "Monolith"
   One variable typeface (Archivo, width + weight axes), solid surfaces, hairline structure.
   Colour pairs are checked for WCAG AA by tools/contrast.py. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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: "Archivo";
  src: url("/assets/fonts/archivo-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Surfaces */
  --ink: #0B0F0D;
  --ink-2: #131A16;
  --ink-3: #1B241F;
  --bone: #EEEAE1;
  --bone-2: #E3DED2;
  /* Text */
  --on-ink: #EEEAE1;
  --on-ink-2: #A9B1AB;
  --on-bone: #0B0F0D;
  --on-bone-2: #4A524D;
  /* Brand */
  --emerald: #0E6B47;
  --emerald-2: #0A5638;
  --emerald-bright: #3CCB91;
  --gold: #CDA968;
  /* Lines (neutral, never coloured) */
  --line-ink: rgba(238, 234, 225, 0.16);
  --line-bone: rgba(11, 15, 13, 0.16);

  /* Spacing scale (4pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --section: clamp(80px, 11vw, 160px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.75, 0);
  --t-fast: 180ms;
  --t: 320ms;

  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  background: var(--ink);
  color: var(--on-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
}
img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }
::selection { background: var(--emerald-bright); color: var(--ink); }

:focus-visible { outline: 3px solid var(--emerald-bright); outline-offset: 3px; border-radius: 2px; }
.s-bone :focus-visible { outline-color: var(--emerald); }

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--bone); color: var(--ink); padding: var(--s3) var(--s4); font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--s4); }
.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; }

/* ---------- Surfaces ---------- */
.s-ink { background: var(--ink); color: var(--on-ink); }
.s-ink-2 { background: var(--ink-2); color: var(--on-ink); }
.s-bone { background: var(--bone); color: var(--on-bone); }
.s-emerald { background: var(--emerald-2); color: var(--bone); }
.muted { color: var(--on-ink-2); }
.s-bone .muted { color: var(--on-bone-2); }
.s-emerald .muted { color: #CFE3D8; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section.tight { padding: var(--s9) 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s5); row-gap: var(--s6); }
.c-1-4 { grid-column: 1 / span 3; } .c-4-12 { grid-column: 4 / -1; } .c-5-12 { grid-column: 5 / -1; }
.c-1-6 { grid-column: 1 / span 6; } .c-7-12 { grid-column: 7 / -1; } .c-1-7 { grid-column: 1 / span 7; }
.c-8-12 { grid-column: 8 / -1; } .c-1-8 { grid-column: 1 / span 8; } .c-9-12 { grid-column: 9 / -1; }
.c-all { grid-column: 1 / -1; }

/* ---------- Type ---------- */
.d1, .d2, .h2, .h3, .label, .wordmark { font-family: inherit; margin: 0; }
.d1 {
  font-stretch: 125%; font-weight: 640; text-transform: uppercase;
  font-size: clamp(36px, 7.4vw, 128px); line-height: 0.92; letter-spacing: -0.012em;
}
.d2 {
  font-stretch: 125%; font-weight: 620; text-transform: uppercase;
  font-size: clamp(30px, 5.2vw, 84px); line-height: 0.95; letter-spacing: -0.01em;
}
.h2 {
  font-stretch: 118%; font-weight: 620; text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 50px); line-height: 1; letter-spacing: -0.005em;
}
.h3 { font-stretch: 108%; font-weight: 600; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.2; letter-spacing: -0.005em; }
.lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; max-width: 46ch; }
.statement { font-stretch: 112%; font-weight: 500; font-size: clamp(24px, 3.2vw, 46px); line-height: 1.16; letter-spacing: -0.012em; max-width: 28ch; margin: 0; }
.label {
  display: block; font-stretch: 112%; font-weight: 640; font-size: 12px; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.folio { display: flex; gap: var(--s3); align-items: baseline; }
.folio .n { font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.gold { color: var(--gold); }
.em-text { color: var(--emerald-bright); }
.s-bone .em-text { color: var(--emerald); }
.measure { max-width: 62ch; }

/* ---------- Header / nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid var(--line-ink);
  transition: transform var(--t) var(--ease);
}
.site-head.hide { transform: translateY(-100%); }
.head-row { height: var(--nav-h); display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand svg { width: 26px; height: 26px; }
.wordmark { font-stretch: 125%; font-weight: 650; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: var(--s1); }
.nav > a, .nav > .dd > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--s3);
  font-size: 15px; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer;
  color: var(--on-ink-2); position: relative;
}
.nav > a::after, .nav > .dd > button::after {
  content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 10px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.nav > a:hover, .nav > .dd > button:hover, .nav > a[aria-current="page"], .nav > .dd > button[aria-expanded="true"] { color: var(--on-ink); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav > .dd > button:hover::after { transform: scaleX(1); }
.dd { position: relative; }
.dd svg.chev { width: 10px; height: 10px; transition: transform var(--t) var(--ease); }
.dd button[aria-expanded="true"] svg.chev { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(720px, 90vw);
  transform: translate(-50%, -8px); opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  background: var(--ink-2); border: 1px solid var(--line-ink); padding: var(--s3);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.dd-panel.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dd-panel a { display: block; padding: var(--s4); text-decoration: none; min-height: 44px; }
.dd-panel a:hover { background: var(--ink-3); }
.dd-panel a b { display: block; font-weight: 600; font-size: 15px; }
.dd-panel a span { display: block; font-size: 14px; color: var(--on-ink-2); line-height: 1.45; margin-top: 2px; }
.dd-panel .all { grid-column: 1 / -1; border-top: 1px solid var(--line-ink); margin-top: var(--s2); }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-ink); background: none; cursor: pointer; position: relative;
}
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--on-ink); transition: transform var(--t) var(--ease), top var(--t) var(--ease); }
.menu-btn i:first-child { top: 17px; } .menu-btn i:last-child { top: 25px; }
.menu-open .menu-btn i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn i:last-child { top: 21px; transform: rotate(-45deg); }
.m-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 39; background: var(--ink); overflow-y: auto;
  padding: var(--s6) var(--gutter) var(--s8); display: none;
}
.menu-open .m-menu { display: block; }
.m-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; text-decoration: none; border-bottom: 1px solid var(--line-ink); font-stretch: 118%; font-weight: 600; font-size: 22px; text-transform: uppercase; }
.m-menu .sub a { font-stretch: 100%; text-transform: none; font-weight: 500; font-size: 17px; color: var(--on-ink-2); padding-left: var(--s4); min-height: 48px; }
.m-menu .btn { margin-top: var(--s6); width: 100%; justify-content: space-between; }

/* ---------- Buttons: solid, wipe fill on hover (no fades) ---------- */
.btn {
  --bg: var(--bone); --fg: var(--ink); --wipe: var(--emerald); --wipe-fg: var(--bone);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: 52px; padding: 0 var(--s5); border-radius: 2px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); cursor: pointer; text-decoration: none;
  font-stretch: 112%; font-weight: 620; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t-fast) var(--ease);
  touch-action: manipulation;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wipe);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.btn:hover { color: var(--wipe-fg); border-color: var(--wipe); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--t) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { min-height: 44px; padding: 0 var(--s4); font-size: 14px; }
.btn-dark { --bg: var(--ink); --fg: var(--bone); }
.btn-line { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.s-ink .btn-line, .s-ink-2 .btn-line, .site-head .btn-line { --wipe: var(--bone); --wipe-fg: var(--ink); color: var(--on-ink); }
.s-bone .btn-line { --wipe: var(--ink); --wipe-fg: var(--bone); color: var(--on-bone); }
.btn-em { --bg: var(--emerald); --fg: var(--bone); --wipe: var(--ink); --wipe-fg: var(--bone); }
.s-ink .btn-em, .s-ink-2 .btn-em { --wipe: var(--bone); --wipe-fg: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: var(--s3); }
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size var(--t) var(--ease);
}
.link-arrow:hover { background-size: 0% 1px; background-position: right bottom; }
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; padding: var(--s8) 0 var(--s7); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s6); align-items: center; }
.hero .lede { margin: var(--s6) 0 var(--s6); color: var(--on-ink-2); }
.hero .d1 { font-size: clamp(36px, 4.9vw, 92px); }
.hero .d1 .ln { display: block; white-space: nowrap; }
.hero .lede strong { color: var(--on-ink); font-weight: 500; }
.arch-stage { position: relative; aspect-ratio: 1 / 1.06; width: 100%; }
.arch-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 600ms var(--ease); cursor: grab; touch-action: pan-y; }
.arch-stage canvas:active { cursor: grabbing; }
.arch-stage.ready canvas { opacity: 1; }
.arch-stage .poster { position: absolute; inset: 8% 10%; color: #26332C; transition: opacity 600ms var(--ease); }
.arch-stage.ready .poster { opacity: 0; }
.arch-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.arch-tools .label { color: var(--on-ink-2); }
.tool-btn {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3);
  background: none; border: 1px solid var(--line-ink); color: var(--on-ink); cursor: pointer; font-size: 13px; font-weight: 600; font-stretch: 112%; letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.tool-btn:hover { border-color: var(--on-ink); }
.tool-btn svg { width: 14px; height: 14px; }

.facts { border-top: 1px solid var(--line-ink); margin-top: var(--s7); display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { list-style: none; padding: var(--s4) var(--s4) 0 0; font-size: 14px; color: var(--on-ink-2); line-height: 1.45; }
.facts li b { display: block; color: var(--on-ink); font-weight: 600; font-size: 15px; }
.facts { padding: 0; }

/* ---------- Section head (folio label in the margin) ---------- */
.shead { margin-bottom: var(--s8); }
.shead .label { color: var(--on-ink-2); padding-top: 10px; }
.s-bone .shead .label { color: var(--on-bone-2); }
.shead .lede { margin-top: var(--s5); color: var(--on-ink-2); }
.s-bone .shead .lede { color: var(--on-bone-2); }
.rule { border: 0; border-top: 1px solid var(--line-ink); margin: 0; }
.s-bone .rule { border-top-color: var(--line-bone); }

/* ---------- Journey (interactive client path) ---------- */
.journey-tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-bone); position: relative; }
.journey-tabs [role="tab"] {
  text-align: left; background: none; border: 0; border-right: 1px solid var(--line-bone); cursor: pointer;
  padding: var(--s5) var(--s4) var(--s5) 0; min-height: 96px; color: var(--on-bone-2); position: relative;
  transition: color var(--t) var(--ease);
}
.journey-tabs [role="tab"]:last-child { border-right: 0; }
.journey-tabs [role="tab"] + [role="tab"] { padding-left: var(--s4); }
.journey-tabs [role="tab"] .n { display: block; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: var(--s2); }
.journey-tabs [role="tab"] .t { display: block; font-stretch: 118%; font-weight: 640; text-transform: uppercase; font-size: clamp(15px, 1.5vw, 21px); line-height: 1.1; }
.journey-tabs [role="tab"][aria-selected="true"] { color: var(--on-bone); }
.journey-tabs [role="tab"]:hover { color: var(--on-bone); }
.journey-tabs::after { content: ""; position: absolute; top: -1px; left: 0; height: 3px; width: calc(100% / 6); background: var(--emerald); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform 520ms var(--ease); pointer-events: none; }
.journey-panels { margin-top: var(--s7); }
.journey-panel { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: var(--s7); }
.journey-panel[hidden] { display: none; }
.journey-panel.enter > * { animation: panelIn 420ms var(--ease) both; }
.journey-panel.enter > *:nth-child(2) { animation-delay: 60ms; }
.journey-panel.enter > *:nth-child(3) { animation-delay: 120ms; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.journey-panel h3 { margin-bottom: var(--s4); }
.journey-panel .label { color: var(--on-bone-2); margin-bottom: var(--s3); }
.journey-panel .bad { border-left: 2px solid #B4472E; padding-left: var(--s4); }
.journey-panel .good { border-left: 2px solid var(--emerald); padding-left: var(--s4); }

/* ---------- Service index rows ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink); }
.svc-list li { border-bottom: 1px solid var(--line-ink); }
.svc-row {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 0.9fr) 44px; gap: var(--s5); align-items: center;
  padding: var(--s6) 0; text-decoration: none; color: var(--on-ink);
  transition: color var(--t) var(--ease), padding var(--t) var(--ease);
}
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform 420ms var(--ease); }
.svc-row:hover, .svc-row:focus-visible { color: var(--on-bone); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleY(1); }
.svc-row:hover .muted, .svc-row:focus-visible .muted { color: var(--on-bone-2); }
.svc-row .n { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; padding-left: var(--s2); }
.svc-row .name { font-stretch: 125%; font-weight: 640; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 50px); line-height: 1; }
.svc-row .desc { font-size: 16px; line-height: 1.5; }
.svc-row .go { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; transition: transform var(--t) var(--ease); }
.svc-row:hover .go { transform: translateX(-6px); }
.svc-row .go svg { width: 16px; height: 16px; }

/* ---------- Demos ---------- */
.tabs { display: inline-flex; border: 1px solid var(--line-ink); margin-bottom: var(--s7); }
.tabs [role="tab"] {
  min-height: 48px; padding: 0 var(--s5); background: none; border: 0; cursor: pointer; color: var(--on-ink-2);
  font-stretch: 112%; font-weight: 620; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
}
.tabs [role="tab"][aria-selected="true"] { background: var(--bone); color: var(--ink); }
.demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s8); align-items: start; }
.demo[hidden] { display: none; }
.demo-copy .h2 { margin-bottom: var(--s5); }
.demo-copy .note { font-size: 14px; color: var(--on-ink-2); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-ink); }
.demo-copy ul { padding: 0; margin: var(--s5) 0 0; list-style: none; }
.demo-copy li { padding: var(--s3) 0; border-bottom: 1px solid var(--line-ink); color: var(--on-ink-2); }
.demo-copy li b { color: var(--on-ink); font-weight: 600; }

/* Phone (WhatsApp receptionist) */
.phone { width: min(400px, 100%); margin: 0 auto; background: #0E1411; border: 1px solid var(--line-ink); border-radius: 28px; padding: 10px; }
.phone-in { border-radius: 20px; overflow: hidden; background: #E9E4D9; color: #111; display: flex; flex-direction: column; height: 560px; }
.phone-top { background: var(--emerald-2); color: var(--bone); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.phone-top .av { width: 36px; height: 36px; border-radius: 50%; background: var(--bone); color: var(--emerald-2); display: grid; place-items: center; font-weight: 700; font-size: 14px; font-stretch: 112%; }
.phone-top b { display: block; font-size: 15px; font-weight: 600; }
.phone-top small { font-size: 12px; color: #CFE3D8; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.msg { max-width: 82%; padding: 9px 12px 7px; border-radius: 10px; font-size: 14.5px; line-height: 1.42; position: relative; animation: msgIn 260ms var(--ease) both; }
.msg time { display: block; text-align: right; font-size: 11px; color: #5B635E; margin-top: 2px; }
.msg.in { align-self: flex-start; background: #FFFFFF; border-top-left-radius: 2px; }
.msg.out { align-self: flex-end; background: #CDEBD9; border-top-right-radius: 2px; }
.msg.sys { align-self: center; background: #F6F1E6; color: #3D4440; font-size: 12px; border-radius: 6px; padding: 5px 10px; }
.typing { align-self: flex-start; background: #fff; border-radius: 10px; padding: 12px 14px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #79817C; animation: dot 1s var(--ease) infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: #DED8CB; border-top: 1px solid rgba(0,0,0,.08); }
.chip { min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid rgba(11,15,13,.24); background: #F4F0E7; color: #111; cursor: pointer; font-size: 13.5px; font-weight: 500; text-align: left; transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.chip:hover { background: #fff; border-color: rgba(11,15,13,.5); }
.chip[disabled] { opacity: 0.45; cursor: default; }

/* Call agent */
.call { background: var(--ink-2); border: 1px solid var(--line-ink); }
.call-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5); border-bottom: 1px solid var(--line-ink); flex-wrap: wrap; }
.call-head .who b { display: block; font-weight: 600; }
.call-head .who small { color: var(--on-ink-2); font-size: 13px; }
.call-timer { font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 600; font-stretch: 112%; }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; padding: 0 var(--s5); margin: var(--s4) 0; }
.wave i { flex: 1; height: 100%; background: var(--emerald-bright); opacity: 0.35; transform: scaleY(0.12); transform-origin: center; border-radius: 2px; transition: transform 140ms linear, opacity 200ms var(--ease); }
.wave.talk-agent i { opacity: 0.9; }
.wave.talk-lead i { opacity: 0.9; background: var(--gold); }
.transcript { height: 300px; overflow-y: auto; padding: 0 var(--s5) var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.line { display: grid; grid-template-columns: 76px 1fr; gap: var(--s3); font-size: 15px; line-height: 1.5; animation: msgIn 260ms var(--ease) both; }
.line .sp { font-size: 12px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; color: var(--emerald-bright); }
.line.lead .sp { color: var(--gold); }
.call-foot { display: flex; gap: var(--s3); padding: var(--s5); border-top: 1px solid var(--line-ink); flex-wrap: wrap; align-items: center; }
.outcome { margin-left: auto; font-size: 14px; color: var(--on-ink-2); }
.outcome.done { color: var(--emerald-bright); font-weight: 600; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-bone); }
.step { padding: var(--s6) var(--s5) 0 0; border-right: 1px solid var(--line-bone); }
.step + .step { padding-left: var(--s5); }
.step:last-child { border-right: 0; }
.step .big { font-stretch: 125%; font-weight: 300; font-size: clamp(56px, 6vw, 96px); line-height: 0.9; font-variant-numeric: tabular-nums; color: var(--emerald); }
.step .when { display: block; margin: var(--s5) 0 var(--s2); color: var(--on-bone-2); }
.step h3 { margin-bottom: var(--s3); }
.step p { color: var(--on-bone-2); font-size: 16px; }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-bone); }
.tier { padding: var(--s6) var(--s5) var(--s6) 0; border-right: 1px solid var(--line-bone); display: flex; flex-direction: column; }
.tier + .tier { padding-left: var(--s5); }
.tier:last-child { border-right: 0; }
.tier .price { font-stretch: 118%; font-weight: 600; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; margin: var(--s4) 0 var(--s2); font-variant-numeric: tabular-nums; }
.tier .price small { display: block; margin-top: var(--s2); font-size: 15px; font-weight: 500; color: var(--on-bone-2); font-stretch: 100%; }
.tier ul, .plain-list { list-style: none; padding: 0; margin: var(--s5) 0; }
.tier li, .plain-list li { padding: var(--s2) 0 var(--s2) 22px; position: relative; font-size: 16px; }
.tier li::before, .plain-list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 10px; height: 1.5px; background: var(--emerald); }
.s-ink .plain-list li::before, .s-ink-2 .plain-list li::before { background: var(--emerald-bright); }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier.rec .label { color: var(--emerald); }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--line-bone); vertical-align: top; }
.price-table th { font-weight: 600; }
.price-table td.p { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.price-table td small { display: block; color: var(--on-bone-2); font-size: 14px; font-weight: 400; }

.config { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.config fieldset { border: 0; padding: 0; margin: 0 0 var(--s7); }
.config legend { padding: 0; margin-bottom: var(--s4); }
.opt { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: var(--s4); align-items: start; padding: var(--s4) var(--s4); border: 1px solid var(--line-bone); margin-top: -1px; cursor: pointer; background: transparent; transition: background var(--t-fast) var(--ease); }
.opt:hover { background: var(--bone-2); }
.opt input { appearance: none; width: 20px; height: 20px; margin: 3px 0 0; border: 1.5px solid var(--on-bone); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.opt input[type="checkbox"] { border-radius: 2px; }
.opt input::after { content: ""; width: 10px; height: 10px; background: var(--emerald); border-radius: inherit; transform: scale(0); transition: transform var(--t-fast) var(--ease); }
.opt input:checked { border-color: var(--emerald); }
.opt input:checked::after { transform: scale(1); }
.opt:has(input:checked) { background: var(--bone-2); border-color: var(--on-bone); position: relative; z-index: 1; }
.opt:has(input:disabled) { cursor: default; }
.opt b { display: block; font-weight: 600; }
.opt small { display: block; color: var(--on-bone-2); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.opt .p { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.opt .p small { display: block; font-weight: 400; }
.summary { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--ink); color: var(--on-ink); padding: var(--s6); }
.summary .row { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line-ink); font-size: 15px; }
.summary .row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding: var(--s5) 0 var(--s2); }
.summary .total b { font-stretch: 118%; font-weight: 600; font-size: 34px; font-variant-numeric: tabular-nums; }
.summary .fine { font-size: 13px; color: var(--on-ink-2); margin: var(--s4) 0 var(--s5); }
.summary .empty { color: var(--on-ink-2); font-size: 15px; padding: var(--s3) 0; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line-bone); }
.s-ink .faq details { border-color: var(--line-ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s5); align-items: center; min-height: 72px; padding: var(--s4) 0; font-stretch: 108%; font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { flex: none; width: 20px; height: 20px; position: relative; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform var(--t) var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .ans { padding: 0 0 var(--s5); max-width: 70ch; color: var(--on-bone-2); }
.s-ink .faq .ans { color: var(--on-ink-2); }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-top: var(--s6); font-size: 14px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2); color: var(--on-ink-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); }
.crumbs a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.crumbs a:hover { color: var(--on-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-ink); display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding: var(--s7) 0 var(--s9); }
.phero .d2 { margin: var(--s5) 0 var(--s6); max-width: 18ch; }
.phero .lede { color: var(--on-ink-2); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-stretch: 112%; font-weight: 620; font-size: 24px; line-height: 1.2; margin: var(--s8) 0 var(--s4); }
.prose h3 { font-weight: 600; font-size: 19px; margin: var(--s6) 0 var(--s3); }
.prose p, .prose li { color: var(--on-bone-2); }
.prose strong { color: var(--on-bone); font-weight: 600; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: var(--s2); }
.prose a { color: var(--emerald); }
.todo { background: #F3D9A4; color: #3A2A00; padding: 0 4px; font-weight: 600; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s5); max-width: 640px; }
.field label { display: block; font-weight: 600; margin-bottom: var(--s2); }
.field .hint { display: block; font-size: 14px; color: var(--on-bone-2); margin-top: var(--s2); }
.field input[type="text"], .field input[type="url"], .field input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 var(--s4); font: inherit; font-size: 17px; color: var(--on-bone);
  background: #F7F4EE; border: 1px solid rgba(11,15,13,.4); border-radius: 2px;
}
.field input:focus { outline: 3px solid var(--emerald); outline-offset: 1px; border-color: var(--on-bone); }
.field .err { display: none; color: #9E2B14; font-size: 14px; font-weight: 600; margin-top: var(--s2); }
.field.invalid input { border-color: #9E2B14; }
.field.invalid .err { display: block; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start; font-size: 15px; color: var(--on-bone-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--emerald); cursor: pointer; }
.req { color: #9E2B14; }
.form-status { font-weight: 600; min-height: 1.5em; margin: 0; }

/* ---------- CTA ---------- */
.cta { padding-top: var(--section); padding-bottom: var(--section); }
.cta .d2 { max-width: 16ch; margin-bottom: var(--s6); }
.cta .lede { color: var(--on-ink-2); margin-bottom: var(--s6); }
.s-emerald .cta .lede, .s-emerald .lede { color: #D8E9DF; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--on-ink); border-top: 1px solid var(--line-ink); padding: var(--s9) 0 var(--s6); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.foot-grid h2 { font-size: 12px; margin-bottom: var(--s4); color: var(--on-ink-2); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--on-ink); }
.foot-grid li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { border-top: 1px solid var(--line-ink); margin-top: var(--s8); padding-top: var(--s5); display: flex; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; color: var(--on-ink-2); font-size: 13.5px; }
.foot-legal p { max-width: 70ch; margin: 0; }

/* ---------- Media + misc ---------- */
.frame { border: 1px solid var(--line-bone); background: var(--bone-2); }
.s-ink .frame, .s-ink-2 .frame { border-color: var(--line-ink); background: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.kv { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line-bone); }
.kv dt, .kv dd { margin: 0; padding: var(--s4) 0; border-bottom: 1px solid var(--line-bone); }
.kv dt { font-weight: 600; }
.kv dd { color: var(--on-bone-2); }
.s-ink .kv, .s-ink .kv dt, .s-ink .kv dd { border-color: var(--line-ink); }
.s-ink .kv dd { color: var(--on-ink-2); }
.portrait { aspect-ratio: 4 / 5; background: var(--ink-2); border: 1px solid var(--line-ink); display: grid; place-items: center; color: var(--on-ink-2); text-align: center; padding: var(--s5); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-bone); }
.related a { padding: var(--s5) var(--s5) var(--s5) 0; text-decoration: none; border-right: 1px solid var(--line-bone); min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); }
.related a + a { padding-left: var(--s5); }
.related a:last-child { border-right: 0; }
.related a b { font-stretch: 118%; font-weight: 640; text-transform: uppercase; font-size: 20px; line-height: 1.1; }
.related a:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.spots { display: inline-grid; grid-template-columns: auto auto; gap: var(--s4); align-items: center; padding: var(--s4) var(--s5); border: 1px solid var(--line-ink); }
.spots .n { font-stretch: 125%; font-weight: 600; font-size: 48px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- Films ---------- */
.film { position: relative; margin: 0; border: 1px solid var(--line-ink); background: var(--ink); }
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
.film-toggle { position: absolute; right: var(--s3); bottom: var(--s3); background: var(--ink); font-size: 12px; min-height: 36px; padding: 0 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .d1 { font-size: clamp(36px, 8.4vw, 92px); }
  .arch-stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .demo, .config, .split { grid-template-columns: 1fr; gap: var(--s7); }
  .summary { position: static; }
  .journey-panel { grid-template-columns: 1fr 1fr; }
  .journey-panel > :first-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid > [class*="c-"] { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .journey-tabs { grid-template-columns: repeat(3, 1fr); }
  .journey-tabs [role="tab"]:nth-child(3n) { border-right: 0; }
  .journey-tabs [role="tab"]:nth-child(n+4) { border-top: 1px solid var(--line-bone); }
  .journey-tabs [role="tab"]:nth-child(4) { padding-left: 0; }
  .journey-tabs::after { display: none; }
  .journey-tabs [role="tab"][aria-selected="true"] { box-shadow: inset 0 3px 0 var(--emerald); }
  .svc-row { grid-template-columns: 40px minmax(0, 1fr) 44px; padding: var(--s5) 0; }
  .svc-row .desc { grid-column: 2 / 3; grid-row: 2; }
  .svc-row .go { grid-column: 3; grid-row: 1; }
  .steps, .tiers, .related { grid-template-columns: 1fr; }
  .step, .tier, .related a { border-right: 0; border-bottom: 1px solid var(--line-bone); padding-left: 0 !important; padding-bottom: var(--s6); }
  .kv { grid-template-columns: 1fr; }
  .kv dt { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .d1 { font-stretch: 112%; }
  .hero .d1 .ln { display: inline; white-space: normal; }
  .d2 { font-stretch: 112%; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding-right: 0; }
  .journey-tabs { grid-template-columns: 1fr 1fr; }
  .journey-tabs [role="tab"] { border-right: 1px solid var(--line-bone) !important; padding-left: var(--s3) !important; border-top: 1px solid var(--line-bone); }
  .journey-tabs [role="tab"]:nth-child(2n) { border-right: 0 !important; }
  .journey-panel { grid-template-columns: 1fr; gap: var(--s5); }
  .foot-grid { grid-template-columns: 1fr; }
  .phone-in { height: 520px; }
  .btns .btn { width: 100%; justify-content: space-between; }
  .tabs { display: flex; width: 100%; }
  .tabs [role="tab"] { flex: 1; padding: 0 var(--s3); }
  .line { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
