/* Stride marketing site. Palette mirrors ios/Stride/Theme.swift ("cozy premium"). */

:root {
  --linen: #f6f2ea;
  --linen-2: #efe8dc;
  --paper: #fffdf9;
  --well: #f3eee5;
  --forest: #1f3d2e;
  --forest-2: #2c5541;
  --ink: #0f1c16;
  --ink-2: #172820;
  --muted: #6b645a;
  --faint: #8f887c;
  --mint: #b5e6cc;
  --mint-2: #ddf2e6;
  --sage: #61a885;
  --deep: #387357;
  --honey: #e8a33d;
  --honey-soft: #fce8c2;
  --peach: #ffd1ba;
  --peach-soft: #ffeadf;
  --lilac: #d1c7f2;
  --lilac-soft: #ece8fa;
  --hair: rgba(31, 61, 46, 0.09);
  --hair-2: rgba(31, 61, 46, 0.15);
  --shadow-lg: 0 40px 80px -28px rgba(31, 61, 46, 0.32), 0 14px 28px -14px rgba(31, 61, 46, 0.16);
  --shadow-md: 0 22px 44px -18px rgba(31, 61, 46, 0.3), 0 4px 12px -4px rgba(31, 61, 46, 0.08);
  --phone-shadow: drop-shadow(0 44px 48px rgba(31, 61, 46, 0.24)) drop-shadow(0 10px 14px rgba(31, 61, 46, 0.12));
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  font: 400 17px/1.6 var(--sans);
  color: var(--forest);
  background-color: var(--linen);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.24 0 0 0 0 0.18 0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Type ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep);
}
.kicker::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: 0.6; }
.kicker-plain::before { display: none; }

.display {
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 8.6vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.028em;
}
.display em, .h2 em { font-style: italic; color: var(--deep); }

.h2 {
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.024em;
  margin-top: 16px;
}

.lede {
  text-wrap: pretty;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 31em;
}

.section-head { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head .lede { margin: 22px auto 0; }

.section { padding-block: clamp(84px, 11vw, 150px); }

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 60px;
  padding: 0 24px 0 19px;
  border-radius: 16px;
  background: #0b0b0b;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.badge .apple { width: 27px; height: 27px; fill: currentColor; margin-top: -4px; }
.badge span { display: flex; flex-direction: column; line-height: 1.08; }
.badge small { font-size: 12px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.92; }
.badge strong { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.badge-light { background: #fff; color: #0b0b0b; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6); }
.badge-light:hover { box-shadow: 0 20px 36px -14px rgba(0, 0, 0, 0.6); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--forest);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow.down:hover .icon { transform: translateY(3px); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.is-scrolled {
  background: rgba(246, 242, 234, 0.8);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: var(--hair);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--forest);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 6px 14px -6px rgba(31, 61, 46, 0.45); }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(31, 61, 46, 0.06); color: var(--forest); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px 0 15px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(31, 61, 46, 0.8);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.nav-cta:hover { background: var(--forest-2); transform: translateY(-1px); }
.nav-cta .apple { width: 16px; height: 16px; fill: currentColor; margin-top: -2px; }

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

.hero { position: relative; overflow: hidden; margin-top: -72px; padding: 100px 0 clamp(80px, 9vw, 130px); }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { width: 980px; height: 980px; right: -320px; top: -360px; background: radial-gradient(closest-side, rgba(181, 230, 204, 0.85), rgba(181, 230, 204, 0)); }
.hero::after { width: 760px; height: 760px; left: -360px; bottom: -380px; background: radial-gradient(closest-side, rgba(255, 209, 186, 0.6), rgba(255, 209, 186, 0)); }

.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; align-items: center; gap: 40px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--hair);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--forest);
  text-decoration: none;
  box-shadow: 0 2px 6px -2px rgba(31, 61, 46, 0.08);
}
.pill .sep { width: 1px; height: 13px; background: var(--hair-2); }
.pill .muted { color: var(--muted); font-weight: 500; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--sage); opacity: 0.25; animation: pulse 2.4s ease-out infinite; }

.hero .display { margin-top: 26px; }
.hero .lede { margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 38px; }

.meta-list { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 34px 0 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.meta-list li { display: inline-flex; align-items: center; gap: 8px; }
.meta-list .icon { width: 17px; height: 17px; color: var(--deep); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 700px; }
.hero-ring { position: absolute; width: 600px; max-width: 128%; aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -50%; }
.hero .ring-fill, .page-hero .ring-fill { animation: ring-draw 2.2s var(--ease) 0.25s both; }

.phone { width: 100%; filter: var(--phone-shadow); }
.hero .phone { position: relative; width: 330px; }

.glass {
  background: rgba(255, 253, 249, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
  border-radius: 22px;
}

.float { position: absolute; z-index: 2; animation: bob 7s ease-in-out infinite; }
.float-2 { animation-delay: -3.5s; }

.chip-rule { display: flex; align-items: center; gap: 13px; padding: 14px 20px 14px 14px; }
.chip-rule .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--honey-soft); color: #a8701c; }
.chip-rule .ic .icon { width: 22px; height: 22px; }
.chip-rule strong { display: block; font-size: 18px; letter-spacing: -0.02em; line-height: 1.15; }
.chip-rule span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.3; }

.card-shot { padding: 0; overflow: hidden; border-radius: 22px; }
.card-shot img { width: 100%; }

.hero .chip-rule { top: 9%; left: -6%; }
.hero .card-shot { bottom: 3%; right: -7%; width: 300px; }

/* ---------- Rule (how it works) ---------- */

.rule { text-align: center; }
.equation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.05em 0.28em;
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(60px, 10.5vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.equation .eq { color: var(--honey); font-style: italic; }
.equation .mins { color: var(--deep); font-style: italic; }
.rule .lede { margin: 26px auto 0; max-width: 34em; }
.rule sup a, .ref { color: var(--deep); text-decoration: none; font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; text-align: left; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 30px 32px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--hair);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px -30px rgba(31, 61, 46, 0.35);
}
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mint-2); color: var(--deep); }
.step-ic .icon { width: 24px; height: 24px; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: rgba(31, 61, 46, 0.18); }
.step h3 { margin-top: 26px; font-size: 22px; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.step:nth-child(2) .step-ic { background: var(--honey-soft); color: #a8701c; }
.step:nth-child(3) .step-ic { background: var(--lilac-soft); color: #6f5fc0; }

/* ---------- Feature rows ---------- */

.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 100px); padding-block: clamp(36px, 5vw, 64px); }
.feature.flip .feature-media { order: 2; }
.feature-copy .lede { margin-top: 22px; }

.feature-media {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 620px;
  padding-top: 64px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.feature-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  z-index: 1;
  pointer-events: none;
}
.feature-media .phone { width: 310px; position: relative; }
.tone-mint { background: radial-gradient(90% 70% at 20% 0%, #effaf3, transparent 70%), linear-gradient(165deg, #dcf2e5, #b9e3cc); }
.tone-honey { background: radial-gradient(90% 70% at 80% 0%, #fff8ea, transparent 70%), linear-gradient(165deg, #fff0d6, #f8d9a8); }
.tone-lilac { background: radial-gradient(90% 70% at 20% 0%, #f7f5fe, transparent 70%), linear-gradient(165deg, #ece8fb, #d4cbf3); }
.tone-peach { background: radial-gradient(90% 70% at 80% 0%, #fff6f1, transparent 70%), linear-gradient(165deg, #ffe9de, #fbcdb6); }

.checks { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; }
.checks .tick { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 0; border-radius: 50%; background: var(--forest); color: #fff; }
.checks .tick .icon { width: 14px; height: 14px; stroke-width: 2.4; }

.app-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.app-links a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: rgba(255, 253, 249, 0.6);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.app-links a:hover { background: var(--paper); border-color: var(--sage); }
.app-links-label { width: 100%; font-size: 13px; color: var(--faint); font-weight: 550; }

.pro-card { display: flex; align-items: center; gap: 13px; padding: 14px 18px 14px 14px; max-width: 290px; }
.pro-card .ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--lilac-soft); color: #6f5fc0; }
.pro-card .tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; }
.pro-card strong { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.25; letter-spacing: -0.01em; }
.pro-card span.sub { display: block; font-size: 13px; color: var(--muted); }

.notif { display: flex; gap: 11px; align-items: flex-start; width: 310px; padding: 12px 14px; border-radius: 22px; }
.notif img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.notif-body { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; color: #1d1d1f; }
.notif-top { display: flex; justify-content: space-between; font-size: 12px; color: #8a8a8e; }
.notif-body b { display: block; font-weight: 650; }

.feature-media .f-a { top: 30%; left: 5%; }
.feature-media .f-b { top: 58%; right: 5%; }
.feature-media .f-c { top: 20%; right: 4%; }
.feature-media .at-top { top: 7%; bottom: auto; }
.feature-media .at-bottom { top: auto; bottom: 7%; }
.feature-media .at-left { left: 5%; right: auto; }
.feature-media .at-right { right: 5%; left: auto; }

.tag-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; font-size: 14px; font-weight: 600; border-radius: 999px; }
.tag-chip .icon { width: 18px; height: 18px; color: var(--deep); }

/* ---------- Gallery (App Store panels) ---------- */

.gallery { position: relative; background: var(--ink); color: var(--linen); overflow: hidden; }
.gallery::before { content: ""; position: absolute; inset: -30% 10% auto; height: 700px; background: radial-gradient(closest-side, rgba(97, 168, 133, 0.28), transparent); pointer-events: none; }
.gallery .kicker { color: var(--mint); }
.gallery .h2 em { color: var(--mint); }
.gallery .lede { color: rgba(246, 242, 234, 0.7); }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; position: relative; }
.rail-controls { display: flex; gap: 10px; }
.rail-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(246, 242, 234, 0.2);
  border-radius: 50%;
  background: rgba(246, 242, 234, 0.06);
  color: var(--linen);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.rail-btn:hover { background: rgba(246, 242, 234, 0.14); border-color: rgba(246, 242, 234, 0.4); }
.rail {
  position: relative;
  display: flex;
  gap: 22px;
  margin-top: 56px;
  padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2)) 44px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail figure { flex: none; margin: 0; scroll-snap-align: start; }
.rail img {
  width: clamp(232px, 21vw, 272px);
  aspect-ratio: 1320 / 2868;
  border-radius: 30px;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  object-fit: cover;
  background: var(--ink-2);
}
.gallery-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; position: relative; }
.gallery-foot p { font-size: 14.5px; color: rgba(246, 242, 234, 0.6); }

/* ---------- Science ---------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.stat {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 28px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--hair);
}
.stat-num { font-family: var(--serif); font-size: clamp(66px, 7vw, 92px); line-height: 0.9; letter-spacing: -0.04em; color: var(--deep); }
.stat:nth-child(2) .stat-num { color: #b8781f; }
.stat:nth-child(3) .stat-num { color: #6f5fc0; }
.stat p { flex: 1; margin: 18px 0 26px; font-size: 17px; line-height: 1.5; }
.stat cite { padding-top: 18px; border-top: 1px solid var(--hair); font-style: normal; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.stat cite a { text-decoration-color: var(--hair-2); text-underline-offset: 3px; }
.stat cite a:hover { color: var(--forest); }
.fineprint { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--faint); }

/* ---------- Privacy ---------- */

.privacy-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(36px, 6vw, 80px);
  border-radius: var(--r-xl);
  background: radial-gradient(80% 90% at 0% 0%, rgba(255, 255, 255, 0.8), transparent 60%), linear-gradient(150deg, #e7f5ec, #cfeadb);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.privacy-card .lede { margin-top: 20px; }
.privacy-card .link-arrow { margin-top: 28px; }
.privacy-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.privacy-list li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-md);
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.privacy-list .ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--forest); color: var(--mint); }
.privacy-list strong { display: block; font-size: 17px; letter-spacing: -0.01em; }
.privacy-list span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; max-width: 980px; margin: 64px auto 0; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 38px 36px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--hair); }
.plan-name { font-size: 15px; font-weight: 650; letter-spacing: 0.02em; }
.plan-price { margin-top: 14px; font-family: var(--serif); font-size: 76px; line-height: 0.9; letter-spacing: -0.04em; }
.plan-price small { font-family: var(--sans); font-size: 16px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan-sub { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.plan .checks { margin-top: 30px; gap: 12px; }
.plan .checks li { font-size: 15.5px; }
.plan .checks .tick { width: 22px; height: 22px; background: var(--mint-2); color: var(--deep); }

.plan-pro {
  position: relative;
  overflow: hidden;
  color: var(--linen);
  border: 0;
  background: radial-gradient(90% 70% at 100% 0%, rgba(232, 163, 61, 0.28), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(97, 168, 133, 0.3), transparent 60%), linear-gradient(160deg, #24493a, #10221a);
  box-shadow: var(--shadow-lg);
}
.plan-pro .plan-sub { color: rgba(246, 242, 234, 0.72); }
.plan-pro .checks .tick { background: rgba(181, 230, 204, 0.16); color: var(--mint); }
.pro-badge { display: inline-flex; align-items: center; gap: 8px; }
.pro-badge em { font-style: normal; padding: 3px 9px; border-radius: 999px; background: var(--honey); color: #3a2506; font-size: 11px; font-weight: 750; letter-spacing: 0.08em; }
.price-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.opt { position: relative; padding: 16px 14px 14px; border-radius: 18px; border: 1px solid rgba(246, 242, 234, 0.16); background: rgba(255, 255, 255, 0.04); }
.opt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -0.03em; }
.opt span { display: block; margin-top: 6px; font-size: 13px; color: rgba(246, 242, 234, 0.7); }
.opt i { position: absolute; top: -10px; left: 12px; padding: 2px 8px; border-radius: 999px; background: var(--honey); color: #3a2506; font-size: 10.5px; font-style: normal; font-weight: 750; letter-spacing: 0.04em; white-space: nowrap; }
.opt-hi { border-color: rgba(232, 163, 61, 0.7); background: rgba(232, 163, 61, 0.1); }
.plan-fine { margin-top: auto; padding-top: 24px; font-size: 13px; line-height: 1.5; color: rgba(246, 242, 234, 0.55); }
.plan .plan-fine { color: var(--faint); }

/* ---------- FAQ ---------- */

.faq { max-width: 840px; margin: 56px auto 0; border-top: 1px solid var(--hair-2); }
.faq details { border-bottom: 1px solid var(--hair-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(31, 61, 46, 0.06); transition: transform 0.3s var(--ease), background-color 0.2s; }
.faq summary:hover .pm { background: rgba(31, 61, 46, 0.1); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .answer { padding: 0 60px 28px 4px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.faq .answer a { color: var(--forest); }

/* ---------- Final CTA ---------- */

.final { padding-bottom: clamp(48px, 7vw, 96px); }
.final-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 96px);
  border-radius: 48px;
  text-align: center;
  color: var(--linen);
  background: radial-gradient(60% 80% at 50% 0%, rgba(97, 168, 133, 0.42), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(232, 163, 61, 0.22), transparent 70%), var(--ink);
}
.final-card .app-icon { width: 112px; height: 112px; margin: 0 auto; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.final-card .h2 { margin-top: 36px; }
.final-card .h2 em { color: var(--mint); }
.final-card .lede { margin: 22px auto 0; color: rgba(246, 242, 234, 0.72); }
.final-card .cta-row { justify-content: center; }
.final-card .hint { margin-top: 22px; font-size: 14.5px; color: rgba(246, 242, 234, 0.55); }
.final-card .hint b { color: rgba(246, 242, 234, 0.9); font-weight: 600; }
.final-ring { position: absolute; z-index: -1; width: 900px; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; opacity: 0.16; }

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

.footer { padding: 72px 0 44px; border-top: 1px solid var(--hair); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 22em; color: var(--muted); font-size: 15px; }
.footer-brand .badge { margin-top: 24px; height: 50px; padding: 0 18px 0 15px; border-radius: 13px; }
.footer-brand .badge .apple { width: 22px; height: 22px; }
.footer-brand .badge strong { font-size: 18px; }
.footer-brand .badge small { font-size: 10.5px; }
.footer h2 { font-size: 12.5px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.footer ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.footer ul a { color: var(--muted); font-size: 15px; text-decoration: none; transition: color 0.2s; }
.footer ul a:hover { color: var(--forest); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--faint); }
.footer-bottom p { max-width: 68em; }

/* ---------- Inner pages (block apps) ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--hair-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--forest); }

.page-hero { position: relative; overflow: hidden; margin-top: -72px; padding: 96px 0 clamp(70px, 8vw, 110px); }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(181, 230, 204, 0.8), rgba(181, 230, 204, 0)); }
.page-hero .display { margin-top: 26px; font-size: clamp(50px, 6.8vw, 92px); }
.page-hero .lede { margin-top: 26px; }
.page-hero .hero-visual { min-height: 640px; }
.page-hero .phone { position: relative; width: 310px; }
.page-hero .lock-chip { top: 20%; left: 0; }
.page-hero .chip-rule { bottom: 16%; right: -2%; }

.lock-chip { display: flex; align-items: center; gap: 13px; padding: 13px 18px 13px 13px; }
.lock-chip .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--forest); color: var(--mint); }
.lock-chip strong { display: block; font-size: 17px; letter-spacing: -0.02em; line-height: 1.2; }
.lock-chip span { display: block; font-size: 13.5px; color: var(--muted); }

.loops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.loop { padding: 30px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--hair); }
.loop-n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--sage); }
.loop h3 { margin-top: 14px; font-size: 21px; letter-spacing: -0.02em; }
.loop p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.bridge { max-width: 40em; margin: 40px auto 0; text-align: center; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -0.01em; }
.bridge em { color: var(--deep); }

.howto { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.howto-steps { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: how; }
.howto-steps li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--hair); counter-increment: how; }
.howto-steps li::before { content: counter(how); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--forest); color: var(--linen); font-family: var(--serif); font-size: 26px; font-style: italic; }
.howto-steps strong { display: block; font-size: 18px; letter-spacing: -0.015em; }
.howto-steps span { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.budget { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.budget-card { display: flex; flex-direction: column; justify-content: center; padding: 36px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--hair); }
.budget-dark { color: var(--linen); border: 0; background: radial-gradient(80% 80% at 100% 0%, rgba(97, 168, 133, 0.35), transparent 60%), var(--ink); }
.budget-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.budget-dark .budget-label { color: rgba(246, 242, 234, 0.65); }
.budget-out { margin-top: 10px; font-family: var(--serif); font-size: clamp(56px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.03em; }
.budget-out em { font-style: italic; color: var(--mint); }
.budget-steps { margin-top: 10px; font-family: var(--serif); font-size: clamp(56px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.03em; color: var(--deep); }
.range { width: 100%; margin-top: 30px; accent-color: var(--deep); height: 28px; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--faint); }
.budget-note { margin-top: 18px; font-size: 15px; color: rgba(246, 242, 234, 0.7); line-height: 1.55; }
.budget-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 15.5px; }
.budget-table th, .budget-table td { padding: 12px 0; text-align: left; border-bottom: 1px solid rgba(246, 242, 234, 0.12); }
.budget-table th { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 242, 234, 0.5); }
.budget-table td:last-child, .budget-table th:last-child { text-align: right; }

.compare-wrap { margin-top: 56px; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--hair); background: var(--paper); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); background: var(--well); }
.compare thead th.us { color: var(--deep); }
.compare tbody th { width: 22%; font-weight: 600; }
.compare td { width: 39%; }
.compare td { color: var(--muted); }
.compare td.us { color: var(--forest); background: rgba(221, 242, 230, 0.45); font-weight: 500; }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--hair);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.related a:hover { border-color: var(--sage); transform: translateY(-2px); }
.related small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.related .icon { color: var(--deep); }

/* ---------- Legal / support ---------- */

.doc { max-width: 780px; padding-block: 40px clamp(80px, 9vw, 120px); }
.doc .display { margin-top: 22px; font-size: clamp(50px, 7vw, 84px); }
.doc-meta { margin-top: 18px; color: var(--faint); font-size: 15px; }
.doc-body { margin-top: 48px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--hair); }
.doc-body > :first-child { margin-top: 0; }
.doc-body h2 { margin-top: 40px; font-size: 21px; letter-spacing: -0.02em; }
.doc-body p, .doc-body ul { margin: 14px 0 0; color: #3f4a43; font-size: 16.5px; line-height: 1.7; }
.doc-body ul { padding-left: 22px; }
.doc-body li + li { margin-top: 8px; }
.doc-body a { color: var(--deep); font-weight: 550; }
.doc .faq { margin-top: 40px; }
.doc .contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; padding: 28px; border-radius: var(--r-lg); background: var(--forest); color: var(--linen); }
.doc .contact-card a.mail { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--linen); color: var(--forest); font-weight: 600; text-decoration: none; }
.doc .contact-card p { color: rgba(246, 242, 234, 0.75); font-size: 15px; }
.doc .contact-card strong { display: block; color: var(--linen); font-size: 19px; letter-spacing: -0.015em; }

.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .lede { margin: 22px auto 0; }
.notfound .cta-row { justify-content: center; }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* Above-the-fold copy animates with CSS only, so it never waits on JS or an observer. */
.rise { animation: rise 0.9s var(--ease) both; }
.rise.d1 { animation-delay: 0.08s; }
.rise.d2 { animation-delay: 0.16s; }
.rise.d3 { animation-delay: 0.24s; }

@keyframes ring-draw { from { stroke-dashoffset: 74; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.4; } 100% { transform: scale(2.2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .dot::after, .rise { animation: none; }
  .hero .ring-fill, .page-hero .ring-fill { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero .card-shot { right: -2%; width: 270px; }
  .feature-media .phone { width: 290px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid, .feature, .privacy-card, .howto { grid-template-columns: 1fr; }
  .hero-copy, .page-hero .hero-copy { text-align: center; }
  .hero .lede, .page-hero .lede { margin-inline: auto; }
  .hero .cta-row, .page-hero .cta-row, .meta-list { justify-content: center; }
  .crumbs { justify-content: center; }
  .hero-visual { min-height: 640px; margin-top: 12px; }
  .feature.flip .feature-media { order: 0; }
  .feature-media { order: 2; height: 560px; }
  .feature-copy { max-width: 640px; }
  .steps, .stats, .loops { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plans, .budget { grid-template-columns: 1fr; max-width: 560px; }
  .budget { margin-inline: auto; }
  .related { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav-inner { height: 64px; }
  .hero, .page-hero { margin-top: -64px; padding-top: 84px; }
  .brand { font-size: 18px; }
  .brand img { width: 30px; height: 30px; }
  .nav-cta { height: 38px; padding: 0 14px 0 12px; font-size: 14px; }
  .display { font-size: clamp(52px, 15.5vw, 72px); }
  .page-hero .display { font-size: clamp(42px, 11.5vw, 60px); }
  .hero-visual, .page-hero .hero-visual { min-height: 560px; }
  .hero .phone, .page-hero .phone { width: 250px; }
  .hero-ring { width: 470px; }
  .hero .chip-rule { top: 6%; left: -1%; }
  .hero .card-shot { bottom: 4%; right: -2%; width: 228px; border-radius: 18px; }
  .page-hero .lock-chip { top: 8%; left: -1%; }
  .page-hero .chip-rule { bottom: 6%; right: -1%; }
  .chip-rule { padding: 11px 15px 11px 11px; gap: 10px; }
  .chip-rule .ic, .lock-chip .ic { width: 38px; height: 38px; border-radius: 12px; }
  .chip-rule strong, .lock-chip strong { font-size: 15.5px; }
  .chip-rule span, .lock-chip span { font-size: 12.5px; }
  .badge { height: 56px; }
  .badge strong { font-size: 20px; }
  .feature-media { height: 500px; padding-top: 44px; border-radius: 30px; }
  .feature-media .phone { width: 250px; }
  .notif { width: 260px; padding: 10px 12px; }
  .feature-media .notif.at-bottom { display: none; }
  .notif-body { font-size: 12.5px; }
  .feature-media .f-a { left: 3%; top: 26%; }
  .feature-media .f-b { right: 3%; top: 60%; }
  .feature-media .at-top { top: 5%; }
  .feature-media .at-bottom { top: auto; bottom: 6%; }
  .feature-media .at-left { left: 3%; }
  .feature-media .at-right { right: 3%; }
  .pro-card { max-width: 250px; }
  .step, .stat, .loop { padding: 26px 24px; }
  .plan { padding: 30px 24px; border-radius: 30px; }
  .price-opts { grid-template-columns: 1fr; }
  .opt { display: flex; align-items: baseline; gap: 12px; }
  .opt span { margin-top: 0; }
  .opt i { top: 50%; left: auto; right: 12px; translate: 0 -50%; }
  .faq summary { font-size: 17px; padding: 22px 2px; }
  .faq .answer { padding-right: 8px; font-size: 15.5px; }
  .final-card { border-radius: 32px; }
  .related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .budget-card { padding: 28px 22px; border-radius: 30px; }
  .howto-steps li { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; }
  .howto-steps li::before { width: 44px; height: 44px; font-size: 22px; border-radius: 13px; }
  .doc-body { border-radius: 28px; }
}
