/* zinaka.co.zw — direction C from mock #102 (owner, 2026-10-21): a white page
   where the app's own screens do the talking. The phone screens are drawn in
   the app's real look (navy band, mono labels, glowing cards, P2 entries,
   person pills, ranked strips, the tab bar and the FAB), from the device
   screenshots in docs/mocks/design-account-2026-10/screens. Inter only, with
   JetBrains Mono for labels. Motion reveals once per visit; reduced motion
   shows everything still. */

:root {
  --navy: #12263c;
  --navy-2: #1a3350;
  --on: #e2e8f0;
  --on-soft: #93a9bf;
  --ink: #12263c;
  --text: #16232e;
  --soft: #5b6b7a;
  --line: #e2e8f0;
  --page: #f7f9fa;
  --teal: #427d8c;
  --teal-hi: #5aa3b4;
  --teal-l: #e6f1f3;
  --gold: #c49a5c;
  --gold-l: #f7efe2;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #d97706;
  --burgundy: #8c2d48;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; }
img { display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
section[id] { scroll-margin-top: 72px; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.top.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(18, 38, 60, .06); }
.top .wrap { height: 68px; display: flex; align-items: center; gap: 12px; transition: height .3s var(--ease); }
.top.scrolled .wrap { height: 58px; }
.logo img { height: 40px; width: auto; transition: height .3s var(--ease); }
.top.scrolled .logo img { height: 34px; }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.top nav a {
  color: var(--soft); font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 10px;
  transition: color .2s, background .2s;
}
.top nav a:hover { color: var(--ink); background: var(--page); }
.top nav a.get {
  margin-left: 6px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(18, 38, 60, .22);
}
.top nav a.get:hover { background: var(--navy-2); box-shadow: 0 8px 24px rgba(66, 125, 140, .35); }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--ink); font-size: 26px; cursor: pointer;
}
.menu-btn:active { transform: scale(.94); }
@media (max-width: 760px) {
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .top nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: 0 18px 30px rgba(18, 38, 60, .08);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .top nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .top nav a { padding: 12px; font-size: 16px; }
  .top nav a.get { margin: 6px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  height: 56px; padding: 0 22px; border-radius: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px;
  transition: transform .18s var(--ease), box-shadow .25s, background .25s;
}
.btn:active { transform: scale(.96); }
.btn .ti { font-size: 20px; }
.btn.ink { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(18, 38, 60, .25); }
.btn.ink:hover { box-shadow: 0 12px 32px rgba(66, 125, 140, .45); transform: translateY(-1px); }
.btn.line { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn.line:hover { border-color: var(--teal); box-shadow: 0 8px 22px rgba(66, 125, 140, .18); }
.btn small { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--soft); font-weight: 500; letter-spacing: .08em; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; } }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.blob.t { width: 420px; height: 420px; background: #9fd0db; right: 4%; top: 40px; animation: drift 14s ease-in-out infinite alternate; }
.blob.g { width: 300px; height: 300px; background: #ecd3ac; right: 22%; top: 260px; animation: drift 11s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
.pill {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--teal-l); color: var(--teal);
  border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 14px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.hero h1 {
  font-size: clamp(42px, 7vw, 74px); line-height: 1.02; font-weight: 900;
  letter-spacing: -.035em; color: var(--ink); margin: 18px 0 0;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal), var(--teal-hi), var(--gold), var(--teal));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen { 50% { background-position: 100% 0; } }
.hero p.lead { font-size: 19px; color: var(--soft); max-width: 540px; margin: 18px 0 0; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; color: var(--soft); font-size: 14px; }
.trust span { display: flex; align-items: center; gap: 6px; }
.trust .ti { color: var(--green); font-size: 18px; }
.hero .stage { position: relative; justify-self: center; }

/* ---------- the phone (a frame around an app screen) ---------- */
.phone {
  position: relative; width: 318px; flex: none;
  border: 9px solid #0b1828; border-radius: 44px; background: #0b1828;
  box-shadow: 0 40px 80px -20px rgba(18, 38, 60, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone::before {
  /* the camera */
  content: ''; position: absolute; top: 8px; left: 50%; width: 9px; height: 9px; margin-left: -4px;
  border-radius: 50%; background: #0b1828; z-index: 7; box-shadow: 0 0 0 2px #1c2a3a;
}
.halo { position: absolute; inset: 40px -30px -20px; border-radius: 60px; filter: blur(40px); opacity: .55; z-index: -1; }
.halo.t { background: radial-gradient(closest-side, #5aa3b4, transparent); }
.halo.g { background: radial-gradient(closest-side, #d9b27a, transparent); }
@media (max-width: 380px) { .phone { zoom: .9; } }

/* ---------- the app screen, drawn from the live app (owner's screenshots,
   2026-10-21; 1 px here = about 3 px of a 923-wide screenshot) ---------- */
.scr {
  position: relative; width: 300px; height: 630px; overflow: hidden;
  border-radius: 35px; background: var(--page); color: var(--text);
  font-size: 10.4px; line-height: 1.35;
}
.a-sb {
  position: relative; z-index: 5; height: 27px; background: var(--navy); color: var(--on);
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 22px 0; font-size: 10.5px; font-weight: 600;
}
.a-sb .ic { display: flex; gap: 4px; font-size: 11px; }
.a-tb {
  position: relative; z-index: 5; background: var(--navy); height: 38px;
  display: flex; align-items: center; gap: 7px; padding: 0 12px;
  color: var(--gold); font-size: 13px; font-weight: 500;
}
.a-tb .ti { font-size: 14px; }
.a-tb .ti-chevron-left { color: var(--on); margin-right: 3px; }
.a-tb .norm, .a-tb .alt { position: absolute; left: 34px; right: 12px; top: 0; bottom: 0; display: flex; align-items: center; gap: 7px; transition: opacity .3s, transform .35s var(--ease); }
.a-tb .alt { opacity: 0; transform: translateY(8px); justify-content: space-between; }
.a-tb .alt b { color: var(--on); font-weight: 700; font-size: 13.5px; }
.a-tb.small .norm { opacity: 0; transform: translateY(-8px); }
.a-tb.small .alt { opacity: 1; transform: none; }
.a-tile.big b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.glow-a { border-color: rgba(217, 119, 6, .38); box-shadow: 0 6px 16px rgba(217, 119, 6, .16); }
.a-tb.plain { color: var(--on); font-weight: 600; font-size: 14.5px; }
.a-body { position: absolute; left: 0; right: 0; bottom: 0; top: 64px; overflow: hidden; scrollbar-width: none; }
.a-body::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .a-body { overflow-y: auto; } }

/* the band */
.a-band { background: var(--navy); color: var(--on); padding: 6px 12px 12px; }
.a-lab {
  font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-soft);
}
.a-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.a-fig { font-size: 29px; font-weight: 800; letter-spacing: -.01em; color: var(--on); line-height: 1.15; margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.a-cap { font-size: 10.4px; color: var(--on-soft); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.a-pill { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 999px; color: #fff; background: var(--green); line-height: 1.4; }
.a-pill.big { font-size: 10.5px; padding: 3px 9px; }
.a-period {
  border: 1px solid rgba(226, 232, 240, .3); border-radius: 8px; padding: 5px 9px;
  font-size: 11px; color: var(--on); display: inline-flex; align-items: center; gap: 6px;
}
.a-period .ti { font-size: 10px; }
.a-chart { display: block; margin: 10px 0 0; overflow: visible; }
.a-chart .ln { fill: none; stroke: #e2e8f0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.a-chart .was { fill: none; stroke: #7f93a8; stroke-width: 1.2; stroke-dasharray: 3 3; }
.a-chart .pt { fill: var(--navy); stroke: #e2e8f0; stroke-width: 1.4; }
.a-chart .now { fill: #e9eef4; stroke: #e9eef4; }
.a-chart .ax { stroke: rgba(226, 232, 240, .16); stroke-width: 1; }
.a-chart text { font-family: Inter, sans-serif; font-size: 7.6px; fill: #93a9bf; }
.a-chart text.on { fill: var(--on); font-weight: 600; }
.a-foot { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: .04em; color: var(--on-soft); margin-top: 6px; display: flex; justify-content: space-between; }
.a-three { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(226, 232, 240, .14); padding-top: 9px; margin-top: 9px; }
.a-three span { display: block; font-size: 9.6px; color: var(--on-soft); }
.a-three b { display: block; font-size: 12.4px; font-weight: 600; color: var(--on); margin-top: 2px; }

/* the page under the band */
.a-pg { padding: 10px 12px 64px; }
.a-sl {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--soft); margin: 14px 1px 6px;
}
.a-sl .lk { font-family: Inter, sans-serif; letter-spacing: 0; text-transform: none; font-size: 10.4px; color: var(--teal); }
.a-sl.warn { color: var(--amber); }
.a-card {
  background: linear-gradient(135deg, #fff 30%, #f2f5f8);
  border: 1px solid var(--line); border-radius: 13px;
}
.glow-t { border-color: rgba(66, 125, 140, .38); box-shadow: 0 6px 16px rgba(66, 125, 140, .16); }
.glow-g { border-color: rgba(196, 154, 92, .45); box-shadow: 0 6px 16px rgba(196, 154, 92, .18); }
.a-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.a-tile { padding: 8px 9px; }
.a-tile .a-lab { color: var(--soft); font-size: 8.2px; }
.a-tile b { display: block; font-size: 12.4px; font-weight: 600; margin-top: 3px; }
.a-tile > span:not(.a-lab) { font-size: 9.4px; color: var(--soft); }
.amber { color: var(--amber) !important; }
.a-month { padding: 10px 11px; margin-top: 7px; }
.a-month .mf { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.a-month .mf b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.a-month .mf .note { font-size: 10.4px; color: var(--soft); }
.a-month .mc { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 7px; }
.a-month .mc span { display: block; font-size: 9.4px; color: var(--soft); }
.a-month .mc b { display: block; font-size: 12.4px; font-weight: 600; margin-top: 1px; }
.a-month .mfoot { font-size: 10px; color: var(--soft); margin-top: 6px; }

/* Needs you */
.a-needs { border-left: 4px solid #2f5fb0; overflow: hidden; box-shadow: 0 6px 16px rgba(47, 95, 176, .12); border-color: rgba(47, 95, 176, .3); border-left-color: #2f5fb0; }
.a-nr { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.a-nr + .a-nr { border-top: 1px solid var(--line); }
.a-nr .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex: none; }
.a-nr .t { font-size: 10.4px; }
.a-nr .s { font-size: 8.8px; color: var(--soft); }
.a-nr .x { margin-left: auto; color: var(--soft); font-size: 10px; }

/* rows with a colour block (best sellers, stock) */
.a-rows { overflow: hidden; }
.a-rr { display: flex; min-height: 44px; }
.a-rr + .a-rr { border-top: 1px solid var(--line); }
.a-rr .edge { width: 25px; flex: none; background: var(--h); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.a-rr .bd { flex: 1; padding: 7px 9px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.a-rr .nm { font-size: 11px; }
.a-rr .sub { font-size: 9px; color: var(--soft); }
.a-rr .rt { padding: 7px 10px 7px 4px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 3px; font-size: 10.6px; font-weight: 600; }
.a-made { font-size: 8.4px; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 1px 7px; }

/* P2: every entry its own card, glowing in its item's colour */
.a-p2 {
  --h: var(--teal);
  display: flex; align-items: stretch; margin-top: 6px; overflow: hidden;
  background: linear-gradient(135deg, #fff 30%, #f4f7f9);
  border: 1px solid color-mix(in srgb, var(--h) 40%, #fff); border-radius: 12px;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--h) 18%, transparent);
}
.a-p2 .bar { width: 4px; background: var(--h); flex: none; }
.a-p2 .bd { flex: 1; padding: 8px 9px; min-width: 0; }
.a-p2 .ld { font-size: 10.4px; font-weight: 500; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.a-p2 .ld .ti { color: var(--h); font-size: 11px; }
.a-p2 .ld i.q { font-style: normal; color: var(--soft); }
.a-p2 .l2 { font-size: 8.8px; color: var(--soft); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.a-p2 .tag { background: var(--teal-l); color: var(--teal); border-radius: 5px; padding: 0 5px; font-size: 8.6px; }
.a-p2 .am { padding: 8px 10px 8px 4px; text-align: right; font-size: 11.5px; font-weight: 600; display: flex; flex-direction: column; justify-content: center; }
.a-p2 .am small { display: block; font-size: 9.6px; font-weight: 500; color: var(--amber); margin-top: 1px; }
.m-in { color: var(--green); }
.m-out { color: var(--red); }

/* report: running low, credit given, ranked cards */
.a-li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; }
.a-li .disc { width: 26px; height: 26px; border-radius: 50%; background: #fbe8d2; color: var(--amber); display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.a-li .t { font-size: 10.8px; }
.a-li .s { font-size: 8.8px; color: var(--soft); }
.a-li .r { margin-left: auto; font-size: 11px; font-weight: 600; }
.a-rk {
  --h: var(--teal);
  position: relative; margin-top: 6px; padding: 8px 10px 9px 13px; overflow: hidden;
  background: linear-gradient(135deg, #fff 30%, #f4f7f9);
  border: 1px solid color-mix(in srgb, var(--h) 40%, #fff); border-radius: 12px;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--h) 16%, transparent);
}
.a-rk::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--h); }
.a-rk .r1 { display: flex; justify-content: space-between; align-items: center; }
.a-rk .nm { font-size: 11px; }
.a-rk .sub { font-size: 9px; color: var(--soft); }
.a-rk .amt { font-size: 11px; font-weight: 600; }
.a-rk .trk { height: 3px; border-radius: 2px; background: var(--line); margin-top: 6px; margin-right: 34px; overflow: hidden; }
.a-rk .trk i { display: block; height: 100%; width: 0; background: var(--h); border-radius: 2px; transition: width 1.1s var(--ease); }

/* the tab bar and the + */
.a-tabs {
  position: absolute; bottom: 0; left: 0; right: 0; height: 48px; background: #fff;
  border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr);
  padding-bottom: 5px; z-index: 6;
}
.a-tabs span { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 9.4px; color: var(--soft); gap: 1px; }
.a-tabs .ti { font-size: 15px; }
.a-tabs .on { color: var(--teal); }
.a-fab {
  position: absolute; right: 12px; bottom: 58px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 21px; z-index: 6;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(66, 125, 140, .55);
}
.a-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(66, 125, 140, .45); animation: fabglow 2.6s infinite;
}
@keyframes fabglow { 70% { box-shadow: 0 0 0 14px rgba(66, 125, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(66, 125, 140, 0); } }

/* the logging form */
.a-fbar { position: relative; z-index: 5; background: var(--navy); height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--on); font-size: 14.5px; font-weight: 600; }
.a-fbar .ti { font-size: 15px; }
.a-fbar .g { margin-left: auto; color: var(--gold); font-size: 11px; font-weight: 500; }
.a-fband { position: relative; z-index: 5; background: var(--navy); padding: 2px 12px 12px; margin-top: -1px; }
.a-served { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--soft); margin: 2px 0 7px 10px; }
.a-served i.d { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.a-item { padding: 8px; background: #fff; }
.a-cat { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--page); }
.a-cat .ic { width: 22px; height: 22px; border-radius: 7px; background: #dcf2e3; color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 12px; flex: none; }
.a-cat .t { font-size: 11px; }
.a-cat .s { font-size: 9.2px; color: var(--soft); }
.a-cat .ti-chevron-down { margin-left: auto; color: var(--soft); font-size: 11px; }
.a-help { display: flex; gap: 6px; align-items: center; margin-top: 6px; background: #eff4f6; border-radius: 8px; padding: 6px 8px; font-size: 9.8px; color: var(--soft); }
.a-help .ti { color: var(--teal); font-size: 11px; }
.a-amt { margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px 9px; transition: border-color .3s, box-shadow .3s; }
.a-amt.on { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(66, 125, 140, .12); }
.a-amt > span { display: block; font-size: 9.6px; color: var(--soft); }
.a-amt b { display: block; font-size: 13px; font-weight: 600; color: var(--text); min-height: 17px; }
.a-ltot { text-align: right; font-size: 10.4px; color: var(--soft); margin-top: 5px; }
.a-add { margin-top: 7px; height: 34px; border: 1px dashed var(--teal); border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--teal); font-size: 11px; }
.a-flab { font-size: 11.4px; margin: 4px 1px 6px; }
.a-search { margin-top: 7px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: flex; align-items: center; gap: 7px; padding: 0 10px; color: var(--soft); font-size: 11px; }
.a-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.a-modes.four { grid-template-columns: repeat(4, 1fr); margin-top: 7px; }
.a-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.a-c {
  height: 31px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 0 10px; font-size: 10.4px; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .2s var(--spring);
}
.a-modes.four .a-c { padding: 0 4px; }
.a-c.fill { background: var(--teal); border-color: var(--teal); color: #fff; }
.a-c.soft { background: #e3edf0; border-color: var(--teal); color: var(--teal); }
.a-c.dash { border: 1px dashed var(--teal); color: var(--teal); }
.a-c.tap { transform: scale(.9); }
.a-links { display: flex; gap: 14px; color: var(--teal); font-size: 11px; align-items: center; }
.a-savebar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--page); border-top: 1px solid var(--line); padding: 9px 12px 14px; }
.a-save {
  height: 37px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 600; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(66, 125, 140, .35);
  transition: transform .18s var(--ease), box-shadow .3s;
}
.a-save.tap { transform: scale(.95); box-shadow: 0 4px 10px rgba(66, 125, 140, .3); }
.a-toast {
  position: absolute; left: 14px; right: 14px; bottom: 70px; z-index: 7;
  background: var(--navy); color: var(--on); border-radius: 14px; padding: 10px 12px;
  display: flex; align-items: center; gap: 9px; font-size: 11px;
  box-shadow: 0 14px 30px rgba(18, 38, 60, .35);
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .35s var(--ease), transform .45s var(--spring);
}
.a-toast.show { opacity: 1; transform: none; }
.a-toast .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.a-toast b { display: block; font-size: 11.5px; color: #fff; }
.a-toast div > span { color: var(--on-soft); font-size: 9.8px; }
.a-caret { display: inline-block; width: 1px; height: 13px; background: var(--teal); margin-left: 1px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* credit book (live, 2026-10-21): the Owes you chip, two tiles, person pills
   glowing in the person's colour */
.a-chipw { display: inline-flex; align-items: center; gap: 6px; height: 29px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 11px; color: var(--text); }
.a-chipw .ti { font-size: 10px; }
.a-pp {
  --p: #c2416b;
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; margin-top: 7px;
  background: linear-gradient(135deg, #fff 30%, #f4f6f8);
  border: 1px solid color-mix(in srgb, var(--p) 40%, #fff);
  border-radius: 12px; box-shadow: 0 6px 14px color-mix(in srgb, var(--p) 16%, transparent);
  transition: border-color .4s, box-shadow .4s;
}
.a-pp .av { width: 25px; height: 25px; border-radius: 50%; background: color-mix(in srgb, var(--p) 14%, #fff); color: var(--p); display: flex; align-items: center; justify-content: center; font-size: 10px; flex: none; }
.a-pp .nm { font-size: 10.6px; }
.a-pp .sub { font-size: 9.6px; color: var(--soft); }
.a-pp .rt { margin-left: auto; text-align: right; }
.a-pp .rt b { display: block; color: var(--amber); font-size: 10.6px; font-weight: 500; }
.a-pp .rt > span { font-size: 9.6px; color: var(--soft); }
.a-pp .ti-chevron-right { color: var(--soft); font-size: 11px; }
.a-pp.paid { border-color: var(--green); box-shadow: 0 6px 18px rgba(22, 163, 74, .3); }

/* things inside a screen that come in one by one */
.step { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--spring); }
.step.on { opacity: 1; transform: none; }
.draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 1.4s var(--ease); }
.draw.on { stroke-dashoffset: 0; }
.pop { transform: scale(0); transform-origin: center; transform-box: fill-box; transition: transform .4s var(--spring); }
.pop.on { transform: scale(1); }

/* ---------- feature rows ---------- */
.feat { position: relative; padding: 76px 0; border-top: 1px solid var(--line); overflow: hidden; }
.feat.alt { background: var(--page); }
.feat .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feat.flip .txt { order: 2; }
@media (max-width: 900px) {
  .feat { padding: 56px 0; }
  .feat .wrap { grid-template-columns: 1fr; gap: 36px; }
  .feat.flip .txt { order: 0; }
}
.feat .stage { position: relative; justify-self: center; }
.feat .n {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-l); color: #7a5f38; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; box-shadow: 0 0 0 6px rgba(196, 154, 92, .12);
}
.feat h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 900; letter-spacing: -.028em; color: var(--ink); margin: 16px 0 0; line-height: 1.08; }
.feat p { font-size: 18px; color: var(--soft); margin: 14px 0 0; max-width: 470px; }
.feat ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feat li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--text); font-size: 16px; }
.feat li .ti { color: #fff; background: var(--teal); border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; margin-top: 1px; box-shadow: 0 4px 10px rgba(66, 125, 140, .35); }

/* ---------- who it's for ---------- */
.who { padding: 76px 0; border-top: 1px solid var(--line); }
.who .mono { display: block; text-align: center; color: var(--soft); }
.who h2 { text-align: center; font-size: clamp(30px, 4.2vw, 44px); font-weight: 900; letter-spacing: -.028em; color: var(--ink); margin: 10px 0 0; }
.who p.sub { text-align: center; color: var(--soft); font-size: 17px; margin: 10px auto 0; max-width: 560px; }
.grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 32px; }
@media (max-width: 900px) { .grid6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .grid6 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.k {
  position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 20px 10px 18px; text-align: center;
  background: linear-gradient(160deg, #fff 40%, color-mix(in srgb, var(--c) 6%, #fff));
  transition: transform .3s var(--spring), box-shadow .3s, border-color .3s;
}
.k:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 14px 30px color-mix(in srgb, var(--c) 25%, transparent); }
.k .ic {
  width: 52px; height: 52px; margin: 0 auto; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 27px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 22%, transparent);
}
.k b { display: block; margin-top: 10px; font-size: 15px; color: var(--ink); }
.k > span:not(.ic) { display: block; font-size: 13px; color: var(--soft); margin-top: 2px; line-height: 1.4; }

/* ---------- closing band ---------- */
.cta { position: relative; background: var(--navy); color: #fff; padding: 76px 0; text-align: center; overflow: hidden; }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none; }
.cta::before { width: 420px; height: 420px; background: var(--teal); left: -80px; top: -120px; animation: drift 13s ease-in-out infinite alternate; }
.cta::after { width: 360px; height: 360px; background: var(--gold); right: -60px; bottom: -160px; opacity: .25; animation: drift 10s ease-in-out infinite alternate-reverse; }
.cta .wrap { position: relative; z-index: 1; }
.cta img { height: 64px; margin: 0 auto 22px; }
.cta h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 900; letter-spacing: -.028em; margin: 0; }
.cta p { color: var(--on-soft); font-size: 18px; margin: 12px auto 0; max-width: 560px; }
.cta .btns { justify-content: center; }
.cta .btn.ink { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(90, 163, 180, .35); }
.cta .btn.ink:hover { box-shadow: 0 12px 38px rgba(90, 163, 180, .6); }
.cta .btn.line { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
.cta .btn.line small { color: var(--on-soft); }
.cta .priv { margin-top: 24px; font-size: 14px; color: var(--on-soft); display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta .priv a { color: #bfe0e8; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.foot { padding: 28px 0; color: var(--soft); font-size: 14px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot .logo img { height: 34px; }
.foot a:not(.logo) { color: var(--soft); }
.foot a:not(.logo):hover { color: var(--teal); }
.foot .c { margin-left: auto; }
@media (max-width: 600px) { .foot .c { margin-left: 0; width: 100%; } }

/* ---------- the policy pages ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 30; background: linear-gradient(90deg, var(--teal), var(--gold)); box-shadow: 0 0 10px rgba(66, 125, 140, .6); }
.doc-head { padding: 52px 0 8px; position: relative; overflow: hidden; }
.doc-head .blob.t { width: 320px; height: 320px; right: 6%; top: -60px; opacity: .35; }
.doc-head .inner { position: relative; max-width: 1028px; margin: 0 auto; padding: 0 20px 0 288px; }
.doc-head h1 { font-size: clamp(40px, 6.5vw, 62px); line-height: 1.04; font-weight: 900; letter-spacing: -.035em; color: var(--ink); margin: 16px 0 0; }
.doc-head h1 em { font-style: normal; color: var(--teal); }
.doc-head .meta { color: var(--soft); font-size: 15px; margin: 12px 0 0; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 48px; justify-content: center; padding: 12px 20px 72px; }
@media (max-width: 1000px) {
  .doc { grid-template-columns: minmax(0, 760px); }
  .doc .toc { display: none; }
  .doc-head .inner { max-width: 800px; padding: 0 20px; }
}
.toc { position: sticky; top: 86px; align-self: start; padding-top: 22px; }
.toc .label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.toc .label { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); color: var(--soft); font-size: 14px; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.here { color: var(--teal); border-left-color: var(--teal); font-weight: 600; }
.short {
  background: var(--gold-l); border-left: 4px solid var(--gold); border-radius: 4px 16px 16px 4px;
  padding: 20px 22px; margin: 18px 0 10px; box-shadow: 0 10px 26px rgba(196, 154, 92, .14);
}
.short .label { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #7a5f38; }
.short ul { list-style: none; margin: 10px 0 0; padding: 0; }
.short li { display: flex; gap: 10px; padding: 5px 0; font-size: 16.5px; color: var(--ink); }
.short li::before { content: '\ea5e'; font-family: 'tabler-icons'; color: var(--green); font-size: 19px; line-height: 1.5; }
article section { padding: 26px 0 4px; border-top: 1px solid var(--line); margin-top: 22px; }
article h2 { font-size: 24px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); margin: 0; display: flex; align-items: baseline; gap: 12px; }
article h2 .no { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: var(--teal); background: var(--teal-l); border-radius: 8px; padding: 2px 8px; }
article p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.65; }
article ul, article ol { margin: 10px 0 0; padding-left: 22px; font-size: 16.5px; line-height: 1.65; }
article li { margin: 6px 0; }
article strong { font-weight: 600; color: var(--ink); }
article a { text-decoration: underline; text-underline-offset: 3px; }
article table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
article th, article td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
article th { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); font-weight: 500; border-top: 0; background: var(--page); }
article td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- reveal once ---------- */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.from-l { opacity: 0; transform: translateX(-40px) rotate(-2deg); transition: opacity .9s var(--ease), transform 1s var(--spring); }
.from-r { opacity: 0; transform: translateX(40px) rotate(2deg); transition: opacity .9s var(--ease), transform 1s var(--spring); }
.from-l.in, .from-r.in { opacity: 1; transform: none; }
.hero .phone { transform: rotate(3deg); }
.hero .phone.rise { transform: translateY(30px) rotate(3deg); }
.hero .phone.rise.in { transform: rotate(3deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .from-l, .from-r, .step, .pop { opacity: 1 !important; transform: none !important; }
  .hero .phone.rise { transform: rotate(3deg) !important; }
  .draw { stroke-dashoffset: 0 !important; }
}
