html, body { background: #FBFBFD; }

:root {
  --bg: #FBFBFD;
  --bg-2: #F5F5F7;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --muted: #6E6E73;
  --line: rgba(0, 0, 0, .08);
  --accent: #1F3A9E;          /* ballpoint-pen blue, the brand colour */
  --accent-2: #4A63D8;
  --accent-light: #8EA2FF;    /* the same blue, readable on black */

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;

  /* Glass: one material, reused everywhere */
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-blur: blur(24px) saturate(180%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(0, 0, 0, .04), 0 24px 60px -28px rgba(0, 0, 0, .22);

  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --wrap: 1120px;
  --radius-l: 32px;
  --radius-m: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.011em;
  color: var(--ink);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
::selection { background: rgba(31, 58, 158, .18); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, .55); outline-offset: 3px; border-radius: 10px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 99px; background: var(--ink); color: #fff; }
.skip:focus { top: 16px; }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font: 500 15px/1 var(--font); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .4s var(--spring), background-color .2s, box-shadow .3s var(--ease);
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn:active { transform: scale(.96); transition-duration: .1s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-glass {
  color: var(--ink);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0 0 1px rgba(0, 0, 0, .06);
}
@media (hover: hover) {
  .btn-ink:hover { background: #000; transform: translateY(-1px); }
  .btn-glass:hover { background: var(--glass-strong); transform: translateY(-1px); }
  .btn-light:hover { transform: translateY(-1px); }
}

/* ---------- Static logo (no bar) ---------- */
.hero-logo { position: absolute; inset: 28px 0 auto; margin-inline: auto; display: flex; align-items: center; gap: 9px; text-decoration: none; z-index: 5; }
.hero-logo picture { display: block; }
.logo-img { width: auto; height: 58px; }

/* ---------- Ambient light (gives the glass something to refract) ---------- */
.glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero .g1 { width: 520px; height: 520px; right: 6%; top: 10%; background: #CBD6FF; }
.hero .g2 { width: 420px; height: 420px; right: 26%; top: 38%; background: #C9D4FF; }
.hero .g3 { width: 360px; height: 360px; left: -6%; top: 52%; background: #E3DCFF; opacity: .35; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(720px, 100svh);
  padding: 120px 0 80px;
  overflow: clip;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 32px; align-items: center; }
.hero h1 { margin-top: 0; font-size: clamp(56px, 7vw, 104px); line-height: .98; letter-spacing: -.05em; font-weight: 700; }
.line { display: block; overflow: hidden; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.line > span { display: inline-block; white-space: nowrap; }
.hl { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .line:nth-child(2) > span { transition-delay: .08s; }
.js .line:nth-child(3) > span { transition-delay: .16s; }
.is-loaded .line > span { transform: none; }
.hero-lead { margin-top: 26px; max-width: 28rem; font-size: 19px; line-height: 1.5; color: var(--muted); letter-spacing: -.015em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.js .rise { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
.is-loaded .rise { opacity: 1; transform: none; filter: none; }

.hero-art { position: relative; aspect-ratio: 1 / 1.02; width: min(100%, calc((100svh - 230px) / 1.02)); min-width: 360px; justify-self: center; perspective: 1200px; }
.float { position: absolute; will-change: transform; }
.pop { width: 100%; height: 100%; transition: transform 1.2s var(--spring) var(--d, 0s), opacity .6s ease var(--d, 0s), filter .8s ease var(--d, 0s); }
.js .pop { opacity: 0; transform: scale(.6) translateY(30px); filter: blur(12px); }
.is-loaded .pop { opacity: 1; transform: none; filter: none; }
.bob { width: 100%; filter: drop-shadow(0 30px 34px rgba(30, 30, 60, .18)); animation: bob var(--bt, 6s) ease-in-out var(--bd, 0s) infinite alternate; }
@keyframes bob { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-10px) rotate(1.5deg); } }
.f-main { width: 80%; left: 10%; top: 2%; z-index: 2; }
.f-main .bob { animation-name: bob-soft; }
@keyframes bob-soft { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.f-latte { width: 22%; left: -2%; top: 14%; z-index: 3; }
.f-croissant { width: 24%; left: -4%; top: 66%; z-index: 3; }
.f-cake { width: 24%; right: -6%; top: 12%; z-index: 1; }
.f-coins { width: 15%; right: -2%; top: 70%; z-index: 3; }
.f-lemon { width: 12%; left: 4%; top: -2%; z-index: 1; }
.f-basil { width: 12%; right: 14%; top: 88%; z-index: 3; }

/* Calm marquee: grey words, edges fade out */
.marquee {
  margin-top: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.mq-item { display: inline-flex; align-items: center; gap: 18px; padding-right: 40px; font: 600 22px/1 var(--font); letter-spacing: -.03em; color: #A1A1A6; white-space: nowrap; }
.mq-item img { width: 34px; height: 34px; object-fit: contain; opacity: .95; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story (pinned) ---------- */
.story { position: relative; height: calc(100svh + 340svh); background: var(--bg); }
.story-stage {
  position: sticky; top: 0;
  height: 100svh; min-height: 620px;
  display: flex; align-items: center;
  overflow: hidden;
  --c0: #DCE4FF; --c1: #E6E0FF; --c2: #D6E9FF; --c3: #CED8FF;
}
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.story-copy { position: relative; }
.chapters { position: relative; height: 330px; }
.chapter { position: absolute; inset: 0; opacity: var(--o, 0); transform: translate3d(0, var(--y, 30px), 0); filter: blur(calc((1 - var(--o, 0)) * 6px)); pointer-events: none; }
.ch-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.ch-no { font: 600 13px/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; padding: 8px 12px; border-radius: 99px; background: rgba(0,0,0,.04); }
.ch-pkg { font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 99px; background: rgba(31, 58, 158, .08); color: var(--accent); }
.chapter h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
.chapter p:last-child { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 28rem; }
.dots { display: flex; gap: 6px; margin-top: 28px; }
.dots span { height: 6px; width: 6px; border-radius: 99px; background: rgba(0, 0, 0, .14); transition: width .6s var(--ease), background-color .3s; }
.dots span.on { width: 28px; background: var(--ink); }

.story-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.blob {
  position: absolute; inset: 8% 12%;
  border-radius: 50%;
  background: var(--blob, var(--c0));
  filter: blur(40px);
  opacity: .9;
  transition: background-color 1s ease;
}
.blob-ring {
  position: absolute; inset: 10% 14%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.6), 0 40px 80px -40px rgba(0,0,0,.25);
}
.scene {
  position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: var(--a, 0);
  transform: translate(-50%, -50%) translateY(var(--sy, 0px)) scale(var(--ss, .8)) rotate(var(--sr, 0deg));
  filter: drop-shadow(0 30px 34px rgba(30, 30, 60, .16));
  will-change: transform, opacity;
}

/* ---------- Reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--rd, 0s), transform 1s var(--ease) var(--rd, 0s); }
.js [data-reveal="pop"] { transform: translateY(40px) scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Section rhythm ---------- */
.sec-head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.sec-head p { margin: 20px auto 0; font-size: 20px; line-height: 1.45; color: var(--muted); max-width: 34rem; letter-spacing: -.015em; }
.pill-tag { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--accent-light); }

/* ---------- Smart: one idea, one card ---------- */
.smart {
  position: relative; isolation: isolate;
  margin: 40px 16px 0;
  border-radius: 44px;
  background: #000; color: #F5F5F7;
  padding: 130px 0;
  overflow: clip;
}
.glow-dark .g1 { width: 720px; height: 520px; right: -8%; top: 50%; translate: 0 -50%; background: #2F3BD9; opacity: .28; filter: blur(120px); }
.smart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.smart-art { width: auto; height: 300px; margin: 0 0 16px -8px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #A1A1A6; margin-bottom: 16px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #F5F5F7; }
.smart h2 { color: #F5F5F7; font-size: clamp(36px, 4.2vw, 58px); }
.smart-lead { margin-top: 20px; font-size: 18px; line-height: 1.55; color: #A1A1A6; max-width: 28rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips li { font-size: 13px; color: #D2D2D7; padding: 7px 13px; border-radius: 99px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

.tomorrow {
  position: relative;
  border-radius: 28px;
  padding: 30px;
  color: #F5F5F7;
  background: rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -40px rgba(0,0,0,.8);
}
.tm-head { display: flex; flex-direction: column; gap: 12px; }
.tm-day { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.tm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tm-tag { font-size: 12.5px; color: #A1A1A6; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.06); }
.tm-tag-pink { color: #C9B8FF; background: rgba(160, 140, 255, .14); }
.tm-reason { margin-top: 16px; font-size: 15px; line-height: 1.5; color: #A1A1A6; }
.tm-mode { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 8px; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.07); --mi: 0; }
.tm-mode-bg { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 99px; background: #F5F5F7; box-shadow: 0 2px 8px rgba(0,0,0,.3); transform: translateX(calc(var(--mi) * 100%)); transition: transform .5s var(--spring); }
.tm-mode button { position: relative; font: 500 14px/1 var(--font); padding: 11px 8px; border: 0; border-radius: 99px; background: transparent; color: #A1A1A6; cursor: pointer; transition: color .3s; }
.tm-mode button[aria-checked="true"] { color: var(--ink); }
.tm-row { display: grid; grid-template-columns: 120px 1fr 72px; align-items: center; gap: 22px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.tm-row:last-child { border-bottom: 0; }
.tm-name { font-weight: 500; font-size: 16px; color: #F5F5F7; }
.tm-bar { position: relative; height: 32px; }
.tm-track { position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); }
.tm-fill { position: absolute; top: 10px; height: 4px; border-radius: 2px; background: var(--accent-light); transition: left .8s var(--ease), width .8s var(--ease); }
.tm-fill.is-down { background: #30D158; }
.tm-bounds { position: absolute; left: 0; right: 0; top: 21px; display: flex; justify-content: space-between; font-size: 11px; color: #6E6E73; }
.tm-tick { position: absolute; top: 6px; width: 2px; height: 12px; border-radius: 1px; background: rgba(255,255,255,.35); translate: -1px 0; }
.tm-dot { position: absolute; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5), inset 0 0 0 5px var(--accent-light); translate: -9px 0; transition: left .8s var(--ease), box-shadow .3s; }
.tm-dot.is-down { box-shadow: 0 2px 8px rgba(0,0,0,.5), inset 0 0 0 5px #30D158; }
.tm-side { text-align: right; }
.tm-price { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tm-foot { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13.5px; line-height: 1.5; color: #8E8E93; min-height: 3.6em; }

/* ---------- Features ---------- */
.features { background: var(--bg); padding: 160px 0 150px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 28px 28px 32px;
  border-radius: var(--radius-l);
  background: var(--bg-2);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card::before { /* a soft wash of the icon's colour, not a full colour block */
  content: ""; position: absolute; z-index: -1;
  width: 70%; aspect-ratio: 1; left: 15%; top: -12%;
  border-radius: 50%; background: var(--tint); opacity: .32; filter: blur(50px);
}
.card img { height: 176px; width: auto; max-width: 90%; object-fit: contain; margin: 8px auto 28px; filter: drop-shadow(0 20px 24px rgba(30, 30, 60, .16)); transition: transform .7s var(--spring); }
.card h3 { font-size: 21px; }
.card p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.2); }
  .card:hover img { transform: translateY(-6px) scale(1.04); }
}
.pkg { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.7); color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.pkg-smart { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- Plans ---------- */
.plans { position: relative; isolation: isolate; background: var(--bg-2); padding: 150px 0; overflow: clip; }
.plans::before {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: 50%; top: 40%; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(circle, #D9E1FF, #ECE8FF 60%, transparent 72%); opacity: .7; filter: blur(60px);
}
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-l);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0 0 1px rgba(255,255,255,.7);
}
.plan h3 { font-size: 32px; letter-spacing: -.04em; }
.plan-tag { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.plan ul { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: -45deg; }
.plan-smart { background: rgba(29, 29, 31, .92); color: #F5F5F7; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 80px -30px rgba(0,0,0,.45); }
.plan-smart .plan-tag { color: #A1A1A6; }
.plan-smart ul { border-color: rgba(255,255,255,.12); margin-bottom: 28px; }
.plan-smart li { color: #D2D2D7; }
.plan-smart li::before { border-color: var(--accent-light); }
.plan-smart .btn { margin-top: auto; align-self: flex-start; }
.trial { align-self: flex-start; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(100deg, var(--accent), var(--accent-2)); padding: 6px 12px; border-radius: 99px; }
.plan-mino { position: absolute; width: auto; height: 220px; right: 6px; top: -178px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); transition: transform .7s var(--spring); }
@media (hover: hover) { .plan-smart:hover .plan-mino { transform: translateY(-8px) rotate(4deg); } }
/* Billing switch and prices */
.billing { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 28px auto 0; padding: 4px; border-radius: 99px; background: rgba(0, 0, 0, .06); --bi: 0; }
.sec-head-center .billing { display: inline-grid; }
.billing-bg { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transform: translateX(calc(var(--bi) * 100%)); transition: transform .45s var(--spring); }
.billing button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 0; background: transparent; border-radius: 99px; font: 500 15px/1 var(--font); color: var(--muted); cursor: pointer; transition: color .25s; }
.billing button[aria-checked="true"] { color: var(--ink); }
.billing-save { font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(31, 58, 158, .08); padding: 4px 8px; border-radius: 99px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.price-amount { font-size: 40px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price-per { font-size: 15px; color: var(--muted); }
.plan-smart .price-per { color: #A1A1A6; }
.plans-note { margin-top: 44px; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ---------- Trust ---------- */
.trust { background: var(--bg); padding: 170px 0 150px; }
.trust-top { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 48px; align-items: end; }
.manifesto { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; }
.manifesto .w { opacity: var(--wo, 1); transition: opacity .15s linear; }
.trust-mino { width: auto; height: 380px; justify-self: end; filter: drop-shadow(0 24px 30px rgba(30, 30, 60, .16)); }
.trust-list { margin: 96px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.trust-list > div { padding-top: 20px; border-top: 1px solid var(--line); }
.trust-list dt { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.trust-list dd { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- Join (light inset panel) ---------- */
.join {
  position: relative; isolation: isolate; overflow: clip;
  margin: 0 16px;
  border-radius: 44px;
  padding: 120px 0 100px;
  background: linear-gradient(140deg, #EEF2FF 0%, #F3F0FF 50%, #E8EEFF 100%);
}
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.join h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.join-copy > p { margin-top: 22px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 28rem; }
.join-form {
  display: flex; gap: 6px; margin-top: 36px; max-width: 480px;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0 0 1px rgba(0,0,0,.05);
}
.join-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 16.5px/1 var(--font); color: var(--ink); }
.join-form input:focus { outline: none; }
.join-form:focus-within { box-shadow: var(--glass-shadow), inset 0 0 0 1px rgba(0,0,0,.05), 0 0 0 4px rgba(0, 113, 227, .25); }
.join-form input::placeholder { color: #86868B; }
.join-status { margin-top: 16px; font-size: 14.5px; min-height: 1.6em; color: var(--ink-2); }
.join-status.is-error { color: #D70015; }
.join-mino { width: auto; max-width: 100%; max-height: 560px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(60, 40, 80, .18)); transform: translate3d(0, var(--jy, 0px), 0) rotate(var(--jr, 0deg)) scale(var(--js, 1)); }

/* ---------- Footer ---------- */
.footer { background: var(--bg); color: var(--muted); padding-top: 56px; overflow: clip; font-size: 13px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-row a { color: var(--ink); font-weight: 500; text-decoration: none; }
.footer-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* the short AoM logo, tinted pale and cut by the page bottom */
.wordmark { display: block; width: min(86vw, 1100px); aspect-ratio: 900 / 391; margin: 36px auto -6%; background: #EDEDF0; -webkit-mask: url(assets/brand/logo-aom.webp) center / contain no-repeat; mask: url(assets/brand/logo-aom.webp) center / contain no-repeat; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 560px); min-width: 0; margin: 24px auto 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .smart-grid { grid-template-columns: 1fr; }
  .tomorrow { max-width: 600px; width: 100%; }
}

/* =========================================================
   Phone
   ========================================================= */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 40px); }

  .hero { padding: 96px 0 56px; }
  .hero-logo { top: 22px; width: calc(100% - 40px); }
  .logo-img { height: 30px; }
  .hero h1 { font-size: clamp(50px, 14vw, 72px); }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn-lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
  .marquee { margin-top: 36px; }
  .mq-item { font-size: 18px; gap: 12px; padding-right: 28px; }
  .mq-item img { width: 28px; height: 28px; }

  .story { height: calc(100svh + 300svh); }
  .story-grid { grid-template-columns: 1fr; gap: 0; padding-top: 70px; width: calc(100% - 40px); }
  .story-visual { order: -1; width: min(100%, 400px); margin: 0 auto; aspect-ratio: 1.15; }
  .chapters { height: 250px; }
  .ch-meta { margin-bottom: 12px; }
  .chapter h2 { font-size: 30px; }
  .chapter p:last-child { margin-top: 10px; font-size: 16px; }
  .dots { margin-top: 4px; }

  .sec-head { margin-bottom: 44px; }
  .sec-head p { font-size: 17px; }
  .smart, .join { margin-inline: 8px; border-radius: 32px; }
  .smart { padding: 96px 0; }
  .smart-art { height: 240px; }
  .smart-grid { gap: 48px; }
  .tomorrow { padding: 22px; border-radius: 24px; }
  .tm-row { grid-template-columns: 1fr auto; grid-template-areas: "name side" "bar bar"; gap: 6px 12px; }
  .tm-name { grid-area: name; }
  .tm-bar { grid-area: bar; }
  .tm-side { grid-area: side; }

  .features, .plans { padding: 110px 0; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { border-radius: 26px; }
  .card img { height: 150px; }

  .plan-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 150px 20px 30px; scrollbar-width: none; }
  .plan-grid::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: center; padding: 28px 24px; }
  .plan-mino { height: 170px; top: -138px; }

  .trust { padding: 110px 0; }
  .trust-top { grid-template-columns: 1fr; gap: 24px; }
  .trust-mino { height: 260px; }
  .trust-list { grid-template-columns: 1fr; margin-top: 48px; gap: 20px; }

  .join { padding: 90px 0 60px; }
  .join-grid { grid-template-columns: 1fr; }
  .join-art { margin: 16px auto 0; }
  .join-mino { max-height: 420px; }
}

@media (max-width: 460px) {
  .join-form { flex-direction: column; padding: 8px; border-radius: 26px; }
  .join-form input { min-height: 48px; padding: 0 14px; }
  .join-form .btn { width: 100%; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .chapter h2 { font-size: clamp(30px, 3.2vw, 46px); }
  .story-visual { width: min(100%, 74svh); }
}

/* =========================================================
   Accessibility preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .line > span, .js .rise, .js .pop, .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .chapter { filter: none; }
  .bob, .marquee-track { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .btn-glass, .plan, .join-form, .blob-ring { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tomorrow { background: #1C1C1E; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .plan-smart { background: var(--ink); }
}
