/* Délé · site and prototype styles */
@font-face { font-family: "Bricolage"; src: url("assets/fonts/bricolage.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("assets/fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("assets/fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DeleNaira"; src: url("assets/fonts/naira.woff2") format("woff2"); font-weight: 400 800; unicode-range: U+20A6; font-display: swap; }

:root {
  --forest: #0C2A1E; --forest-2: #143A2B; --forest-3: #1D4A38;
  --paper: #F4EFE5; --paper-2: #EBE4D6; --card: #FFFCF6;
  --ink: #12201A; --ink-2: #4A574F; --line: #D8CEBB;
  --go: #0A6B47; --go-d: #07563A; --tick: #3DDC97;
  --sun: #F2B33D; --sun-soft: #FBEBC7; --sun-ink: #6A4200;
  --clay: #B03A1E; --clay-soft: #F7DDD3; --clay-ink: #8A2B12;
  --mute-soft: #E6DFD2;
  --f-d: "Bricolage", "DeleNaira", ui-sans-serif, system-ui, sans-serif;
  --f-t: "Atkinson", "DeleNaira", ui-sans-serif, system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--f-t); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--go); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .footer :focus-visible, .is-dark :focus-visible, .topbar :focus-visible { outline-color: var(--tick); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--tick); color: var(--forest); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- wordmark: the two accents are two ticks ---------- */
.wm { display: inline-block; font-family: var(--f-d); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.wm-in { display: inline-flex; align-items: baseline; }
.wm-e { position: relative; display: inline-block; }
.wm-e i { position: absolute; left: 54%; top: -0.08em; width: 0.4em; transform: translateX(-50%) rotate(-4deg); color: var(--tick); }
.wm-e i svg { width: 100%; height: auto; }
.wm-e i svg path { stroke-width: 3.6; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 10px var(--gut); background: rgba(12, 42, 30, 0.96); color: var(--paper); backdrop-filter: blur(8px); }
.brand { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.brand .wm { font-size: 30px; padding-top: 6px; }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a { text-decoration: none; padding: 10px 12px; border-radius: 999px; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.topnav a:hover { background: var(--forest-3); }
.case-link { text-decoration: none; border: 1.5px solid rgba(244, 239, 229, 0.5); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.case-link:hover { background: var(--paper); color: var(--forest); }
@media (max-width: 640px) { .topnav { display: none; } .case-link { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { background: var(--forest); color: var(--paper); padding: clamp(40px, 7vw, 96px) var(--gut) clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 220, 151, 0.13), transparent 62%); pointer-events: none; }
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; color: #B9CFC3; }
.hero-title { margin: 0; line-height: 0.9; }
.wm-hero { font-size: clamp(104px, 21vw, 236px); color: var(--paper); padding-top: 0.12em; }
.hero-line { text-wrap: balance; font-family: var(--f-d); font-weight: 600; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 18px 0 18px; }
.hero-lead { max-width: 36em; color: #D5E1DA; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-site { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 16px; background: none; }
.btn-site.pri { background: var(--tick); color: var(--forest); }
.btn-site.pri:hover { background: #63E6AC; }
.btn-site.line { border-color: currentColor; }
.hero .btn-site.line:hover { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.btn-site.small { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.hero-facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(244, 239, 229, 0.2); padding-top: 20px; max-width: 560px; }
.hero-facts b { display: block; font-family: var(--f-d); font-size: clamp(30px, 4vw, 44px); line-height: 1; color: var(--tick); }
.hero-facts span { font-size: 14px; color: #C9D8CF; line-height: 1.35; display: block; margin-top: 6px; }

.hero-art { position: relative; min-height: 440px; }
.ha-card { position: absolute; background: var(--card); color: var(--ink); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); padding: 18px; }
.ha-plate { left: 0; top: 10px; width: min(380px, 92%); transform: rotate(-3deg); padding: 8px; }
.ha-plate .plate { margin: 0; }
.ha-amt { right: 0; top: 168px; width: min(330px, 84%); transform: rotate(2.5deg); }
.ha-k { margin: 0; font-size: 14px; color: var(--ink-2); }
.ha-v { margin: 2px 0 6px; font-family: var(--f-d); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; line-height: 1.05; }
.ha-s { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.ha-done { left: 10%; top: 330px; display: flex; align-items: center; gap: 14px; transform: rotate(-1.5deg); padding: 14px 18px; }
.ha-time { font-size: 15px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .ha-card { animation: float 7s ease-in-out infinite; }
  .ha-amt { animation-delay: -2.3s; } .ha-done { animation-delay: -4.6s; }
  @keyframes float { 50% { translate: 0 -8px; } }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 400px; max-width: 520px; width: 100%; }
}
@media (max-width: 420px) {
  .hero-art { min-height: 380px; }
  .ha-v { font-size: 32px; }
  .ha-amt { top: 178px; }
  .ha-done { top: 318px; left: 4%; }
  .hero-facts { gap: 10px; }
}

/* ---------- sections ---------- */
.sec-head { max-width: var(--max); margin: 0 auto clamp(28px, 4vw, 48px); }
.sec-no { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--go); font-weight: 700; margin: 0 0 12px; }
.sec-head h2 { text-wrap: balance; font-family: var(--f-d); font-weight: 700; font-size: clamp(32px, 5vw, 58px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 18em; }
.sec-lead { max-width: 40em; margin: 0; color: var(--ink-2); font-size: 18px; }
.proto, .flows, .components { padding: clamp(56px, 8vw, 110px) var(--gut); }
.flows { background: var(--paper-2); }

/* ---------- prototype layout ---------- */
.proto-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 412px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.scn-panel, .notes { position: sticky; top: 88px; }
.panel-h { font-family: var(--f-d); font-size: 22px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.panel-p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.scn-h { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); margin: 18px 0 8px; }
.scn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.scn { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 10px 12px; min-height: 52px; transition: border-color .15s, background .15s; }
.scn:hover { border-color: var(--go); }
.scn[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: var(--paper); }
.scn[aria-pressed="true"] .scn-t span { color: #C9D8CF; }
.scn-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--clay-soft); color: var(--clay-ink); margin-top: 1px; }
.scn-n.ok { background: #D5EEDF; color: var(--go); }
.scn-n svg { width: 15px; }
.scn[aria-pressed="true"] .scn-n { background: var(--paper); }
.scn-t { display: flex; flex-direction: column; min-width: 0; }
.scn-t b { font-size: 15.5px; line-height: 1.3; }
.scn-t span { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.scn-status { margin: 16px 0 0; font-size: 14.5px; padding: 12px 14px; border-left: 3px solid var(--go); background: var(--card); border-radius: 0 10px 10px 0; }

.ph-col { display: flex; flex-direction: column; align-items: center; scroll-margin-top: 80px; }
.ph-under { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; text-align: center; }
.ph-fine { margin: 0; font-size: 13.5px; color: var(--ink-2); max-width: 30em; }

.notes .ph-notes { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 20px; min-height: 180px; }
.nt-k { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--go); font-weight: 700; margin: 0 0 6px; }
.nt-h { font-family: var(--f-d); font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 8px; }
.nt-p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.grammar.ui { color: var(--paper); }
.grammar { margin-top: 16px; padding: 16px 20px; border-radius: 18px; background: var(--forest); color: var(--paper); }
.grammar .nt-k { color: var(--tick); }
.grammar ul { list-style: none; padding: 0; margin: 8px 0 10px; display: grid; gap: 10px; }
.grammar li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; }
.grammar .nt-p { color: #C9D8CF; font-size: 14px; }

@media (max-width: 1179px) {
  .proto-grid { grid-template-columns: minmax(0, 1fr) 412px; }
  .scn-panel { grid-column: 1; grid-row: 1; }
  .ph-col { grid-column: 2; grid-row: 1 / span 2; }
  .notes { grid-column: 1; grid-row: 2; position: static; }
  .scn-panel { position: static; }
}
@media (max-width: 899px) {
  .proto-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-col { grid-column: 1; grid-row: 1; }
  .scn-panel { grid-column: 1; grid-row: 2; }
  .notes { grid-column: 1; grid-row: 3; }
  .scn-list { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

.scn-jump { display: none; }
@media (max-width: 899px) { .scn-jump { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--clay-soft); color: var(--clay-ink); font-weight: 700; text-decoration: none; font-size: 15px; } .scn-panel { scroll-margin-top: 76px; } }
/* ---------- the phone ---------- */
.ui {
  --sb: 50px;
  font-family: var(--f-t);
  color: var(--ink);
}
.ph { position: relative; width: 412px; height: 840px; max-height: calc(100svh - 110px); min-height: 680px; border-radius: 58px; border: 11px solid #0A1410; background: var(--paper); overflow: hidden; box-shadow: 0 0 0 2px #2B3A33, 0 50px 90px -30px rgba(12, 42, 30, 0.55); font-size: 16px; line-height: 1.45; isolation: isolate; }
.ph.large { font-size: 19px; }
.ph-status { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: var(--sb); display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 34px; font: 700 15px/1 var(--f-t); color: var(--ink); pointer-events: none; }
.ph.dark-status .ph-status { color: var(--paper); }
.ph-island { width: 104px; height: 30px; border-radius: 20px; background: #0A1410; }
.ph-sig { display: flex; align-items: flex-end; gap: 2px; }
.ph-sig i { width: 3.5px; background: currentColor; border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 9px; } .ph-sig i:nth-child(4) { height: 11px; }
.ph-sig b { width: 24px; height: 12px; border: 1.5px solid currentColor; border-radius: 4px; margin-left: 6px; position: relative; }
.ph-sig b::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1.5px; }
.ph-screen { position: absolute; inset: 0; }

@media (max-width: 599px) {
  .proto { padding-left: 0; padding-right: 0; }
  .proto .sec-head, .scn-panel, .notes { padding-left: var(--gut); padding-right: var(--gut); }
  .ui.ph { --sb: 0px; }
  .ph { width: 100%; height: calc(100svh - 64px); max-height: 900px; min-height: 560px; border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .ph-status { display: none; }
  .ph-col { scroll-margin-top: 64px; }
  .ph-under { padding: 0 var(--gut); }
  .scn-list { grid-template-columns: 1fr; }
}

/* screens */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: var(--sb); background: var(--paper); }
.scr.is-dark { background: var(--forest); color: var(--paper); }
.scr-capture, .scr-checkphoto, .scr-liveness { background: #08130E; }
@media (prefers-reduced-motion: no-preference) {
  .scr.in-fwd { animation: inFwd .28s cubic-bezier(.2, .8, .2, 1); }
  .scr.in-back { animation: inBack .28s cubic-bezier(.2, .8, .2, 1); }
  @keyframes inFwd { from { opacity: 0; transform: translateX(28px); } }
  @keyframes inBack { from { opacity: 0; transform: translateX(-28px); } }
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px 2px; min-height: 3.2em; flex: none; }
.bar-sp { width: 44px; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: inherit; }
.iconbtn:hover { background: rgba(0, 0, 0, 0.06); }
.is-dark .iconbtn:hover { background: rgba(255, 255, 255, 0.1); }
.iconbtn svg { width: 24px; }
.step { font-size: 0.8125em; font-weight: 700; color: var(--ink-2); letter-spacing: 0.02em; }
.is-dark .step { color: #B9CFC3; }
.to-chip { font-size: 0.875em; font-weight: 700; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.45em 0.9em; }

.body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0.25em 1.375em 1.5em; overscroll-behavior: contain; }
.body.center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.foot { flex: none; padding: 0.75em 1.375em 1.5em; display: flex; flex-direction: column; gap: 0.6em; background: var(--paper); box-shadow: 0 -1px 0 var(--line); }
.is-dark .foot { background: transparent; box-shadow: none; }
.scr-h { text-wrap: balance; font-family: var(--f-d); font-weight: 700; font-size: 1.75em; line-height: 1.1; letter-spacing: -0.02em; margin: 0.2em 0 0.4em; outline: none; }
.scr-h:focus-visible { outline: 3px solid var(--go); outline-offset: 4px; }
.scr-sub { margin: 0 0 1.1em; color: var(--ink-2); font-size: 1em; }
.is-dark .scr-sub { color: #C9D8CF; }

/* buttons in app */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; width: 100%; min-height: 3.25em; padding: 0.7em 1.2em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1em; text-align: center; background: none; line-height: 1.2; }
.btn .ic svg { width: 1.25em; }
.btn.pri { background: var(--go); color: #fff; }
.btn.pri:hover:not(:disabled) { background: var(--go-d); }
.btn.pri:disabled { background: #B8B2A5; color: #fff; cursor: not-allowed; }
.btn.sec { border-color: var(--ink); color: var(--ink); }
.btn.sec:hover { background: rgba(0, 0, 0, 0.05); }
.btn.quiet { min-height: 2.9em; color: var(--go); text-decoration: underline; text-underline-offset: 3px; }
.btn.quiet.danger { color: var(--clay); }
.btn.on-dark { background: var(--tick); color: var(--forest); }
.btn.on-dark:hover { background: #63E6AC; }
.btn.ghost-dark { border-color: rgba(244, 239, 229, 0.6); color: var(--paper); }
.btn.sm { min-height: 2.75em; width: auto; padding: 0.5em 1em; font-size: 0.9375em; }
.link { border: 0; background: none; padding: 0.15em 0.1em; color: var(--go); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; min-height: 1.5em; }
.is-dark .link { color: var(--tick); }
.ic { display: inline-grid; place-items: center; flex: none; }
.ic svg { width: 1.25em; height: auto; }
.fine { font-size: 0.8125em; margin: 0.2em 0 0; text-align: center; color: var(--ink-2); }
.fine.on-dark { color: #B9CFC3; }
.hint { font-size: 0.875em; color: var(--ink-2); margin: 0.5em 0 0; }
.hint.center { text-align: center; margin: 0; }
.err { color: var(--clay); font-weight: 700; font-size: 0.875em; margin: 0.4em 0 0; min-height: 0; }
.err:empty { display: none; }
.opt { font-weight: 400; color: var(--ink-2); font-size: 0.875em; }

/* fields */
.lbl { display: block; font-weight: 700; font-size: 0.9375em; margin: 1.1em 0 0.4em; }
.inp { width: 100%; min-height: 3.25em; border: 2px solid #8F8775; border-radius: 0.875em; background: var(--card); padding: 0.6em 0.9em; font-size: 1.0625em; }
.inp:focus { outline: none; border-color: var(--go); box-shadow: 0 0 0 3px rgba(10, 107, 71, 0.25); }
.inp[aria-invalid="true"] { border-color: var(--clay); }
.phonefield { display: flex; gap: 0.5em; }
.phonefield .cc { display: grid; place-items: center; padding: 0 0.8em; border-radius: 0.875em; background: var(--mute-soft); font-weight: 700; min-height: 3.25em; }
.mono-in, .otp { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.otp { font-size: 1.75em; letter-spacing: 0.5em; text-align: center; padding-left: 1em; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.selwrap { position: relative; }
.selwrap::after { content: ""; position: absolute; right: 1em; top: 50%; width: 0.6em; height: 0.6em; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select.inp { appearance: none; padding-right: 2.6em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75em; }
.row2 .lbl { margin-top: 0.4em; }
.proto-note { display: flex; gap: 0.5em; align-items: center; background: var(--sun-soft); color: var(--sun-ink); border-radius: 0.75em; padding: 0.55em 0.8em; font-weight: 700; font-size: 0.9375em; }
.resend { font-size: 0.9375em; color: var(--ink-2); margin-top: 1em; }

/* choices */
.choices { border: 0; padding: 0; margin: 0.5em 0 0; display: grid; gap: 0.6em; }
.choices.tight legend { margin-top: 1.4em; }
.choice { display: flex; align-items: center; gap: 0.8em; padding: 0.85em 1em; border: 2px solid var(--line); border-radius: 1em; background: var(--card); cursor: pointer; position: relative; min-height: 3.5em; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--go); box-shadow: inset 0 0 0 1px var(--go); }
.choice:has(input:focus-visible) { outline: 3px solid var(--go); outline-offset: 3px; }
.choice::after { content: ""; margin-left: auto; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; border: 2px solid #8F8775; }
.choice:has(input:checked)::after { border: 0.4em solid var(--go); }
.ch-ic { flex: none; width: 2.5em; height: 2.5em; border-radius: 0.75em; background: var(--paper-2); display: grid; place-items: center; color: var(--forest); }
.ch-ic svg { width: 1.4em; }
.ch-t { display: flex; flex-direction: column; }
.ch-t b { font-size: 1em; }
.ch-t span { font-size: 0.875em; color: var(--ink-2); }

/* welcome */
.welcome { flex: 1; display: flex; flex-direction: column; padding: 1em 1.5em 1.5em; overflow-y: auto; }
.wl-top { padding-top: 0.5em; }
.wm-app { font-size: 2.6em; color: var(--paper); padding-top: 0.15em; }
.wl-art { position: relative; height: 10em; margin: 1.2em 0 0.5em; flex: none; }
.wl-tick { position: absolute; width: 6.5em; color: var(--tick); }
.wl-tick svg path { stroke-width: 2.8; }
.wl-tick.one { left: 0.2em; top: 0.8em; opacity: 0.45; }
.wl-tick.two { left: 3.2em; top: 0.8em; }
@media (prefers-reduced-motion: no-preference) {
  .wl-tick svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .2s ease-out forwards; }
  .wl-tick.two svg path { animation-delay: .65s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
.wl-copy .scr-h { font-size: 2em; }
.wl-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.6em; padding-top: 1em; }

/* camera screens */
.cam { flex: 1; overflow-y: auto; padding: 0 1.375em 1em; color: var(--paper); display: flex; flex-direction: column; }
.cam .scr-h { font-size: 1.4em; }
.viewfinder { position: relative; margin: 0.6em 0; padding: 1.2em 0.8em; border-radius: 1.2em; background: radial-gradient(ellipse at 50% 40%, #2A3A31, #0D1914 70%); }
.vf-c { position: absolute; width: 2em; height: 2em; border: 0 solid var(--tick); }
.vf-c.tl { top: 0.5em; left: 0.5em; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 0.7em; }
.vf-c.tr { top: 0.5em; right: 0.5em; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 0.7em; }
.vf-c.bl { bottom: 0.5em; left: 0.5em; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 0.7em; }
.vf-c.br { bottom: 0.5em; right: 0.5em; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 0.7em; }
.vf-doc { transform: rotate(-1.5deg); }
.vf-doc .idsvg, .shot .idsvg { width: 100%; height: auto; border-radius: 10px; }
.vf-flash { position: absolute; inset: 0; background: #fff; opacity: 0; border-radius: inherit; pointer-events: none; }
.flashing .vf-flash { animation: flash .38s ease-out; }
@keyframes flash { 10% { opacity: 0.9; } 100% { opacity: 0; } }
.cam-tip { margin: 0.6em 0 0.2em; font-size: 1em; color: #E7EFEA; }
.cam-note { font-size: 0.8125em; color: #9FB8AA; margin: 0.3em 0 0; }
.cam-foot { align-items: center; }
.shutter { width: 4.5em; height: 4.5em; border-radius: 50%; border: 4px solid var(--paper); background: transparent; padding: 4px; display: grid; place-items: center; }
.shutter span { width: 100%; height: 100%; border-radius: 50%; background: var(--paper); transition: transform .15s; }
.shutter:active span { transform: scale(0.9); }
.shot { margin: 0.8em 0; padding: 0.5em; border-radius: 1em; background: #1A2A22; }
.shot.bad { box-shadow: inset 0 0 0 3px var(--sun); }
.note-dark { display: flex; gap: 0.6em; padding: 0.8em 0.9em; border-radius: 0.9em; background: #3A2E10; color: #FBEBC7; font-size: 0.9375em; }
.note-dark .ic { color: var(--sun); margin-top: 0.1em; }
.oval { position: relative; width: 13em; margin: 0.6em auto 0.4em; aspect-ratio: 220 / 280; }
.oval svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.oval-face { clip-path: ellipse(45% 46% at 50% 50%); opacity: 0.9; }
.o-bg { fill: none; stroke: #2D4A3D; stroke-width: 6; }
.o-fg { fill: none; stroke: var(--tick); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--f) * 100); transition: stroke-dashoffset .6s ease; }
.live-step { font-family: var(--f-d); font-weight: 700; font-size: 1.35em; text-align: center; margin: 0.4em 0 0; min-height: 2.6em; }
.oval[data-step="1"] .oval-face { transform: translateX(-6%); } .oval[data-step="2"] .oval-face { transform: translateX(6%); }
.oval-face { transition: transform .8s ease; }

/* lists */
.steps-list, .checklist, .fixes { list-style: none; padding: 0; margin: 0.6em 0 1em; display: grid; gap: 0.8em; }
.steps-list li { display: flex; gap: 0.9em; align-items: flex-start; background: var(--card); border: 1.5px solid var(--line); border-radius: 1em; padding: 0.9em 1em; }
.steps-list .n { flex: none; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--paper); font-weight: 700; }
.steps-list b { display: block; } .steps-list span span, .steps-list div span { font-size: 0.9375em; color: var(--ink-2); display: block; }
.checklist li { display: flex; gap: 0.75em; align-items: center; font-size: 1em; }
.checklist .ic { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--go); color: #fff; }
.checklist .ic svg { width: 1em; }
.checklist .wait { color: var(--ink-2); }
.checklist .dot { width: 1.6em; height: 1.6em; border-radius: 50%; border: 2px dashed #9C9481; flex: none; }
.checklist.sm { text-align: left; margin-top: 1em; }
.spin { width: 1.6em; height: 1.6em; border-radius: 50%; border: 3px solid rgba(10, 107, 71, 0.2); border-top-color: var(--go); flex: none; animation: spin 0.9s linear infinite; }
.spin.big { width: 4em; height: 4em; border-width: 5px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }
.fixes { counter-reset: f; }
.fixes li { counter-increment: f; position: relative; padding-left: 2.4em; }
.fixes li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--forest); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: 0.875em; }
.lead-p { margin: 1em 0 0.4em; }

.disc { border: 1.5px solid var(--line); border-radius: 0.9em; background: var(--card); margin: 0.6em 0; }
.disc summary { padding: 0.8em 1em; font-weight: 700; cursor: pointer; min-height: 3em; list-style: none; display: flex; justify-content: space-between; gap: 1em; align-items: center; }
.disc summary::-webkit-details-marker { display: none; }
.disc summary::after { content: "+"; font-size: 1.4em; line-height: 1; color: var(--go); }
.disc[open] summary::after { content: "−"; }
.disc p { margin: 0; padding: 0 1em 1em; color: var(--ink-2); font-size: 0.9375em; }

.toggle { display: flex; align-items: center; gap: 0.8em; margin: 1.2em 0 0.4em; cursor: pointer; position: relative; min-height: 2.75em; }
.toggle input { position: absolute; opacity: 0; width: 3.2em; height: 1.9em; margin: 0; cursor: pointer; }
.toggle.wide { justify-content: space-between; margin: 0; width: 100%; }
.toggle.wide input { right: 0; }
.toggle.wide > span:first-child { display: flex; flex-direction: column; }
.toggle.wide > span:first-child span { font-size: 0.875em; color: var(--ink-2); }
.tg { flex: none; width: 3.2em; height: 1.9em; border-radius: 999px; background: #A69E8C; position: relative; transition: background .15s; }
.tg::after { content: ""; position: absolute; top: 0.2em; left: 0.2em; width: 1.5em; height: 1.5em; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.toggle input:checked + .tg { background: var(--go); }
.toggle input:checked + .tg::after { transform: translateX(1.3em); }
.toggle input:focus-visible + .tg { outline: 3px solid var(--go); outline-offset: 3px; }

/* approved, success */
.bigticks { width: 7em; color: var(--go); margin-bottom: 0.6em; }
.bigticks svg path { stroke-width: 2.4; }
@media (prefers-reduced-motion: no-preference) {
  .bigticks svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s .15s ease-out forwards; }
}
.bigticks.one svg path { stroke-dasharray: 22 100; }
.limitcard { width: 100%; background: var(--card); border: 1.5px solid var(--line); border-radius: 1.2em; padding: 1.1em 1.2em; text-align: left; margin-top: 0.6em; }
.lc-k { margin: 0 0 0.3em; font-size: 0.875em; font-weight: 700; color: var(--ink-2); }
.lc-v { margin: 0; font-family: var(--f-d); font-weight: 700; font-size: 1.9em; letter-spacing: -0.02em; line-height: 1.15; }
.lc-v.sm { font-size: 1.25em; }
.lc-v span { font-family: var(--f-t); font-size: 0.55em; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.limitcard .lc-v.sm span { font-size: 0.75em; }
.succ-p { color: var(--ink-2); margin: 0.6em 0; max-width: 20em; }
.succ-id { font-size: 0.875em; color: var(--ink-2); font-variant-numeric: tabular-nums; margin: 0.6em 0 0; text-align: center; }

/* home */
.home-top { display: flex; justify-content: space-between; align-items: center; padding-top: 0.6em; }
.wm-sm { font-size: 1.9em; color: var(--forest); padding-top: 0.2em; }
.wm-sm .wm-e i, .wm-xs .wm-e i { color: var(--go); }
.wm-xs { font-size: 1.4em; color: var(--forest); padding-top: 0.2em; }
.avatar { width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--forest); color: var(--paper); display: grid; place-items: center; font-weight: 700; }
.avatar.lg { width: 3.2em; height: 3.2em; font-size: 1.1em; }
.home .scr-h { font-size: 1.6em; margin-top: 0.6em; }
.ratecard { background: var(--forest); color: var(--paper); border-radius: 1.4em; padding: 1.1em 1.2em 1.2em; }
.rc-k { margin: 0; display: flex; align-items: center; gap: 0.5em; font-size: 0.875em; color: #C9D8CF; flex-wrap: wrap; }
.rc-v { margin: 0.2em 0 0.15em; font-family: var(--f-d); font-weight: 700; font-size: 1.9em; letter-spacing: -0.02em; }
.rc-s { margin: 0 0 1em; font-size: 0.875em; color: #C9D8CF; }
.ratecard .btn.pri { background: var(--tick); color: var(--forest); }
.ratecard .btn.pri:hover { background: #63E6AC; }
.ratecard .tag { background: rgba(255, 255, 255, 0.14); color: var(--paper); }
.tag { display: inline-block; font-size: 0.72em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2em 0.55em; border-radius: 999px; background: var(--mute-soft); color: var(--ink-2); vertical-align: 0.15em; }
.tag.lock { background: #D5EEDF; color: var(--go-d); }
.pulse { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--tick); flex: none; display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2s ease-in-out infinite; } @keyframes pulse { 50% { opacity: 0.35; } } }
.sec-h { font-size: 0.8125em; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); margin: 1.5em 0 0.6em; }
.recips, .txlist, .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5em; }
.recip, .tx, .menu button { width: 100%; display: flex; align-items: center; gap: 0.8em; padding: 0.7em 0.8em; border: 1.5px solid var(--line); border-radius: 1em; background: var(--card); text-align: left; min-height: 3.5em; }
.recip:hover, .tx:hover, .menu button:hover { border-color: var(--go); }
.av { flex: none; width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-weight: 700; color: var(--forest); }
.av.plus { background: var(--go); color: #fff; } .av.plus svg { width: 1.2em; }
.rp-t, .tx-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rp-t b, .tx-t b { font-size: 1em; }
.rp-t > span, .tx-t > span { font-size: 0.875em; color: var(--ink-2); }
.checked { display: inline-flex !important; align-items: center; gap: 0.3em; color: var(--go) !important; font-weight: 700; }
.checked .ic svg { width: 1em; }
.chev { color: #8F8775; } .chev svg { width: 1.1em; }
.tx-r { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3em; text-align: right; }
.tx-r b { font-size: 0.9375em; font-variant-numeric: tabular-nums; }
.tx-r .pill { font-size: 0.75em; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.3em 0.7em 0.3em 0.5em; border-radius: 999px; font-weight: 700; font-size: 0.8125em; white-space: nowrap; line-height: 1.2; }
.pill .ic svg { width: 1.25em; }
.pill.ok { background: #D5EEDF; color: #07563A; }
.pill.go { background: #E3EEE8; color: #1D4A38; }
.pill.warn { background: var(--sun-soft); color: var(--sun-ink); }
.pill.bad { background: var(--clay-soft); color: var(--clay-ink); }
.pill.mute { background: var(--mute-soft); color: #4A4436; }

/* tabbar */
.tabbar { flex: none; display: flex; background: var(--card); border-top: 1px solid var(--line); padding: 0.3em 0.5em 1.1em; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.15em; border: 0; background: none; padding: 0.4em 0; font-size: 0.75em; font-weight: 700; color: var(--ink-2); min-height: 44px; }
.tab .ic svg { width: 1.9em; }
.tab.on { color: var(--go); }

/* name plate */
.plate { display: flex; gap: 0.8em; align-items: flex-start; padding: 0.9em 1em; border-radius: 1em; border: 2px solid; margin: 1em 0 0.4em; }
.plate p { margin: 0; }
.pl-ic { flex: none; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; }
.pl-ic svg { width: 1.2em; }
.pl-k { font-size: 0.8125em; font-weight: 700; }
.pl-n { font-family: var(--f-d); font-weight: 700; font-size: 1.25em; letter-spacing: 0.01em; line-height: 1.2; margin: 0.1em 0 0.2em !important; word-break: break-word; }
.pl-s { font-size: 0.875em; }
.plate.checking { border-color: var(--line); background: var(--card); align-items: center; }
.plate.checking .pl-s { color: var(--ink-2); }
.plate.ok { border-color: var(--go); background: #E7F4EC; }
.plate.ok .pl-ic { background: var(--go); color: #fff; }
.plate.ok .pl-k, .plate.ok .pl-s { color: #07563A; }
.plate.close { border-color: #C98A12; background: var(--sun-soft); }
.plate.close .pl-ic { background: var(--sun); color: var(--forest); }
.plate.close .pl-k, .plate.close .pl-s { color: var(--sun-ink); }
.plate.bad { border-color: var(--clay); background: var(--clay-soft); }
.plate.bad .pl-ic { background: var(--clay); color: #fff; }
.plate.bad .pl-k, .plate.bad .pl-s { color: var(--clay-ink); }
.plate.compact { margin-top: 0.6em; }
.plate.compact .pl-n { font-size: 1.1em; }
.lookup:empty { display: none; }

/* amount */
.feeline { display: flex; gap: 0.5em; align-items: flex-start; font-size: 0.9375em; background: #E3EEE8; color: #1D4A38; padding: 0.6em 0.8em; border-radius: 0.8em; }
.feeline .ic { margin-top: 0.1em; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25em; padding: 0.25em; border-radius: 999px; background: var(--paper-2); margin: 1em 0 0.2em; }
.seg button { border: 0; border-radius: 999px; padding: 0.55em 0.4em; font-weight: 700; font-size: 0.875em; background: none; color: var(--ink-2); min-height: 2.75em; }
.seg button[aria-checked="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.amt .lbl { margin-top: 0.9em; }
.amt-in { display: flex; align-items: center; gap: 0.15em; border-bottom: 3px solid var(--ink); padding-bottom: 0.1em; }
.amt-in:focus-within { border-bottom-color: var(--go); }
.cur { font-family: var(--f-d); font-weight: 700; font-size: 2.6em; line-height: 1; }
.amt-in input { flex: 1; min-width: 0; border: 0; background: none; font-family: var(--f-d); font-weight: 700; font-size: 2.6em; line-height: 1.15; letter-spacing: -0.02em; padding: 0; outline: none; font-variant-numeric: tabular-nums; }
.amt-in input::placeholder { color: #B5AD9C; }
.quick { display: flex; gap: 0.4em; margin-top: 0.7em; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 0.4em 0.75em; font-weight: 700; font-size: 0.875em; min-height: 2.75em; }
.chip:hover { border-color: var(--go); }
.other { margin-top: 0.9em; display: flex; flex-direction: column; gap: 0.2em; }
.rate-live { display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.875em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rate-live .pulse { background: var(--go); }
.rate-live .flash { background: #FFF1B8; border-radius: 4px; transition: background 1s; }
.out-v { font-size: 1.0625em; }
.out-v b { font-family: var(--f-d); font-size: 1.3em; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.out-v.muted { color: var(--ink-2); font-size: 0.9375em; }

/* breakdown */
.bd { margin: 1em 0 0; padding: 0.9em 1em; border-radius: 1em; background: var(--card); border: 1.5px solid var(--line); display: grid; gap: 0.45em; }
.bd div { display: flex; justify-content: space-between; gap: 1em; align-items: baseline; }
.bd dt { color: var(--ink-2); font-size: 0.9375em; }
.bd dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.bd .get { border-top: 1.5px solid var(--line); padding-top: 0.5em; margin-top: 0.15em; }
.bd .get dt { color: var(--ink); font-weight: 700; }
.bd .get dd { font-family: var(--f-d); font-size: 1.35em; color: var(--go-d); }
.bd .cost { background: var(--paper-2); margin: 0.2em -0.5em -0.4em; padding: 0.5em; border-radius: 0.7em; }
.bd .cost dd span { font-weight: 400; color: var(--ink-2); font-size: 0.875em; }

/* notices */
.notice { display: flex; gap: 0.6em; align-items: flex-start; padding: 0.8em 0.9em; border-radius: 0.9em; margin: 1em 0 0; font-size: 0.9375em; }
.notice p { margin: 0 0 0.45em; } .notice p:last-child { margin-bottom: 0; }
.notice > div { min-width: 0; }
.notice .ic { margin-top: 0.1em; }
.notice.info { background: #E3EEE8; color: #1D4A38; }
.notice.warn { background: var(--sun-soft); color: var(--sun-ink); }
.notice.bad { background: var(--clay-soft); color: var(--clay-ink); }
.notice-actions { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 0.7em; }
.notice .btn.sec { border-color: currentColor; color: inherit; }
.mono, .mono-line .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.85em; word-break: break-all; }

/* rate lock */
.lockchip { display: flex; align-items: center; gap: 0.65em; padding: 0.55em 0.9em 0.55em 0.55em; border-radius: 999px; background: var(--forest); color: var(--paper); font-size: 0.9375em; width: max-content; max-width: 100%; font-variant-numeric: tabular-nums; }
.lockchip b { color: var(--sun); }
.ring { position: relative; width: 2.3em; height: 2.3em; display: grid; place-items: center; flex: none; }
.ring svg:first-child { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring > svg:last-child { width: 1em; position: relative; }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 3.4; }
.ring-fg { fill: none; stroke: var(--sun); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--f, 1) * 100); transition: stroke-dashoffset .25s linear; }
.lockmini { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 700; font-size: 0.875em; background: var(--forest); color: var(--sun); padding: 0.45em 0.8em; border-radius: 999px; font-variant-numeric: tabular-nums; }
.lockmini svg { width: 1.05em; }

/* review */
.review .lockchip { margin-top: 0.2em; }
.kv { margin: 1em 0 0; display: grid; gap: 0.55em; }
.kv div { display: grid; grid-template-columns: 7.2em 1fr; gap: 0.6em; font-size: 0.9375em; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }
.hold-foot { gap: 0.45em; }
.hold { --p: 0; position: relative; overflow: hidden; width: 100%; min-height: 3.6em; border-radius: 999px; border: 0; background: var(--forest); color: var(--paper); font-weight: 700; font-size: 1.0625em; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hold-fill { position: absolute; inset: 0; background: var(--go); transform-origin: left; transform: scaleX(var(--p)); }
.hold-t { position: relative; }
.hold.holding { box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.35); }
.hold.done { background: var(--go); }
.hold:disabled { cursor: default; }

/* tracking */
.tr-head { text-align: center; padding: 0.6em 0 0.4em; }
.tr-to { margin: 0; color: var(--ink-2); font-size: 0.9375em; }
.tr-head .scr-h { font-size: 2.1em; margin: 0.1em 0 0.3em; font-variant-numeric: tabular-nums; }
.timeline { list-style: none; padding: 0; margin: 1em 0 0; }
.tl { position: relative; display: grid; grid-template-columns: 2em 1fr auto; gap: 0.8em; padding-bottom: 1.2em; }
.tl::before { content: ""; position: absolute; left: calc(1em - 1.5px); top: 2em; bottom: 0; width: 3px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl.done::before { background: var(--go); }
.tl-dot { width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; border: 2.5px solid #A69E8C; background: var(--paper); position: relative; z-index: 1; }
.tl-dot svg { width: 1.1em; }
.tl.done .tl-dot { background: var(--go); border-color: var(--go); color: #fff; }
.tl.now .tl-dot { border-color: var(--go); }
.tl.now .tl-dot::after { content: ""; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--go); }
@media (prefers-reduced-motion: no-preference) { .tl.now .tl-dot::after { animation: pulse 1.4s ease-in-out infinite; } }
.tl.paused .tl-dot { background: var(--sun); border-color: var(--sun); color: var(--forest); }
.tl.stopped .tl-dot { background: var(--mute-soft); border-color: #8F8775; color: #4A4436; }
.tl.off { opacity: 0.45; }
.tl-t { display: flex; flex-direction: column; padding-top: 0.15em; }
.tl-t span { font-size: 0.875em; color: var(--ink-2); }
.tl.paused .tl-t b { color: var(--sun-ink); }
.tl-time { font-size: 0.875em; font-weight: 700; padding-top: 0.25em; font-variant-numeric: tabular-nums; }
.tracking .notice { margin-top: 0.2em; }
.mono-line { word-break: break-word; }

/* declined */
.state-ic { width: 3.6em; height: 3.6em; border-radius: 1.1em; display: grid; place-items: center; margin: 0.4em 0 0.4em; }
.state-ic svg { width: 1.9em; }
.state-ic.bad { background: var(--clay-soft); color: var(--clay); }

/* settings */
.profile { display: flex; align-items: center; gap: 0.8em; padding: 0.4em 0 0.6em; }
.profile div { display: flex; flex-direction: column; }
.profile span { font-size: 0.875em; color: var(--ink-2); }
.menu button > .ic:first-child { width: 2.4em; height: 2.4em; border-radius: 0.7em; background: var(--paper-2); color: var(--forest); }
.menu button > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.menu button > span:nth-child(2) span { font-size: 0.875em; color: var(--ink-2); }
.menu .tgrow { border: 1.5px solid var(--line); border-radius: 1em; background: var(--card); padding: 0.6em 0.9em; }
.scr-settings .btn.quiet { margin-top: 1em; }
.meter { margin: 1em 0; }
.mt-h { display: flex; justify-content: space-between; gap: 1em; font-size: 0.9375em; margin-bottom: 0.4em; }
.mt-h span { font-variant-numeric: tabular-nums; }
.mt-bar { height: 0.75em; border-radius: 999px; background: var(--mute-soft); overflow: hidden; }
.mt-bar span { display: block; height: 100%; background: var(--go); border-radius: inherit; min-width: 0.4em; }
.tiers { display: grid; gap: 0.6em; }
.tier { border: 1.5px solid var(--line); border-radius: 1em; padding: 0.8em 1em; background: var(--card); }
.tier.on { border-color: var(--go); box-shadow: inset 0 0 0 1px var(--go); }
.tier p { margin: 0; }
.tr-k { font-size: 0.8125em; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.06em; }
.tr-v { font-family: var(--f-d); font-weight: 700; font-size: 1.3em; }
.tr-s { font-size: 0.875em; color: var(--ink-2); }
.receipt { background: var(--card); border-radius: 1.2em; padding: 1.1em 1.1em 1.2em; border: 1.5px solid var(--line); position: relative; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: radial-gradient(circle at 8px 0, transparent 7px, var(--card) 7.5px) repeat-x; background-size: 16px 8px; display: none; }
.rc-top { display: flex; justify-content: space-between; align-items: center; }
.rc-amt { font-family: var(--f-d); font-weight: 700; font-size: 2em; margin: 0.4em 0 0.1em; letter-spacing: -0.02em; }
.rc-to { margin: 0; color: var(--ink-2); font-size: 0.9375em; }
.receipt .kv { border-top: 1.5px dashed var(--line); padding-top: 0.8em; }
.faq { margin-top: 0.4em; }
.contact { display: grid; gap: 0.5em; }

/* sheets */
.sheet-wrap { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(8, 19, 14, 0.55); }
.sheet { position: relative; background: var(--paper); color: var(--ink); border-radius: 1.6em 1.6em 0 0; padding: 0.6em 1.375em 1.6em; max-height: 88%; overflow-y: auto; box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.25); }
@media (prefers-reduced-motion: no-preference) { .sheet { animation: up .3s cubic-bezier(.2, .8, .2, 1); } @keyframes up { from { transform: translateY(40%); opacity: 0; } } }
.sheet.tone-warn { box-shadow: inset 0 6px 0 var(--sun), 0 -20px 40px rgba(0, 0, 0, 0.25); }
.sheet.tone-bad { box-shadow: inset 0 6px 0 var(--clay), 0 -20px 40px rgba(0, 0, 0, 0.25); }
.grab { display: block; width: 2.6em; height: 0.3em; border-radius: 999px; background: #C9C0AE; margin: 0.2em auto 0.8em; }
.sh-ic { width: 3em; height: 3em; border-radius: 0.9em; display: grid; place-items: center; margin-bottom: 0.4em; }
.sh-ic .ic svg { width: 1.6em; }
.sh-ic.warn { background: var(--sun-soft); color: var(--sun-ink); }
.sh-ic.bad { background: var(--clay-soft); color: var(--clay); }
.sh-h { font-family: var(--f-d); font-weight: 700; font-size: 1.45em; line-height: 1.15; letter-spacing: -0.01em; margin: 0.1em 0 0.4em; outline: none; }
.sh-h.center, .sh-p.center { text-align: center; }
.sh-p { margin: 0 0 0.8em; font-size: 0.9375em; }
.sh-actions { display: flex; flex-direction: column; gap: 0.5em; margin-top: 1em; }
.cmp { margin: 0.6em 0; padding: 0.8em 1em; background: var(--card); border: 1.5px solid var(--line); border-radius: 1em; display: grid; gap: 0.4em; }
.cmp div { display: flex; justify-content: space-between; gap: 1em; font-size: 0.9375em; }
.cmp dt { color: var(--ink-2); } .cmp dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.cmp .big dd { font-family: var(--f-d); font-size: 1.25em; color: var(--go-d); }
.cmp s { color: var(--ink-2); font-weight: 400; }
.msg { margin: 0.4em 0; padding: 0.9em 1em; border-radius: 1em 1em 1em 0.3em; background: #DDF3E6; font-size: 0.9375em; }
.redflags { margin: 0.4em 0 0.8em; padding-left: 1.2em; font-size: 0.9375em; }
.redflags li { margin: 0.25em 0; }
.redflags li::marker { color: var(--clay); }
.redflags.ok li::marker { color: var(--go); }
.faceid { width: 4.5em; margin: 0.6em auto 0.4em; color: var(--ink-2); transition: color .3s; }
.faceid.ok { color: var(--go); }
.toast { position: absolute; z-index: 30; left: 50%; bottom: 6.5em; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2.5em); background: var(--forest); color: var(--paper); padding: 0.7em 1.1em; border-radius: 0.9em; font-size: 0.9375em; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); text-align: center; }
.ph-screen ~ .toast { font-size: 15px; }

/* ---------- flows map ---------- */
.lanes { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(28px, 4vw, 44px); }
.lane-h { display: flex; align-items: center; gap: 10px; font-family: var(--f-d); font-size: 22px; margin: 0 0 14px; }
.lane-h span { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: var(--paper); display: grid; place-items: center; font-size: 16px; }
.lane-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; }
.lanes .lane:nth-child(2) .lane-row { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.lane-row.short { grid-template-columns: repeat(4, minmax(0, 200px)); }
.lane-row > li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.lane-row > li:not(:last-child)::after { content: ""; position: absolute; top: 32px; right: -14px; width: 14px; height: 2px; background: var(--forest); }
.node { width: 100%; min-height: 66px; text-align: left; border: 2px solid var(--forest); background: var(--card); border-radius: 14px; padding: 10px 11px; display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: background .15s, color .15s; }
.node b { font-size: 15px; line-height: 1.2; }
.node span { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }
.node:hover { background: var(--forest); color: var(--paper); }
.node:hover span { color: #C9D8CF; }
.node.key { background: #E7F4EC; border-color: var(--go); }
.node.end { background: var(--forest); color: var(--paper); }
.node.end span { color: #C9D8CF; }
.br { list-style: none; margin: 0; padding: 0 0 0 12px; display: grid; gap: 8px; border-left: 2px dashed var(--clay); margin-left: 16px; }
.branch { width: 100%; text-align: left; border: 1.5px solid var(--clay); background: var(--clay-soft); color: var(--clay-ink); border-radius: 12px; padding: 8px 10px; font-weight: 700; font-size: 13.5px; line-height: 1.25; min-height: 44px; display: flex; flex-direction: column; }
.branch span { font-weight: 400; font-size: 12.5px; }
.branch:hover { background: var(--clay); color: #fff; }
@media (max-width: 1100px) {
  .lane-row, .lanes .lane:nth-child(2) .lane-row, .lane-row.short { grid-template-columns: 1fr; gap: 10px; max-width: 560px; }
  .lane-row > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
  .lane-row > li:not(:last-child)::after { top: auto; bottom: -10px; right: auto; left: 22px; width: 2px; height: 10px; }
  .br { margin-left: 0; border-left: 0; padding-left: 0; position: relative; }
  .br::before { content: ""; position: absolute; left: -10px; top: 32px; width: 10px; border-top: 2px dashed var(--clay); }
}
@media (max-width: 420px) {
  .lane-row > li { grid-template-columns: 1fr; }
  .br { padding-left: 16px; border-left: 2px dashed var(--clay); margin-left: 16px; }
  .br::before { display: none; }
}

/* ---------- component kit ---------- */
.kit { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; font-size: 16px; line-height: 1.45; }
.kit-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 20px; min-width: 0; }
.kit-card.wide { grid-column: span 3; }
.kit-h { font-family: var(--f-d); font-size: 18px; margin: 0 0 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.kit-h span { font-family: var(--f-t); font-size: 13px; font-weight: 400; color: var(--ink-2); }
.kit-stack { display: grid; gap: 10px; }
.kit-card.wide .kit-stack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kit-stack .plate, .kit-stack .notice { margin: 0; }
.kit .bd { margin: 0; }
.kit-center { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 10px 0; }
.kit-p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.kit-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kit-pills .pill { font-size: 14px; }
.kit .timeline { margin: 0; }
.kit .hold { max-width: 320px; }
.swatches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.swatches li { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; align-items: center; }
.sw { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; }
.sw.line { box-shadow: inset 0 0 0 1.5px var(--line); }
.swatches b { font-size: 14.5px; } .swatches span:not(.sw) { font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kit-card.wide { grid-column: span 2; } .kit-card.wide .kit-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kit { grid-template-columns: minmax(0, 1fr); } .kit-card.wide { grid-column: span 1; } .kit-card.wide .kit-stack { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.footer { background: var(--forest); color: var(--paper); padding: clamp(48px, 7vw, 88px) var(--gut) 40px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.wm-foot { font-size: clamp(72px, 14vw, 150px); color: var(--paper); padding-top: 0.15em; }
.footer-line { font-size: 18px; margin: 18px 0 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.footer-nav a { text-decoration: none; border: 1.5px solid rgba(244, 239, 229, 0.5); border-radius: 999px; padding: 10px 18px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.footer-nav a:hover { background: var(--paper); color: var(--forest); }
.footer-small { font-size: 14px; color: #B9CFC3; max-width: 52em; margin: 0; }
