/* ==========================================================================
   SquareSurge — site design system
   --------------------------------------------------------------------------
   Built from the brand's own assets rather than a template:
     · cream + deep navy   -> the app's theme (navbar_background, splash)
     · orange / sky / pink -> the three circles in the app icon
     · viewfinder corners  -> the white crop marks framing the icon
     · speech bubble       -> the icon's dark bubble; used for feedback
     · gradient            -> the wordmark (periwinkle -> peach -> coral)

   Contrast (WCAG, measured): ink on cream 16.3:1, ink-soft on cream 7.0:1,
   cream on navy 17.8:1. Brand orange is 3.3:1 on cream, so it is reserved for
   large display type and graphics; small orange text uses --orange-ink (5.0:1).
   ========================================================================== */

:root {
  --navy: #001627;
  --navy-2: #0a2438;
  --navy-3: #13324b;
  --ink: #0f1e2e;
  --ink-soft: #4a5868;
  --ink-mute: #6b7684;

  --cream: #fffbf1;
  --cream-2: #fbf5e8;
  --sand: #f2eadb;
  --sand-2: #e8dcc6;
  --line: rgba(15, 30, 46, 0.12);
  --line-strong: rgba(15, 30, 46, 0.22);

  --orange: #f05a22;
  --orange-ink: #c2410c;
  --pink: #ef5a8b;
  --sky: #2dbbed;
  --violet: #7f74ff;
  --peach: #e8a07a;
  --coral: #ff6a57;
  --green: #2f9e6b;

  --grad: linear-gradient(90deg, #8b87f5 0%, #c49ab8 38%, #e8a07a 62%, #ff6a57 100%);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 22, 39, 0.06), 0 2px 8px -2px rgba(0, 22, 39, 0.08);
  --shadow: 0 1px 2px rgba(0, 22, 39, 0.05), 0 18px 40px -18px rgba(0, 22, 39, 0.28);
  --shadow-lg: 0 2px 4px rgba(0, 22, 39, 0.05), 0 32px 64px -24px rgba(0, 22, 39, 0.35);

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}

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

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand); }
.section--cream-2 { background: var(--cream-2); }
.section--navy { background: var(--navy); color: #d8dee6; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--cream); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); }
.section-head p { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); margin-top: 18px; }
.section--navy .section-head p { color: #a9b4c2; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.section--navy .eyebrow { color: #a9b4c2; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-soft); }

/* A hand-drawn style underline in brand orange, drawn under display words. */
.scribble {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.scribble::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.02em;
  height: 0.28em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 16C60 6 140 4 297 12' stroke='%23F05A22' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--navy); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-3); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(15, 30, 46, 0.03); }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

.text-link {
  color: var(--orange-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(194, 65, 12, 0.35);
}
.text-link:hover { text-decoration-color: currentColor; }
.section--navy .text-link { color: #ffb08f; text-decoration-color: rgba(255, 176, 143, 0.4); }

/* Official Google Play badge. Google's brand rules require the badge artwork
   unmodified; the image carries ~10% transparent padding, which the negative
   margin trims so it lines up with neighbouring buttons. */
.play-badge { display: inline-block; line-height: 0; border-radius: 12px; }
.play-badge img { height: 74px; width: auto; margin: -11px -10px; }
.play-badge--sm img { height: 60px; margin: -9px -8px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 251, 241, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 251, 241, 0.94); }

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand__icon { width: 38px; height: 38px; }
.brand__word { width: 150px; height: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav__links a:hover { color: var(--ink); background: rgba(15, 30, 46, 0.05); }
.nav__links a[aria-current="page"] { color: var(--ink); }

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

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

/* Only shown inside the opened mobile menu */
.nav__mobile-cta { display: none; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__links, .nav__actions .btn { display: none; }
  .site-header.is-open { background: var(--cream); border-bottom-color: var(--line); }
  .site-header.is-open .nav__links {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 22, 39, 0.3);
  }
  .site-header.is-open .nav__links a { padding: 14px 12px; font-size: 17px; color: var(--ink); }
  .site-header.is-open .nav__mobile-cta { display: block; padding-top: 12px; }
  .nav__mobile-cta .btn { display: inline-flex; width: 100%; }
  .brand__word { width: 128px; }
}

/* --------------------------------------------------------------------------
   Signature: viewfinder frame (the crop corners from the app icon)
   Drawn with eight background gradients, so it needs no extra markup.
   -------------------------------------------------------------------------- */
.frame {
  --c: var(--navy);
  --t: 3px;   /* stroke */
  --l: 34px;  /* arm length */
  --g: 14px;  /* gap between corner marks and the photo */
  position: relative;
  padding: var(--g);
  background:
    linear-gradient(var(--c) 0 0) top    left  / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) top    left  / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) top    right / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) top    right / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) bottom left  / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) bottom left  / var(--t) var(--l),
    linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--t),
    linear-gradient(var(--c) 0 0) bottom right / var(--t) var(--l);
  background-repeat: no-repeat;
}
.frame--light { --c: var(--cream); }
.frame--sm { --l: 22px; --g: 10px; --t: 2.5px; }

.photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--sand);
}

/* --------------------------------------------------------------------------
   Signature: feedback bubble (the icon's speech bubble)
   -------------------------------------------------------------------------- */
.bubble {
  position: relative;
  max-width: 270px;
  padding: 13px 16px 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}
.bubble::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: inherit;
  bottom: -6px;
  left: 24px;
  transform: rotate(45deg);
  border-radius: 0 0 4px 0;
}
.bubble--tail-right::after { left: auto; right: 24px; }
.bubble--dark { background: var(--navy); color: var(--cream); }
.bubble__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.bubble--dark .bubble__meta { color: #a9b4c2; }
.bubble__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-dating   { background: var(--pink); }
.dot-business { background: var(--sky); }
.dot-social   { background: var(--orange); }

/* --------------------------------------------------------------------------
   Chips & score rows (mirroring the app's Photo Results)
   -------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.chip--on { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.chip--add { border-style: dashed; color: var(--ink-soft); background: transparent; }

.scores { display: grid; gap: 14px; }
.score__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; margin-bottom: 6px; }
.score__label { font-weight: 600; }
.score__val { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.score__val small { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--ink-mute); }
.score__track { position: relative; height: 8px; background: var(--sand); border-radius: 8px; overflow: visible; }
.score__fill { height: 100%; border-radius: 8px; background: var(--grad); width: var(--v); }
/* the tick marks the global average, as in the app's results screen */
.score__avg {
  position: absolute;
  top: -4px;
  left: var(--a);
  width: 2px;
  height: 16px;
  background: var(--navy);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(50px, 8.2vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero h1 .line { display: block; }
/* Two-column hero: keep the two-sentence headline on two lines so the CTA stays above the fold. */
@media (min-width: 901px) {
  .hero h1 { font-size: clamp(56px, 5.9vw, 76px); }
}
.hero .lead { margin-top: 26px; max-width: 540px; }
.hero .cta-row { margin-top: 34px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  list-style: none;
  font-size: 15px;
  color: var(--ink-soft);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* Hero visual: framed photo, the icon's circles behind, feedback around it */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.hero__visual .frame { position: relative; z-index: 2; }

.circles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.circles span { position: absolute; border-radius: 50%; }
.circles .c-orange { width: 64%; aspect-ratio: 1; background: var(--orange); left: -22%; top: 6%; }
.circles .c-sky    { width: 46%; aspect-ratio: 1; background: var(--sky);    right: -18%; top: -6%; }
.circles .c-pink   { width: 56%; aspect-ratio: 1; background: var(--pink);   right: -10%; bottom: -8%; }

.hero__bubble { position: absolute; z-index: 3; }
.hero__bubble--1 { top: 9%;  right: -16%; }
.hero__bubble--2 { top: 44%; left: -24%; }
.hero__bubble--3 { bottom: 4%; right: -12%; }

.example-tag {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 28px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(0, 22, 39, 0.72);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

@media (max-width: 1100px) {
  .hero__bubble--1 { right: -6%; }
  .hero__bubble--2 { left: -10%; }
  .hero__bubble--3 { right: -4%; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { text-align: left; }
  .hero__visual { max-width: 400px; margin-top: 12px; }
}
@media (max-width: 560px) {
  /* Scales with the screen so the bubbles' overhang always stays inside the
     viewport — at a fixed 300px they clipped on 375px phones. */
  .hero__visual { max-width: min(300px, 78vw); }
  .hero__bubble { max-width: 190px; font-size: 14px; padding: 10px 13px 11px; }
  .hero__bubble--1 { top: 3%; right: -5%; }
  .hero__bubble--2 { top: 44%; left: -6%; }
  .hero__bubble--3 { bottom: 2%; right: -5%; }
  .play-badge img { height: 66px; margin: -10px -9px; }
}

/* --------------------------------------------------------------------------
   "Nice friend" band
   -------------------------------------------------------------------------- */
.nice {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.nice__quote {
  font-family: var(--font-display);
  font-size: clamp(58px, 10vw, 136px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
}
.nice__quote .q { color: var(--orange); }
.nice__attr { margin-top: 22px; font-size: 17px; color: #a9b4c2; }
.nice__body p { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: #c9d1db; }
.nice__body strong { color: var(--cream); font-weight: 600; }
@media (max-width: 900px) { .nice { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  counter-reset: step;
}
.step {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.step h3 { font-size: 26px; margin: 10px 0 10px; }
.step p { color: var(--ink-soft); font-size: 16px; margin: 0; }
.step__demo {
  margin-top: auto;
  padding-top: 26px;
}
.step__demo-inner {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.aud-picker { display: grid; gap: 8px; }
.aud-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
}
.aud-option.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.aud-option .bubble__dot { width: 10px; height: 10px; }
.aud-option .check { margin-left: auto; width: 18px; height: 18px; color: var(--navy); }
@media (max-width: 960px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }

/* --------------------------------------------------------------------------
   Audience cards
   -------------------------------------------------------------------------- */
.audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.aud {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.aud__media { position: relative; padding: 16px 16px 0; }
.aud__media .photo { aspect-ratio: 4 / 4.2; border-radius: 16px; }
.aud__label {
  position: absolute;
  left: 30px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  background: rgba(255, 251, 241, 0.94);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.aud__body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.aud__body h3 { font-size: 28px; }
.aud__who { color: var(--ink-soft); font-size: 16px; margin: 0; }
.aud__k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.aud__for { font-size: 15px; color: var(--ink); margin: 0; }
.aud__body .chips .chip { font-size: 13px; padding: 6px 11px; }
@media (max-width: 960px) { .audiences { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }

/* --------------------------------------------------------------------------
   Feedback wall
   -------------------------------------------------------------------------- */
.wall {
  columns: 3 280px;
  column-gap: 22px;
}
.wall .bubble {
  max-width: none;
  break-inside: avoid;
  margin: 0 0 30px;
  font-size: 17px;
  padding: 18px 20px 19px;
}
.wall-note { margin-top: 8px; font-size: 14px; color: var(--ink-mute); text-align: center; }

/* --------------------------------------------------------------------------
   Real app screens band
   -------------------------------------------------------------------------- */
.screens {
  max-width: 1024px;
  margin-inline: auto;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.screens img { width: 100%; height: auto; }
.screens-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 26px;
  list-style: none;
  font-size: 15px;
  color: #a9b4c2;
}
.screens-caption li { display: inline-flex; align-items: center; gap: 8px; }
.screens-caption svg { width: 16px; height: 16px; color: var(--sky); }

/* --------------------------------------------------------------------------
   Honest note
   -------------------------------------------------------------------------- */
.honest {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.honest__head h2 { font-size: clamp(36px, 5vw, 58px); }
.honest__head p { margin-top: 20px; font-size: 18px; color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.fact__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
}
.fact__icon svg { width: 22px; height: 22px; }
.fact h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.bg-orange { background: var(--orange); }
.bg-sky { background: var(--sky); }
.bg-pink { background: var(--pink); }
.bg-navy { background: var(--navy); }
@media (max-width: 960px) { .honest { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Safety list
   -------------------------------------------------------------------------- */
.safety {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  list-style: none;
}
.safety li { background: var(--cream); padding: 30px 28px; }
.safety svg { width: 26px; height: 26px; color: var(--navy); margin-bottom: 16px; }
.safety h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 8px; }
.safety p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 960px) { .safety { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .safety { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   FAQ (native <details>, so it works without JavaScript)
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 22px);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background-color 0.2s, border-color 0.2s;
}
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: var(--cream); }
.faq .answer { padding: 0 4px 26px; max-width: 700px; color: var(--ink-soft); font-size: 17px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 80px);
  color: #c9d1db;
  isolation: isolate;
}
.final h2 { color: var(--cream); font-size: clamp(38px, 6vw, 72px); max-width: 760px; }
.final p { margin: 20px 0 32px; max-width: 520px; font-size: 19px; color: #a9b4c2; }
.final .circles { z-index: -1; opacity: 0.95; }
.final .circles .c-orange { width: 300px; left: auto; right: 6%; top: -90px; }
.final .circles .c-sky { width: 200px; right: -50px; top: 120px; }
.final .circles .c-pink { width: 260px; right: 16%; bottom: -150px; }
@media (max-width: 760px) {
  .final .circles .c-orange { width: 180px; right: -40px; top: -70px; }
  .final .circles .c-sky { width: 110px; right: -40px; top: 90px; }
  .final .circles .c-pink { width: 160px; right: -30px; bottom: -100px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 40px; border-top: 1px solid var(--line); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer__tag { margin: 16px 0 0; max-width: 300px; color: var(--ink-soft); font-size: 15.5px; }
.footer__col h2 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { text-decoration: none; color: var(--ink); font-size: 15.5px; }
.footer__col a:hover { color: var(--orange-ink); text-decoration: underline; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-mute);
}
.footer__base a { color: var(--ink-soft); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   Inner pages (about, contact, delete account)
   -------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.04em; max-width: 900px; }
.page-hero .lead { margin-top: 22px; max-width: 640px; }

.prose { max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); color: var(--ink); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.principle { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.principle h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -0.02em; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 640px) { .principles { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.card--navy { background: var(--navy); border-color: var(--navy); color: #c9d1db; }
.card--navy h2, .card--navy h3 { color: var(--cream); }
.card h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }

.email-big {
  display: inline-block;
  margin: 8px 0 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.02em;
  color: var(--cream);
  word-break: break-all;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 176, 143, 0.5);
}
.email-big:hover { border-bottom-color: #ffb08f; }

.route-list { list-style: none; display: grid; gap: 12px; }
.route {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.route:hover { border-color: var(--ink); transform: translateY(-1px); }
.route__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--navy); }
.route__icon svg { width: 21px; height: 21px; }
.route h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; letter-spacing: 0; margin-bottom: 3px; }
.route p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.route__arrow { margin-left: auto; align-self: center; width: 18px; height: 18px; color: var(--ink-mute); flex: none; }

.numbered { list-style: none; counter-reset: n; display: grid; gap: 18px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.numbered li::before {
  content: counter(n);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--cream);
  font-family: var(--font-display); font-weight: 700;
}
.numbered strong { color: var(--ink); }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 20px; height: 20px; color: var(--green); margin-top: 3px; }

.callout {
  border-left: 4px solid var(--orange);
  background: var(--cream-2);
  padding: 18px 22px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink);
  font-size: 16px;
}
.callout p:last-child { margin: 0; }

/* --------------------------------------------------------------------------
   Legal documents
   -------------------------------------------------------------------------- */
.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
.legal__toc h2 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.legal__toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal__toc a {
  display: block;
  padding: 6px 0 6px 14px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 14.5px;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.4;
}
.legal__toc a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.legal__toc a.is-active { color: var(--ink); border-left-color: var(--orange); font-weight: 600; }

.legal-doc { max-width: 760px; font-size: 17px; line-height: 1.72; color: #2c3a49; }
.legal-doc .legal-section { padding-top: 8px; margin-bottom: 44px; }
.legal-doc h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; margin-bottom: 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-doc h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; letter-spacing: 0; margin: 26px 0 10px; color: var(--ink); }
.legal-doc ul, .legal-doc ol { padding-left: 22px; margin: 0 0 1em; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc li::marker { color: var(--ink-mute); }
.legal-doc a { color: var(--orange-ink); }
.legal-doc strong { color: var(--ink); }
.legal-doc .card, .legal-doc .alert, .legal-doc .bg-light { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 20px; margin: 16px 0; box-shadow: none; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 15px; color: var(--ink-mute); }
@media (max-width: 960px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; max-height: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
}

/* --------------------------------------------------------------------------
   Error pages
   -------------------------------------------------------------------------- */
.error-page { min-height: calc(100vh - var(--header-h) - 320px); display: grid; place-items: center; text-align: center; padding-block: 80px; }
.error-page .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(96px, 18vw, 200px); line-height: 0.85; letter-spacing: -0.05em; }
.error-page h1 { font-size: clamp(30px, 4vw, 44px); margin: 18px 0 12px; }
.error-page p { color: var(--ink-soft); font-size: 18px; max-width: 480px; margin: 0 auto 30px; }

/* --------------------------------------------------------------------------
   Motion — subtle, and off entirely for people who ask for less
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__bubble--1 { animation: float-y 6s ease-in-out infinite; }
.hero__bubble--2 { animation: float-y 7s ease-in-out 0.8s infinite; }
.hero__bubble--3 { animation: float-y 6.5s ease-in-out 1.6s infinite; }

/* Without JavaScript nothing should stay hidden. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .legal__toc, .cta-row, .final { display: none !important; }
  body { background: #fff; }
  .legal { display: block; }
}

/* Small inline icons inside chips */
.chip svg { width: 14px; height: 14px; flex: none; }

/* Results card variant of the bubble: no tail, a little wider */
.bubble--card { width: 250px; max-width: none; padding: 16px 18px 18px; }
.bubble--card::after { display: none; }
.bubble--card .bubble__meta { margin-bottom: 12px; }
.bubble--card .scores { gap: 11px; }
.bubble--card .score__top { margin-bottom: 5px; font-size: 13px; }
.bubble--card .score__val { font-size: 14px; }
@media (max-width: 560px) { .bubble--card { width: 190px; padding: 12px 14px 14px; } }

/* A long email address is one unbreakable word: on narrow phones it pushed the
   footer column past the viewport and made the whole page scroll sideways. */
.footer__col a, .footer__base span { overflow-wrap: anywhere; }
@media (max-width: 420px) { .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Long URLs and email addresses (the CyberTipline link in the child safety
   standards, the support address) must wrap rather than widen their box. */
.legal-doc, .prose, .card, .numbered, .route, .callout, .faq .answer, .legal-meta { overflow-wrap: anywhere; }

/* Menu button: hamburger when closed, close icon when open */
.nav__toggle .i-close { display: none; }
.site-header.is-open .nav__toggle .i-menu { display: none; }
.site-header.is-open .nav__toggle .i-close { display: block; }

/* Big email: sized so the address fits on one line on most phones */
.email-big { font-size: clamp(18px, 5.4vw, 32px); }

/* The menu's link styles out-rank .btn; restore the button look for the CTA */
.site-header.is-open .nav__links a.btn {
  color: var(--cream);
  padding: 0 24px;
  justify-content: center;
  border-radius: var(--r-pill);
  background: var(--navy);
}
