/* =========================================================================
   Unsubscribe Me — "Notion-style" theme
   Deep-navy hero · warm-neutral light body · bold grotesque headlines ·
   Notion-blue accent · pastel accent panels · soft shadows, subtle borders.
   Semantic accents kept: green = local & safe · red = the cloud/others.
   ========================================================================= */

:root {
  /* surfaces */
  --navy: #12132f;          /* hero background */
  --navy-2: #1c1d4a;
  --paper: #ffffff;         /* primary light background */
  --paper-2: #f7f6f3;       /* warm-gray section background (the Notion neutral) */
  --card: #ffffff;

  /* ink */
  --ink: #1a1a19;           /* headlines (warm near-black) */
  --ink-soft: #37352f;      /* strong body */
  --muted: #6b6a64;         /* body text */
  --muted-2: #9a988f;       /* captions / labels */
  --on-navy: #ffffff;
  --on-navy-soft: #b7b8d4;

  /* lines */
  --line: #e9e7e2;
  --line-2: #ddd9d1;

  /* accents */
  --blue: #2383e2;          /* primary action + links (Notion blue) */
  --blue-deep: #1b6fd0;
  --good: #1f9d6b;          /* safe / local / success */
  --good-bg: #e7f4ec;
  --bad: #e0584f;           /* the cloud / risk */
  --bad-bg: #fbece9;
  --peach: #faecdd;
  --bluetint: #e9f1fc;
  --yellowtint: #fbf3d6;

  /* type */
  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* scale */
  --maxw: 1100px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.06), 0 1px 3px rgba(15, 15, 15, 0.04);
  --shadow: 0 6px 22px rgba(15, 15, 15, 0.08), 0 2px 6px rgba(15, 15, 15, 0.05);
  --shadow-lg: 0 26px 60px -22px rgba(15, 15, 15, 0.30);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 800; line-height: 1.05; letter-spacing: -0.028em; margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; padding-block: clamp(64px, 9vw, 116px); }
/* alternating warm-gray rhythm (hero is .hero/navy and opts out) */
main > section:nth-of-type(2n):not(.hero) { background: var(--paper-2); }

.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted);
  letter-spacing: 0; margin-bottom: 16px;
}
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); }
.section-head p { color: var(--muted); font-size: clamp(16px, 1.8vw, 19px); margin-top: 14px; }

.text-mint { color: var(--good); }
.text-risk { color: var(--bad); }
.mono { font-family: var(--body); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15.5px;
  padding: 12px 20px; border-radius: 10px;
  border: 1px solid transparent; background: var(--paper-2); color: var(--ink);
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--line-2); }

/* ---------- scroll progress (QoL) ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--blue); transform: scaleX(0); transform-origin: 0 50%;
}

:where(section[id], [id]#top, main) { scroll-margin-top: 80px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-links a.active:not(.btn) { color: var(--blue); }
.nav-toggle { display: none; }

/* hero nav sits on navy → light text */
.nav:not(.scrolled) .brand { color: #fff; }
.nav:not(.scrolled) .nav-links a:not(.btn) { color: #d9dAe8; color: #d9dae8; }
.nav:not(.scrolled) .nav-links a:not(.btn):hover { color: #fff; }

/* ---------- hero (navy, centered) ---------- */
.hero {
  background:
    radial-gradient(900px 460px at 50% -6%, rgba(120, 122, 255, 0.20), transparent 60%),
    linear-gradient(180deg, var(--navy), #0f1029);
  color: var(--on-navy);
  padding-top: 132px; padding-bottom: clamp(40px, 7vw, 88px);
  overflow: hidden;
}
.hero-grid { display: block; text-align: center; position: relative; z-index: 1; }
.hero-grid > div:first-child { max-width: 760px; margin-inline: auto; }
.hero .eyebrow { color: var(--on-navy-soft); }
.hero h1 { color: #fff; font-size: clamp(40px, 7vw, 76px); letter-spacing: -0.035em; }
.hero h1 .line { display: block; }
.hero h1 em {
  font-style: normal; color: var(--ink); background: #fff70 0; /* fallback */
  background: linear-gradient(180deg, transparent 8%, #fde68a 8% 92%, transparent 92%);
  padding: 0 .12em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero p.lead { color: var(--on-navy-soft); font-size: clamp(17px, 2vw, 21px); margin: 20px auto 0; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.04); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.5); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; color: var(--on-navy-soft); font-size: 14px; justify-content: center; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7b7; }

/* playful floating chips (signature, echoes Notion) */
.hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-deco .chip {
  position: absolute; width: 52px; height: 52px; border-radius: 14px; background: #fff;
  display: grid; place-items: center; font-size: 24px; box-shadow: var(--shadow);
  animation: float 6s var(--ease) infinite;
}
.hero-deco .chip:nth-child(1) { top: 120px; left: 7%; transform: rotate(-8deg); }
.hero-deco .chip:nth-child(2) { top: 220px; right: 8%; transform: rotate(7deg); animation-delay: .8s; }
.hero-deco .chip:nth-child(3) { top: 350px; left: 11%; transform: rotate(6deg); animation-delay: 1.6s; }
.hero-deco .chip:nth-child(4) { top: 300px; right: 13%; transform: rotate(-6deg); animation-delay: 2.2s; }
.hero-deco .chip:nth-child(5) { top: 60px; right: 22%; transform: rotate(5deg); animation-delay: 1.1s; }
@media (max-width: 900px) { .hero-deco { display: none; } }

/* ---------- signature: the unsubscribe engine (light product window) ---------- */
.engine {
  max-width: 880px; margin: clamp(36px, 6vw, 64px) auto 0; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.engine-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); min-width: 0; }
.engine-bar .dots { display: flex; gap: 7px; flex: none; }
.engine-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #d6d3cc; }
.engine-bar .title { margin-left: 8px; font-size: 13px; color: var(--muted); flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.engine-bar .live { margin-left: auto; flex: none; font-size: 12px; color: var(--good); display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.engine-bar .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulse 1.6s infinite; }

.engine-body { padding: 6px 0; background: #fff; }
.row {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 18px; border-bottom: 1px solid #f1efea;
  transition: opacity .5s var(--ease), background .3s;
}
.row:last-child { border-bottom: 0; }
.row .check { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); position: relative; transition: .3s; }
.row .sender { min-width: 0; }
.row .sender b { font-weight: 600; font-size: 14.5px; color: var(--ink); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sender small { font-size: 11.5px; color: var(--muted-2); }
.row .badge { font-size: 11px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; background: var(--paper-2); font-weight: 500; }
.row.is-done { opacity: .55; }
.row.is-done .sender b { text-decoration: line-through; text-decoration-color: var(--good); color: var(--muted); }
.row.is-done .check { background: var(--good); border-color: var(--good); }
.row.is-done .check::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.row.is-done .badge { color: var(--good); border-color: #bfe6cf; background: var(--good-bg); }

.engine-foot { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-top: 1px solid var(--line); background: var(--paper-2); }
.engine-foot .count { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--ink); }
.engine-foot .count span { color: var(--good); }
.engine-foot .label { font-size: 13px; color: var(--muted); }
.engine-foot .pill { font-size: 12px; color: var(--good); border: 1px solid #bfe6cf; background: var(--good-bg); padding: 5px 11px; border-radius: 999px; font-weight: 600; }

/* ---------- video ---------- */
.video-wrap { max-width: 920px; margin-inline: auto; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; background: var(--paper-2);
  box-shadow: var(--shadow-lg); display: grid; place-items: center; text-align: center;
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { padding: 32px; }
.play-btn {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; background: var(--blue); box-shadow: var(--shadow);
  cursor: pointer; transition: transform .25s var(--ease), background .2s;
}
.play-btn:hover { transform: scale(1.05); background: var(--blue-deep); }
.play-btn svg { width: 30px; height: 30px; fill: #fff; margin-left: 5px; }
.video-placeholder h3 { font-size: 21px; margin-bottom: 8px; color: var(--ink); }
.video-placeholder p { color: var(--muted); font-size: 15px; }
.video-placeholder .drop { font-size: 12.5px; color: var(--muted-2); margin-top: 16px; padding: 8px 14px; border: 1px dashed var(--line-2); border-radius: 8px; display: inline-block; }
.video-badge { position: absolute; top: 16px; left: 16px; font-size: 12px; color: var(--blue); background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-sm); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step .num { counter-increment: step; font-size: 13px; font-weight: 600; color: var(--blue); }
.step .num::before { content: "Step " counter(step); }
.step h3 { font-size: 21px; margin: 14px 0 9px; }
.step p { color: var(--muted); font-size: 15px; }
.step .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bluetint); margin-bottom: 16px; }
.step .ico svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; }
.protocols { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.protocols span { font-size: 12px; padding: 5px 11px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); background: var(--paper-2); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--peach); margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; stroke: #c2410c; fill: none; }
.feature.accent .ico { background: var(--good-bg); }
.feature.accent .ico svg { stroke: var(--good); }
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- privacy / perimeter (centerpiece) ---------- */
.privacy-claim { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.07; max-width: 18ch; margin: 0 auto 14px; text-align: center; color: var(--ink); }
.privacy-claim em { font-style: normal; color: var(--ink); background: linear-gradient(180deg, transparent 10%, #cdeafc 10% 92%, transparent 92%); padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.privacy-sub { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 50px; font-size: clamp(16px, 1.8vw, 19px); }

.perimeter { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.perimeter .panel { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); position: relative; }
.panel.safe { background: var(--good-bg); border-color: #c7e8d5; }
.panel.risky { background: var(--bad-bg); border-color: #f3cdc8; }
.panel .tag { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; display: inline-block; margin-bottom: 16px; background: #fff; }
.panel.safe .tag { color: var(--good); border: 1px solid #bfe6cf; }
.panel.risky .tag { color: var(--bad); border: 1px solid #f3cdc8; }
.panel h3 { font-size: 21px; margin-bottom: 16px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.panel li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-soft); align-items: flex-start; }
.panel li .mk { flex: none; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; margin-top: 1px; font-size: 12px; font-weight: 700; }
.panel.safe li .mk { background: #fff; color: var(--good); border: 1px solid #bfe6cf; }
.panel.risky li .mk { background: #fff; color: var(--bad); border: 1px solid #f3cdc8; }
.panel.risky li { color: var(--muted); }

.crossing { margin-top: 38px; text-align: center; }
.crossing h3 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 8px; }
.crossing p { color: var(--muted); max-width: 56ch; margin: 0 auto 24px; }
.crossing-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.crossing-list .item { font-size: 13.5px; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); padding: 10px 15px; border-radius: 10px; display: inline-flex; gap: 9px; align-items: center; box-shadow: var(--shadow-sm); }
.crossing-list .item b { color: #fff; background: var(--blue); width: 20px; height: 20px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 12px; }

/* ---------- comparison ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.compare thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--paper-2); }
.compare thead th.us { color: var(--good); }
.compare tbody td:first-child { color: var(--muted); }
.compare .us { background: var(--good-bg); }
.compare tr:last-child td { border-bottom: 0; }
.tick { color: var(--good); font-weight: 700; }
.cross { color: var(--bad); font-weight: 700; }

/* ---------- screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.shot { position: relative; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--paper-2); aspect-ratio: 16/10; box-shadow: var(--shadow-sm); }
.shot.wide { grid-column: span 2; aspect-ratio: 21/9; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.shot .ph .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bluetint); margin: 0 auto 14px; }
.shot .ph .ico svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; }
.shot .ph b { display: block; font-family: var(--display); font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.shot .ph code { font-size: 11.5px; color: var(--muted-2); font-family: ui-monospace, Menlo, monospace; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.6vw, 48px); color: var(--blue); line-height: 1; letter-spacing: -0.03em; }
.stat .n .suf { color: var(--ink); }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- download ---------- */
.download-card {
  text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 68px); position: relative; overflow: hidden; background: var(--card); box-shadow: var(--shadow);
}
.download-card .eyebrow { color: var(--good); }
.download-card h2 { font-size: clamp(28px, 4.2vw, 44px); }
.download-card p { color: var(--muted); max-width: 52ch; margin: 14px auto 30px; }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.dl-meta { margin-top: 22px; font-size: 12.5px; color: var(--muted-2); }
.badge-soon { font-size: 10px; color: #b45309; border: 1px solid #fcd9a3; background: var(--yellowtint); padding: 2px 7px; border-radius: 999px; margin-left: 6px; font-weight: 600; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 800px; margin-inline: auto; }
.qa { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; box-shadow: var(--shadow-sm); }
.qa summary { cursor: pointer; padding: 19px 22px; font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { flex: none; width: 22px; height: 22px; position: relative; }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; background: var(--blue); inset: 0; margin: auto; }
.qa summary .pm::before { width: 13px; height: 2px; }
.qa summary .pm::after { width: 2px; height: 13px; transition: transform .3s var(--ease), opacity .3s; }
.qa[open] summary .pm::after { transform: rotate(90deg); opacity: 0; }
.qa .a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.qa .a a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 52px 36px; background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer .brand { color: var(--ink); margin-bottom: 12px; }
.footer p { color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer h4 { font-size: 13px; color: var(--ink); font-weight: 700; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
/* hero content shows immediately (it's above the fold on navy) */
.hero [data-reveal] { opacity: 1; transform: none; }

/* ---------- back to top ---------- */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s var(--ease); box-shadow: var(--shadow); }
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; }

/* ---------- privacy page extras ---------- */
.page-hero { padding-top: 120px; padding-bottom: 12px; text-align: center; background: linear-gradient(180deg, var(--navy), #0f1029); color: #fff; }
.page-hero .eyebrow { color: var(--on-navy-soft); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5.5vw, 60px); }
.page-hero p { color: var(--on-navy-soft); max-width: 60ch; margin: 18px auto 0; font-size: 18px; }
.prose { max-width: 740px; margin-inline: auto; }
.prose h2 { font-size: clamp(23px, 3.2vw, 32px); margin: 44px 0 14px; }
.prose h3 { font-size: 19px; margin: 26px 0 9px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; }
.prose ul { padding-left: 22px; display: grid; gap: 9px; }
.prose strong { color: var(--ink); }
.prose .callout { border-left: 3px solid var(--blue); background: var(--bluetint); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.prose .callout p { color: var(--ink-soft); margin: 0; }

/* ---------- toasts (QoL) ---------- */
.toast-host { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 60; display: grid; gap: 10px; }
.toast { animation: toastin .35s var(--ease) both; background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; }
.toast svg { width: 18px; height: 18px; stroke: #6ee7b7; flex: none; fill: none; }

/* skip to content (a11y QoL) */
.skip-link { position: fixed; left: 14px; top: -64px; z-index: 100; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 10px; transition: top .2s var(--ease); }
.skip-link:focus { top: 14px; outline: 2px solid var(--ink); outline-offset: 2px; }

kbd { font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--paper-2); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .perimeter { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 22px; transform: translateY(-130%); transition: transform .35s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
  .nav:not(.scrolled) .nav-links a:not(.btn) { color: var(--ink-soft); } /* menu panel is light even over navy */
  .nav-links .btn { margin-top: 14px; width: 100%; justify-content: center; }
  .nav-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; }
  .nav:not(.scrolled) .nav-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
  .nav:not(.scrolled) .nav-toggle span, .nav:not(.scrolled) .nav-toggle span::before, .nav:not(.scrolled) .nav-toggle span::after { background: #fff; }
  .nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; } .shot.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare { font-size: 13px; } .compare th, .compare td { padding: 13px 12px; }
}

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

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--r,0)); } 50% { transform: translateY(-9px) rotate(var(--r,0)); } }
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
