:root {
  --paper: #f4f7f5;
  --surface: #ffffff;
  --ink: #16211d;
  --muted: #5f6b66;
  --line: rgba(22, 33, 29, 0.1);
  --accent: #1f8a70;
  --accent-ink: #17735d;
  --tint: rgba(31, 138, 112, 0.1);
  --c1: #e84d3d; /* urgent */
  --c2: #f29b12; /* soon */
  --c3: #1f8a70; /* safe */
  --c4: #3478f6; /* electronics */
  --c5: #5856d6; /* home */
  --radius: 22px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --receipt: #fbfaf6;
  --shadow: 0 30px 60px -20px rgba(22, 33, 29, 0.28), 0 12px 24px -12px rgba(22, 33, 29, 0.18);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1311;
    --surface: #18201d;
    --ink: #eef4f1;
    --muted: #9aa8a2;
    --line: rgba(238, 244, 241, 0.12);
    --accent-ink: #41bf9a;
    --tint: rgba(65, 191, 154, 0.14);
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 12px 24px -12px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 800; }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }
.lang { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line); }
.lang:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 650;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 138, 112, 0.8); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 11px; white-space: nowrap; }
.store-btn { padding: 12px 22px 12px 18px; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; line-height: 1.1; }
.store-btn strong { display: block; font-size: 19px; line-height: 1.1; letter-spacing: -0.01em; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 span { background: linear-gradient(90deg, #41bf9a, var(--accent) 55%, #0d5c4a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-note { color: var(--muted); font-size: 15px; }

.phones { position: relative; height: 640px; }
.phones .blob {
  position: absolute;
  inset: 60px 0 40px 40px;
  border-radius: 48px;
  background: linear-gradient(135deg, #41bf9a, var(--accent) 50%, #0d5c4a);
  opacity: 0.22;
  filter: blur(4px);
}
.phone {
  position: absolute;
  width: 290px;
  aspect-ratio: 1206 / 2622;
  border-radius: 46px;
  padding: 9px;
  background: #111;
  box-shadow: var(--shadow), inset 0 0 0 2px #2b2b2b;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phones .phone.front { right: 30px; top: 0; transform: rotate(3deg); z-index: 2; }
.phones .phone.back { left: 10px; top: 60px; transform: rotate(-5deg) scale(0.9); }

/* Palette ribbon */
.ribbon { display: flex; height: 10px; }
.ribbon i { flex: 1; }
.ribbon i:nth-child(1) { background: var(--c1); }
.ribbon i:nth-child(2) { background: var(--c2); }
.ribbon i:nth-child(3) { background: var(--c3); }
.ribbon i:nth-child(4) { background: #41bf9a; }
.ribbon i:nth-child(5) { background: #0d5c4a; }

section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lead { margin: 18px auto 0; }

/* Try it: return deadline calculator */
.try { padding-top: 64px; }
.try-card { background: var(--surface); border-radius: 30px; padding: 28px; box-shadow: var(--shadow); }
.try-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.try-top p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.calc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: stretch; }
.calc-inputs { display: grid; gap: 18px; align-content: start; }
.calc label { display: grid; gap: 8px; font-weight: 650; font-size: 15px; }
.calc input[type="date"], .calc input[type="number"] {
  font: inherit; font-weight: 500; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: 15px; font-weight: 650; cursor: pointer;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.calc-result {
  border-radius: 22px; padding: 26px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: linear-gradient(135deg, var(--state, var(--c3)), color-mix(in srgb, var(--state, var(--c3)) 70%, #000));
  transition: background 0.4s ease; min-height: 220px;
}
.calc-result .big { font-size: clamp(44px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.calc-result .label { font-size: 17px; opacity: 0.9; margin-top: 6px; }
.calc-result .until { font-size: 15px; opacity: 0.85; }
.calc-result .bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.calc-result .bar i { display: block; height: 100%; background: #fff; border-radius: 99px; transition: width 0.4s ease; }
.calc-note { color: var(--muted); font-size: 13px; margin: 16px 0 0; }

/* Scanner demo */
.scan-stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.scan-stage::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 48px; background: radial-gradient(circle at 50% 40%, rgba(65, 191, 154, 0.35), transparent 70%); }
.phone.scanner { position: relative; width: 320px; overflow: hidden; }
.scanner .cam, .scanner .sheet { position: absolute; inset: 9px; border-radius: 38px; overflow: hidden; }
.scanner .cam { background: radial-gradient(120% 90% at 50% 45%, #4a4036, #231e19 70%, #120f0d); }
.cam-top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; z-index: 3; }
.cam-top span { color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); }

.paper {
  position: absolute; left: 17%; right: 17%; top: 15%; height: 56%;
  background: #fbfaf6; color: #2a2a2a; padding: 18px 16px 26px;
  font: 600 9px/1.55 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.02em;
  display: flex; flex-direction: column; gap: 1px;
  transform: rotate(-3deg); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 92% 100%, 84% 97%, 76% 100%, 68% 97%, 60% 100%, 52% 97%, 44% 100%, 36% 97%, 28% 100%, 20% 97%, 12% 100%, 4% 97%, 0 100%);
  transition: transform 0.6s ease;
}
.paper b { font-size: 13px; text-align: center; margin-bottom: 2px; }
.paper > span:not(.row) { text-align: center; color: #555; }
.paper hr { border: 0; border-top: 1px dashed #bbb; width: 100%; margin: 6px 0; }
.paper .row { display: flex; justify-content: space-between; }
.paper em { font-style: normal; }
.paper .total { font-size: 10.5px; font-weight: 800; }

.detect {
  position: absolute; left: 15%; right: 15%; top: 13.5%; height: 59.5%;
  border: 2.5px solid #41bf9a; border-radius: 10px; background: rgba(65, 191, 154, 0.18);
  transform: rotate(-3deg) scale(1.25); opacity: 0;
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.4s ease;
  overflow: hidden;
}
.sweep { position: absolute; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(transparent, rgba(65, 191, 154, 0.55), transparent); opacity: 0; }

.shutter { position: absolute; left: 50%; bottom: 26px; width: 62px; height: 62px; margin-left: -31px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; z-index: 3; }
.shutter i { width: 48px; height: 48px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 4; }

.scanner .sheet {
  top: auto; height: 74%; border-radius: 26px 26px 38px 38px; z-index: 5;
  background: #f2f2f7; color: #1c1c1e; padding: 14px 14px 18px;
  transform: translateY(105%); transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}
.sheet-bar { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 10px; }
.sheet-bar span { padding: 5px 10px; border-radius: 99px; background: #fff; font-weight: 600; }
.sheet-bar .save { color: #1f8a70; }
.sheet-bar b { font-size: 13px; }
.sheet-note { margin: 0 0 10px; font-size: 11px; color: #6b6b70; background: #fff; border-radius: 12px; padding: 8px 10px; }
.fields { background: #fff; border-radius: 14px; padding: 2px 12px; }
.field { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #ececf0; font-size: 12px; }
.field:last-child { border-bottom: 0; }
.field span { color: #6b6b70; }
.field b { font-weight: 600; opacity: 0; transform: translateX(8px); transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease, background 0.35s ease; transition-delay: calc(0.35s + var(--i) * 0.42s); border-radius: 6px; padding: 0 4px; margin: 0 -4px; }

/* Phases, set by the script: detect → sweep → snap → fill */
.scanner.is-detect .detect { opacity: 1; transform: rotate(-3deg) scale(1); }
.scanner.is-sweep .sweep { opacity: 1; animation: sweep 1.4s ease-in-out; }
.scanner.is-snap .shutter i { transform: scale(0.82); }
.scanner.is-snap .flash { animation: flash 0.5s ease-out; }
.scanner.is-fill .sheet { transform: none; }
.scanner.is-fill .field b { opacity: 1; transform: none; background: rgba(65, 191, 154, 0.16); }
.scanner.is-fill .field b { animation: settle 0.6s ease forwards; animation-delay: calc(0.75s + var(--i) * 0.42s); }
.scanner.is-static .field b { animation: none; background: transparent; transition: none; }
.scanner.is-static .sheet, .scanner.is-static .detect { transition: none; }

@keyframes sweep { from { top: -20%; } to { top: 102%; } }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 0.85; } 100% { opacity: 0; } }
@keyframes settle { to { background: transparent; } }

/* Countdown pills (match the app) */
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill.urgent { color: var(--c1); background: color-mix(in srgb, var(--c1) 14%, transparent); }
.pill.soon { color: var(--c2); background: color-mix(in srgb, var(--c2) 16%, transparent); }
.pill.safe { color: var(--accent-ink); background: var(--tint); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
}
.icon svg { width: 24px; height: 24px; }

/* Showcase rows */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.show.flip .show-text { order: 2; }
.show-text .lead { margin-top: 18px; }
.show-text ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.show-text li { display: flex; gap: 12px; align-items: flex-start; }
.show-text li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a70' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.show-media { position: relative; display: grid; place-items: center; padding: 30px 0; }
.show-media::before { content: ""; position: absolute; inset: 10% 8%; border-radius: 40px; background: var(--tint); }
.show-media .phone { position: relative; }

/* Pricing */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 8px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 0; }
.price span { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); font-size: 15px; margin: 4px 0 0; min-height: 3em; }
.compare { margin-top: 56px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: var(--paper); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 18%; }
.yes { color: var(--accent-ink); font-weight: 800; }
.no { color: var(--muted); }

/* Privacy band */
.privacy-band { background: var(--ink); color: var(--paper); border-radius: 36px; padding: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.privacy-band .lead { color: color-mix(in srgb, var(--paper) 72%, transparent); margin-top: 16px; }
.privacy-band .eyebrow { color: #41bf9a; }
.facts { display: grid; gap: 14px; }
.fact { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--paper) 8%, transparent); font-weight: 600; }
.fact b { width: 12px; height: 12px; border-radius: 50%; flex: none; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--accent-ink); transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* CTA + footer */
.cta { text-align: center; }
.cta img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 26px; box-shadow: var(--shadow); }
.cta .lead { margin: 18px auto 32px; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Document pages (privacy, support) */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 10px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc .updated { margin-bottom: 30px; }

/* ---------- Duly's own look: receipts ---------- */
.mono, .price, .pill, .calc-result .big, .step-num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price { letter-spacing: -0.05em; }

/* Hero with the live scanner */
.hero-scan { padding: 56px 0 88px; }
.hero-scan .wrap { grid-template-columns: 1.1fr 1fr; gap: 56px; }
.hero-scan h1 { font-size: clamp(42px, 6.2vw, 72px); }
.hero-scan h1 span { display: block; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Perforation line (doc pages) */
.perf { height: 0; border-top: 2px dashed var(--line); }

/* A long printed receipt: zig-zag torn edges top and bottom */
.strip { position: relative; background: var(--surface); padding: 96px 0; margin: 14px 0; box-shadow: 0 1px 0 var(--line); }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--surface);
  -webkit-mask-size: 24px 14px; mask-size: 24px 14px; -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.strip::before { top: -13px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 14h24L12 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 14h24L12 0z'/%3E%3C/svg%3E"); }
.strip::after { bottom: -13px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 0h24L12 14z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 0h24L12 14z'/%3E%3C/svg%3E"); }
.strip-head { max-width: 640px; margin-bottom: 56px; padding-bottom: 28px; border-bottom: 2px dashed var(--line); }
.strip-head .lead { margin-top: 16px; }

/* Purchase timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 18px; position: relative; z-index: 1; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 58px; right: -16px; border-top: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.step p { color: var(--muted); margin: 8px 0 20px; font-size: 16px; }
.step-visual { margin-top: auto; border-radius: 16px; font-size: 12px; }

.mini-receipt { background: var(--receipt); color: #2a2a2a; font-family: var(--mono); padding: 14px 14px 18px; display: grid; gap: 3px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5); border-radius: 6px; transform: rotate(-1.5deg);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 84% 92%, 76% 100%, 68% 92%, 60% 100%, 52% 92%, 44% 100%, 36% 92%, 28% 100%, 20% 92%, 12% 100%, 4% 92%, 0 100%); }
.mini-receipt b { text-align: center; font-size: 13px; margin-bottom: 4px; }
.mini-receipt span { display: flex; justify-content: space-between; gap: 8px; }
.mini-receipt em { font-style: normal; }
.mini-receipt .tot { border-top: 1px dashed #bbb; padding-top: 5px; margin-top: 3px; font-weight: 800; }

.mini-form { background: var(--paper); border: 1px solid var(--line); padding: 4px 14px; }
.mini-form span { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-form span:last-child { border-bottom: 0; }
.mini-form em { font-style: normal; color: var(--muted); }
.mini-form b { background: var(--tint); border-radius: 5px; padding: 0 5px; }

.notif { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: color-mix(in srgb, var(--paper) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.45); }
.notif img { width: 30px; height: 30px; border-radius: 7px; flex: none; }
.notif div { display: grid; gap: 1px; line-height: 1.35; }
.notif-top { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); letter-spacing: 0.04em; }
.notif-top em { font-style: normal; }

.outcomes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0 0; }
.outcomes .or { color: var(--muted); font-size: 13px; }
.outcomes .pill { font-size: 13px; padding: 7px 12px; }

.extras { list-style: none; padding: 26px 0 0; margin: 48px 0 0; border-top: 2px dashed var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-weight: 600; font-size: 15px; }
.extras li { display: flex; align-items: center; gap: 8px; }
.extras li::before { content: "✓"; color: var(--accent-ink); font-weight: 800; }

/* Screen gallery */
.gallery { padding-top: 64px; }
.gallery .section-head .lead .pill { margin: 0 2px; vertical-align: 2px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; justify-items: center; }
.shots figure { margin: 0; display: grid; gap: 18px; justify-items: center; text-align: center; }
.shots .phone { position: relative; width: 100%; max-width: 280px; }
.shots figcaption { color: var(--muted); font-weight: 600; font-size: 15px; max-width: 220px; }

/* Privacy receipt */
.privacy { padding-top: 40px; }
.privacy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.privacy-grid .lead { margin: 16px 0 18px; }
.privacy-grid a { font-weight: 650; text-decoration: none; }
.privacy-receipt {
  justify-self: center; width: min(380px, 100%); background: var(--receipt); color: #222;
  font-family: var(--mono); font-size: 14px; padding: 30px 26px 40px; display: grid; gap: 9px;
  transform: rotate(2deg); box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% 97%, 95% 100%, 90% 97%, 85% 100%, 80% 97%, 75% 100%, 70% 97%, 65% 100%, 60% 97%, 55% 100%, 50% 97%, 45% 100%, 40% 97%, 35% 100%, 30% 97%, 25% 100%, 20% 97%, 15% 100%, 10% 97%, 5% 100%, 0 97%);
}
.privacy-receipt > b { text-align: center; font-size: 15px; letter-spacing: 0.04em; }
.privacy-receipt .dash { border-top: 1.5px dashed #b8b8b0; margin: 6px 0; }
.privacy-receipt .line { display: flex; align-items: baseline; gap: 6px; }
.privacy-receipt .line em { font-style: normal; white-space: nowrap; }
.privacy-receipt .line i { flex: 1; border-bottom: 2px dotted #c4c4bc; transform: translateY(-4px); }
.privacy-receipt .total { font-weight: 800; font-size: 17px; }
.privacy-receipt .thanks { text-align: center; color: #777; font-size: 12px; margin-top: 10px; letter-spacing: 0.06em; }

@media (max-width: 960px) {
  .hero-scan .wrap { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .hero-scan { padding: 40px 0 72px; }
  .strip { padding: 72px 0; }
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .step { padding-left: 64px; }
  .step-num { position: absolute; left: 0; top: 0; }
  .step:not(:last-child)::after { top: 52px; bottom: -32px; left: 22px; right: auto; border-top: 0; border-left: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); display: block; }
  .shots { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; justify-items: stretch; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; }
  .shots figure { scroll-snap-align: center; }
  .privacy-receipt { transform: rotate(1deg); font-size: 13px; }
}

.muted-note { color: var(--muted); font-size: 13px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .show, .privacy-band, .calc, .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
  .show.flip .show-text { order: 0; }
  .grid, .plans { grid-template-columns: 1fr 1fr; }
  .phones { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .privacy-band { padding: 44px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav nav { display: none; }
  .nav .wrap { gap: 12px; }
  .nav .lang { margin-left: auto; font-size: 14px; padding: 5px 9px; }
  .nav .btn-small { margin-left: auto; }
  .nav .lang + .btn-small { margin-left: 0; }
  .hero { padding-top: 44px; }
  .grid, .plans { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .phones { height: 470px; }
  .phone { width: 220px; border-radius: 36px; padding: 7px; }
  .phone img { border-radius: 30px; }
  .phone.scanner { width: 290px; }
  .scanner .cam, .scanner .sheet { inset: 7px; border-radius: 30px; }
  .scanner .sheet { top: auto; border-radius: 22px 22px 30px 30px; }
  .phones .phone.front { right: 0; }
  .phones .phone.back { left: 0; top: 50px; }
  .compare th, .compare td { padding: 12px; font-size: 14px; }
  .privacy-band { border-radius: 28px; padding: 36px 22px; }
}

/* Apple's official App Store badge */
.store-badge { display: inline-block; line-height: 0; transition: transform .15s ease; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge-svg { height: 54px; width: auto; display: block; }
.cta .store-badge { margin-top: 8px; }
