/* paperkeep-styles.css — single merged stylesheet for the static landing page */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..800;1,6..72,400..800&family=Spline+Sans+Mono:wght@400;500;600&display=swap');

/* ════════ 1. App design tokens (phone screens) ════════ */
/* ============================================================
   EZ Scanner — Design tokens + components
   Personality: calm · trustworthy · fast · friendly · private
   Light is primary; .dark overrides the same tokens.
   ============================================================ */

.ez {
  /* color — light */
  --bg:            #F2F2F7;
  --surface:       #FFFFFF;
  --surface-2:     #FFFFFF;
  --fill:          #E9E9EF;
  --fill-2:        #EFEFF4;
  --separator:     rgba(60,60,67,0.10);
  --separator-2:   rgba(60,60,67,0.16);
  --label:         #11151C;
  --label-2:       rgba(60,60,67,0.62);
  --label-3:       rgba(60,60,67,0.34);
  --accent:        #2E7BF6;
  --accent-press:  #1F63D6;
  --accent-wash:   #EAF1FE;
  --on-accent:     #FFFFFF;
  --success:       #2BA84A;
  --success-wash:  #E6F6EA;
  --warning:       #E08600;
  --warning-wash:  #FCEFD8;
  --danger:        #E0392B;
  --danger-wash:   #FBE6E4;
  --scrim:         rgba(20,22,28,0.40);
  --paper:         #FBFBFC;

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, "Segoe UI", system-ui, sans-serif;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* elevation */
  --shadow-1: 0 1px 2px rgba(16,20,30,0.06), 0 1px 1px rgba(16,20,30,0.04);
  --shadow-2: 0 6px 20px rgba(16,20,30,0.10), 0 1px 3px rgba(16,20,30,0.06);
  --shadow-sheet: 0 -1px 0 rgba(0,0,0,0.04), 0 -18px 50px rgba(10,14,22,0.18);

  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

.ez.dark {
  --bg:            #000000;
  --surface:       #1C1C1E;
  --surface-2:     #2C2C2E;
  --fill:          #2C2C2E;
  --fill-2:        #3A3A3C;
  --separator:     rgba(255,255,255,0.10);
  --separator-2:   rgba(255,255,255,0.16);
  --label:         #F7F8FA;
  --label-2:       rgba(235,235,245,0.60);
  --label-3:       rgba(235,235,245,0.30);
  --accent:        #4F93FF;
  --accent-press:  #3B7FEF;
  --accent-wash:   rgba(79,147,255,0.16);
  --on-accent:     #FFFFFF;
  --success:       #30D158;
  --success-wash:  rgba(48,209,88,0.16);
  --warning:       #FFB23E;
  --warning-wash:  rgba(255,178,62,0.16);
  --danger:        #FF6258;
  --danger-wash:   rgba(255,98,88,0.16);
  --scrim:         rgba(0,0,0,0.55);
  --paper:         #F4F4F6;
  --shadow-1: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-2: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-sheet: 0 -1px 0 rgba(255,255,255,0.05), 0 -18px 50px rgba(0,0,0,0.6);
}

/* fill the device content area, account for status bar */
.ez * { box-sizing: border-box; }
.ez-safe-top { height: 59px; flex: none; }

/* generic column screen */
.ez-col { display: flex; flex-direction: column; height: 100%; }
.ez-scroll { flex: 1; overflow: hidden; }
.ez-pad { padding-left: 20px; padding-right: 20px; }

/* ---------- Large title / nav ---------- */
.ez-largetitle {
  font-family: var(--font-round);
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.05;
  color: var(--label);
}
.ez-nav {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 6px 20px 10px;
}
.ez-nav-actions { display: flex; align-items: center; gap: 14px; }
.ez-nav-btn {
  width: 38px; height: 38px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--fill-2); color: var(--accent);
}
.ez-nav-link { color: var(--accent); font-size: 17px; font-weight: 500; }

.ez-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px 20px 10px;
}
.ez-section-title { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--label-2); }
.ez-section-action { font-size: 15px; font-weight: 500; color: var(--accent); }

/* ---------- Buttons ---------- */
.ez-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 17px; font-weight: 600;
  border-radius: var(--r-md); padding: 0 18px; height: 50px;
  letter-spacing: -0.2px; cursor: default; user-select: none;
}
.ez-btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 14px rgba(46,123,246,0.30); }
.ez-btn-primary.pressed { background: var(--accent-press); transform: scale(0.97); box-shadow: 0 2px 8px rgba(46,123,246,0.28); }
.ez-btn-secondary { background: var(--fill); color: var(--accent); }
.ez-btn-tertiary { background: transparent; color: var(--accent); height: 44px; }
.ez-btn-danger { background: var(--danger-wash); color: var(--danger); }
.ez-btn-block { display: flex; width: 100%; }

/* ---------- Scan hero (pinned bottom) ---------- */
.ez-pin {
  flex: none; padding: 10px 20px calc(8px);
  background: var(--bg);
  border-top: 0.5px solid transparent;
}
.ez-scan-hero {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; height: 66px; border-radius: var(--r-xl);
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 8px 22px rgba(46,123,246,0.34);
  font-family: var(--font-round); font-size: 20px; font-weight: 700; letter-spacing: -0.2px;
}
.ez-scan-hero.pressed { background: var(--accent-press); transform: scale(0.975); box-shadow: 0 4px 14px rgba(46,123,246,0.3); }

/* ---------- Tab bar ---------- */
.ez-tabbar {
  flex: none; display: flex; align-items: stretch;
  padding: 8px 12px 0;
  background: var(--surface);
  border-top: 0.5px solid var(--separator);
  height: 64px;
}
.ez-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding-top: 4px; color: var(--label-3);
}
.ez-tab.active { color: var(--accent); }
.ez-tab-label { font-size: 10px; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- Cards / rows ---------- */
.ez-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }

.ez-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); padding: 13px 16px; min-height: 60px;
}
.ez-row + .ez-row { border-top: 0.5px solid var(--separator); }
.ez-row-title { font-size: 17px; font-weight: 500; color: var(--label); letter-spacing: -0.2px; }
.ez-row-sub { font-size: 13px; color: var(--label-2); margin-top: 2px; }
.ez-row-detail { font-size: 16px; color: var(--label-2); margin-left: auto; }
.ez-chevron { color: var(--label-3); flex: none; }

.ez-grouped { margin: 0 16px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); }

/* ---------- Document thumbnail ---------- */
.ez-doc {
  position: relative; background: var(--paper); border-radius: 10px;
  overflow: hidden; box-shadow: var(--shadow-1);
  border: 0.5px solid var(--separator);
}
.ez-doc-lines { position: absolute; inset: 0; padding: 12% 14%; display: flex; flex-direction: column; }
.ez-doc-line { background: #C7CCD6; border-radius: 2px; }

/* ---------- Folder tile ---------- */
.ez-folder {
  position: relative; background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-1); padding: 12px; overflow: hidden;
}
.ez-folder-peek { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: 1.34; margin-bottom: 11px; }
.ez-folder-name { font-size: 15px; font-weight: 600; color: var(--label); letter-spacing: -0.2px; }
.ez-folder-count { font-size: 13px; color: var(--label-2); margin-top: 1px; }

/* ---------- Expiry chip ---------- */
.ez-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.01em;
  padding: 4px 9px 4px 7px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.ez-chip svg { flex: none; }
.ez-chip-neutral { background: var(--fill); color: var(--label-2); }
.ez-chip-amber   { background: var(--warning-wash); color: var(--warning); }
.ez-chip-red     { background: var(--danger-wash); color: var(--danger); }
.ez-chip-success { background: var(--success-wash); color: var(--success); }

/* ---------- Selectable reminder chip ---------- */
.ez-rchip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 600; color: var(--label);
  padding: 9px 15px; border-radius: var(--r-pill);
  background: var(--fill); border: 1.5px solid transparent;
}
.ez-rchip.on { background: var(--accent-wash); border-color: var(--accent); color: var(--accent); }
.ez-rchip-check {
  width: 17px; height: 17px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; flex: none;
}

/* ---------- Detection card ---------- */
.ez-detect {
  border-radius: var(--r-lg); padding: 16px;
  background: var(--accent-wash);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.ez-detect.low { background: var(--warning-wash); border-color: color-mix(in srgb, var(--warning) 35%, transparent); }
.ez-detect-kicker { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.01em; }
.ez-detect.low .ez-detect-kicker { color: var(--warning); }
.ez-detect-value { font-size: 26px; font-weight: 800; font-family: var(--font-round); letter-spacing: -0.4px; color: var(--label); margin-top: 8px; }
.ez-detect-meta { font-size: 13px; color: var(--label-2); margin-top: 2px; }

/* ---------- Sheet ---------- */
.ez-sheet-scrim { position: absolute; inset: 0; background: var(--scrim); }
.ez-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--bg); border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-sheet); padding: 10px 0 0;
  display: flex; flex-direction: column;
}
.ez-sheet-grab { width: 38px; height: 5px; border-radius: 3px; background: var(--label-3); margin: 0 auto 4px; opacity: 0.5; }
.ez-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 12px; }
.ez-sheet-title { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }

/* ---------- Segmented control ---------- */
.ez-seg { display: inline-flex; background: var(--fill); border-radius: 11px; padding: 2px; gap: 2px; }
.ez-seg-opt { font-size: 13px; font-weight: 600; color: var(--label-2); padding: 7px 14px; border-radius: 9px; }
.ez-seg-opt.on { background: var(--surface); color: var(--label); box-shadow: var(--shadow-1); }

/* ---------- Field ---------- */
.ez-field {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: var(--r-md);
  padding: 13px 15px; box-shadow: var(--shadow-1);
}
.ez-field-input { font-size: 17px; font-weight: 500; color: var(--label); flex: 1; }
.ez-field-caret { width: 2px; height: 20px; background: var(--accent); border-radius: 1px; }

/* ---------- Search ---------- */
.ez-search {
  display: flex; align-items: center; gap: 8px; margin: 0 20px;
  background: var(--fill); border-radius: 11px; padding: 9px 12px;
  color: var(--label-2); font-size: 17px;
}

/* ---------- Lock placeholder ---------- */
.ez-lockwrap { position: relative; }
.ez-lock-blur { filter: blur(11px); }
.ez-lock-badge {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.ez-lock-pill {
  width: 46px; height: 46px; border-radius: var(--r-pill);
  background: rgba(20,22,28,0.55); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; color: #fff;
}

/* ---------- Camera ---------- */
.ez-camera { position: absolute; inset: 0; background: #0B0D12; overflow: hidden; }
.ez-cam-doc {
  position: absolute; border-radius: 4px;
  background: linear-gradient(160deg,#fdfdfb,#eceef1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.ez-cam-frame { position: absolute; pointer-events: none; }
.ez-cam-corner { position: absolute; width: 30px; height: 30px; border: 3px solid #fff; }
.ez-cam-hint {
  position: absolute; left: 0; right: 0; text-align: center;
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -0.2px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.ez-cam-pagechip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.16); backdrop-filter: blur(14px);
  border: 0.5px solid rgba(255,255,255,0.25);
  padding: 7px 14px 7px 8px; border-radius: var(--r-pill); color: #fff;
}
.ez-shutter-ring {
  width: 74px; height: 74px; border-radius: var(--r-pill);
  border: 4px solid rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
}
.ez-shutter-core { width: 58px; height: 58px; border-radius: var(--r-pill); background: #fff; }

/* misc */
.ez-icon-tile { display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); flex: none; }
.ez-divider { height: 0.5px; background: var(--separator); }
.ez-meta { font-size: 13px; color: var(--label-2); }
.ez-stack { position: relative; }

/* ---------- Artistic home background (v2) ---------- */
.ez-home-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ez-home-grad { position: absolute; inset: 0; background: linear-gradient(180deg, #E5EDFA 0%, #EDF0F6 28%, var(--bg) 52%); }
.ez-home-blob { position: absolute; border-radius: 999px; filter: blur(56px); }
.ez-home-blob-a { width: 300px; height: 300px; top: -130px; right: -90px; background: rgba(46,123,246,0.22); }
.ez-home-blob-b { width: 280px; height: 280px; top: 30px; left: -130px; background: rgba(14,140,155,0.15); }
.ez-home-blob-c { width: 220px; height: 220px; top: 250px; right: -80px; background: rgba(255,159,10,0.10); }
.ez.dark .ez-home-grad { background: linear-gradient(180deg, #13243F 0%, #0A1320 40%, var(--bg) 60%); }
.ez.dark .ez-home-blob-a { background: rgba(79,147,255,0.28); }
.ez.dark .ez-home-blob-b { background: rgba(48,209,88,0.13); }
.ez.dark .ez-home-blob-c { background: rgba(255,178,62,0.10); }
.ez-home-grain { position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay; background-size: 140px 140px; }
/* onboarding soft (light) panel — adapts in dark mode */
.ez-onb-soft { background: linear-gradient(180deg, #EAF1FB 0%, #F4F6FA 42%); }
/* welcome launch entrance */
@media (prefers-reduced-motion: no-preference) {
  .ez-wel-hero { animation: ezWelHero 0.6s cubic-bezier(.2,.7,.3,1) both; }
  .ez-wel-foot { animation: ezWelFoot 0.6s cubic-bezier(.2,.7,.3,1) 0.12s both; }
}
@keyframes ezWelHero { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes ezWelFoot { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ez.dark .ez-onb-soft { background: linear-gradient(180deg, #1B2334 0%, #0E1320 52%); }


/* ════════ 2. Paper Ledger landing theme (v3) ════════ */
/* paperkeep-landing-v3.css — "Paper Ledger": warm paper, ink serif, countdown rings, mono ledger dates */

:root {
  --paper: #F6F1E6;
  --paper-2: #FDFBF4;
  --paper-deep: #EFE8D8;
  --ink: #1F2735;
  --ink-2: #4C5567;
  --ink-3: #8B92A3;
  --line: rgba(31, 39, 53, 0.14);
  --line-soft: rgba(31, 39, 53, 0.08);
  --gold: #F5A800;
  --gold-bright: #FFC01E;
  --gold-deep: #A86E00;
  --gold-wash: rgba(245, 168, 0, 0.12);
  --blue: #2E7BF6;
  --navy: #1B3A6B;
  --red: #C8392B;
  --green: #1E7F44;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.v3 {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* subtle paper grain */
  background-image: radial-gradient(rgba(31,39,53,0.025) 1px, transparent 1px);
  background-size: 22px 22px;
}

.v3 .wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.v3 ::selection { background: var(--gold-wash); }

/* ── type ── */
.v3 h1, .v3 h2, .v3 h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.v3 h1 { font-size: clamp(46px, 7vw, 84px); line-height: 1.02; }
.v3 h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; }
.v3 h3 { font-size: 23px; line-height: 1.2; }
.v3 .em { font-style: italic; color: var(--gold-deep); }
.v3 p { color: var(--ink-2); text-wrap: pretty; }
.v3 .kicker {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.v3 .kicker::before { content: ''; width: 26px; height: 1.5px; background: var(--gold); }
.v3 .mono { font-family: var(--mono); }

/* ── buttons ── */
.v3 .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 16px; font-weight: 650; letter-spacing: -0.1px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease; border: none;
}
.v3 .btn:active { transform: scale(0.985); }
.v3 .btn-ink { background: var(--ink); color: var(--paper-2); box-shadow: 0 10px 26px rgba(31,39,53,0.28); }
.v3 .btn-ink:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(31,39,53,0.32); }
.v3 .btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--navy); box-shadow: 0 10px 26px rgba(245,168,0,0.4); }
.v3 .btn-gold:hover { transform: translateY(-1px); }
.v3 .btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.v3 .btn-ghost:hover { background: var(--paper-2); }

/* ── nav ── */
.v3 .nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.v3 .nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.v3 .nav-links { display: flex; gap: 30px; }
.v3 .nav-links a { font-size: 15px; font-weight: 550; color: var(--ink-2); text-decoration: none; }
.v3 .nav-links a:hover { color: var(--ink); }
.v3 .nav .btn { padding: 10px 20px; font-size: 14.5px; }

/* ── hero ── */
.v3 .hero { padding: 88px 0 60px; position: relative; overflow: hidden; }
.v3 .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.v3 .hero-sub { font-size: 19.5px; line-height: 1.6; max-width: 520px; margin-top: 26px; }
.v3 .hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; align-items: center; }
.v3 .hero-fine { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.v3 .hero-fine span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.04em; }

/* hero ring stage */
.v3 .ring-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; }
.v3 .ring-svg { width: 100%; max-width: 470px; height: auto; display: block; }
@keyframes ringSweep { from { stroke-dashoffset: var(--sweep-from, 880); } to { stroke-dashoffset: var(--sweep-to, 250); } }
@media (prefers-reduced-motion: no-preference) {
  .v3 .ring-arc { animation: ringSweep 1.6s cubic-bezier(.6,.05,.2,1) 0.3s both; }
}

/* paper doc card (CSS, folded corner) */
.v3 .doc {
  background: var(--paper-2); border-radius: 14px; border: 1px solid var(--line-soft);
  box-shadow: 0 18px 44px rgba(31,39,53,0.14), 0 2px 8px rgba(31,39,53,0.06);
  position: relative; overflow: hidden;
}
.v3 .doc::after {
  content: ''; position: absolute; top: 0; right: 0; width: 34px; height: 34px;
  background: linear-gradient(225deg, var(--paper) 0 49.5%, var(--paper-deep) 50%, #E5DCC6 100%);
  border-bottom-left-radius: 12px; box-shadow: -3px 3px 8px rgba(31,39,53,0.08);
}

/* ── ledger line (section divider) ── */
.v3 .rule { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ── timeline section ── */
.v3 .sec { padding: 96px 0; }
.v3 .sec-head { max-width: 660px; margin-bottom: 64px; }
.v3 .sec-head h2 { margin-top: 14px; }
.v3 .sec-head p { font-size: 18.5px; margin-top: 18px; }

.v3 .tl { position: relative; }
.v3 .tl::before { content: ''; position: absolute; left: 49px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 16px); }
.v3 .tl-row { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 26px; padding: 26px 0; align-items: start; }
.v3 .tl-ring { position: relative; z-index: 1; width: 100px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.v3 .tl-ring svg { background: var(--paper); border-radius: 999px; }
.v3 .tl-when { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.v3 .tl-card { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 16px; padding: 24px 28px; box-shadow: 0 2px 10px rgba(31,39,53,0.05); max-width: 640px; }
.v3 .tl-card h3 { font-size: 21px; }
.v3 .tl-card p { font-size: 16px; margin-top: 8px; }
.v3 .tl-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--gold-deep); background: var(--gold-wash); padding: 7px 13px; border-radius: 999px; }
.v3 .tl-note.red { color: var(--red); background: rgba(200,57,43,0.1); }
.v3 .tl-note.green { color: var(--green); background: rgba(30,127,68,0.1); }

/* ── desk tools ── */
.v3 .tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v3 .tool {
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 18px;
  padding: 28px 26px 26px; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.v3 .tool:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(31,39,53,0.1); }
.v3 .tool::after {
  content: ''; position: absolute; top: 0; right: 0; width: 26px; height: 26px;
  background: linear-gradient(225deg, var(--paper) 0 49.5%, var(--paper-deep) 50%, #E5DCC6 100%);
  border-bottom-left-radius: 10px;
}
.v3 .tool .tno { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.12em; }
.v3 .tool h3 { font-size: 21.5px; margin-top: 30px; }
.v3 .tool p { font-size: 15.5px; margin-top: 8px; line-height: 1.5; }
.v3 .tool .tic { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; position: absolute; top: 24px; right: 30px; }

/* ── privacy ledger ── */
.v3 .vault { background: var(--ink); border-radius: 28px; padding: 72px 64px; color: var(--paper); position: relative; overflow: hidden; }
.v3 .vault::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(246,241,230,0.14); border-radius: 18px; pointer-events: none; }
.v3 .vault h2 { color: var(--paper-2); }
.v3 .vault .em { color: var(--gold-bright); }
.v3 .vault p { color: rgba(246,241,230,0.72); }
.v3 .vault-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.v3 .vault-rows { display: flex; flex-direction: column; margin-top: 34px; }
.v3 .vault-row { display: flex; align-items: baseline; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(246,241,230,0.12); }
.v3 .vault-row:last-child { border-bottom: 1px solid rgba(246,241,230,0.12); }
.v3 .vault-row .k { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); flex: none; width: 150px; }
.v3 .vault-row .v { font-size: 15.5px; color: rgba(246,241,230,0.82); }

/* ── receipt pricing ── */
.v3 .receipt-wrap { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.v3 .receipt {
  background: #FFFEFA; border-radius: 6px; padding: 34px 32px 28px;
  font-family: var(--mono); color: var(--ink);
  box-shadow: 0 24px 60px rgba(31,39,53,0.18), 0 4px 14px rgba(31,39,53,0.08);
  position: relative; transform: rotate(1.2deg);
  --notch: radial-gradient(circle at 7px 7px, transparent 6px, #FFFEFA 6.5px);
}
.v3 .receipt::before, .v3 .receipt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 10px;
  background-image: linear-gradient(45deg, transparent 33.33%, #FFFEFA 33.33% 66.66%, transparent 66.66%);
  background-size: 14px 20px;
}
.v3 .receipt::before { top: -9px; transform: scaleY(-1); }
.v3 .receipt::after { bottom: -9px; }
.v3 .rc-head { text-align: center; padding-bottom: 18px; border-bottom: 1.5px dashed var(--line); }
.v3 .rc-head .rc-store { font-size: 15px; font-weight: 600; letter-spacing: 0.22em; }
.v3 .rc-head .rc-sub { font-size: 11px; color: var(--ink-3); margin-top: 5px; letter-spacing: 0.08em; }
.v3 .rc-rows { padding: 16px 0; border-bottom: 1.5px dashed var(--line); display: flex; flex-direction: column; gap: 11px; }
.v3 .rc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.v3 .rc-row .l { color: var(--ink-2); }
.v3 .rc-row .r { font-weight: 600; }
.v3 .rc-row.total { font-size: 15px; font-weight: 600; }
.v3 .rc-row.total .r { color: var(--gold-deep); }
.v3 .rc-foot { text-align: center; padding-top: 16px; font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; line-height: 1.7; }
.v3 .rc-barcode { margin: 14px auto 0; height: 36px; width: 200px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px, var(--ink) 9px 12px, transparent 12px 14px); opacity: 0.85; }

/* ── faq ── */
.v3 .faq-list { max-width: 760px; }
.v3 .faq-item { border-top: 1px solid var(--line); }
.v3 .faq-item:last-child { border-bottom: 1px solid var(--line); }
.v3 .faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; }
.v3 .faq-q h3 { font-size: 20px; font-weight: 550; }
.v3 .faq-q .pm { font-family: var(--mono); font-size: 20px; color: var(--gold-deep); flex: none; }
.v3 .faq-a { overflow: hidden; transition: max-height .3s ease; }
.v3 .faq-a p { padding: 0 4px 24px; max-width: 640px; font-size: 16px; }

/* ── final cta ── */
.v3 .fin { text-align: center; padding: 110px 0 96px; }
.v3 .fin h2 { font-size: clamp(38px, 5.6vw, 64px); }
.v3 .fin p { font-size: 19px; margin: 20px auto 0; max-width: 480px; }
.v3 .fin .hero-cta { justify-content: center; }

/* ── footer ── */
.v3 .foot { border-top: 1px solid var(--line); padding: 44px 0 56px; }
.v3 .foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.v3 .foot a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.v3 .foot a:hover { color: var(--ink); }
.v3 .foot .cols { display: flex; gap: 26px; flex-wrap: wrap; }
.v3 .foot .fine { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }

/* ── responsive ── */
@media (max-width: 960px) {
  .v3 .hero-grid, .v3 .vault-grid, .v3 .receipt-wrap { grid-template-columns: 1fr; }
  .v3 .ring-stage { min-height: 0; }
  .v3 .tools { grid-template-columns: 1fr 1fr; }
  .v3 .vault { padding: 52px 32px; }
  .v3 .receipt { transform: none; max-width: 420px; }
}
@media (max-width: 640px) {
  .v3 .tools { grid-template-columns: 1fr; }
  .v3 .nav-links { display: none; }
  .v3 .tl::before { left: 35px; }
  .v3 .tl-row { grid-template-columns: 72px 1fr; gap: 16px; }
  .v3 .tl-ring { width: 72px; }
}


/* ════════ 3. v4 additions (proof, wide tool, footer) ════════ */
/* paperkeep-landing-v4.css — v3 "Paper Ledger" + "The proof" (live app exhibits) */

/* ── the desk: featured wide tool (export both ways) ── */
.v3 .tool-wide { grid-column: 1 / -1; background: linear-gradient(180deg, var(--paper-2), #FBF4E2); }
.v3 .tool-wide h3 { margin-top: 14px; }
.v3 .tool-wide p { max-width: 560px; }
.v3 .tnew {
  display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px;
  background: var(--gold-wash); color: var(--gold-deep);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
  vertical-align: 1px;
}
.v3 .tic-duo { position: absolute; top: 24px; right: 30px; display: flex; align-items: center; gap: 9px; }
.v3 .tic-duo .tic { position: static; }
.v3 .tic-pdf { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.03em; color: var(--red); }

/* ── the proof: live app screens as ledger figures ── */
.v3 .proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.v3 .exhibit {
  margin: 0;
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 20px;
  padding: 26px 24px 22px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 2px 10px rgba(31,39,53,0.05);
  transition: transform .22s ease, box-shadow .22s ease;
}
.v3 .exhibit::after {
  content: ''; position: absolute; top: 0; right: 0; width: 26px; height: 26px;
  background: linear-gradient(225deg, var(--paper) 0 49.5%, var(--paper-deep) 50%, #E5DCC6 100%);
  border-bottom-left-radius: 10px;
}
.v3 .proof-grid .exhibit:nth-child(1) { transform: rotate(-0.7deg); }
.v3 .proof-grid .exhibit:nth-child(2) { transform: rotate(0.5deg) translateY(18px); }
.v3 .proof-grid .exhibit:nth-child(3) { transform: rotate(-0.4deg); }
.v3 .proof-grid .exhibit:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 20px 44px rgba(31,39,53,0.13); }

.v3 .ex-stage { position: relative; display: flex; justify-content: center; }
.v3 .device { border: 8px solid #242B39; border-radius: 44px; background: #242B39; box-shadow: 0 22px 48px rgba(31,39,53,0.22), 0 3px 10px rgba(31,39,53,0.1); }
.v3 .device-screen { border-radius: 36px; overflow: hidden; position: relative; background: #000; }
.v3 .device-scale { transform-origin: top left; }

.v3 .ex-plate { width: 100%; margin-top: 22px; border-top: 1.5px dashed var(--line); padding-top: 14px; }
.v3 .ex-fig { display: flex; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.v3 .ex-fig span { white-space: nowrap; }

/* ── footer: two tiers (brand + nav / legal line) ── */
.v3 .foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.v3 .foot-legal { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.v3 .foot-legal .fine { white-space: nowrap; }
.v3 .legal-links { display: flex; gap: 26px; }
.v3 .legal-links a { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; }
.v3 .legal-links a:hover { color: var(--ink); }
.v3 .ex-fig .no { color: var(--gold-deep); }
.v3 .ex-fig .nm { color: var(--ink-3); }
.v3 .ex-plate p { font-size: 14.5px; line-height: 1.5; margin-top: 8px; }

.v3 .proof-foot {
  display: flex; justify-content: center; margin-top: 54px;
}
.v3 .proof-foot span {
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: 9px;
}

@media (max-width: 960px) {
  .v3 .proof-grid { grid-template-columns: 1fr; gap: 26px; }
  .v3 .proof-grid .exhibit { max-width: 400px; margin: 0 auto; width: 100%; }
  .v3 .proof-grid .exhibit:nth-child(1),
  .v3 .proof-grid .exhibit:nth-child(2),
  .v3 .proof-grid .exhibit:nth-child(3) { transform: none; }
}

/* ── platform availability pills (iPhone / iPad / Android) ── */
.v3 .platforms { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.v3 .plat {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.v3 .plat svg { flex: none; }

/* ── desk: signature reminder feature card ── */
.v3 .tool-signature { background: linear-gradient(180deg, #FCF2DA, #FBE9C6); border-color: rgba(245,168,0,0.32); }
.v3 .tool-signature .tno { color: var(--gold-deep); }

/* ── desk: Sign feature (wide) ── */
.v3 .tool-sign h3 { margin-top: 14px; }
.v3 .tool-sign > p { max-width: 580px; }
.v3 .sign-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.v3 .sign-feat { background: rgba(255,255,255,0.55); border: 1px solid rgba(245,168,0,0.28); border-radius: 14px; padding: 16px 16px 15px; }
.v3 .sign-feat b { display: block; font-size: 15.5px; color: var(--ink); margin-top: 11px; }
.v3 .sign-feat span:last-child { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-top: 3px; }
.v3 .sf-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--gold-wash); display: flex; align-items: center; justify-content: center; }
.v3 .sf-aa { font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 600; color: var(--gold-deep); line-height: 1; }
@media (max-width: 640px) { .v3 .sign-feats { grid-template-columns: 1fr; } }

/* ── faq: supported code formats list ── */
.v3 .faq-formats { display: flex; flex-direction: column; margin-top: 14px; border-top: 1px solid var(--line-soft); }
.v3 .faq-formats span { display: flex; gap: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.01em; line-height: 1.45; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.v3 .faq-formats span:last-child { border-bottom: none; }
.v3 .faq-formats b { color: var(--gold-deep); font-weight: 700; min-width: 100px; flex: none; }
