/* OdoJar website — "Copper Mile" (docs/branding/brand.md).
   Colours are the app's tokens (src/theme/colors.ts); src/theme/__tests__/website.test.ts keeps them identical.
   The dark privacy band and the PDF "paper" use fixed palette values on purpose (they look the same in both themes).
   No web fonts, no JavaScript, no third-party requests. Motion only with prefers-reduced-motion: no-preference. */

:root {
  --background: #F7F4F0;
  --surface: #FFFFFF;
  --surface-muted: #EFE8E0;
  --border: #E0D6CB;
  --text: #1B1410;
  --text-secondary: #5F5249;
  --text-tertiary: #7E7268;
  --primary: #B4501A;
  --on-primary: #FFFFFF;
  --primary-soft: #F8E7DB;
  --primary-text: #A3461A;
  --business: #0B7A4B;
  --business-soft: #DFF3E9;
  --business-text: #08663E;
  --personal: #4F46C8;
  --personal-soft: #E7E5FB;
  --personal-text: #4038B0;

  --tint: color-mix(in srgb, var(--surface-muted) 55%, var(--background));
  --hairline: color-mix(in srgb, var(--border) 75%, transparent);
  --shadow-sm: 0 1px 2px rgb(27 20 16 / 0.06), 0 2px 8px -2px rgb(27 20 16 / 0.06);
  --shadow: 0 1px 2px rgb(27 20 16 / 0.05), 0 16px 40px -16px rgb(27 20 16 / 0.18);
  --shadow-lg: 0 2px 6px rgb(27 20 16 / 0.06), 0 40px 80px -28px rgb(110 45 10 / 0.35);
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 24px;
  --wrap: 1180px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0E0B09;
    --surface: #1B1714;
    --surface-muted: #2A241F;
    --border: #3A322B;
    --text: #F6F1EC;
    --text-secondary: #B5A99F;
    --text-tertiary: #8C8178;
    --primary: #FF8F4D;
    --on-primary: #1C0B00;
    --primary-soft: #3A2314;
    --primary-text: #FF9A5C;
    --business: #34C77B;
    --business-soft: #0E2A1C;
    --business-text: #4CD98F;
    --personal: #9C95FF;
    --personal-soft: #1F1C45;
    --personal-text: #B3ADFF;

    --tint: color-mix(in srgb, var(--surface) 45%, var(--background));
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.5);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -16px rgb(0 0 0 / 0.7);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 40px 80px -28px rgb(0 0 0 / 0.9);
  }
}

/* ---------------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--primary-soft); color: var(--text); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.copper { color: var(--primary-text); }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 10px; font-weight: 650; }
.skip:focus { top: 12px; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .wrap { width: min(100% - 36px, var(--wrap)); } }

/* ---------------------------------------------------------------- Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--background) 78%, transparent);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.top-inner { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -0.03em; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 14px -6px rgb(180 80 26 / 0.6); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--text-secondary); text-decoration: none; font-weight: 560; font-size: 15px; padding: 8px 13px; border-radius: 999px; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--surface-muted); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-muted); }
@media (max-width: 760px) { .hide-sm { display: none; } }
@media (max-width: 430px) { .hide-xs { display: none; } .nav a { padding: 8px 9px; } }

/* ---------------------------------------------------------------- Buttons and store chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 650 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform .15s, filter .15s, box-shadow .15s;
}
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--primary) 80%, transparent); }
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 9px 16px; font-size: 14.5px; }
@media (max-width: 380px) { .top .btn-sm { display: none; } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 22px 9px 16px;
  border-radius: 16px; background: var(--text); color: var(--background); cursor: default;
  box-shadow: var(--shadow-sm);
}
.store svg { width: 26px; height: 26px; stroke-width: 1.8; flex: none; }
.store > span { display: grid; line-height: 1.15; }
.store small { font-size: 11.5px; opacity: 0.75; letter-spacing: 0.01em; }
.store b { font: 750 19px/1.1 var(--display); letter-spacing: -0.02em; }
.store-light { background: var(--on-primary); color: var(--primary); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; padding: 64px 0 40px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 40%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 16px 7px 10px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
  color: var(--text-secondary); font-weight: 600; font-size: 14px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.hero h1 { font-size: clamp(52px, 7.6vw, 96px); letter-spacing: -0.05em; line-height: 0.95; }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--text-secondary); margin: 26px 0 34px; max-width: 30em; }
.lede strong { color: var(--text); font-weight: 650; }
.hero-note { margin: 20px 0 0; color: var(--text-tertiary); font-size: 14.5px; font-weight: 550; }

.hero-visual { position: relative; height: 680px; display: grid; place-items: center; }
.halo {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 30%, transparent), transparent);
  filter: blur(8px);
}
.dial {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: repeating-conic-gradient(from -135deg, color-mix(in srgb, var(--primary) 45%, transparent) 0 0.5deg, transparent 0.5deg 7.5deg);
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 63.5%, #000 68%, transparent 68.5%);
  mask: radial-gradient(circle, transparent 63%, #000 63.5%, #000 68%, transparent 68.5%);
  opacity: 0.7;
}

/* The phone (an illustration of the Home screen built in HTML) */
.phone {
  position: relative; width: 300px; height: 620px; padding: 11px; border-radius: 54px;
  background: linear-gradient(145deg, #3A322B, #1B1410 40%, #0E0B09);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden;
  background: var(--background); font-size: 12px; line-height: 1.3; color: var(--text);
}
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #0E0B09; z-index: 2; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 15px 26px 0 30px; font-weight: 650; font-size: 13px; }
.status-icons { display: flex; gap: 4px; align-items: center; }
.status-icons i { display: block; width: 15px; height: 9px; border-radius: 2px; background: var(--text); }
.status-icons i:first-child { width: 12px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.status-icons i:last-child { width: 22px; height: 11px; border-radius: 3.5px; background: none; border: 1.5px solid var(--text); box-shadow: inset 12px 0 0 0 var(--text); }
.app { padding: 16px 14px 0; display: grid; gap: 10px; }
.app-title { font: 800 30px/1 var(--display); letter-spacing: -0.03em; margin-top: 4px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 10px; background: var(--surface-muted); font-weight: 600; font-size: 11.5px; text-align: center; color: var(--text-secondary); }
.segmented span { padding: 5px 0; border-radius: 8px; }
.segmented .on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.claim { background: var(--surface); border-radius: 18px; padding: 16px 14px; box-shadow: var(--shadow-sm); }
.claim-label { font-size: 11.5px; color: var(--text-secondary); font-weight: 600; }
.claim-amount { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; color: var(--primary-text); margin: 2px 0 1px; }
.claim-sub { font-size: 11px; color: var(--text-secondary); }
.tosort { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 16px; padding: 10px 10px 10px 12px; box-shadow: var(--shadow-sm); }
.tosort-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-text); font: 800 14px/1 var(--display); flex: none; }
.tosort-text { display: grid; flex: 1; min-width: 0; }
.tosort-text b { font-size: 12.5px; }
.tosort-text small { font-size: 10px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tosort-btn { padding: 6px 10px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.mdetail { margin-top: 12px; font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.mchart { display: flex; align-items: flex-end; gap: 4px; height: 56px; margin-top: 8px; }
.mbar { flex: 1; min-height: 4px; border-radius: 4px; transform-origin: bottom; }
.mbar.past { background: var(--primary); opacity: 0.45; }
.mbar.now { background: var(--primary); }
.mbar.future { height: 4px; border: 1px solid var(--border); }
.h55 { height: 55%; } .h63 { height: 63%; } .h67 { height: 67%; } .h74 { height: 74%; }
.h79 { height: 79%; } .h89 { height: 89%; } .h91 { height: 91%; } .h100 { height: 100%; }
.mlabels { display: flex; gap: 4px; margin-top: 5px; font-size: 9.5px; font-weight: 600; color: var(--text-tertiary); }
.mlabels span { flex: 1; text-align: center; }
.mlabels .now { color: var(--primary-text); }
.splitcard { background: var(--surface); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.splitbar { display: flex; height: 14px; border-radius: 6px; overflow: hidden; background: var(--surface-muted); }
.seg-biz { flex: 2854; background: var(--business); transform-origin: left; }
.seg-per { flex: 1102; background: var(--personal); }
.legend { display: grid; gap: 6px; font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend b { margin-left: auto; color: var(--text); font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.legend i { width: 9px; height: 9px; border-radius: 50%; }
.dot-biz { background: var(--business); }
.dot-per { background: var(--personal); }
.tabbar {
  position: absolute; inset: auto 0 0; height: 74px; padding: 9px 8px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); text-align: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border-top: 1px solid var(--hairline);
  font-size: 9.5px; font-weight: 600; color: var(--text-tertiary);
}
.tabbar span { position: relative; display: grid; justify-items: center; gap: 3px; }
.tabbar svg { width: 22px; height: 22px; stroke-width: 1.8; }
.tabbar .on svg { fill: color-mix(in srgb, currentColor 18%, transparent); }
.tabbar .on { color: var(--primary-text); }
.tabbar em { position: absolute; top: -4px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--primary); color: var(--on-primary); font: 700 9.5px/16px var(--body); font-style: normal; }

.toast {
  position: absolute; display: flex; align-items: center; gap: 12px; z-index: 3;
  padding: 12px 18px 12px 12px; border-radius: 20px; white-space: nowrap;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--hairline); box-shadow: var(--shadow-lg);
  font-size: 13.5px; line-height: 1.3;
}
.toast img { width: 36px; height: 36px; border-radius: 10px; }
.toast > span { display: grid; }
.toast b { font-weight: 700; font-size: 14.5px; }
.toast small { color: var(--text-secondary); }
.toast-trip { left: -4%; top: 4%; }
.toast-sorted { right: -2%; bottom: 22%; padding: 10px 16px 10px 10px; }
.chip-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.chip-ico svg { width: 16px; height: 16px; stroke-width: 3; }
.biz { background: var(--business); color: var(--on-primary); }

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: bob 7s ease-in-out 1.2s infinite; }
  .mbar:not(.future) { animation: grow-y 1s cubic-bezier(.2,.8,.2,1) .3s both; }
  @keyframes grow-y { from { transform: scaleY(0.2); } }
  .splitbar { animation: grow-x 1.2s cubic-bezier(.2,.8,.2,1) .2s both; transform-origin: left; }
  .toast-trip { animation: slide-in .8s cubic-bezier(.2,.9,.3,1.2) .5s both; }
  .toast-sorted { animation: slide-in .8s cubic-bezier(.2,.9,.3,1.2) 1s both; }
  .dial { animation: turn 120s linear infinite; }
  @keyframes bob { 50% { transform: translateY(-10px); } }
  @keyframes grow-x { from { transform: scaleX(0.2); } }
  @keyframes slide-in { from { transform: translateY(16px) scale(0.96); } }
  @keyframes turn { to { transform: rotate(360deg); } }
}

@media (max-width: 980px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { height: 640px; }
}
@media (max-width: 560px) {
  .hero-visual { height: 560px; }
  .phone { transform: scale(0.86); animation: none; }
  .dial { width: 480px; height: 480px; }
  .halo { width: 380px; height: 380px; }
  .toast-trip { left: 0; right: 0; top: auto; bottom: 17%; width: max-content; margin-inline: auto; padding: 10px 14px 10px 10px; }
  .toast-trip b { font-size: 13.5px; }
  .toast-trip small { font-size: 12px; }
  .toast-trip img { width: 30px; height: 30px; }
  .toast-sorted { display: none; }
}

/* ---------------------------------------------------------------- Stats band */
.stats { padding: 0; border-block: 1px solid var(--hairline); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; display: grid; gap: 4px; border-left: 1px solid var(--hairline); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: 52px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.stat b i { font-style: normal; color: var(--primary-text); }
.stat span { color: var(--text-secondary); font-size: 15px; font-weight: 550; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}

/* ---------------------------------------------------------------- Sections */
.section { padding: 128px 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; margin: 0 0 16px; color: var(--primary-text); font-weight: 700; font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.section h2 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.04em; }
.section-head > p:not(.kicker) { font-size: 20px; line-height: 1.55; color: var(--text-secondary); margin: 20px 0 0; }
@media (max-width: 640px) { .section { padding: 88px 0; } .section-head { margin-bottom: 40px; } }

/* Scroll reveal: progressive enhancement, no JavaScript; content is always visible without support. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(32px) scale(0.98); } }
  }
}

/* ---------------------------------------------------------------- Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--hairline); border-radius: 30px; padding: 12px 12px 30px; box-shadow: var(--shadow-sm); }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin: 26px 18px 14px; border-radius: 11px; background: var(--primary); color: var(--on-primary); font: 800 16px/1 var(--display); }
.step h3 { font-size: 25px; margin: 0 18px 10px; }
.step p { color: var(--text-secondary); margin: 0 18px; }
.step-visual { position: relative; height: 200px; border-radius: 22px; background: var(--tint); border: 1px solid var(--hairline); overflow: hidden; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.route svg { position: absolute; inset: 16px 10px 26px; width: calc(100% - 20px); height: calc(100% - 42px); }
.route-line { stroke: var(--primary); stroke-width: 5; stroke-dasharray: 100; }
.route-start { fill: var(--surface); stroke: var(--primary); stroke-width: 4; }
.route-end { fill: var(--primary); stroke: var(--surface); stroke-width: 4; }
.route-tag { position: absolute; padding: 5px 10px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.tag-a { left: 14px; bottom: 14px; }
.tag-b { right: 14px; top: 12px; }
.route-dist { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .route-line { animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
  }
}

.swipe-demo { display: grid; align-content: center; padding: 0 22px; gap: 14px; }
.swipe-track { position: relative; height: 92px; border-radius: 18px; background: var(--business); overflow: hidden; }
.swipe-under { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; color: var(--on-primary); font-weight: 750; font-size: 15px; }
.swipe-under svg { width: 20px; height: 20px; stroke-width: 3; }
.swipe-card {
  position: absolute; inset: 0; display: grid; align-content: center; gap: 1px; padding: 0 18px;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); transform: translateX(42%);
}
.swipe-when { font-size: 11.5px; color: var(--text-tertiary); font-weight: 600; }
.swipe-card b { font-size: 15.5px; }
.swipe-card .num { font-size: 13px; color: var(--text-secondary); }
.swipe-hint { margin: 0; text-align: center; font-size: 12.5px; color: var(--text-tertiary); font-weight: 550; }
@media (prefers-reduced-motion: no-preference) {
  .swipe-card { animation: swipe 4.5s cubic-bezier(.6,0,.2,1) infinite; }
  @keyframes swipe { 0%, 18% { transform: translateX(0); } 45%, 75% { transform: translateX(42%); } 100% { transform: translateX(0); } }
}

.sheet { display: grid; align-content: center; gap: 8px; padding: 0 20px; }
.sheet-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 14.5px; }
.sheet-row svg { width: 20px; height: 20px; color: var(--primary-text); }
.sheet-row.primary { background: var(--primary); color: var(--on-primary); }
.sheet-row.primary svg { color: var(--on-primary); }

/* ---------------------------------------------------------------- Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--surface); border: 1px solid var(--hairline); border-radius: 30px; padding: 30px; box-shadow: var(--shadow-sm); }
.tile h3 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 10px; }
.tile p { margin: 0; color: var(--text-secondary); font-size: 16px; }
.tile-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 20px; background: var(--primary-soft); color: var(--primary-text); }
.tile-ico svg { width: 24px; height: 24px; }
.tile-report { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: center; overflow: hidden; padding: 40px; }
.tile-report h3 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.035em; margin-bottom: 16px; }
.tile-report p { font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { padding: 6px 12px; border-radius: 999px; background: var(--tint); border: 1px solid var(--hairline); font: 750 13px/1 var(--display); letter-spacing: 0.02em; }
.history { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 20px; padding: 12px 14px; border-radius: 14px; background: var(--tint); font-weight: 700; }
.history .num:first-child { color: var(--text-tertiary); text-decoration: line-through; }
.history .arrow { color: var(--text-tertiary); }
.history .now { color: var(--primary-text); }
.history small { margin-left: auto; color: var(--text-tertiary); font-weight: 550; font-size: 13px; }

/* A PDF report: a stack of white pages (always white, like the real PDF), the top one slightly turned */
.paper-stack { position: relative; isolation: isolate; }
.paper-stack::before, .paper-stack::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 12px;
  box-shadow: 0 2px 4px rgb(27 20 16 / 0.08), 0 20px 40px -20px rgb(27 20 16 / 0.3);
}
.paper-stack::before { background: #EFE8E0; transform: rotate(-3.5deg) translate(-10px, 8px); }
.paper-stack::after { background: #F7F4F0; transform: rotate(-1deg) translate(-4px, 4px); }
/* A PDF page: always white paper, like the real report */
.paper {
  position: relative;
  background: #FFFFFF; color: #1B1410; border-radius: 12px; padding: 22px 22px 16px; font-size: 12.5px; line-height: 1.35;
  box-shadow: 0 2px 4px rgb(27 20 16 / 0.08), 0 30px 60px -20px rgb(27 20 16 / 0.35); transform: rotate(1.5deg);
}
.paper-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 2px solid #1B1410; }
.paper-head b { display: block; font: 800 18px/1.1 var(--display); letter-spacing: -0.02em; }
.paper small { display: block; color: #7E7268; font-size: 11px; }
.paper-total { text-align: right; }
.paper-total b { font-size: 24px; color: #A3461A; }
.paper-month { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 6px; background: #F8E7DB; color: #A3461A; font-weight: 700; font-size: 11.5px; margin-bottom: 4px; }
.paper-row { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; padding: 9px 10px; border-bottom: 1px solid #E0D6CB; }
.paper-row > span:last-child { font-weight: 700; }
.paper-foot { margin-top: 12px; font-size: 10.5px; color: #7E7268; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-report { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .tile-report { grid-template-columns: 1fr; padding: 30px; }
  .paper { transform: rotate(1deg); }
  .paper-stack { margin: 8px 6px 0; }
}

/* ---------------------------------------------------------------- Privacy (always dark) */
.section.dark {
  position: relative; overflow: hidden; color: #F6F1EC;
  background:
    radial-gradient(50% 60% at 50% 55%, rgb(255 143 77 / 0.20), transparent 70%),
    radial-gradient(30% 30% at 90% 0%, rgb(255 143 77 / 0.10), transparent 70%),
    #0E0B09;
  border-block: 1px solid #3A322B;
}
.dark .kicker { color: #FF9A5C; }
.dark h2 { color: #F6F1EC; }
.dark .section-head > p:not(.kicker) { color: #B5A99F; }
.dark a { color: #FF9A5C; }

.flow { display: grid; grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: auto auto; gap: 26px 56px; align-items: center; max-width: 980px; margin: 0 auto; }
.node { position: relative; display: grid; gap: 4px; padding: 20px 22px; border-radius: 20px; background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.1); }
.node b { font: 750 17px/1.25 var(--display); letter-spacing: -0.015em; color: #F6F1EC; }
.node span { color: #B5A99F; font-size: 14.5px; line-height: 1.45; }
.n1 { grid-area: 1 / 1; } .n3 { grid-area: 2 / 1; } .n2 { grid-area: 1 / 3; } .n4 { grid-area: 2 / 3; }
.n1::after, .n3::after, .n2::before, .n4::before { content: ""; position: absolute; top: 50%; width: 56px; border-top: 2px dashed rgb(255 143 77 / 0.55); }
.n1::after, .n3::after { left: 100%; }
.n2::before, .n4::before { right: 100%; }
.node.none { border-style: dashed; background: transparent; }
.node.none b { text-decoration: line-through; text-decoration-color: #FF9A5C; text-decoration-thickness: 2px; color: #8C8178; }
.node.none::before { border-top-color: rgb(255 255 255 / 0.12); }
.node-phone {
  grid-area: 1 / 2 / 3 / 3; justify-items: center; text-align: center; padding: 40px 28px; border-radius: 32px;
  background: linear-gradient(180deg, rgb(255 143 77 / 0.16), rgb(255 143 77 / 0.04));
  border-color: rgb(255 143 77 / 0.45);
  box-shadow: 0 0 0 10px rgb(255 143 77 / 0.05), 0 30px 80px -20px rgb(255 143 77 / 0.35);
}
.node-phone img { width: 64px; height: 64px; border-radius: 17px; margin-bottom: 12px; }
.node-phone b { font-size: 24px; }
.promises { list-style: none; padding: 0; margin: 64px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 900px; }
.promises li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); font-weight: 600; font-size: 15px; color: #F6F1EC; }
.promises svg { width: 18px; height: 18px; color: #FF9A5C; stroke-width: 2.6; }
.center-link { text-align: center; margin: 28px 0 0; font-weight: 600; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .node-phone, .n1, .n2, .n3, .n4 { grid-area: auto; }
  .node-phone { order: -1; margin-bottom: 10px; }
  .n1::after, .n3::after, .n2::before, .n4::before { display: none; }
}

/* ---------------------------------------------------------------- Countries */
.countries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.country { display: grid; gap: 16px; align-content: start; background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-sm); }
.country .code { font: 800 34px/1 var(--display); letter-spacing: -0.04em; color: var(--primary-text); }
.country h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 6px; }
.country p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--text-secondary); }
.country.universal { background: var(--primary-soft); border-color: transparent; }
.note { margin: 26px 0 0; max-width: 780px; font-size: 14.5px; color: var(--text-tertiary); }
@media (max-width: 1040px) { .countries { grid-template-columns: repeat(2, 1fr); } .country.universal { grid-column: 1 / -1; } }
@media (max-width: 480px) { .countries { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; max-width: 960px; margin: 0 auto; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline); border-radius: 30px; padding: 36px; box-shadow: var(--shadow-sm); }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 26px; }
.plan h3 img { width: 30px; height: 30px; border-radius: 8px; }
.plan-sub { margin: 8px 0 24px; color: var(--text-secondary); }
.plan-price { font-size: 56px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.plan-pro { position: relative; border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.options { display: grid; gap: 10px; }
.option { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--background); border: 1px solid var(--hairline); }
.option b { font: 750 17px/1.25 var(--display); }
.option b em { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font: 700 11.5px/1.2 var(--body); font-style: normal; vertical-align: 2px; }
.option small { display: block; color: var(--text-secondary); font-size: 13.5px; }
.option .amt { text-align: right; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.option .amt small { font-family: var(--body); font-weight: 500; letter-spacing: 0; font-size: 12.5px; }
.option.best { background: var(--primary-soft); border-color: transparent; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--primary-text); stroke-width: 2.6; }
.fine { margin: 22px 0 0; font-size: 13.5px; color: var(--text-tertiary); }
.fine.centered { max-width: 720px; margin: 28px auto 0; text-align: center; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .plan { padding: 28px; } }

/* ---------------------------------------------------------------- FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 108px; margin: 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 0 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 21px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 700 18px/1.35 var(--display); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-text); font: 600 20px/1 var(--body); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--text-secondary); }
.faq details > div p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 0; } .faq-grid .section-head { position: static; margin-bottom: 36px; } }

/* ---------------------------------------------------------------- Closing band */
.closing {
  position: relative; overflow: hidden; padding: 120px 0; text-align: center;
  background:
    radial-gradient(50% 80% at 50% 0%, rgb(255 255 255 / 0.18), transparent 70%),
    var(--primary);
  color: var(--on-primary);
}
.closing::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%;
  background: repeating-conic-gradient(from -135deg, rgb(255 255 255 / 0.22) 0 0.4deg, transparent 0.4deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 60.5%, #000 66%, transparent 66.5%);
  mask: radial-gradient(circle, transparent 60%, #000 60.5%, #000 66%, transparent 66.5%);
}
.closing-inner { position: relative; }
.closing-mark img { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 24px; box-shadow: 0 0 0 8px rgb(255 255 255 / 0.18), 0 30px 60px -20px rgb(0 0 0 / 0.5); }
.closing h2 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.045em; color: var(--on-primary); }
.closing p { font-size: 20px; opacity: 0.88; margin: 16px 0 0; }
.closing .stores { justify-content: center; margin-top: 36px; }

/* ---------------------------------------------------------------- Footer */
.site-footer { padding: 72px 0 48px; color: var(--text-secondary); font-size: 15px; background: var(--background); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 14px 0 0; max-width: 300px; }
.footer-brand .brand .mark { width: 30px; height: 30px; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer h2 { font: 700 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 6px; }
.site-footer nav a { color: var(--text-secondary); text-decoration: none; font-weight: 550; }
.site-footer nav a:hover { color: var(--text); }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline); display: grid; gap: 8px; }
.footer-base p { margin: 0; }
.disclaimer { font-size: 13px; color: var(--text-tertiary); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- Document pages (privacy, terms, support) */
.doc { position: relative; padding: 64px 0 104px; isolation: isolate; }
.doc::before { content: ""; position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; background: radial-gradient(50% 100% at 50% 0%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 70%); }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(42px, 6vw, 64px); letter-spacing: -0.045em; margin-bottom: 14px; }
.doc .updated { color: var(--text-tertiary); font-size: 15px; margin-bottom: 32px; }
.doc .intro { font-size: 20px; color: var(--text-secondary); }
.doc h2 { font-size: 27px; letter-spacing: -0.03em; margin: 52px 0 14px; }
.doc h3 { font-size: 19px; letter-spacing: -0.015em; margin: 28px 0 8px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--text-secondary)); }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--primary-text); }
.doc code { font-size: 0.9em; }
.summary-card { background: var(--primary-soft); border-radius: var(--radius); padding: 26px 28px; margin: 8px 0 12px; font-size: 18px; }
.summary-card p { color: var(--text); }
.summary-card p:last-child { margin-bottom: 0; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 8px 0 20px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow); }
.contact-card h2 { margin: 0 0 6px; font-size: 24px; }
.contact-card p { margin: 0; color: var(--text-secondary); max-width: 460px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hairline); color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 560; box-shadow: var(--shadow-sm); }
.toc a:hover { border-color: var(--text-tertiary); }

/* ---------------------------------------------------------------- 404 */
.lost { text-align: center; padding: 120px 0 136px; }
.lost .mark { width: 104px; height: 104px; margin: 0 auto 30px; border-radius: 26px; box-shadow: var(--shadow-lg); }
.lost h1 { font-size: clamp(44px, 7vw, 76px); letter-spacing: -0.045em; margin-bottom: 14px; }
.lost p { color: var(--text-secondary); font-size: 20px; margin-bottom: 32px; }

@media print {
  .top, .site-footer, .skip { display: none; }
  body { background: #FFFFFF; color: #000000; }
}
