:root {
  --cream: #fff8ef;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #241f25;
  --ink-soft: #514951;
  --muted: #736a70;
  --line: #eadfd5;
  --line-strong: #d9cabc;
  --red: #f2492e;
  --orange: #ff861c;
  --green: #7baa22;
  --purple: #8d5aae;
  --pink: #f6b7c9;
  --blue: #7eb9d8;
  --shadow-sm: 0 10px 30px rgba(55, 38, 43, 0.08);
  --shadow-md: 0 20px 70px rgba(55, 38, 43, 0.13);
  --shadow-lg: 0 35px 110px rgba(55, 38, 43, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-xl: 52px;
  --header-height: 82px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rounded: "Arial Rounded MT Bold", "Trebuchet MS", var(--sans);
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(246, 183, 201, 0.22), transparent 24rem),
    radial-gradient(circle at 92% 34%, rgba(126, 185, 216, 0.14), transparent 25rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(141, 90, 174, 0.42);
  outline-offset: 3px;
}

::selection { background: rgba(246, 183, 201, 0.65); color: var(--ink); }

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient__dot,
.ambient__line { position: absolute; opacity: 0.65; }
.ambient__dot { border-radius: 50%; filter: blur(1px); }
.ambient__dot--one { width: 11px; height: 11px; left: 5%; top: 23%; background: var(--orange); }
.ambient__dot--two { width: 16px; height: 16px; right: 7%; top: 69%; background: var(--green); }
.ambient__dot--three { width: 9px; height: 9px; left: 11%; bottom: 13%; background: var(--purple); }
.ambient__line { width: 7px; height: 34px; border-radius: 10px; transform: rotate(28deg); }
.ambient__line--one { right: 4%; top: 18%; background: var(--red); }
.ambient__line--two { left: 4%; top: 73%; background: var(--blue); transform: rotate(-26deg); }

.app-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(234, 223, 213, 0.8);
  background: rgba(255, 248, 239, 0.84);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition: box-shadow 180ms ease, background 180ms ease;
}
.app-header.is-scrolled {
  background: rgba(255, 248, 239, 0.95);
  box-shadow: 0 8px 35px rgba(62, 44, 49, 0.08);
}
.app-header__inner {
  width: min(1240px, calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  flex: 0 0 auto;
}
.brand__mark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--rounded);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  transform: rotate(-1deg);
  text-shadow: 0 2px 0 white;
}
.brand__letter { display: inline-block; }
.brand__letter:nth-child(2n) { transform: translateY(-2px) rotate(2deg); }
.brand__letter:nth-child(3n) { transform: translateY(1px) rotate(-2deg); }
.brand__letter--red { color: var(--red); }
.brand__letter--orange { color: var(--orange); }
.brand__letter--green { color: var(--green); }
.brand__letter--purple { color: var(--purple); }
.brand__sub {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}
.desktop-nav a:hover { background: rgba(255,255,255,0.68); color: var(--ink); }
.desktop-nav a.is-active { background: white; color: var(--ink); box-shadow: 0 3px 12px rgba(45, 34, 38, 0.07); }

.install-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
  box-shadow: 0 7px 18px rgba(36, 31, 37, 0.15);
}
.install-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.install-button[hidden] { display: none; }

.app-main { min-height: 70vh; }
.route { animation: routeIn 360ms ease both; }
.route[hidden] { display: none !important; }
@keyframes routeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero {
  min-height: min(770px, calc(100svh - var(--header-height)));
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-top: 72px;
  padding-bottom: 86px;
}
.hero__copy { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(242, 73, 46, 0.10); }
.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero h1 { max-width: 680px; font-size: clamp(3.25rem, 6.2vw, 6.25rem); }
.hero h1 em,
.page-hero h1 em {
  color: var(--purple);
  font-weight: 500;
}
.hero__lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
  line-height: 1.72;
}
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button--primary { background: var(--red); color: white; box-shadow: 0 12px 25px rgba(242, 73, 46, 0.22); }
.button--primary:hover { box-shadow: 0 16px 34px rgba(242, 73, 46, 0.28); }
.button--secondary { border-color: var(--line-strong); background: rgba(255,255,255,0.72); color: var(--ink); }
.button--secondary:hover { border-color: var(--ink); background: white; box-shadow: var(--shadow-sm); }
.button--ink { background: var(--ink); color: white; box-shadow: 0 12px 25px rgba(36,31,37,0.18); }
.button--full { width: 100%; }

.hero__mini-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.45;
}
.hero__mini-note p { margin: 0; }
.hero__mini-note strong { color: var(--ink); }
.mini-avatar {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: white;
  color: var(--purple);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.hero__media { position: relative; }
.video-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 10px solid white;
  border-radius: var(--radius-xl);
  background: #171317;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: calc(var(--radius-xl) - 10px);
  pointer-events: none;
}
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: #211c21;
  color: white;
  cursor: pointer;
  text-align: left;
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: 0.9; }
.video-poster__wash { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,15,20,.88) 0%, rgba(20,15,20,.05) 55%, rgba(20,15,20,.22) 100%); }
.video-poster__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--red);
  box-shadow: 0 15px 50px rgba(0,0,0,.28);
  transform: translate(-50%,-50%);
  transition: transform 180ms ease, background 180ms ease;
}
.video-poster:hover .video-poster__play { transform: translate(-50%,-50%) scale(1.06); background: white; }
.video-poster__play svg { width: 37px; fill: currentColor; }
.video-poster__label { position: absolute; left: 34px; right: 34px; bottom: 34px; display: flex; flex-direction: column; gap: 4px; }
.video-poster__label small { font-size: .68rem; font-weight: 900; letter-spacing: .17em; opacity: .76; }
.video-poster__label strong { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 600; line-height: 1.05; }
.floating-note {
  position: absolute;
  z-index: 2;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 850;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}
.floating-note--top { top: 10%; right: -7%; transform: rotate(4deg); }
.floating-note--bottom { bottom: 10%; left: -8%; transform: rotate(-4deg); }
.floating-note span { color: var(--red); margin-right: 4px; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 110px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.66);
  box-shadow: var(--shadow-sm);
}
.stat { display: flex; align-items: baseline; gap: 14px; padding: 25px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { color: var(--red); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 600; letter-spacing: -.04em; }
.stat span { max-width: 155px; color: var(--muted); font-size: .75rem; font-weight: 700; line-height: 1.4; }

.section { margin-bottom: 120px; }
.section-heading { margin-bottom: 34px; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2,
.home-create__copy h2,
.story-preview__copy h2,
.balloon-story h2,
.share-song__copy h2,
.contact-strip h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.4vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}
.text-link:hover { color: var(--red); border-color: var(--red); }

.listen-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.spotify-shell { min-height: 352px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.spotify-shell iframe { display: block; }
.quote-card {
  position: relative;
  min-height: 352px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-md);
}
.quote-card::after { content: ""; position: absolute; width: 230px; height: 230px; top: -90px; right: -60px; border-radius: 50%; background: var(--purple); opacity: .38; }
.quote-card__mark { position: absolute; top: 20px; left: 32px; color: var(--pink); font-family: var(--serif); font-size: 8rem; line-height: 1; opacity: .7; }
.quote-card p { position: relative; z-index: 1; margin: 0 0 23px; font-family: var(--serif); font-size: clamp(1.55rem, 2.7vw, 2.5rem); line-height: 1.2; }
.quote-card footer { color: rgba(255,255,255,.62); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.home-create {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  overflow: hidden;
  padding: 70px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8cbd7 0%, #f5e4cf 50%, #dcecc3 100%);
  box-shadow: var(--shadow-md);
}
.home-create__visual { position: relative; min-height: 410px; }
.mini-card {
  position: absolute;
  width: min(350px, 75%);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 35px;
  border: 10px solid white;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.mini-card--back { top: 3%; left: 0; background: var(--purple); color: white; transform: rotate(-9deg); }
.mini-card--back span { font-size: .64rem; font-weight: 900; letter-spacing: .18em; }
.mini-card--front { right: 2%; bottom: 0; transform: rotate(6deg); }
.mini-card__heart { color: var(--red); font-size: 2.6rem; }
.mini-card strong { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.mini-card small { color: var(--muted); font-weight: 750; }
.home-create__copy p:not(.eyebrow) { max-width: 520px; margin: 22px 0 27px; color: var(--ink-soft); font-size: 1.04rem; }

.story-preview {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
}
.story-preview__image { min-height: 430px; overflow: hidden; background: var(--ink); }
.story-preview__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.07); }
.story-preview__copy { align-self: center; padding: clamp(38px, 6vw, 78px); }
.story-preview__copy p:not(.eyebrow) { margin: 22px 0 27px; color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }

.signup-banner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
  padding: 55px 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
}
.signup-banner h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem,4vw,3.65rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.signup-banner--love p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); }
.signup-form { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.signup-form input,
.creator-panel input,
.memory-form input,
.memory-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.signup-form input { min-height: 52px; padding: 12px 17px; }
.signup-form input:focus,
.creator-panel input:focus,
.memory-form input:focus,
.memory-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(141,90,174,.10); outline: none; }
.form-status { grid-column: 1 / -1; min-height: 1.3em; margin: 2px 0 0; color: var(--muted); font-size: .76rem; font-weight: 700; }
.form-status.is-success { color: #507814; }
.form-status.is-error { color: var(--red); }

.page-hero { max-width: 980px; padding-top: 100px; padding-bottom: 74px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(3.3rem, 7vw, 6.7rem); }
.page-hero > p:last-child { max-width: 740px; margin: 27px auto 0; color: var(--ink-soft); font-size: clamp(1.03rem,1.7vw,1.24rem); line-height: 1.75; }
.page-hero--create h1 em { color: var(--red); }
.page-hero--story h1 em { color: var(--purple); }
.page-hero--shop h1 em { color: var(--green); }
.page-hero--love h1 em { color: var(--orange); }

.creator-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: start;
  gap: 38px;
  margin-bottom: 130px;
}
.creator-panel,
.card-preview-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
}
.creator-panel { padding: clamp(25px,4vw,44px); }
.form-section { padding-bottom: 28px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.step-label { display: block; margin-bottom: 12px; color: var(--red); font-size: .65rem; font-weight: 900; letter-spacing: .15em; }
.form-section > label,
.form-section legend { display: block; padding: 0; margin: 0 0 12px; color: var(--ink); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.form-section > label span { color: var(--muted); font-family: var(--sans); font-size: .74rem; font-weight: 600; }
.creator-panel input { min-height: 54px; padding: 13px 15px; }
.creator-panel fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice-card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 15px 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; text-align: center; transition: border-color 150ms ease, background 150ms ease, transform 150ms ease; }
.choice-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.choice-card:has(input:checked) { border-color: var(--purple); background: rgba(141,90,174,.07); box-shadow: 0 0 0 3px rgba(141,90,174,.08); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card__icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: white; color: var(--red); font-size: 1rem; box-shadow: 0 3px 10px rgba(30,20,25,.08); }
.choice-card strong { font-size: .78rem; }
.choice-card small { color: var(--muted); font-size: .62rem; line-height: 1.3; }
.creator-privacy { margin: 14px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }

.card-preview-panel { position: sticky; top: calc(var(--header-height) + 26px); padding: clamp(20px,3vw,34px); }
.preview-label { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--muted); font-size: .61rem; font-weight: 900; letter-spacing: .15em; }
.card-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(30px,5vw,70px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 8%, rgba(246,183,201,.40), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(123,170,34,.19), transparent 25%),
    var(--cream);
  box-shadow: inset 0 0 0 12px white, 0 18px 50px rgba(38,27,32,.13);
  text-align: center;
}
.card-preview::before { content: ""; position: absolute; inset: 32px; z-index: -1; border: 1px solid rgba(217,202,188,.85); border-radius: 20px; background: rgba(255,255,255,.76); }
.preview-wordmark { margin-top: 18px; font-family: var(--rounded); font-size: clamp(2rem,5vw,4.2rem); font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.preview-message { max-width: 620px; margin-block: auto; padding-inline: 20px; }
.preview-to { display: block; margin-bottom: 18px; color: var(--red); font-size: clamp(.55rem,1vw,.76rem); font-weight: 900; letter-spacing: .18em; }
.preview-message h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.35rem,4.8vw,4.6rem); font-weight: 600; letter-spacing: -.05em; line-height: .98; }
.preview-message p { max-width: 570px; margin: 25px auto 0; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(1rem,1.75vw,1.55rem); line-height: 1.45; }
.preview-from { display: block; margin-top: 30px; color: var(--purple); font-size: clamp(.68rem,1.2vw,.91rem); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.preview-site { margin-bottom: 14px; color: var(--muted); font-size: clamp(.55rem,1vw,.7rem); font-weight: 900; letter-spacing: .2em; }
.preview-confetti { position: absolute; z-index: 1; border-radius: 10px; }
.preview-confetti--1 { width: 10px; height: 38px; top: 14%; left: 10%; background: var(--orange); transform: rotate(24deg); }
.preview-confetti--2 { width: 16px; height: 16px; right: 11%; top: 18%; border-radius: 50%; background: var(--green); }
.preview-confetti--3 { width: 9px; height: 31px; right: 9%; bottom: 15%; background: var(--purple); transform: rotate(-27deg); }
.share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.share-actions[hidden] { display: none; }

.story-feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 520px;
  overflow: hidden;
  margin-bottom: 130px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-lg);
}
.story-feature__image { min-height: 500px; }
.story-feature__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.story-feature blockquote { position: relative; display: flex; flex-direction: column; justify-content: flex-end; margin: 0; padding: clamp(40px,6vw,78px); }
.story-feature blockquote::before { content: "“"; position: absolute; top: 32px; left: 48px; color: var(--pink); font-family: var(--serif); font-size: 9rem; line-height: 1; opacity: .7; }
.story-feature blockquote p { position: relative; margin: 0 0 25px; font-family: var(--serif); font-size: clamp(1.65rem,3vw,3rem); line-height: 1.2; }
.story-feature blockquote footer { color: rgba(255,255,255,.58); font-size: .69rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.timeline { margin-bottom: 140px; }
.timeline-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.timeline-list li { display: grid; grid-template-columns: 190px 1fr; gap: 55px; padding: 38px 0; border-bottom: 1px solid var(--line-strong); }
.timeline-year { color: var(--red); font-family: var(--serif); font-size: clamp(2rem,4vw,3.6rem); font-weight: 600; letter-spacing: -.04em; }
.timeline-list h3 { margin: 2px 0 9px; font-family: var(--serif); font-size: clamp(1.45rem,2.6vw,2.2rem); font-weight: 600; }
.timeline-list p { max-width: 750px; margin: 0; color: var(--ink-soft); line-height: 1.75; }

.credits-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; margin-bottom: 140px; }
.credits-section__intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem,5vw,4.7rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.credits-section__intro p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.credit-cards { display: grid; gap: 12px; }
.credit-cards article { position: relative; padding: 30px 70px 30px 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.75); box-shadow: var(--shadow-sm); }
.credit-number { position: absolute; right: 27px; top: 27px; color: var(--line-strong); font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.credit-cards h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.credit-cards p { margin: 0; color: var(--muted); }
.credit-cards a { display: inline-flex; margin-top: 12px; color: var(--purple); font-size: .8rem; font-weight: 850; text-decoration: none; }

.balloons-story {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 80px;
  padding: 70px;
  border-radius: var(--radius-lg);
  background: #eef5df;
  box-shadow: var(--shadow-md);
}
.balloons-story__art img { width: min(100%, 430px); margin-inline: auto; border: 12px solid white; border-radius: 50%; box-shadow: var(--shadow-lg); transform: rotate(-4deg); }
.balloons-story__copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem,5vw,4.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.balloons-story__copy p:not(.eyebrow) { margin: 23px 0 28px; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.75; }

.product-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 26px; margin-bottom: 130px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.86); box-shadow: var(--shadow-md); }
.product-card__image { position: relative; display: flex; min-height: 470px; align-items: center; justify-content: center; padding: 56px; overflow: hidden; background: #f2f5e9; }
.product-card__image img { width: min(100%, 430px); aspect-ratio: 1; object-fit: cover; border: 10px solid white; border-radius: 50%; box-shadow: var(--shadow-lg); transition: transform 220ms ease; }
.product-card__image:hover img { transform: scale(1.025) rotate(1deg); }
.product-card__image--sheet { background: #f3eaf6; }
.product-card__image--sheet img { width: min(78%, 330px); aspect-ratio: auto; border-radius: 12px; }
.product-badge { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 8px 11px; border-radius: 999px; background: var(--green); color: white; font-size: .61rem; font-weight: 900; letter-spacing: .12em; }
.product-badge--purple { background: var(--purple); }
.product-card__body { padding: 34px; }
.product-card__title-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.product-type { margin: 0 0 6px; color: var(--red); font-size: .63rem; font-weight: 900; letter-spacing: .15em; }
.product-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem,3vw,3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.product-price { font-family: var(--serif); font-size: 1.8rem; }
.product-card__body > p { margin: 20px 0; color: var(--ink-soft); line-height: 1.7; }
.product-details { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 25px; padding: 0; list-style: none; }
.product-details li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--paper); font-size: .66rem; font-weight: 750; }

.platform-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.platform-grid a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 23px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.75); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform 150ms ease, border-color 150ms ease; }
.platform-grid a:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.platform-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-weight: 900; }
.platform-grid strong { display: block; }
.platform-grid small { display: block; margin-top: 2px; color: var(--muted); font-size: .68rem; }

.love-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 34px; align-items: start; margin-bottom: 130px; }
.memory-maker,
.memory-wall { border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.79); box-shadow: var(--shadow-sm); }
.memory-maker { padding: clamp(25px,4vw,42px); }
.memory-maker .section-heading h2,
.memory-wall h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem,4vw,3.4rem); font-weight: 600; letter-spacing: -.04em; }
.memory-form { position: relative; }
.memory-form label { display: block; margin: 18px 0 8px; font-size: .78rem; font-weight: 850; }
.memory-form input,
.memory-form textarea { padding: 13px 15px; }
.memory-form textarea { resize: vertical; min-height: 130px; }
.character-count { margin: 6px 4px 13px; color: var(--muted); font-size: .67rem; text-align: right; }
.memory-wall { padding: clamp(25px,4vw,42px); }
.memory-wall__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.memory-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.memory-card { min-height: 205px; display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 27px; border-radius: 22px; background: var(--paper); }
.memory-card p { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.memory-card footer { margin-top: 22px; color: var(--muted); font-size: .68rem; font-weight: 800; }
.memory-card--pink { background: #fbe4eb; }
.memory-card--green { background: #edf5df; }
.memory-card--purple { background: #f1e8f4; }
.memory-card--orange { background: #fff0dd; }
.icon-button { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); cursor: pointer; }
.icon-button:hover { border-color: var(--ink); }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button[hidden] { display: none; }

.share-song {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  align-items: center;
  gap: 70px;
  padding: 62px 70px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-lg);
}
.share-song__art { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; border-radius: 26px; background: rgba(255,255,255,.07); }
.share-song__art strong { color: rgba(255,255,255,.55); font-size: .68rem; letter-spacing: .18em; }
.sound-wave { height: 130px; display: flex; align-items: center; gap: 9px; }
.sound-wave span { width: 7px; border-radius: 10px; background: var(--pink); animation: soundWave 1.5s ease-in-out infinite alternate; }
.sound-wave span:nth-child(1),.sound-wave span:nth-child(9) { height: 28px; }
.sound-wave span:nth-child(2),.sound-wave span:nth-child(8) { height: 60px; animation-delay: -.5s; }
.sound-wave span:nth-child(3),.sound-wave span:nth-child(7) { height: 95px; animation-delay: -.9s; }
.sound-wave span:nth-child(4),.sound-wave span:nth-child(6) { height: 125px; animation-delay: -.3s; }
.sound-wave span:nth-child(5) { height: 78px; animation-delay: -.7s; }
@keyframes soundWave { to { transform: scaleY(.55); opacity: .65; } }
.share-song__copy .eyebrow { color: var(--pink); }
.share-song__copy h2 { color: white; }
.share-song__copy p { margin: 20px 0 0; color: rgba(255,255,255,.64); }
.share-song__copy .button--ink { background: white; color: var(--ink); }
.share-song__copy .button--secondary { border-color: rgba(255,255,255,.28); background: transparent; color: white; }

.contact-strip { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 70px; margin-bottom: 120px; padding: 45px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.contact-strip h2 { max-width: 720px; font-size: clamp(2rem,4vw,3.6rem); }
.contact-strip__links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.contact-strip__links a { font-size: .88rem; font-weight: 850; text-decoration: none; border-bottom: 1px solid var(--ink); }
.contact-strip__links a:hover { color: var(--red); border-color: var(--red); }

.site-footer { padding: 58px 0 calc(58px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.45); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: start; }
.brand--footer .brand__mark { font-size: 2.25rem; }
.site-footer__inner > div:first-child > p { max-width: 360px; margin: 16px 0 0; color: var(--muted); font-family: var(--serif); font-size: 1rem; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.site-footer__links a { color: var(--muted); font-size: .75rem; font-weight: 750; text-decoration: none; }
.site-footer__links a:hover { color: var(--ink); }
.site-footer__legal { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; }

.bottom-nav { display: none; }

.modal {
  width: min(900px, calc(100% - 32px));
  max-height: min(90svh, 800px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(23,17,22,.74); backdrop-filter: blur(8px); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; }
.modal__head .eyebrow { margin-bottom: 4px; }
.modal__head h2 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.video-frame { aspect-ratio: 16/9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.modal__caption { margin: 0; padding: 17px 26px 25px; color: var(--muted); font-size: .74rem; font-weight: 700; }
.modal--install { width: min(520px, calc(100% - 32px)); }
.install-steps { padding: 0 28px 30px; }
.install-steps ol { margin: 0; padding-left: 24px; }
.install-steps li { margin: 14px 0; padding-left: 6px; color: var(--ink-soft); }
.install-steps strong { color: var(--ink); }
.install-steps .install-icon { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #e8f0fb; color: #1767d2; font-weight: 900; }

.toast {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 14px));
  max-width: calc(100% - 36px);
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms ease; }
.js .reveal--delay { transition-delay: 100ms; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .app-header__inner { justify-content: space-between; }
  .hero { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(3.2rem, 7vw, 5.2rem); }
  .floating-note--top { right: -2%; }
  .floating-note--bottom { left: -2%; }
  .home-create { gap: 40px; padding: 55px; }
  .creator-layout { grid-template-columns: .9fr 1.1fr; }
  .credits-section { gap: 40px; }
  .product-card__image { min-height: 410px; padding: 42px; }
}

@media (max-width: 820px) {
  :root { --header-height: 70px; }
  .shell { width: min(100% - 32px, 680px); }
  .app-header__inner { width: calc(100% - 30px); }
  .brand__sub { display: none; }
  .brand__mark { font-size: 1.65rem; }
  .install-button { min-height: 38px; padding: 8px 12px; }

  .app-main { padding-bottom: 92px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 62px; padding-bottom: 65px; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__lede { max-width: 620px; }
  .hero__mini-note { text-align: left; }
  .hero__media { width: min(100%, 540px); margin-inline: auto; }
  .video-card { aspect-ratio: 4/4.8; transform: rotate(.7deg); }
  .floating-note--top { right: -1%; }
  .floating-note--bottom { left: -1%; }
  .stat-strip { grid-template-columns: 1fr; margin-bottom: 90px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { justify-content: center; text-align: left; }
  .stat span { max-width: 220px; }
  .section { margin-bottom: 90px; }
  .section-heading--split { align-items: start; flex-direction: column; }
  .listen-grid { grid-template-columns: 1fr; }
  .home-create { grid-template-columns: 1fr; gap: 30px; padding: 45px; }
  .home-create__visual { min-height: 380px; order: 2; }
  .home-create__copy { text-align: center; }
  .home-create__copy .eyebrow { justify-content: center; }
  .home-create__copy p:not(.eyebrow) { margin-inline: auto; }
  .story-preview { grid-template-columns: 1fr; }
  .story-preview__image { min-height: 360px; }
  .signup-banner { grid-template-columns: 1fr; gap: 28px; padding: 42px; text-align: center; }
  .signup-banner .eyebrow { justify-content: center; }
  .signup-form { max-width: 560px; width: 100%; margin-inline: auto; }

  .page-hero { padding-top: 75px; padding-bottom: 58px; }
  .creator-layout { grid-template-columns: 1fr; }
  .card-preview-panel { position: static; }
  .story-feature { grid-template-columns: 1fr; }
  .story-feature__image { min-height: 380px; }
  .story-feature blockquote { min-height: 360px; }
  .timeline-list li { grid-template-columns: 140px 1fr; gap: 30px; }
  .credits-section { grid-template-columns: 1fr; }
  .balloons-story { grid-template-columns: 1fr; gap: 42px; padding: 50px; text-align: center; }
  .balloons-story__copy .eyebrow { justify-content: center; }
  .product-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .love-layout { grid-template-columns: 1fr; }
  .share-song { grid-template-columns: 1fr; gap: 35px; padding: 48px; text-align: center; }
  .share-song__copy .eyebrow, .share-song__copy .button-row { justify-content: center; }
  .contact-strip { grid-template-columns: 1fr; gap: 35px; }
  .contact-strip__links { align-items: flex-start; }
  .site-footer { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__links { justify-content: flex-start; }

  .bottom-nav {
    position: fixed;
    z-index: 150;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5,1fr);
    min-height: 68px;
    padding: 7px 5px;
    border: 1px solid rgba(218,204,192,.85);
    border-radius: 23px;
    background: rgba(255,253,249,.94);
    box-shadow: 0 16px 48px rgba(40,28,34,.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 16px; color: var(--muted); font-size: .58rem; font-weight: 800; text-decoration: none; }
  .bottom-nav a svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
  .bottom-nav a.is-active { background: rgba(242,73,46,.09); color: var(--red); }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 24px); }
  .app-header__inner { width: calc(100% - 24px); }
  .install-button span { display: none; }
  .install-button { width: 40px; padding: 0; justify-content: center; }
  .hero { gap: 45px; padding-top: 50px; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 4.6rem); }
  .hero__lede { font-size: .98rem; }
  .button-row { width: 100%; flex-direction: column; }
  .button-row .button { width: 100%; }
  .video-card { border-width: 7px; border-radius: 35px; }
  .video-poster__play { width: 72px; height: 72px; }
  .video-poster__label { left: 24px; right: 24px; bottom: 24px; }
  .floating-note { display: none; }
  .stat { justify-content: flex-start; padding: 22px; }
  .section-heading h2,
  .home-create__copy h2,
  .story-preview__copy h2 { font-size: 2.5rem; }
  .quote-card { min-height: 330px; padding: 32px; }
  .home-create { padding: 34px 22px; border-radius: 28px; }
  .home-create__visual { min-height: 325px; }
  .mini-card { width: 70%; padding: 22px; border-width: 7px; }
  .mini-card strong { font-size: 1.45rem; }
  .story-preview { border-radius: 28px; }
  .story-preview__image { min-height: 290px; }
  .story-preview__copy { padding: 32px 25px 38px; }
  .signup-banner { padding: 34px 22px; border-radius: 28px; }
  .signup-form { grid-template-columns: 1fr; }

  .page-hero { padding-top: 60px; }
  .page-hero h1 { font-size: clamp(3rem,15vw,4.4rem); }
  .creator-panel, .card-preview-panel { border-radius: 28px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { flex-direction: row; justify-content: flex-start; gap: 12px; text-align: left; }
  .choice-card small { margin-left: auto; }
  .card-preview { border-radius: 22px; box-shadow: inset 0 0 0 7px white, 0 18px 50px rgba(38,27,32,.13); }
  .card-preview::before { inset: 22px; }
  .preview-wordmark { font-size: 2.3rem; }
  .preview-message h2 { font-size: clamp(2.2rem,12vw,3.5rem); }
  .preview-message p { font-size: .96rem; }
  .share-actions { grid-template-columns: 1fr; }
  .story-feature { border-radius: 28px; }
  .story-feature__image { min-height: 300px; }
  .story-feature blockquote { min-height: 320px; padding: 34px 28px; }
  .story-feature blockquote::before { left: 22px; top: 20px; }
  .timeline-list li { grid-template-columns: 1fr; gap: 10px; padding: 27px 0; }
  .timeline-year { font-size: 2.2rem; }
  .credit-cards article { padding: 25px 58px 25px 24px; }
  .balloons-story { padding: 38px 23px; border-radius: 28px; }
  .balloons-story__art img { border-width: 8px; }
  .product-card { border-radius: 28px; }
  .product-card__image { min-height: 350px; padding: 35px; }
  .product-card__body { padding: 27px 22px; }
  .memory-list { grid-template-columns: 1fr; }
  .memory-card { min-height: 170px; }
  .share-song { padding: 36px 22px; border-radius: 28px; }
  .share-song__art { min-height: 230px; }
  .contact-strip h2 { font-size: 2.4rem; }
  .site-footer__links { display: grid; grid-template-columns: repeat(2,auto); justify-content: flex-start; }
  .modal { border-radius: 23px; }
  .modal__head { padding: 18px; }
  .modal__head h2 { font-size: 1.55rem; }
}

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

/* Standalone legal pages */
.legal-page { min-height: 100vh; background: var(--cream); }
.legal-header { border-bottom: 1px solid var(--line); background: rgba(255,253,249,.9); }
.legal-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-shell { max-width: 820px; padding-top: 86px; padding-bottom: 110px; }
.legal-shell > h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(3rem,8vw,6.2rem); font-weight: 600; letter-spacing: -.05em; line-height: .98; }
.legal-updated { margin: 22px 0 70px; color: var(--muted); font-size: .75rem; font-weight: 750; }
.legal-shell section { padding: 30px 0; border-top: 1px solid var(--line-strong); }
.legal-shell section:last-child { border-bottom: 1px solid var(--line-strong); }
.legal-shell h2 { margin: 0 0 13px; font-family: var(--serif); font-size: clamp(1.45rem,3vw,2.15rem); font-weight: 600; }
.legal-shell section p { margin: 0; color: var(--ink-soft); line-height: 1.8; }
.legal-shell section a { color: var(--purple); font-weight: 800; }
.legal-footer { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
@media (max-width: 560px) {
  .legal-header__inner { min-height: 70px; }
  .legal-header .text-link { font-size: .72rem; }
  .legal-shell { padding-top: 60px; padding-bottom: 80px; }
  .legal-updated { margin-bottom: 48px; }
}
