/* =========================================================
   de-records marketing site — plain CSS, no framework
   Brand colours taken from the de-records app
   ========================================================= */

:root {
  --olive-950: #1a2310;
  --olive-900: #26390a;
  --olive-800: #344d06;   /* de-records brand green (logo) */
  --olive-700: #44620c;
  --olive-500: #6e8a2e;
  --olive-200: #c9cdb0;
  --olive-100: #eef1df;

  --cream-50:  #fdfdf7;
  --cream-100: #fbfaf0;   /* de-records cream (logo/sign-in) */
  --cream-200: #f1efe0;
  --line:      #e7e5d2;

  --ink:       #1a2310;
  --ink-soft:  #5b6450;
  --ink-mute:  #7a8270;

  --amber:     #f0b33b;
  --amber-600: #d6971d;
  --red:       #b4432e;
  --red-bg:    #fbe9e4;
  --green-bg:  #e6f2d6;
  --amber-bg:  #fdf1d6;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(28, 39, 6, .06), 0 2px 8px rgba(28, 39, 6, .05);
  --shadow:    0 10px 30px -10px rgba(28, 39, 6, .25), 0 2px 6px rgba(28, 39, 6, .06);
  --shadow-lg: 0 30px 60px -20px rgba(15, 22, 3, .45);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: inherit;
}
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.3em;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55em 1em; font-size: .92rem; border-radius: 10px; }
.btn-lg { padding: 1em 1.5em; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--olive-800); color: var(--cream-100); }
.btn-primary:hover { background: var(--olive-700); box-shadow: var(--shadow); }
.btn-accent { background: var(--amber); color: var(--olive-950); }
.btn-accent:hover { background: #f5c25a; box-shadow: 0 10px 24px -8px rgba(240,179,59,.6); }
.btn-ghost { background: transparent; color: var(--olive-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--olive-800); }
.btn-outline-light { background: transparent; color: var(--cream-100); border-color: rgba(248,246,234,.4); }
.btn-outline-light:hover { border-color: var(--cream-100); background: rgba(248,246,234,.06); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 246, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(28,39,6,.2); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--olive-800); }
.brand img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-actions { display: flex; gap: 8px; margin-left: 6px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--olive-800); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.eyebrow.dark { color: var(--olive-700); }
.eyebrow.dark::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--amber); vertical-align: middle; margin-right: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, var(--olive-700) 0%, transparent 60%), var(--olive-800);
  color: var(--cream-100);
  padding: 72px 0 0;
}
.hero-rings, .hero-rings::before, .hero-rings::after {
  position: absolute; border-radius: 50%; border: 1.5px solid rgba(248,246,234,.10); pointer-events: none;
}
.hero-rings { width: 760px; height: 760px; right: -220px; top: -260px; }
.hero-rings::before { content: ""; inset: 110px; }
.hero-rings::after { content: ""; inset: 220px; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-bottom: 88px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; margin-bottom: 22px; color: var(--cream-50); }
.hero h1 .hl { color: var(--amber); display: block; }
.lead { font-size: 1.15rem; color: rgba(248,246,234,.85); max-width: 36em; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(248,246,234,.8); font-size: .95rem; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; }
.reassure li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2310' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; flex: none; }

/* Device mockup */
.hero-visual { position: relative; }
.device {
  background: var(--cream-50); color: var(--ink);
  border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden; transform: rotate(1.2deg);
  border: 1px solid rgba(255,255,255,.4);
}
.device-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--cream-200); border-bottom: 1px solid var(--line); }
.device-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d8d4bd; }
.device-bar em { font-style: normal; font-size: .75rem; color: var(--ink-mute); margin-left: 10px; background: var(--cream-50); padding: 3px 10px; border-radius: 6px; flex: 1; }
.app { padding: 20px; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.app-top small { display: block; color: var(--ink-mute); font-size: .78rem; }
.app-top strong { font-family: var(--font-display); font-size: 1.25rem; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip-live { background: var(--green-bg); color: var(--olive-800); }
.chip-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4c9a16; animation: pulse 1.8s infinite; }
.chip-paid { background: var(--green-bg); color: var(--olive-800); }
.chip-part { background: var(--amber-bg); color: #8a5a00; }
.chip-owing { background: var(--red-bg); color: var(--red); }
.chip-soft { background: var(--olive-100); color: var(--olive-800); }

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.stat { background: var(--cream-100); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat small { display: block; font-size: .76rem; color: var(--ink-mute); }
.stat strong { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.02em; }
.stat .money { color: var(--olive-800); }
.stat .owing { color: var(--red); }

.progress { height: 10px; background: var(--cream-200); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--olive-700), var(--olive-500)); border-radius: inherit; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.progress.go span { width: var(--w); }
.progress-label { font-size: .78rem; color: var(--ink-mute); margin: 6px 0 14px; }

.pay-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pay-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pay-list li > div { flex: 1; min-width: 0; }
.pay-list b { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-list small { display: block; font-size: .75rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-new { animation: highlight 2.4s ease 1.6s both; }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--olive-100); color: var(--olive-800); }
.avatar.a2 { background: var(--amber-bg); color: #8a5a00; }
.avatar.a3 { background: var(--red-bg); color: var(--red); }

.toast {
  position: absolute; left: -28px; bottom: -44px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .6s cubic-bezier(.2,.8,.2,1) 1.2s both;
}
.toast b { display: block; font-size: .92rem; }
.toast small { color: var(--ink-mute); font-size: .76rem; }
.toast-dot { width: 34px; height: 34px; border-radius: 10px; background: var(--olive-800); position: relative; flex: none; }
.toast-dot::after { content: "₦"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--amber); font-weight: 800; }

/* Ticker */
.ticker { background: var(--olive-950); border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.ticker-track span { color: rgba(248,246,234,.75); font-weight: 500; white-space: nowrap; font-size: .95rem; }
.ticker-track span { display: inline-flex; align-items: center; gap: 12px; }
.ticker-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-cream { background: var(--cream-100); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; color: var(--olive-900); }
.section-head .sub { font-size: 1.1rem; color: var(--ink-soft); }

/* ---------- Problem ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pain-card h3 { font-size: 1.4rem; color: var(--olive-900); }
.pain-card > p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.pain-when { align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); background: var(--red-bg); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

.chat { background: #ece5dd; border-radius: 14px; padding: 14px; margin-bottom: 18px; display: grid; gap: 6px; }
.msg { margin: 0; max-width: 85%; font-size: .86rem; line-height: 1.4; padding: 7px 11px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg.in { background: #fff; justify-self: start; border-top-left-radius: 2px; }
.msg.out { background: #d9fdd3; justify-self: end; border-top-right-radius: 2px; }

.calc { background: var(--olive-950); color: var(--cream-100); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .85rem; }
.calc-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.calc-row:last-child { border: 0; }
.calc-row.bad b { color: #ff9b85; }
.calc-row b { color: var(--amber); }

.register { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; background: #faf6e3; background-image: repeating-linear-gradient(transparent 0 23px, #d8e4f1 23px 24px); border-radius: 14px; padding: 16px 12px; margin-bottom: 18px; border-left: 3px solid #e7a0a0; }
.register div { text-align: center; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.register i { display: grid; place-items: center; margin: 8px auto 0; width: 30px; height: 30px; border-radius: 8px; font-style: normal; font-weight: 800; }
.register i.ok { background: var(--green-bg); }
.register i.ok::after { content: "✓"; color: var(--olive-800); }
.register i.no { background: var(--red-bg); }
.register i.no::after { content: "✕"; color: var(--red); }
.register i.q { background: var(--amber-bg); color: #8a5a00; }

/* Compare */
.compare { margin-top: 64px; background: var(--olive-800); border-radius: var(--radius-lg); padding: 36px; color: var(--cream-100); }
.compare-toggle { display: inline-flex; background: rgba(0,0,0,.2); border-radius: 14px; padding: 5px; margin-bottom: 32px; flex-wrap: wrap; }
.compare-toggle button { background: transparent; border: 0; color: rgba(248,246,234,.75); padding: 10px 18px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.compare-toggle button[aria-selected="true"] { background: var(--cream-100); color: var(--olive-900); }
.compare-toggle button[data-mode="without"][aria-selected="true"] { background: #fff1ed; color: var(--red); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: rgba(248,246,234,.18); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--olive-800); border: 3px solid var(--amber); transition: border-color .3s; }
.timeline[data-mode="without"] li::before { border-color: #ff9b85; }
.tl-week { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.timeline p { margin: 0; color: rgba(248,246,234,.85); font-size: .95rem; animation: fadeUp .35s ease both; }
.timeline[data-mode="without"] .t-with,
.timeline[data-mode="with"] .t-without { display: none; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; }
.step h3 { font-size: 1.35rem; color: var(--olive-900); }
.step p { color: var(--ink-soft); margin: 0; }
.step-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--olive-800); color: var(--amber); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin-bottom: 20px; }

/* ---------- Features ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); padding-top: 72px; margin-top: 32px; }
.feature-flip .feature-copy { order: 2; }
.feature-tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--olive-800); background: var(--olive-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.feature h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); color: var(--olive-900); font-weight: 800; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--olive-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbfaf0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

.feature-visual { position: relative; }
.feature-visual::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; background: var(--olive-100); border-radius: 32px; z-index: -1; transform: rotate(-2deg); }

.card-ui { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.ui-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.ui-head strong { font-family: var(--font-display); font-size: 1.05rem; }
.fee-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fee-table td { padding: 12px 6px; border-bottom: 1px solid var(--cream-200); }
.fee-table td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.tag { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.tag-c { background: var(--olive-100); color: var(--olive-800); }
.tag-o { background: var(--amber-bg); color: #8a5a00; }
.ui-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px; background: var(--olive-800); color: var(--cream-100); border-radius: 12px; }
.ui-foot b { font-family: var(--font-display); font-size: 1.2rem; color: var(--amber); }

.report { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 22px; border-top: 6px solid var(--olive-800); font-size: .88rem; }
.report-head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--olive-800); margin-bottom: 12px; }
.report-head strong { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .02em; color: var(--olive-900); }
.report-head small { color: var(--ink-mute); font-style: italic; }
.crest { width: 48px; height: 48px; border-radius: 50%; background: var(--olive-800); color: var(--amber); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); border: 3px double var(--amber); }
.report-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-soft); margin-bottom: 12px; font-size: .84rem; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); padding: 8px 6px; background: var(--cream-100); }
.report-table td { padding: 9px 6px; border-bottom: 1px solid var(--cream-200); font-variant-numeric: tabular-nums; }
.report-table th:not(:first-child), .report-table td:not(:first-child) { text-align: center; }
.g { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-weight: 800; font-size: .8rem; }
.g-a { background: var(--green-bg); color: var(--olive-800); }
.g-b { background: var(--amber-bg); color: #8a5a00; }
.report-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.report-foot div { background: var(--olive-100); border-radius: 10px; padding: 10px; text-align: center; }
.report-foot small { display: block; color: var(--ink-mute); font-size: .72rem; }
.report-foot b { font-family: var(--font-display); font-size: 1.05rem; color: var(--olive-900); }

.phone { width: min(320px, 100%); margin-inline: auto; background: var(--olive-950); border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone-notch { width: 90px; height: 22px; background: var(--olive-950); border-radius: 0 0 14px 14px; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone-screen { background: var(--cream-50); border-radius: 30px; padding: 40px 16px 20px; }
.att-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.att-list li { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .9rem; font-weight: 500; }
.att { border: 0; border-radius: 8px; padding: 6px 10px; font-size: .78rem; font-weight: 700; cursor: pointer; background: var(--red-bg); color: var(--red); min-width: 74px; transition: background .2s, color .2s; }
.att.on { background: var(--green-bg); color: var(--olive-800); }
.att-hint { text-align: center; font-size: .75rem; color: var(--ink-mute); margin: 12px 0 0; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 88px; }
.mini { background: var(--cream-100); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, background .2s; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: #fff; }
.mini h4 { font-size: 1.12rem; color: var(--olive-900); margin-top: 14px; }
.mini p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.mini-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--olive-100); color: var(--olive-800); border: 1px solid var(--olive-200); }
.mini-icon svg { width: 24px; height: 24px; }
.mini:hover .mini-icon { background: var(--olive-800); color: var(--cream-100); border-color: var(--olive-800); }

/* ---------- Numbers ---------- */
.numbers { background: var(--olive-900); color: var(--cream-100); padding: 64px 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num { border-left: 2px solid var(--amber); padding-left: 20px; }
.num strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--amber); letter-spacing: -0.03em; line-height: 1.05; }
.num span { color: rgba(248,246,234,.8); font-size: .98rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.pricing-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; color: var(--olive-900); }
.pricing-copy .sub { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 28px; }

.calc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); position: relative; }
.calc-card::before { content: "First term free"; position: absolute; top: -14px; right: 24px; background: var(--amber); color: var(--olive-950); font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; }
.price-tag { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.price { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; color: var(--olive-800); letter-spacing: -0.03em; }
.per { color: var(--ink-mute); }
.calc-label { display: block; font-weight: 600; margin-bottom: 12px; }
.slider-row { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.slider-row input[type="range"] { flex: 1; accent-color: var(--olive-800); height: 6px; }
.slider-row input[type="number"] { width: 96px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; font-weight: 700; background: var(--cream-50); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.calc-result div { background: var(--cream-100); border-radius: 12px; padding: 14px 16px; }
.calc-result small { display: block; color: var(--ink-mute); font-size: .8rem; }
.calc-result strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--olive-900); font-variant-numeric: tabular-nums; }
.calc-note { font-size: .82rem; color: var(--ink-mute); margin-bottom: 22px; }

/* ---------- Parents ---------- */
.parents { background: var(--olive-800); color: var(--cream-100); padding: 56px 0; }
.parents-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.parents h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--cream-50); }
.parents p { color: rgba(248,246,234,.82); max-width: 40em; margin: 0; }
.parents-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--olive-200); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; color: var(--olive-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--olive-100); color: var(--olive-800); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; transition: transform .25s, background .2s; }
.faq details[open] summary::after { content: "–"; background: var(--olive-800); color: var(--amber); }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* ---------- Demo ---------- */
.demo { position: relative; overflow: hidden; background: var(--olive-950); color: var(--cream-100); padding: 104px 0; }
.rings-sm { width: 600px; height: 600px; left: -240px; bottom: -280px; right: auto; top: auto; }
.demo-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.demo-copy h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; color: var(--cream-50); }
.demo-copy > p { color: rgba(248,246,234,.82); font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: rgba(248,246,234,.85); }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { width: 20px; height: 20px; flex: none; color: var(--amber); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--amber); }

.demo-form { background: var(--cream-50); color: var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.demo-form h3 { font-size: 1.5rem; color: var(--olive-900); margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 600; font-size: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--olive-800); box-shadow: 0 0 0 4px rgba(52,77,6,.14); }
.field input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(180,67,46,.1); }
.phone-input { display: flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.phone-input:focus-within { border-color: var(--olive-800); box-shadow: 0 0 0 4px rgba(52,77,6,.14); }
.phone-input span { padding: 12px; background: var(--cream-100); font-weight: 600; color: var(--ink-soft); border-right: 1.5px solid var(--line); }
.phone-input input { border: 0; border-radius: 0; box-shadow: none !important; }
.form-msg { margin: 12px 0 0; font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok { color: var(--olive-800); }
.form-msg.err { color: var(--red); }
.form-note { font-size: .8rem; color: var(--ink-mute); margin: 6px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-100); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--ink-soft); margin: 14px 0 6px; max-width: 26em; }
.footer-brand .built { font-size: .9rem; color: var(--ink-mute); }
.site-footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; }
.site-footer .footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.site-footer .footer-grid a:not(.brand) { text-decoration: none; color: var(--ink-soft); font-size: .95rem; cursor: pointer; }
.site-footer .footer-grid a:not(.brand):hover { color: var(--olive-800); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; line-height: 1.6; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-mute); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes highlight { 0% { background: #fff; } 30% { background: var(--green-bg); border-color: var(--olive-200); } 100% { background: #fff; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .nav-link { font-size: .9rem; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream-50); border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .nav-actions { flex-direction: column; margin: 18px 0 0; }
  .nav-actions .btn { padding: .9em 1em; font-size: 1rem; }

  .hero-grid, .feature, .pricing-grid, .demo-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-grid > *, .feature > *, .pricing-grid > *, .demo-grid > * { min-width: 0; }
  .feature-flip .feature-copy { order: 0; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .pain-grid, .steps { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .timeline::before { display: none; }
  .numbers-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 44px; }
  .hero-grid { padding-bottom: 60px; }
  .hero-ctas .btn { width: 100%; white-space: normal; text-align: center; }
  .device { transform: none; }
  .toast { left: 8px; bottom: -40px; }
  .stat { padding: 10px 12px; }
  .app { padding: 16px; }
  .pay-list .chip { font-size: .68rem; padding: 3px 8px; }
  .stat strong { font-size: 1.15rem; }
  .compare { padding: 24px 18px; }
  .compare-toggle { display: flex; width: 100%; }
  .compare-toggle button { flex: 1; padding: 10px 8px; font-size: .88rem; }
  .timeline { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .feature-visual::before { inset: 6% -2% -4% 4%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .calc-card, .demo-form { padding: 24px 20px; }
  .calc-result strong { font-size: 1.3rem; }
  .parents-actions, .parents-actions .btn { width: 100%; }
  .report { padding: 16px; font-size: .82rem; }
  .report-table td, .report-table th { padding: 7px 4px; }
}

/* =========================================================
   MULTIPAGE ADDITIONS
   ========================================================= */
.i14 { width: 14px; height: 14px; flex: none; }

/* ---------- Nav: links, active state, Features dropdown ---------- */
.nav-link { text-decoration: none; font-weight: 500; color: var(--ink-soft); font-size: .96rem; position: relative; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-dd.is-active > .nav-link { color: var(--olive-800); }
.nav-link[aria-current="page"]::after, .nav-dd.is-active > .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--amber); border-radius: 2px; }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.dd-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 18px); left: -20px; width: 380px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px;
  box-shadow: var(--shadow-lg); display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 981px) {
  .nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }
}
.dd-menu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--cream-100); }
.dd-menu b { display: block; font-size: .95rem; color: var(--olive-900); }
.dd-menu small { display: block; color: var(--ink-mute); font-size: .84rem; line-height: 1.4; }
.menu-icon { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--olive-100); color: var(--olive-800); }
.menu-icon svg { width: 20px; height: 20px; }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 90% -20%, var(--olive-700) 0%, transparent 60%), var(--olive-800); color: var(--cream-100); padding: 80px 0 88px; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero:not(.has-visual) .page-hero-grid > div { max-width: 780px; }
.page-hero.has-visual .page-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; color: var(--cream-50); margin-bottom: 20px; }
.page-hero h1 .hl { color: var(--amber); }
.page-hero .lead { margin-bottom: 28px; }
.page-hero .hero-ctas { margin-bottom: 0; }
.hero-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(251,250,240,.1); border: 1px solid rgba(251,250,240,.18); color: var(--amber); margin-bottom: 20px; }
.hero-icon svg { width: 26px; height: 26px; }
.page-hero-visual { color: var(--ink); }
.page-hero-visual .report, .page-hero-visual .card-ui, .page-hero-visual .check-card, .page-hero-visual .shield-card { box-shadow: var(--shadow-lg); }
.page-hero-visual .phone { box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }

/* ---------- Home: overview cards ---------- */
.overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ov-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(26,35,16,.04), 0 6px 18px -12px rgba(26,35,16,.12); transition: transform .15s, box-shadow .2s, border-color .2s; }
.ov-card:hover { transform: translateY(-3px); border-color: var(--olive-200); box-shadow: var(--shadow); }
.ov-card h3 { font-size: 1.3rem; color: var(--olive-900); margin: 18px 0 8px; }
.ov-card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.ov-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--olive-800); font-size: .93rem; }
.ov-more svg { width: 18px; height: 18px; transition: transform .2s; }
.ov-card:hover .ov-more svg { transform: translateX(4px); }
.ov-card:hover .mini-icon { background: var(--olive-800); color: var(--cream-100); border-color: var(--olive-800); }

/* ---------- Detail grids (sub-features) ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.detail { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.section:not(.section-cream) .detail { background: var(--cream-100); }
.detail:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.detail h4 { font-size: 1.12rem; color: var(--olive-900); margin: 16px 0 8px; }
.detail p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.detail:hover .mini-icon { background: var(--olive-800); color: var(--cream-100); border-color: var(--olive-800); }

/* ---------- Steps variants ---------- */
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.center-cta { text-align: center; margin: 40px 0 0; }

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; }
.role h3 { font-size: 1.12rem; color: var(--olive-900); margin: 16px 0 12px; }
.role ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.role li { font-size: .9rem; color: var(--ink-soft); padding-left: 16px; position: relative; line-height: 1.45; }
.role li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--olive-500); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--olive-950); color: var(--cream-100); padding: 80px 0; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--cream-50); margin-bottom: 10px; }
.cta-band p { color: rgba(251,250,240,.8); margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ page ---------- */
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.faq-nav a { text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--cream-100); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--olive-800); }
.faq-nav a:hover { background: var(--olive-800); color: var(--cream-100); border-color: var(--olive-800); }
.faq-group { margin-bottom: 48px; }
.faq-group h3 { font-size: 1.5rem; color: var(--olive-900); margin-bottom: 18px; }

/* ---------- Contact page ---------- */
.demo-page { padding: 88px 0 104px; }
.demo-copy h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); font-weight: 700; color: var(--cream-50); }
.demo-list { list-style: none; padding: 0; margin: 24px 0 8px; display: grid; gap: 12px; }
.demo-list li { position: relative; padding-left: 32px; color: rgba(251,250,240,.9); }
.demo-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2310' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Mockups ---------- */
.seg { display: flex; gap: 6px; background: var(--cream-100); padding: 4px; border-radius: 12px; margin-bottom: 12px; font-size: .8rem; font-weight: 600; }
.seg span { flex: 1; text-align: center; padding: 7px 4px; border-radius: 9px; color: var(--ink-mute); }
.seg .on { background: #fff; color: var(--olive-800); box-shadow: var(--shadow-sm); }
.bal-list, .reg-status { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
.bal-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.bal-list li > div { flex: 1; min-width: 0; }
.bal-list b { display: block; font-size: .9rem; }
.bal-list small { display: block; font-size: .76rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg-status li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; font-weight: 500; }

.mini-rows { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.mini-rows li { display: flex; justify-content: space-between; gap: 8px; font-size: .84rem; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.mini-rows li span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); min-width: 0; }
.box { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--olive-200); flex: none; }
.box.on { background: var(--olive-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbfaf0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; border-color: var(--olive-800); }
.pay-amt { display: flex; justify-content: space-between; align-items: center; padding: 12px; border: 1.5px solid var(--olive-800); border-radius: 12px; background: #fff; }
.pay-amt small { color: var(--ink-mute); font-size: .78rem; }
.pay-amt b { font-family: var(--font-display); font-size: 1.2rem; color: var(--olive-900); }
.pay-note { font-size: .74rem; color: var(--ink-mute); margin: 8px 0 12px; text-align: center; }

.confirm { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.confirm-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.confirm-top b { font-family: var(--font-display); font-size: 1.05rem; }
.confirm-top small { color: var(--ink-mute); font-size: .8rem; }
.confirm p { font-size: .84rem; color: var(--ink-soft); margin: 6px 0 12px; }
.confirm-actions { display: flex; gap: 8px; }
.ui-note { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--olive-800); background: var(--olive-100); padding: 10px 12px; border-radius: 10px; margin: 4px 0 0; }
.ui-note svg { width: 16px; height: 16px; flex: none; }
.ui-p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 8px; }
.ui-quote { font-size: .9rem; font-style: italic; background: var(--cream-100); border-left: 3px solid var(--amber); padding: 10px 12px; border-radius: 0 10px 10px 0; color: var(--ink-soft); margin-bottom: 14px; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 12px 0; font-size: .86rem; color: var(--ink-soft); flex-wrap: wrap; }
.ui-row .chip { gap: 6px; }
.ok-txt { color: var(--olive-800); }

.receipt { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 24px; border-top: 6px solid var(--olive-800); max-width: 420px; margin-inline: auto; }
.receipt-head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 2px dashed var(--line); margin-bottom: 14px; }
.receipt-head strong { display: block; font-family: var(--font-display); color: var(--olive-900); letter-spacing: .02em; }
.receipt-head small { color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; }
.receipt dl { margin: 0 0 14px; display: grid; gap: 8px; }
.receipt dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; }
.receipt dt { color: var(--ink-mute); }
.receipt dd { margin: 0; font-weight: 600; text-align: right; }
.receipt-amt { background: var(--olive-100); border-radius: 12px; padding: 14px; text-align: center; margin-bottom: 12px; }
.receipt-amt small { display: block; color: var(--ink-mute); font-size: .76rem; }
.receipt-amt b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--olive-900); }
.receipt-amt em { font-size: .8rem; color: var(--ink-soft); }
.receipt-foot { display: flex; justify-content: space-between; font-size: .86rem; padding: 10px 0 14px; border-top: 1px solid var(--line); }

.score-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 4px; }
.score-table th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); padding: 8px 6px; background: var(--cream-100); }
.score-table td { padding: 8px 6px; border-bottom: 1px solid var(--cream-200); font-variant-numeric: tabular-nums; }
.score-table th:not(:first-child), .score-table td:not(:first-child) { text-align: center; }
.score-table i { display: inline-block; min-width: 40px; font-style: normal; padding: 4px 6px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--cream-50); }
.score-table i.focus { border-color: var(--olive-800); box-shadow: 0 0 0 3px rgba(52,77,6,.14); }
.score-table i.empty { color: var(--ink-mute); border-style: dashed; }

.checklist { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: .88rem; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.checklist li svg, .checklist li b { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; padding: 4px; }
.checklist .ok svg { background: var(--green-bg); color: var(--olive-800); }
.checklist .bad { background: var(--red-bg); border-color: #f2cdc4; color: var(--red); }
.checklist .bad b { background: var(--red); color: #fff; font-size: .8rem; padding: 0; }

.lock-screen { width: min(340px, 100%); margin-inline: auto; border-radius: 36px; padding: 40px 16px 28px; background: linear-gradient(170deg, #3d5a10 0%, #1a2310 100%); box-shadow: var(--shadow-lg); color: #fff; }
.ls-time { text-align: center; font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; margin: 0; line-height: 1; }
.ls-date { text-align: center; font-size: .9rem; opacity: .8; margin: 6px 0 24px; }
.notif { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.88); color: var(--ink); border-radius: 18px; padding: 12px; margin-bottom: 8px; backdrop-filter: blur(8px); }
.notif img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.notif div { flex: 1; min-width: 0; }
.notif b { display: block; font-size: .82rem; }
.notif span { display: block; font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }
.notif em { font-style: normal; font-size: .72rem; color: var(--ink-mute); }

.offline-bar { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; background: var(--amber-bg); color: #8a5300; padding: 8px 10px; border-radius: 10px; margin-bottom: 12px; }
.att-tag { font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.att-tag.in { background: var(--green-bg); color: var(--olive-800); }
.att-tag.late { background: var(--amber-bg); color: #8a5300; }
.att-tag.out { background: var(--red-bg); color: var(--red); }
.att-tag.ex { background: #e9eef6; color: #3b4f72; }
.outbox { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .76rem; color: var(--ink-mute); margin: 12px 0 0; }

.check-card { background: var(--cream-100); border-radius: 22px; overflow: hidden; max-width: 400px; margin-inline: auto; box-shadow: var(--shadow); }
.check-band { background: var(--olive-800); padding: 22px 22px 54px; display: flex; align-items: center; gap: 12px; color: var(--cream-50); }
.check-band img { width: 40px; height: 40px; border-radius: 10px; }
.check-band b { font-family: var(--font-display); font-size: 1.4rem; }
.check-body { background: #fff; margin: -36px 16px 16px; border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.check-body label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
.fake-input { display: block; padding: 12px 14px; border: 1.5px solid #d6d9c4; border-radius: 12px; font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; }
.check-body p { font-size: .78rem; color: var(--ink-mute); margin: 0; text-align: center; }

.p-hero { background: var(--olive-800); color: var(--cream-50); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.p-hero small { display: block; opacity: .8; font-size: .76rem; }
.p-hero b { font-family: var(--font-display); font-size: 1.1rem; }
.child { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; margin-bottom: 8px; }
.child > div { flex: 1; min-width: 0; }
.child b { display: block; font-size: .86rem; }
.child small { display: block; font-size: .72rem; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-bar { margin: 6px 2px 14px; }
.term-bar small { display: block; font-size: .74rem; color: var(--ink-mute); margin-bottom: 6px; }

.shield-card { background: #fff; border-radius: 22px; padding: 28px; max-width: 440px; margin-inline: auto; }
.shield-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--olive-800); color: var(--amber); display: grid; place-items: center; margin-bottom: 18px; }
.shield-ico svg { width: 34px; height: 34px; }
.shield-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.shield-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; font-weight: 500; color: var(--ink); }
.shield-card li svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--green-bg); color: var(--olive-800); }

/* ---------- Responsive (multipage) ---------- */
@media (max-width: 1100px) {
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 980px) {
  .nav-dd { border-bottom: 1px solid var(--line); }
  .nav-dd > .nav-link, .main-nav > .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; }
  .main-nav > .nav-link { border-bottom: 1px solid var(--line); }
  .nav-link[aria-current="page"]::after, .nav-dd.is-active > .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { font-weight: 700; }
  .dd-menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .nav-dd.open .dd-menu { display: grid; }
  .page-hero.has-visual .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .overview-grid, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .page-hero { padding: 56px 0 64px; }
  .page-hero .hero-ctas .btn { width: 100%; }
  .overview-grid, .detail-grid, .roles, .steps-4 { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 64px 0; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .receipt, .shield-card { padding: 20px; }
}

.footer-bottom b { font-weight: 600; color: var(--ink-soft); }
.report-head strong, .receipt-head strong { line-height: 1.25; margin-bottom: 4px; }

/* ---------- WhatsApp ---------- */
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #1b944b; box-shadow: 0 10px 24px -8px rgba(31,168,85,.5); }
.btn-wa svg { width: 22px; height: 22px; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1fa855; color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.12);
  transition: transform .15s ease, background .2s ease;
}
.wa-float:hover { transform: translateY(-2px); background: #1b944b; }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: 14px; padding: 14px; }
  .wa-float span { display: none; }
}
@media print { .wa-float { display: none; } }
