/* Losing It website. Tokens follow DESIGN.md: linen paper, white cards,
   charcoal ink, one sage accent, serif headings. Light only, like the app. */

:root {
  color-scheme: light;

  --linen: #F7F3EC;
  --paper: #FBF8F3;
  --cream: #EFE8DD;
  --oat: #E4DACB;
  --stone: #CBBFAE;
  --taupe: #9C8E7F;
  --walnut: #5C534B;
  --ink-soft: #675E57;
  --ink-warm: #48423C;
  --ink: #2F2A25;

  --sage: #8C9A7E;
  --sage-deep: #66765B;
  --sage-light: #DFE4D6;
  --moss: #4F5D46;
  --accent-ink: #535B48;

  --clay-light: #EEDDD0;
  --clay-deep: #855A40;
  --honey: #C4A26A;

  --hairline: rgb(203 191 174 / 0.45);
  --card: rgb(255 255 255 / 0.92);
  --shadow-card: 0 6px 14px rgb(47 42 37 / 0.06);
  --shadow-feature: 0 6px 14px rgb(47 42 37 / 0.12);
  --shadow-button: 0 5px 10px rgb(47 42 37 / 0.18);
  --shadow-float: 0 7px 14px rgb(47 42 37 / 0.22);

  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --measure: 1120px;
  --section: clamp(64px, 9vw, 124px);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; }
strong { font-weight: 600; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--ink); color: var(--linen); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--linen); }

.eyebrow {
  font: 600 12px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 15px 28px;
  border: 0; border-radius: 999px;
  font: 600 17px/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: scale 0.3s var(--spring), box-shadow 0.2s ease;
}
.btn:active { scale: 0.96; }
.btn--primary {
  background: linear-gradient(135deg, var(--ink-warm), var(--ink));
  color: var(--linen);
  box-shadow: var(--shadow-button);
}
.btn--primary:hover { color: #fff; box-shadow: var(--shadow-float); }
.btn--light { background: var(--linen); color: var(--ink); box-shadow: 0 5px 14px rgb(0 0 0 / 0.22); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--accent-ink);
}
.more:hover { text-decoration: underline; }
.more svg { flex: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(247 243 236 / 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font: 600 21px/1 var(--serif); color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img {
  width: 36px; height: 36px; border-radius: 9px;
  box-shadow: 0 0 0 1px var(--hairline), 0 2px 5px rgb(47 42 37 / 0.1);
}
.site-nav { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink-soft); text-decoration: none; padding-block: 12px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 760px) {
  .site-nav { display: flex; }
}

/* ---------- Phone frame ---------- */

.phone { container-type: inline-size; width: 100%; margin: 0; }
.phone__body {
  position: relative;
  padding: 2.7cqi;
  border-radius: 16.4cqi;
  background: linear-gradient(145deg, #4a443e, #26221e 40%, #1d1a17);
  box-shadow:
    0 0 0 1px rgb(47 42 37 / 0.5),
    0 2.5cqi 5cqi rgb(47 42 37 / 0.12),
    0 9cqi 16cqi -5cqi rgb(47 42 37 / 0.3);
}
.phone__body::before {
  /* the Dynamic Island, which simulator screenshots leave out */
  content: "";
  position: absolute; z-index: 1;
  top: 5.4cqi; left: 50%; translate: -50% 0;
  width: 21cqi; height: 6.6cqi;
  border-radius: 999px; background: #0b0a09;
}
.phone img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1320 / 2868;
  border-radius: 13.8cqi;
  background: var(--linen);
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: clip;
  padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 112px);
  background:
    radial-gradient(70% 60% at 90% 6%, rgb(223 228 214 / 0.75), transparent 62%),
    radial-gradient(55% 50% at 4% 30%, rgb(238 221 208 / 0.6), transparent 60%),
    radial-gradient(60% 50% at 62% 100%, rgb(228 218 203 / 0.6), transparent 62%),
    linear-gradient(var(--paper), var(--linen));
}
.hero__grid {
  position: relative;
  display: grid; align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.hero h1 {
  font-size: clamp(2.8rem, 1.3rem + 6.3vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-top: 16px;
}
.lede {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55; font-weight: 500;
  color: var(--ink-soft);
  max-width: 34em;
  margin-top: 22px;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.facts {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0;
}
.facts li {
  font: 600 13px/1.2 var(--sans); color: var(--accent-ink);
  background: rgb(102 118 91 / 0.12);
  padding: 7px 12px; border-radius: 999px;
}
.hero__device { display: flex; justify-content: center; align-items: flex-start; }
.hero__device .phone--front { width: min(70vw, 300px); position: relative; z-index: 1; }
.hero__device .phone--back { display: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero__device { justify-content: flex-end; }
  .hero__device .phone--front { width: clamp(220px, 25vw, 292px); }
  .hero__device .phone--back {
    display: block;
    width: clamp(190px, 21.5vw, 252px);
    margin: clamp(48px, 6vw, 84px) 0 0 clamp(-64px, -5vw, -40px);
  }
}

.orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  background:
    radial-gradient(ellipse 30% 18% at 30% 22%, rgb(255 255 255 / 0.8), transparent 70%),
    rgb(255 255 255 / 0.22);
  border: 1px solid rgb(255 255 255 / 0.75);
  box-shadow: inset 0 -6px 18px rgb(255 255 255 / 0.25), 0 4px 14px rgb(47 42 37 / 0.03);
}
.orb:nth-child(1) { width: 120px; height: 120px; left: -34px; top: 9%; --drift: -70px; }
.orb:nth-child(2) { width: 46px; height: 46px; left: 41%; top: 6%; --drift: -150px; }
.orb:nth-child(3) { width: 72px; height: 72px; left: 47%; bottom: 9%; --drift: -110px; }
.orb:nth-child(4) { width: 28px; height: 28px; left: 9%; bottom: 14%; --drift: -180px; }
.orb:nth-child(5) { width: 150px; height: 150px; right: -52px; bottom: 4%; --drift: -90px; }
.orb:nth-child(6) { width: 34px; height: 34px; right: 7%; top: 5%; --drift: -200px; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .orb {
      animation: drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 900px;
    }
  }
}
@keyframes drift { to { translate: 0 var(--drift, -100px); } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--tint {
  background: linear-gradient(var(--linen), var(--cream) 18%, var(--cream) 82%, var(--linen));
}
.section h2, .band h2 {
  font-size: clamp(2rem, 1.1rem + 3.5vw, 3.3rem);
  line-height: 1.07; letter-spacing: -0.018em;
  margin-top: 12px;
}
.section__intro { max-width: 40em; }
.section__intro > p:not(.eyebrow), .split__copy > p:not(.eyebrow):not(.hint) {
  font-size: 1.12rem; font-weight: 500; color: var(--ink-soft); margin-top: 18px;
}

.split { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--flip > :first-child { order: 2; }
}

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 18px; height: 18px; border-radius: 50%;
  background:
    radial-gradient(ellipse 34% 22% at 32% 24%, rgb(255 255 255 / 0.45), transparent 70%),
    linear-gradient(135deg, #7C8B6F, var(--sage-deep));
  box-shadow: 0 2px 4px rgb(47 42 37 / 0.14);
}
.hint {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px; font: 600 14px/1.3 var(--sans); color: var(--accent-ink);
}
.hint svg { flex: none; }

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.pill {
  display: inline-block; white-space: nowrap;
  font: 600 13px/1.2 var(--sans); color: var(--accent-ink);
  background: rgb(102 118 91 / 0.12);
  padding: 6px 11px; border-radius: 999px;
}

.quote {
  margin: 28px 0 0; padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sage-light), var(--cream));
  font: 600 1.16rem/1.4 var(--serif);
}
.quote footer { margin-top: 8px; font: 500 13px/1.4 var(--sans); color: var(--ink-soft); }

/* ---------- Pound bubbles demo ---------- */

.demo { width: 100%; max-width: 470px; justify-self: center; padding: clamp(18px, 4vw, 24px); }
.demo__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.demo__title { font-size: 22px; line-height: 1.2; }
.demo__count { font-size: 15px; font-weight: 500; color: var(--ink-soft); margin-top: 2px; }

.bubbles {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 2.6vw, 14px);
  list-style: none; padding: 0; margin: 18px 0 14px;
}
.bubble {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgb(255 255 255 / 0.7);
  border: 1.5px solid var(--stone);
  color: var(--ink-soft);
  font: 600 clamp(14px, 3.9vw, 18px)/1 var(--serif);
  font-variant-numeric: tabular-nums;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.js .bubble { cursor: pointer; }
.bubble__n { display: grid; justify-items: center; gap: 3px; }
.bubble.is-popped {
  background:
    radial-gradient(ellipse 32% 19% at 30% 20%, rgb(255 255 255 / 0.34), transparent 70%),
    var(--fill, #5A6A50);
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
  box-shadow: 0 3px 8px rgb(47 42 37 / 0.16);
}
.bubble.is-popped .bubble__n::after {
  content: ""; width: 9px; height: 5px;
  border: solid currentColor; border-width: 0 0 1.75px 1.75px;
  rotate: -45deg; translate: 0 -2px;
}
.bubble.is-been { background: var(--oat); border-color: rgb(156 142 127 / 0.55); color: var(--walnut); }
.bubble.is-next {
  background: #fff; color: var(--accent-ink);
  border: 2.5px dashed var(--sage-deep);
  box-shadow: 0 0 0 5px rgb(102 118 91 / 0.1);
}
.bubble__badge {
  position: absolute; top: -5%; right: -5%;
  width: 36%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--hairline);
  color: var(--honey);
  font: 400 clamp(8px, 2.3vw, 11px)/1 var(--sans);
}
.bubble--goal .bubble__badge {
  background: none; border: 0; width: auto;
  top: -22%; right: -12%;
  font-size: clamp(14px, 4vw, 19px);
}
@media (prefers-reduced-motion: no-preference) {
  .bubble.is-popping { animation: pop 0.5s var(--spring) both; }
  .bubble.is-popping::before {
    content: ""; position: absolute; inset: -3px; border-radius: 50%;
    border: 2px solid var(--fill, var(--sage-deep));
    pointer-events: none;
    animation: ring 0.6s ease-out both;
  }
}
@keyframes pop { 0% { scale: 0.8; } 55% { scale: 1.12; } 100% { scale: 1; } }
@keyframes ring { from { opacity: 0.7; scale: 1; } to { opacity: 0; scale: 1.75; } }

.legend {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
  list-style: none; padding: 0; margin: 0;
  font: 500 13px/1.3 var(--sans); color: var(--ink-soft);
}
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend li:last-child { margin-left: auto; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--stone); background: #fff; }
.dot--popped { background: #636F58; border-color: #636F58; }
.dot--been { background: var(--oat); border-color: rgb(156 142 127 / 0.55); }

.scale { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgb(203 191 174 / 0.5); }
.scale__read { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 4vw, 22px); }
.scale__num {
  font: 600 clamp(44px, 12vw, 60px)/1 var(--serif);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
  min-width: 4.3ch; text-align: center;
}
.scale__num small { font: 600 17px/1 var(--serif); color: var(--ink-soft); letter-spacing: 0; margin-left: 4px; }
.round {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgb(102 118 91 / 0.12); color: var(--accent-ink);
  cursor: pointer;
  transition: scale 0.3s var(--spring), background-color 0.2s ease;
}
.round:hover { background: rgb(102 118 91 / 0.2); }
.round:active { scale: 0.92; }
.scale__delta {
  text-align: center; margin-top: 8px; min-height: 1.5em;
  font: 500 15px/1.5 var(--sans); color: var(--ink-soft);
}

.scale__ruler { position: relative; height: 56px; margin-top: 8px; }
.scale__ticks {
  position: absolute; inset: 12px 8px auto 8px; height: 32px;
  display: flex; justify-content: space-between; align-items: flex-start;
  pointer-events: none;
}
.scale__ticks i { flex: none; width: 1.5px; height: 12px; border-radius: 1px; background: var(--stone); }
.scale__ticks i:nth-child(2n + 1) { height: 20px; background: var(--taupe); }
.scale__ticks i:nth-child(10n + 1) { height: 31px; width: 2px; background: var(--walnut); }
.scale__labels {
  display: flex; justify-content: space-between; padding-inline: 8px; margin-top: 2px;
  font: 600 12px/1 var(--sans); color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.scale__labels span { width: 0; display: flex; justify-content: center; }

.scale input[type="range"] {
  --thumb-w: 16px;
  position: absolute; inset: 0;
  inline-size: 100%; block-size: 100%;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent;
  -webkit-appearance: none; appearance: none;
  cursor: ew-resize;
}
.scale input[type="range"]:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 4px; border-radius: 10px; }
/* WebKit and Firefox pseudo-elements stay in separate rules: a browser drops
   the whole rule if it meets one it does not know. */
.scale input[type="range"]::-webkit-slider-runnable-track { block-size: 100%; border: 0; background: transparent; }
.scale input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  inline-size: var(--thumb-w); block-size: 50px; margin-block-start: 0;
  border: 0; border-radius: 0; background: var(--sage-deep);
  clip-path: polygon(0 0, 100% 0, calc(50% + 2px) 9px, calc(50% + 2px) 100%, calc(50% - 2px) 100%, calc(50% - 2px) 9px);
}
.scale input[type="range"]::-moz-range-track { block-size: 100%; border: 0; background: transparent; }
.scale input[type="range"]::-moz-range-thumb {
  inline-size: var(--thumb-w); block-size: 50px;
  border: 0; border-radius: 0; background: var(--sage-deep);
  clip-path: polygon(0 0, 100% 0, calc(50% + 2px) 9px, calc(50% + 2px) 100%, calc(50% - 2px) 100%, calc(50% - 2px) 9px);
}

.say {
  margin-top: 14px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(135deg, var(--sage-light), var(--cream));
  font: 600 1.02rem/1.4 var(--serif); text-align: center;
  min-height: calc(2.8em + 28px);
  display: grid; place-items: center;
}

/* ---------- Phone groups ---------- */

.duo { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 3vw, 28px); }
.duo .phone { width: min(42vw, 250px); }
.duo .phone:nth-child(2) { margin-top: clamp(28px, 6vw, 64px); }

/* ---------- Food ---------- */

.food__grid { display: grid; gap: clamp(36px, 5vw, 64px); margin-top: clamp(36px, 5vw, 60px); align-items: center; }
@media (min-width: 980px) {
  .food__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
.tiles { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 620px) {
  .tiles { grid-template-columns: 1fr 1fr; }
}
.tile { padding: 18px; border-radius: 20px; }
.tile__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgb(102 118 91 / 0.12); color: var(--accent-ink);
}
.tile h3 { font-size: 19px; line-height: 1.25; margin-top: 12px; }
.tile p { font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li {
  font: 600 13px/1.2 var(--sans); color: var(--walnut);
  background: rgb(255 255 255 / 0.7); border: 1px solid var(--hairline);
  padding: 8px 12px; border-radius: 999px;
}

/* ---------- Look back strip ---------- */

.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(66vw, 280px);
  gap: 20px;
  margin: clamp(32px, 5vw, 56px) calc(var(--gutter) * -1) 0;
  padding: 8px var(--gutter) 28px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; }
.shot { margin: 0; }
.shot figcaption { margin-top: 22px; }
.shot h3 { font-size: 21px; line-height: 1.25; }
.shot p { font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); margin-top: 6px; }
@media (min-width: 900px) {
  .strip {
    grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 64px);
    margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .shot .phone { max-width: 270px; margin-inline: auto; }
  .shot figcaption { text-align: center; max-width: 290px; margin-inline: auto; }
}

/* ---------- Every day ---------- */

.feature {
  position: relative; overflow: hidden;
  margin-top: 28px; padding: 22px 76px 24px 22px;
  border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, #5C6B52, var(--moss));
  box-shadow: var(--shadow-feature);
}
.feature::before, .feature::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: rgb(255 255 255 / 0.07);
}
.feature::before { width: 190px; height: 190px; right: -60px; top: -80px; }
.feature::after { width: 120px; height: 120px; right: 70px; bottom: -84px; background: rgb(255 255 255 / 0.05); }
.feature .eyebrow { color: rgb(255 255 255 / 0.85); }
.feature__text {
  position: relative;
  font: 600 clamp(20px, 2.4vw, 24px)/1.3 var(--serif);
  margin-top: 8px; min-height: 2.6em;
  transition: opacity 0.2s ease;
}
.feature__text.is-swapping { opacity: 0; }
.feature__btn {
  position: absolute; z-index: 1; top: 14px; right: 14px;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgb(255 255 255 / 0.22); color: #fff; cursor: pointer;
  transition: scale 0.3s var(--spring), background-color 0.2s ease;
}
.feature__btn:hover { background: rgb(255 255 255 / 0.32); }
.feature__btn:active { scale: 0.92; }
.feature__btn:focus-visible { outline-color: #fff; }
.caption { font-size: 15px; font-weight: 500; color: var(--ink-soft); margin-top: 12px; }

.minis { display: grid; gap: 12px; margin-top: 28px; }
.mini { padding: 18px; }
.mini h3 { font-size: 19px; line-height: 1.25; }
.mini p, .mini li { font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--ink-soft); }
.mini p { margin-top: 6px; }
.mini ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.single-phone { display: flex; justify-content: center; }
.single-phone .phone { width: min(70vw, 290px); }

/* ---------- Private by design ---------- */

.band { position: relative; overflow: clip; padding-block: var(--section); }
.band--dark {
  background: linear-gradient(135deg, var(--ink), #3a332d 55%, var(--walnut));
  color: var(--linen);
}
.band--dark .eyebrow { color: rgb(247 243 236 / 0.72); }
.band--dark .orb {
  background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.1); box-shadow: none;
  animation: none;
}
.band--dark .orb:nth-child(1) { width: 320px; height: 320px; left: auto; right: -110px; top: -120px; }
.band--dark .orb:nth-child(2) { width: 150px; height: 150px; left: -50px; top: auto; bottom: -50px; }
.band--dark .orb:nth-child(3) { width: 70px; height: 70px; left: 46%; bottom: 12%; }
.band__lede { font-size: 1.12rem; font-weight: 500; color: rgb(247 243 236 / 0.8); margin-top: 18px; max-width: 34em; }
.promises {
  position: relative;
  display: grid; gap: 12px; list-style: none; padding: 0; margin: clamp(32px, 5vw, 52px) 0 0;
}
@media (min-width: 700px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promises li {
  padding: 20px; border-radius: 20px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
}
.promises h3 { font-size: 19px; line-height: 1.3; }
.promises p { font-size: 15px; line-height: 1.5; color: rgb(247 243 236 / 0.78); margin-top: 6px; }
.promises .label {
  display: grid; align-content: center;
  background: linear-gradient(135deg, #5C6B52, var(--moss)); border-color: rgb(255 255 255 / 0.18);
}
.promises .label .eyebrow { color: rgb(255 255 255 / 0.85); }
.promises .label strong { display: block; font: 600 1.5rem/1.2 var(--serif); margin-top: 6px; }
.band__more { position: relative; margin-top: 28px; }
.band--dark a.more { color: var(--linen); }
.band--dark :focus-visible { outline-color: var(--linen); }

/* ---------- Get it ---------- */

.get { text-align: center; }
.get__icon {
  width: 96px; height: 96px; border-radius: 22px;
  box-shadow: 0 0 0 1px var(--hairline), 0 12px 26px rgb(47 42 37 / 0.16);
}
.get h2 { font-size: clamp(2.6rem, 1.2rem + 6vw, 4.6rem); margin-top: 26px; }
.get__sub { font-size: 1.15rem; font-weight: 500; color: var(--ink-soft); margin: 16px auto 0; max-width: 30em; }
.get .btn { margin-top: 30px; }
.fine { font-size: 14px; color: var(--ink-soft); margin: 18px auto 0; max-width: 40em; }

/* ---------- Good to know ---------- */

.faq { max-width: 760px; margin-inline: auto; }
.faq h2 { text-align: center; }
.faq__list { margin-top: clamp(28px, 4vw, 44px); }

details {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  margin: 0 0 10px;
}
summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 16px 52px 16px 18px;
  font: 600 18px/1.35 var(--serif);
  border-radius: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  font: 400 24px/1 var(--sans); color: var(--sage-deep);
}
details[open] > summary::after { content: "\2212"; }
details[open] > summary { border-bottom: 1px solid var(--hairline); border-radius: 16px 16px 0 0; }
.answer { padding: 14px 18px 6px; }
.answer p, .answer ul, .answer ol { margin: 0 0 12px; }
.answer ul, .answer ol { padding-left: 22px; }
.answer li { margin-bottom: 6px; }

.disclaimer {
  margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--cream);
  font-size: 15px; color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--hairline); color: var(--ink-soft); font-size: 14px; }
.site-footer__in {
  display: grid; gap: 22px; padding-block: 36px 44px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { color: var(--ink-soft); display: inline-block; padding-block: 6px; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer small { font-size: 13px; display: block; max-width: 60em; }
@media (min-width: 760px) {
  .site-footer__in { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer nav { justify-content: flex-end; }
  .site-footer small { grid-column: 1 / -1; }
}

/* ---------- Entrances: once, on first appear ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; translate: 0 24px; scale: 0.98;
    transition: opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out), scale 0.7s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js .reveal.in { opacity: 1; translate: 0 0; scale: 1; }
  .stagger > :nth-child(2) { --i: 1; }
  .stagger > :nth-child(3) { --i: 2; }
  .stagger > :nth-child(4) { --i: 3; }
  .stagger > :nth-child(5) { --i: 4; }
  .stagger > :nth-child(6) { --i: 5; }
}

/* ---------- Document pages: privacy, support, 404 ---------- */

.doc { padding-block: clamp(36px, 6vw, 64px) clamp(56px, 8vw, 96px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.2rem); line-height: 1.08; letter-spacing: -0.018em; margin: 0 0 10px; }
.doc h2 { font-size: 25px; line-height: 1.2; margin: 44px 0 10px; }
.doc h3 { font-size: 19px; line-height: 1.25; margin: 24px 0 6px; }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .meta { color: var(--ink-soft); font-size: 15px; margin: 0 0 32px; }
.doc .intro { color: var(--ink-soft); font-size: 18px; font-weight: 500; margin: 0 0 32px; }
.doc .summary, .doc .contact {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--sage-deep);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 20px 22px 8px;
  margin: 0 0 8px;
}
.doc .summary h2, .doc .contact h2 { margin-top: 0; font-size: 22px; }
.doc .note { background: var(--cream); border-radius: 16px; padding: 16px 20px 2px; margin: 18px 0; }
.doc .path { font-weight: 600; }
.doc .small { font-size: 15px; color: var(--ink-soft); }
.doc .button {
  display: inline-block; padding: 12px 22px; border-radius: 999px; margin: 4px 0 14px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  background: linear-gradient(135deg, var(--ink-warm), var(--ink)); color: var(--linen);
  box-shadow: var(--shadow-button);
}
.doc .button:hover { color: #fff; box-shadow: var(--shadow-float); }
.doc summary { font-size: 18px; }

.lost { text-align: center; padding-block: clamp(64px, 12vw, 140px); }
.lost .bubble { width: 96px; margin: 0 auto 28px; font-size: 26px; cursor: default; }
.lost p { color: var(--ink-soft); font-size: 1.12rem; font-weight: 500; margin: 14px auto 30px; max-width: 28em; }

/* Bubbles drifting behind the closing call to action */
.get { position: relative; overflow: clip; }
.get .wrap { position: relative; }

@media print {
  .js .reveal { opacity: 1; translate: none; scale: none; }
  .site-header { position: static; }
}

[hidden] { display: none !important; }
