/* ==========================================================================
   SafeTube marketing landing — "sticker playroom"
   Bright, rounded, toy-like. Palette lifted straight from the app icon:
   signal red, sunny yellow, grass green, sky blue, deep navy ink.
   ========================================================================== */

:root {
  /* surface */
  --cream: #fff8ee;
  --sky: #e7f1ff;
  --paper: #ffffff;

  /* ink */
  --ink: #16205c;
  --ink-soft: #5b6693;
  --ink-faint: rgba(22, 32, 92, 0.1);

  /* play */
  --red: #f0312a;
  --red-deep: #c81f1a;
  --yellow: #ffc61a;
  --green: #2fc46a;
  --blue: #2e90fa;
  --grape: #8b5cf6;

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;

  --font-display: "Baloo 2", "Trebuchet MS", cursive;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  --max: 1160px;
  --nav-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body.landing {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}
/* single-column reading width for support / legal pages */
.wrap-narrow { max-width: 812px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   atmosphere — soft blobs + paper grain
   ------------------------------------------------------------------------- */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}
.blob-1 { width: 560px; height: 560px; top: -220px; left: -180px; background: #ffd97a; }
.blob-2 { width: 500px; height: 500px; top: -170px; right: -160px; background: #9ec9ff; }
.blob-3 { width: 440px; height: 440px; top: 52%; left: -230px; background: #b6f0cd; opacity: 0.24; }
.blob-4 { width: 400px; height: 400px; bottom: -180px; right: -150px; background: #ffb3ae; opacity: 0.22; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .site-nav, .landing-footer { position: relative; z-index: 2; }

/* -------------------------------------------------------------------------
   wordmark
   ------------------------------------------------------------------------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
.wordmark .safe { color: var(--ink); }
.wordmark .tube { color: var(--red); }

/* -------------------------------------------------------------------------
   nav
   ------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 238, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 2px solid rgba(22, 32, 92, 0.06);
}
.nav-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(22, 32, 92, 0.18);
}
.nav-brand .wordmark { font-size: 25px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* -------------------------------------------------------------------------
   buttons — chunky stickers with a hard drop shadow
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-edge: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2.5px solid var(--btn-edge);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--btn-edge);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--btn-edge); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--btn-edge); }

.btn-red { --btn-bg: var(--red); --btn-fg: #fff; --btn-edge: var(--red-deep); }
.btn-yellow { --btn-bg: var(--yellow); --btn-fg: var(--ink); --btn-edge: #cf9700; }
.btn-ink { --btn-bg: var(--ink); --btn-fg: #fff; --btn-edge: #0b1140; }
.btn-white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-edge: var(--ink); }

.btn-lg {
  padding: 17px 30px;
  font-size: 20px;
  box-shadow: 0 6px 0 var(--btn-edge);
}
.btn-lg:hover { box-shadow: 0 3px 0 var(--btn-edge); transform: translateY(3px); }

.btn-sm { padding: 10px 17px; font-size: 15px; }

/* store badge variant: small label above big label */
.btn-store { gap: 11px; padding-block: 10px; }
.btn-store .store-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.05;
}
.btn-store .store-lines small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.72;
}
.btn-store .store-lines strong { font-size: 17px; font-weight: 700; }
.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }

/* iOS "coming soon" — reads as a label, not a broken button */
.btn-soon {
  --btn-bg: rgba(255, 255, 255, 0.6);
  --btn-fg: var(--ink-soft);
  --btn-edge: rgba(22, 32, 92, 0.22);
  cursor: default;
  box-shadow: 0 4px 0 var(--btn-edge);
}
.btn-soon:hover,
.btn-soon:active { transform: none; box-shadow: 0 4px 0 var(--btn-edge); }
.btn-soon .store-lines strong { color: var(--ink); }
.soon-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grape);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
}

.nav-actions .btn-browser { display: inline-flex; }

/* -------------------------------------------------------------------------
   hero
   ------------------------------------------------------------------------- */
.hero {
  padding: clamp(34px, 5vw, 64px) 0 clamp(40px, 5vw, 68px);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--ink-faint);
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(22, 32, 92, 0.07);
  margin-bottom: 22px;
}
.pill .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pill .dot svg { width: 13px; height: 13px; color: #fff; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
/* highlighted phrase with a marker-pen underline that survives wrapping.
   It owns its own line so the underline never splits into stray fragments. */
.hero h1 .hl {
  display: block;
  width: fit-content;
  color: var(--red);
  padding-bottom: 0.06em;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 0.15em;
  background-position: 0 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-lede {
  font-size: clamp(17px, 1.5vw, 19.5px);
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero-trust li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }

/* --- hero visual: a chunky toy TV --- */
.hero-visual {
  position: relative;
  padding: 10px 0 26px;
}

.tv {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #22306f, #121a4b);
  padding: 15px 15px 26px;
  box-shadow:
    0 3px 0 rgba(255, 255, 255, 0.35) inset,
    0 26px 50px -18px rgba(22, 32, 92, 0.5);
}
.tv-screen {
  border-radius: 20px;
  overflow: hidden;
  background: #05070f;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.35) inset;
}
.tv-screen img { width: 100%; }
.tv-led {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: var(--yellow);
  opacity: 0.85;
}

/* floating sticker badges, echoing the app icon */
.sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #fff;
  border: 2.5px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  box-shadow: 0 6px 0 rgba(22, 32, 92, 0.9), 0 18px 30px -12px rgba(22, 32, 92, 0.5);
  white-space: nowrap;
  z-index: 3;
}
.sticker .ico {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sticker .ico svg { width: 15px; height: 15px; color: #fff; }
.sticker-check { top: 6px; left: -18px; transform: rotate(-5deg); animation: bob 5.5s ease-in-out infinite; }
.sticker-check .ico { background: var(--green); }
.sticker-pin { bottom: 34px; right: -14px; transform: rotate(4deg); animation: bob 6.4s ease-in-out 0.6s infinite; }
.sticker-pin .ico { background: var(--blue); }
.sticker-ab {
  top: 42%;
  right: -30px;
  transform: rotate(-3deg);
  animation: bob 7s ease-in-out 1.1s infinite;
}
.sticker-ab .ico { background: var(--yellow); }
.sticker-ab .ico svg { color: var(--ink); }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

/* -------------------------------------------------------------------------
   section scaffolding
   ------------------------------------------------------------------------- */
.section { padding: clamp(44px, 5vw, 66px) 0; }

.section-head { max-width: 640px; margin-bottom: clamp(28px, 3.4vw, 40px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(240, 49, 42, 0.09);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow.blue { color: var(--blue); background: rgba(46, 144, 250, 0.12); }
.eyebrow.green { color: #1c9b51; background: rgba(47, 196, 106, 0.14); }
.eyebrow.grape { color: var(--grape); background: rgba(139, 92, 246, 0.12); }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(29px, 3.9vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-lede {
  font-size: 17.5px;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------------------
   "three ways to watch" — the platform picker
   ------------------------------------------------------------------------- */
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.way {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 0 7px 0 var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
a.way { text-decoration: none; color: inherit; }
a.way:hover { transform: translateY(3px); box-shadow: 0 4px 0 var(--ink); }
.way-icon {
  width: 54px; height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.way-icon svg { width: 27px; height: 27px; }
.way-browser .way-icon { background: var(--yellow); color: var(--ink); }
.way-android .way-icon { background: var(--green); color: #fff; }
.way-ios .way-icon { background: #fff; color: var(--ink); }

.way h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.15;
}
.way p { font-size: 15.5px; color: var(--ink-soft); flex: 1; }
.way-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.16s ease;
}
.way-link:hover { gap: 11px; }
a.way:hover .way-link { gap: 11px; }
.way-link svg { width: 16px; height: 16px; }

.way-ios {
  background: rgba(255, 255, 255, 0.62);
  border-style: dashed;
  border-color: rgba(22, 32, 92, 0.3);
  box-shadow: none;
}
.way-ios .way-icon { border-color: rgba(22, 32, 92, 0.3); box-shadow: 0 4px 0 rgba(22, 32, 92, 0.18); }
.way-ios .way-link { color: var(--grape); }

.way-flag {
  position: absolute;
  top: -13px;
  right: 18px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 5px 11px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(22, 32, 92, 0.24);
}
.way-ios .way-flag { background: var(--grape); }

/* -------------------------------------------------------------------------
   features
   ------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 2px solid var(--ink-faint);
  box-shadow: 0 14px 30px -20px rgba(22, 32, 92, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -22px rgba(22, 32, 92, 0.6);
}
.feature-icon {
  width: 58px; height: 58px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  transform: rotate(-4deg);
}
.feature:nth-child(even) .feature-icon { transform: rotate(4deg); }
.feature-icon svg { width: 29px; height: 29px; }
.i-red { background: var(--red); }
.i-blue { background: var(--blue); }
.i-green { background: var(--green); }
.i-yellow { background: var(--yellow); color: var(--ink) !important; }
.i-grape { background: var(--grape); }
.i-ink { background: var(--ink); }

.feature h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.feature p { font-size: 15.5px; color: var(--ink-soft); }

/* -------------------------------------------------------------------------
   dual-screen spotlight
   ------------------------------------------------------------------------- */
.spotlight {
  background: var(--sky);
  border-block: 2px solid rgba(22, 32, 92, 0.07);
}
.spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.spotlight-copy .section-head { margin-bottom: 26px; }

.check-list { display: grid; gap: 13px; }
.check-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16.5px;
}
.check-list .tick {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-list .tick svg { width: 14px; height: 14px; color: #fff; }
.check-list strong { font-weight: 800; }

.tilt-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--ink);
  background: #05070f;
  box-shadow: 0 10px 0 rgba(22, 32, 92, 0.85), 0 34px 50px -26px rgba(22, 32, 92, 0.7);
  transform: rotate(-1.4deg);
}

/* -------------------------------------------------------------------------
   how it works
   ------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 26px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 0 7px 0 var(--ink);
}
.step-num {
  position: absolute;
  top: -22px;
  left: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  color: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.step:nth-child(1) .step-num { background: var(--red); }
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--green); }
.step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  margin: 8px 0 8px;
}
.step p { font-size: 15.5px; color: var(--ink-soft); }

/* -------------------------------------------------------------------------
   screens gallery
   ------------------------------------------------------------------------- */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shot { margin: 0; }
.shot img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 3px solid var(--ink);
  background: #05070f;
  box-shadow: 0 8px 0 rgba(22, 32, 92, 0.85);
}
.shot figcaption {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
}
.shot:nth-child(2) img { transform: rotate(0.8deg); }
.shot:nth-child(3) img { transform: rotate(-0.8deg); }

/* -------------------------------------------------------------------------
   faq
   ------------------------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-inline: auto;
}
.faq-item {
  border-radius: var(--radius-md);
  background: #fff;
  border: 2px solid var(--ink-faint);
  padding: 2px 22px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item[open] {
  border-color: var(--ink);
  box-shadow: 0 6px 0 rgba(22, 32, 92, 0.9);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18.5px;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316205c' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body {
  padding: 0 0 20px;
  font-size: 16px;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------------------
   final cta
   ------------------------------------------------------------------------- */
.cta-band { padding-bottom: clamp(52px, 6vw, 84px); }
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(40px, 6vw, 68px) clamp(24px, 5vw, 60px);
  border-radius: var(--radius-xl);
  border: 3px solid var(--ink);
  background:
    radial-gradient(560px 300px at 15% 0%, rgba(255, 198, 26, 0.4), transparent 62%),
    radial-gradient(520px 300px at 88% 100%, rgba(46, 144, 250, 0.32), transparent 60%),
    #fff;
  box-shadow: 0 10px 0 var(--ink);
}
.cta-panel img.cta-logo {
  width: 92px; height: 92px;
  border-radius: 26px;
  margin: 0 auto 20px;
  box-shadow: 0 12px 26px -8px rgba(22, 32, 92, 0.45);
}
.cta-panel h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(29px, 4.2vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-panel p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 30px;
}
.cta-panel .hero-ctas { justify-content: center; margin-bottom: 0; }

/* -------------------------------------------------------------------------
   footer
   ------------------------------------------------------------------------- */
.landing-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 46px 0 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.landing-footer .nav-brand img { width: 40px; height: 40px; }
.landing-footer .wordmark { font-size: 22px; }
.landing-footer .wordmark .safe { color: #fff; }
.landing-footer .wordmark .tube { color: var(--yellow); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.footer-links a:hover { color: var(--yellow); }

.footer-note {
  width: 100%;
  padding-top: 22px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------------------------------------
   content pages (support, privacy) — same brand, article layout
   ------------------------------------------------------------------------- */
.page-hero {
  padding: clamp(30px, 4vw, 56px) 0 clamp(18px, 2.5vw, 28px);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-hero .page-sub {
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
}

.page-body { padding-bottom: clamp(48px, 6vw, 80px); }

/* white "sheet" for long-form documents */
.paper {
  background: #fff;
  border: 2px solid var(--ink-faint);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 54px);
  box-shadow: 0 22px 50px -34px rgba(22, 32, 92, 0.7);
}

/* --- prose (measure comes from .wrap-narrow) --- */
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }

.prose p,
.prose li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose p { margin-bottom: 1.05em; }

.prose h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  color: var(--ink);
  margin: 2em 0 0.6em;
  padding-left: 18px;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 999px;
  background: var(--red);
}
.prose h2:nth-of-type(3n + 2)::before { background: var(--blue); }
.prose h2:nth-of-type(3n)::before { background: var(--green); }

.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19.5px;
  color: var(--ink);
  margin: 1.5em 0 0.4em;
}

.prose ul { list-style: none; margin: 0 0 1.3em; }
.prose li {
  position: relative;
  padding-left: 27px;
  margin-bottom: 0.6em;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.prose strong { color: var(--ink); font-weight: 800; }

.prose a {
  color: var(--red);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--red-deep); }

.prose code {
  font-size: 0.88em;
  font-weight: 700;
  color: var(--ink);
  background: rgba(46, 144, 250, 0.12);
  padding: 0.16em 0.45em;
  border-radius: 7px;
}

/* --- callout --- */
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 clamp(24px, 3vw, 34px);
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--ink);
  background: #fff;
  box-shadow: 0 6px 0 var(--ink);
}
.callout-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--yellow);
  color: var(--ink);
  border: 2.5px solid var(--ink);
}
.callout-icon svg { width: 21px; height: 21px; }
.callout.blue .callout-icon { background: var(--blue); color: #fff; }
.callout.green .callout-icon { background: var(--green); color: #fff; }
.callout p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.callout p + p { margin-top: 0.6em; }
.callout strong { color: var(--ink); font-weight: 800; }
.callout a { color: var(--red); font-weight: 700; }

/* --- support page groups --- */
.faq-group { margin-bottom: clamp(28px, 3.4vw, 40px); }
.faq-group > h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.3vw, 27px);
  color: var(--ink);
  margin-bottom: 16px;
}
.faq-list.wide { max-width: none; margin-inline: 0; }

/* -------------------------------------------------------------------------
   entrance motion
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }

/* hero animates on load rather than on scroll */
.hero .reveal { opacity: 0; animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero .reveal.d1 { animation-delay: 0.08s; }
.hero .reveal.d2 { animation-delay: 0.16s; }
.hero .reveal.d3 { animation-delay: 0.24s; }
.hero .reveal.d4 { animation-delay: 0.32s; }
.hero .reveal.d5 { animation-delay: 0.4s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; }
  .spotlight-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ways, .steps, .shot-grid { grid-template-columns: 1fr 1fr; }
  .way-ios, .shot:last-child { grid-column: 1 / -1; }
  .shot:last-child img { max-width: 640px; margin-inline: auto; }
}

/* trim the nav down progressively rather than all at once */
@media (max-width: 940px) {
  .nav-actions .btn-soon { display: none; }
}
@media (max-width: 620px) {
  .nav-actions .btn-browser { display: none; }
}

@media (max-width: 680px) {
  body.landing { font-size: 16.5px; }
  .wrap { padding-inline: 18px; }
  .nav-brand .wordmark { font-size: 22px; }
  .nav-brand img { width: 40px; height: 40px; }
  .ways, .steps, .shot-grid, .feature-grid { grid-template-columns: 1fr; }
  .way-ios, .shot:last-child { grid-column: auto; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .btn-store { justify-content: flex-start; padding-inline: 24px; }
  .sticker { font-size: 13px; padding: 8px 12px; }
  .sticker-check { left: -6px; }
  .sticker-pin { right: -4px; }
  .sticker-ab { right: -8px; }
  .tilt-frame, .shot img { transform: none !important; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticker { animation: none; }
  .hero .reveal { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature, .way { transition: none; }
  .btn:hover, .btn:active, .feature:hover, a.way:hover { transform: none; }
}
