/* SD Card Rescue — site styles. Plain CSS, no build step.
   Colours are tokens on :root (light) and overridden for dark mode below. */

:root {
  color-scheme: light dark;

  /* Surfaces — pearl with a breath of sky */
  --bg: #f7f5f0;
  --bg-sky: #e9f0f7;
  --bg-elev: #ffffff;
  --surface: rgba(255, 255, 255, 0.66);
  --surface-2: rgba(255, 255, 255, 0.9);
  --surface-hover: rgba(255, 255, 255, 0.95);
  --border: rgba(14, 30, 58, 0.09);
  --border-strong: rgba(14, 30, 58, 0.16);
  --hairline: rgba(255, 255, 255, 0.85);

  /* Type — deep navy */
  --text: #0b1a31;
  --text-2: #3e4c63;
  --text-3: #5d6a80;

  /* Brand */
  --red: #cf3423;
  --orange: #b9531a;
  --gold: #976500;
  --teal: #0b6f86;
  --blue: #2557c2;
  --green: #17734c;
  --violet: #5b49b8;
  --sunset: linear-gradient(92deg, #cf3423 0%, #d9541c 48%, #b8721a 100%);
  --ring-red: #e5402f;

  /* Buttons */
  --btn-bg: #0b1a31;
  --btn-text: #ffffff;
  --btn-bg-hover: #182a48;
  --buy-bg: rgba(255, 255, 255, 0.8);
  --buy-border: rgba(14, 30, 58, 0.12);

  /* Glows & shadows */
  --glow-sun: rgba(255, 176, 92, 0.38);
  --glow-sun-2: rgba(255, 128, 92, 0.16);
  --glow-sky: rgba(120, 170, 225, 0.28);
  --shadow-panel: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 80px -30px rgba(18, 40, 80, 0.35), 0 8px 24px -12px rgba(18, 40, 80, 0.18);
  --shadow-card: 0 1px 2px rgba(18, 40, 80, 0.05), 0 12px 32px -18px rgba(18, 40, 80, 0.22);
  --shadow-window: drop-shadow(0 28px 44px rgba(10, 26, 54, 0.38)) drop-shadow(0 4px 10px rgba(10, 26, 54, 0.18));

  --tile-bg: rgba(255, 255, 255, 0.72);
  --tile-text: #0b1a31;
  --chip-bg: rgba(255, 255, 255, 0.78);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #05070d;
    --bg-sky: #0a0f1d;
    --bg-elev: #0d121d;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --surface-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --hairline: rgba(255, 255, 255, 0.10);

    --text: #f5f2ec;
    --text-2: #b4bccb;
    --text-3: #8d97a9;

    --red: #ff6b57;
    --orange: #ff9a52;
    --gold: #f6c36a;
    --teal: #57d0e6;
    --blue: #7aa8ff;
    --green: #52d99b;
    --violet: #a99bff;
    --sunset: linear-gradient(92deg, #ff6b57 0%, #ff9a4d 50%, #ffcb73 100%);

    --btn-bg: #f6f1e8;
    --btn-text: #0b1220;
    --btn-bg-hover: #ffffff;
    --buy-bg: rgba(255, 255, 255, 0.07);
    --buy-border: rgba(255, 255, 255, 0.13);

    --glow-sun: rgba(255, 140, 70, 0.22);
    --glow-sun-2: rgba(170, 80, 140, 0.16);
    --glow-sky: rgba(70, 90, 200, 0.18);
    --shadow-panel: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255,255,255,.06);
    --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.7);
    --shadow-window: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));

    --tile-bg: rgba(20, 26, 40, 0.62);
    --tile-text: #f5f2ec;
    --chip-bg: rgba(14, 20, 34, 0.7);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b { font-weight: 600; color: var(--text); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.ico { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--btn-bg); color: var(--btn-text); text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.wrap-narrow { width: min(100% - 48px, 780px); }
.wrap-wide { width: min(100% - 48px, 1280px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; inset: 14px 0 auto; z-index: 50; display: flex; justify-content: center; pointer-events: none; padding-inline: 12px; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -18px rgba(10, 20, 40, .45);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); border-color: var(--border-strong); }
.nav-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; margin-right: 10px; }
.nav-brand img { width: 28px; height: 28px; margin: -2px -2px -2px -4px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: block; padding: 7px 12px; border-radius: 999px; font-size: 14px; color: var(--text-2); text-decoration: none; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav .btn-sm { margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 16px; letter-spacing: -0.015em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-sm { --h: 36px; padding: 0 15px; font-size: 14px; gap: 6px; }
.btn-sm .ico { width: 16px; height: 16px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 17px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 10px 26px -12px rgba(10, 26, 54, .55), 0 1px 0 rgba(255,255,255,.18) inset; }
.btn-primary:hover { background: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: 0 16px 32px -14px rgba(10, 26, 54, .6), 0 1px 0 rgba(255,255,255,.2) inset; }
.btn-buy { background: var(--buy-bg); color: var(--text); border: 1px solid var(--buy-border); padding-right: 7px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-buy:hover { transform: translateY(-1px); border-color: var(--border-strong); background: var(--surface-hover); }
.btn-buy .price {
  display: inline-flex; align-items: baseline; gap: 7px;
  height: calc(var(--h) - 14px); padding: 0 14px; margin-left: 4px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
  font-variant-numeric: tabular-nums; line-height: calc(var(--h) - 16px);
}
.btn-buy .price s { color: var(--text-3); font-weight: 500; font-size: .86em; text-decoration-thickness: 1.5px; }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface-hover); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ---------- Shared type ---------- */
.eyebrow { font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.e-red { color: var(--red); } .e-orange { color: var(--orange); } .e-gold { color: var(--gold); }
.e-teal { color: var(--teal); } .e-blue { color: var(--blue); } .e-green { color: var(--green); } .e-violet { color: var(--violet); }
.c-red { color: var(--red); } .c-orange { color: var(--orange); } .c-gold { color: var(--gold); }
.c-teal { color: var(--teal); } .c-blue { color: var(--blue); }

h2 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -0.038em; text-wrap: balance; }
h3 { font-size: 19px; letter-spacing: -0.022em; line-height: 1.25; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.sec-lede { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.sec-head .sec-lede { max-width: 660px; margin-inline: auto; }
.section { padding-block: clamp(64px, 7.5vw, 104px); position: relative; scroll-margin-top: 40px; }
.sunset-text { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(128px, 15vw, 168px); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero::before { /* sky wash at the top of the page */
  content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -2;
  background: linear-gradient(180deg, var(--bg-sky) 0%, var(--bg) 100%);
}
.hero-glow { position: absolute; z-index: -1; left: 50%; top: 40px; width: min(1100px, 140vw); height: 760px; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 30%, var(--glow-sun), transparent 70%),
    radial-gradient(closest-side at 28% 45%, var(--glow-sun-2), transparent 70%),
    radial-gradient(closest-side at 74% 40%, var(--glow-sky), transparent 70%);
  filter: blur(10px);
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-icon { width: clamp(108px, 12vw, 140px); margin-bottom: 18px; filter: drop-shadow(0 18px 30px rgba(230, 120, 60, .25)); }
.hero-icon img { width: 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
.pill-note { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; font-weight: 550; color: var(--text-2); margin-bottom: 22px; }
.pill-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ring-red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring-red) 22%, transparent); }
h1 { font-size: clamp(44px, 7.6vw, 92px); line-height: 1.0; letter-spacing: -0.045em; max-width: 12.5em; text-wrap: balance; }
.lede { margin-top: 24px; max-width: 640px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--text-3); line-height: 1.6; }

/* Stage: wallpaper + window */
.stage-wrap { margin-top: clamp(56px, 7vw, 84px); }
.stage { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 2 / 1; box-shadow: var(--shadow-panel); isolation: isolate; }
.stage-art, .stage-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-art { z-index: -1; }
.hero-window { position: absolute; left: 50%; top: 8%; width: 62.5%; margin: 0; transform: translateX(-50%); }
.window { margin: 0; }
.window img { width: 100%; filter: var(--shadow-window); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--chip-bg); border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45);
}
.chip .ico { width: 18px; height: 18px; }
.c-left { left: 3.2%; top: 54%; } .c-left .ico { color: var(--green); }
.c-right { right: 3.2%; top: 27%; } .c-right .ico { color: var(--teal); }
.float-tiles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.tile {
  position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 17px;
  font: 700 14px/1 var(--font); letter-spacing: .02em; color: var(--tile-text);
  background: var(--tile-bg); border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .5);
}
.tile::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 11px; height: 3px; border-radius: 3px; background: var(--c, var(--ring-red)); opacity: .9; }
.t1 { left: 9%; top: 13%; --c: #f0a43c; transform: rotate(-8deg); }
.t2 { left: 13.5%; top: 75%; --c: #9b7bff; width: 56px; height: 56px; transform: rotate(6deg); }
.t3 { right: 10%; top: 9%; --c: #e5402f; transform: rotate(7deg); }
.t4 { right: 6%; top: 71%; --c: #9b7bff; width: 54px; height: 54px; transform: rotate(-5deg); }
.t5 { left: 4%; top: 33%; --c: #9b7bff; width: 50px; height: 50px; font-size: 12px; transform: rotate(4deg); }
.t6 { right: 13%; top: 49%; --c: #e5402f; width: 52px; height: 52px; font-size: 12px; transform: rotate(-9deg); }
@media (prefers-reduced-motion: no-preference) {
  .tile { animation: drift 9s ease-in-out infinite; }
  .t2 { animation-delay: -2s; } .t3 { animation-delay: -4s; } .t4 { animation-delay: -6s; } .t5 { animation-delay: -1s; } .t6 { animation-delay: -3s; }
  .chip { animation: drift 11s ease-in-out infinite; } .c-right { animation-delay: -5s; }
}
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; counter-reset: step; }
.steps::before { /* the rope between steps */
  content: ""; position: absolute; left: 16%; right: 16%; top: 51px; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 14px);
}
.step { position: relative; z-index: 1; padding: 30px 28px 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); text-align: center; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.step-num { position: absolute; top: 18px; left: 22px; font: 600 13px/1 var(--mono); color: var(--text-3); }
.step-ico {
  width: 46px; height: 46px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: conic-gradient(from -45deg, var(--ring-red) 0 25%, #fff 0 50%, var(--ring-red) 0 75%, #fff 0);
  box-shadow: 0 8px 18px -8px rgba(229, 64, 47, .7);
  position: relative;
}
.step-ico::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #0f2a4c; }
.step-ico .ico { position: relative; width: 16px; height: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 15.5px; }

/* ---------- Feature panels (sea wallpaper) ---------- */
.panel {
  --art: url("../img/art/hero-golden-S.jpg");
  --art: image-set(url("../img/art/hero-golden-L.avif") type("image/avif"), url("../img/art/hero-golden-L.webp") type("image/webp"), url("../img/art/hero-golden-S.jpg") type("image/jpeg"));
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  padding: clamp(18px, 5.5%, 64px) clamp(12px, 8%, 96px) clamp(18px, 5.5%, 60px);
  background: var(--art) var(--pos, 50% 50%) / var(--size, cover) no-repeat, #135a7e;
  box-shadow: var(--shadow-panel);
}
@media (prefers-color-scheme: dark) {
  .panel {
    --art: url("../img/art/hero-dusk-S.jpg");
    --art: image-set(url("../img/art/hero-dusk-L.avif") type("image/avif"), url("../img/art/hero-dusk-L.webp") type("image/webp"), url("../img/art/hero-dusk-S.jpg") type("image/jpeg"));
    background-color: #08203b;
  }
}
.panel::after { /* gentle top light */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 220, 170, .14), transparent 60%);
}
.panel .window { position: relative; z-index: 1; }
.panel-sun { --pos: 0% 40%; --size: auto 112%; }
.panel-sea { --pos: 50% 100%; --size: auto 150%; }
.panel-boat { --pos: 22% 70%; --size: auto 118%; }
.panel-sun-r { --pos: 0% 30%; --size: auto 108%; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.mini { padding: 26px 26px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .35s var(--ease), background .35s, border-color .35s; }
.mini:hover { transform: translateY(-3px); background: var(--surface-2); border-color: var(--border-strong); }
.mini-ico { width: 26px; height: 26px; margin-bottom: 16px; }
.mini h3 { font-size: 17.5px; margin-bottom: 7px; }
.mini p { color: var(--text-2); font-size: 15.5px; }

/* Split: preview */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-copy h2 { font-size: clamp(32px, 4.4vw, 50px); }
.split-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--text-2); font-size: 18px; }
.split-note { font-size: 15px !important; color: var(--text-3) !important; }
.ticks { display: grid; gap: 12px; margin: 26px 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.ticks .ico { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; color: #fff; background: var(--green); }
.zoom {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1.02; box-shadow: var(--shadow-panel);
  background:
    radial-gradient(80% 60% at 20% 0%, var(--glow-sun), transparent 70%),
    linear-gradient(160deg, #dfeaf5, #f4e6d6);
}
@media (prefers-color-scheme: dark) {
  .zoom { background: radial-gradient(80% 60% at 20% 0%, rgba(255, 140, 70, .25), transparent 70%), linear-gradient(160deg, #141a35, #0a1426); }
}
.zoom picture { position: absolute; left: -41%; top: -9%; width: 205%; max-width: none; }
.zoom img { width: 100%; max-width: none; filter: var(--shadow-window); }
.zoom::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: 0 0 0 1px var(--border) inset; }

/* Verdict row */
.verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.verdict { display: flex; gap: 14px; align-items: flex-start; padding: 22px 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.verdict > .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; color: #fff; }
.verdict b { display: block; margin-bottom: 4px; font-size: 16.5px; }
.verdict span { color: var(--text-2); font-size: 15px; }
.v-good > .ico { background: #1f9a63; } .v-warn > .ico { background: #e3912b; } .v-bad > .ico { background: #d9442f; }

/* ---------- Card Health ---------- */
.badges { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.badge { padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 650; border: 1px solid; }
.b-good { color: var(--green); border-color: color-mix(in srgb, var(--green) 35%, transparent); background: color-mix(in srgb, var(--green) 10%, transparent); }
.b-watch { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.b-replace { color: var(--red); border-color: color-mix(in srgb, var(--red) 35%, transparent); background: color-mix(in srgb, var(--red) 10%, transparent); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.fact { padding: 24px 22px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .35s var(--ease), background .35s; }
.fact:hover { transform: translateY(-3px); background: var(--surface-2); }
.fact .ico { width: 26px; height: 26px; margin-bottom: 14px; }
.fact h3 { font-size: 17px; margin-bottom: 6px; }
.fact p { font-size: 15px; color: var(--text-2); }
.honest { display: flex; gap: 12px; align-items: flex-start; max-width: 720px; margin: 32px auto 0; padding: 16px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px dashed var(--border-strong); color: var(--text-2); font-size: 15.5px; }
.honest .ico { color: var(--blue); margin-top: 2px; }

/* ---------- Safety ---------- */
.safety-card {
  position: relative; overflow: hidden; text-align: center; border-radius: 40px;
  padding: clamp(56px, 8vw, 96px) clamp(22px, 6vw, 80px);
  background:
    radial-gradient(70% 55% at 50% 0%, var(--glow-sun), transparent 70%),
    radial-gradient(60% 50% at 50% 110%, var(--glow-sky), transparent 70%),
    var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.safety-card .sec-lede { max-width: 620px; margin-inline: auto; }
.safety-ring { width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from -45deg, var(--ring-red) 0 25%, #fdfaf4 0 50%, var(--ring-red) 0 75%, #fdfaf4 0);
  box-shadow: 0 18px 40px -16px rgba(229, 64, 47, .65), 0 0 0 1px rgba(0,0,0,.06);
  position: relative;
}
.safety-ring::before { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 3px 8px rgba(0,0,0,.25); }
.safety-ring .ico { display: none; }
@media (prefers-reduced-motion: no-preference) { .safety-ring { animation: bob 7s ease-in-out infinite; } }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; text-align: left; }
.s-item { padding: 24px 22px 26px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); }
.s-item .ico { width: 26px; height: 26px; color: var(--blue); margin-bottom: 14px; }
.s-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.s-item p { color: var(--text-2); font-size: 15.5px; }

/* ---------- Formats ---------- */
.fmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-flow: dense; }
.fmt { padding: 24px 24px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .35s var(--ease); }
.fmt:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.fmt h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 16px; }
.fmt ul { display: flex; flex-wrap: wrap; gap: 8px; }
.fmt li { padding: 7px 12px; border-radius: 10px; font: 600 14px/1.2 var(--font); background: var(--surface-2); border: 1px solid var(--border); }
.fmt-wide { grid-column: span 2; }
.fmt-full { grid-column: 1 / -1; }
.fmt-wide li { font-family: var(--mono); font-size: 13.5px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.plan h3 { font-size: 18px; color: var(--text-2); }
.plan-price { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.plan-price .amt { font-size: 60px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--text); }
.plan-price .was { font-size: 24px; color: var(--text-3); font-weight: 500; text-decoration-thickness: 2px; }
.plan-price .per { font-size: 15px; color: var(--text-3); }
.plan-sub { margin-top: 10px; color: var(--text-2); }
.plan .ticks { margin: 26px 0 30px; flex: 1; align-content: start; }
.plan-pro {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    linear-gradient(140deg, #ff8a4c, #e5402f 40%, rgba(229, 64, 47, .15) 70%, #f6b35a) border-box;
  box-shadow: 0 40px 80px -40px rgba(229, 90, 47, .5), var(--shadow-card);
}
.plan-pro::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 50% at 85% 0%, var(--glow-sun), transparent 70%); }
.plan-pro > * { position: relative; }
.plan-flag { position: absolute !important; top: 22px; right: 22px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(92deg, #e5402f, #f0782f); }
.plan-foot { margin-top: 14px; text-align: center; font-size: 14px; color: var(--text-3); }
.promise { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 900px; margin: 26px auto 0; padding: 18px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); }
.promise .ico { width: 28px; height: 28px; color: var(--ring-red); }

/* ---------- Founder ---------- */
.note { margin: 0 auto; max-width: 820px; text-align: center; }
.note blockquote { margin: 0; }
.note blockquote p { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.42; letter-spacing: -0.025em; font-weight: 500; color: var(--text); text-wrap: pretty; }
.note blockquote p::before { content: "“"; } .note blockquote p::after { content: "”"; }
.note figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; text-align: left; color: var(--text-3); font-size: 14.5px; line-height: 1.45; }
.note figcaption b { font-size: 15.5px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #fff; letter-spacing: .02em;
  background: linear-gradient(150deg, #f6b35a, #e5402f 55%, #1a3a6e); box-shadow: 0 10px 20px -10px rgba(229, 64, 47, .7); flex: none; }

/* ---------- FAQ ---------- */
.qa-list { border-top: 1px solid var(--border); }
.qa-list details { border-bottom: 1px solid var(--border); }
.qa-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 18.5px; font-weight: 600; letter-spacing: -0.02em; transition: color .2s; }
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary:hover { color: var(--text); opacity: .85; }
.plus { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); transition: transform .35s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--text-2); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus { transform: rotate(45deg); background: color-mix(in srgb, var(--ring-red) 14%, transparent); }
.qa-body { padding: 0 54px 24px 4px; color: var(--text-2); font-size: 16.5px; }
@media (prefers-reduced-motion: no-preference) {
  details[open] .qa-body { animation: fade-down .4s var(--ease); }
}
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.contact { margin-top: 28px; text-align: center; color: var(--text-3); }
.contact a { color: var(--blue); }

/* ---------- Final CTA ---------- */
.final { padding-bottom: clamp(40px, 6vw, 72px); }
.final-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.045em; }
.sea { position: relative; margin-top: clamp(48px, 7vw, 80px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 1; box-shadow: var(--shadow-panel); }
.sea-art, .sea-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sea-icon { position: absolute; left: 30.16%; top: 57.1%; width: 15%; transform: translate(-50%, -52%); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .35)); }
.sea-icon img { width: 100%; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 44px 0 48px; }
/* A gentle wave instead of a straight rule above the footer. Drawn as a
   repeating SVG mask so it takes the theme's border colour in light and dark. */
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: color-mix(in srgb, var(--text-2) 16%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7 C 20 1, 40 1, 60 7 S 100 13, 120 7' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 14px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7 C 20 1, 40 1, 60 7 S 100 13, 120 7' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 14px;
}
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.footer .nav-brand img { width: 24px; height: 24px; margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.copy { width: 100%; color: var(--text-3); font-size: 13.5px; }
.disclaimer { width: 100%; margin: 0; color: var(--text-3); font-size: 12px; line-height: 1.55; }
.disclaimer summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 13px; color: var(--text-3); }
.disclaimer summary::-webkit-details-marker { display: none; }
.disclaimer summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.disclaimer[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.disclaimer summary:hover { color: var(--text-2); }
.disclaimer p { max-width: 92ch; margin: 8px 0 0; opacity: .85; text-wrap: pretty; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .stage[data-reveal] { transform: translateY(40px) scale(.985); transition-duration: 1.2s; }
  .js .stage[data-reveal].in { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links a { padding: 7px 9px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-copy { text-align: center; }
  .split-copy .ticks { justify-items: start; text-align: left; max-width: 470px; margin-inline: auto; }
  .zoom { aspect-ratio: 16 / 11; }
  .zoom picture { width: 150%; left: -31%; top: -7%; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { gap: 2px; }
  .stage { aspect-ratio: auto; padding: 16% 4% 6%; }
  .hero-window { position: relative; left: auto; top: auto; transform: none; width: 100%; }
  .chip, .t5, .t6 { display: none; }
  .t1 { left: 4%; top: 3%; } .t3 { right: 4%; top: 3%; } .t2, .t4 { display: none; }
  .tile { width: 48px; height: 48px; border-radius: 13px; font-size: 12px; }
  .tile::after { left: 9px; right: 9px; bottom: 8px; }
  .steps, .mini-grid, .verdicts, .safety-grid, .plans { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .fmt-grid { grid-template-columns: 1fr 1fr; }
  .plans { max-width: 520px; }
  .sea { aspect-ratio: 2.3 / 1; }
  .sea-art img { object-position: 50% 50%; }
  .sea-icon { left: 24.1%; width: 19.5%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow, .wrap-wide { width: min(100% - 32px, 1120px); }
  .nav-brand span { font-size: 14.5px; }
  .nav { padding-left: 12px; }
  .cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .btn-lg { --h: 52px; }
  .stage { border-radius: 22px; padding: 18% 3% 5%; }
  .panel { border-radius: 22px; padding: 22px 10px 18px; }
  .zoom { border-radius: 22px; aspect-ratio: 1 / 1; }
  .zoom picture { width: 210%; left: -44%; top: -6%; }
  .fmt-grid { grid-template-columns: 1fr; }
  .fmt-wide, .fmt-full { grid-column: auto; }
  .facts { grid-template-columns: 1fr; }
  .mini, .fact, .s-item { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; padding: 20px 20px 22px; }
  .mini > .ico, .fact > .ico, .s-item > .ico { grid-row: span 2; margin: 0; width: 24px; height: 24px; }
  .mini-grid, .facts, .verdicts { gap: 12px; }
  .step { padding: 26px 22px 26px; }
  .qa-list summary { font-size: 17px; }
  .qa-body { padding-right: 8px; }
  .plan { padding: 28px 22px 24px; }
  .plan-price .amt { font-size: 52px; }
  .promise { flex-direction: column; text-align: center; }
  .safety-card { border-radius: 28px; }
  .sea { border-radius: 22px; aspect-ratio: 4 / 3; }
  .sea-art img { object-position: 26% 50%; }
  .sea-icon { left: 35.3%; width: 33%; }
}

/* ---------- Simple pages (privacy, 404) ---------- */
.page { padding: clamp(120px, 14vw, 160px) 0 clamp(64px, 8vw, 100px); }
.page-head { text-align: center; margin-bottom: 48px; }
.page-head img { width: 88px; margin: 0 auto 18px; }
.page-head h1 { font-size: clamp(38px, 6vw, 60px); margin: 0 auto; }
.page-head p { margin-top: 14px; color: var(--text-3); }
.prose { font-size: 17px; color: var(--text-2); }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.prose p + p, .prose ul { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--blue); }
.lost { text-align: center; }
.lost .lede { margin-inline: auto; }
.lost .cta-row { justify-content: center; }

/* Very narrow screens: drop the name from the top bar so it never hides
   behind the Download button (the icon still links home). */
@media (max-width: 360px) {
  .nav .nav-brand span { display: none; }
}

/* Mac App Store button: same pill as Buy Directly, Apple-blue icon. */
.btn-mas > .ico { color: #1d7cf2; }
.plan-price .amt-text { font-size: 30px; letter-spacing: -0.02em; }
.btn-mas { padding-right: 22px; }
.foot-mas { display: inline-flex; align-items: center; gap: 6px; }
.foot-mas .ico { width: 15px; height: 15px; color: #1d7cf2; }
.foot-mas[aria-disabled="true"] { pointer-events: none; }
.foot-mas .soon { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; color: var(--text-3); border: 1px solid var(--border); }
.person-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.person-link:hover { text-decoration-color: currentColor; }

/* ---------- More apps (sibling app: CardCheck) ---------- */
.app-cards { display: grid; max-width: 760px; margin-inline: auto; }
.app-card { display: flex; gap: 22px; align-items: flex-start; padding: 26px; border-radius: var(--r-lg); text-decoration: none; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s; }
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-panel); }
.app-card img { flex: none; width: 88px; height: 88px; border-radius: 20px; }
.app-card h3 { margin: 4px 0 8px; }
.app-card p { color: var(--text-2); font-size: 15px; margin: 0 0 10px; }
.app-link { color: var(--blue); font-weight: 600; font-size: 15px; }
@media (max-width: 520px) { .app-card { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .app-card { transition: none; } }

/* Pre-launch: download/buy buttons that aren't open yet */
.btn.is-soon { opacity: .55; cursor: default; pointer-events: none; filter: saturate(.6); }
