:root {
  --obsidian: #111317;
  --obsidian-soft: #1a1d24;
  --surface: #f6f1e7;
  --surface-alt: #efe7d7;
  --surface-card: rgba(255, 251, 244, 0.78);
  --surface-card-strong: #fffaf2;
  --text: #1f2329;
  --text-soft: #5a605f;
  --text-muted: #858b89;
  --gold: #e8c86a;
  --gold-soft: rgba(232, 200, 106, 0.18);
  --green: #315d52;
  --green-soft: rgba(49, 93, 82, 0.14);
  --line: rgba(31, 35, 41, 0.08);
  --white: #ffffff;
  --shadow-soft: 0 20px 60px rgba(17, 19, 23, 0.08);
  --shadow-strong: 0 24px 84px rgba(17, 19, 23, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --content-width: 1180px;
  --legal-width: 860px;
  --font-display: "Inter", "Manrope", sans-serif;
  --font-body: "Manrope", "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(232, 200, 106, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(49, 93, 82, 0.12), transparent 32%),
    linear-gradient(180deg, #fbf8f1 0%, #f6efe1 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--obsidian);
  color: var(--white);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.glow {
  position: absolute;
  z-index: 0;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  opacity: 0.7;
}

.glow-gold {
  top: -160px;
  left: -180px;
  background: rgba(232, 200, 106, 0.26);
}

.glow-green {
  top: 120px;
  right: -180px;
  background: rgba(49, 93, 82, 0.18);
}

.container,
.page-section,
.site-footer,
.legal-footer {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.section,
.legal-page {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 40;
  padding-top: 16px;
}

.nav,
.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 251, 244, 0.7);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 40px rgba(17, 19, 23, 0.08);
}

.brand,
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.brand-lockup img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.58rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--green);
}

.nav-links,
.footer-links,
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}

.nav-links a,
.footer-links a,
.legal-nav a,
.legal-back,
.text-link {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a:hover,
.footer-links a:hover,
.legal-nav a:hover,
.legal-back:hover,
.text-link:hover {
  color: var(--green);
}

.button,
.store-button,
.notice-button,
.prefs-button,
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.store-button:hover,
.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(17, 19, 23, 0.12);
}

.button-primary,
.store-button.primary,
.notice-button.accept,
.prefs-button.primary {
  background: linear-gradient(135deg, var(--gold) 0%, #f4db92 100%);
  color: var(--obsidian);
}

.button-secondary,
.store-button.secondary {
  background: rgba(255, 251, 244, 0.72);
  color: var(--text);
}

.nav-cta {
  flex-shrink: 0;
}

.section {
  padding: 84px 0;
}

.download-route {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.how-grid,
.download-panel,
.legal-hero,
.download-route-shell {
  display: grid;
  gap: 40px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 420px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.how-heading h2,
.download-copy h2,
.legal-title,
.section-title,
.cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.15rem);
}

.section-heading h2,
.how-heading h2,
.download-copy h2,
.section-title,
.cta-title {
  font-size: clamp(2.2rem, 3.7vw, 3.9rem);
}

.hero-lede,
.section-heading p,
.step p,
.story-card p,
.footer-copy,
.legal-copy,
.legal-panel p,
.legal-panel li,
.faq-answer,
.notice-banner p,
.prefs-status {
  color: var(--text-soft);
  line-height: 1.72;
}

.hero-lede {
  max-width: 56ch;
  margin: 24px 0 30px;
  font-size: 1.08rem;
}

.hero-actions,
.store-actions,
.prefs-actions,
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 36px 0 0;
}

.hero-stats div,
.mini-story,
.story-card,
.step,
.download-panel,
.legal-panel,
.faq-item,
.prefs-card,
.positioning-panel,
.cta-panel,
.notice-banner {
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.hero-stats div {
  padding: 18px 20px;
}

.download-route-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.download-route-copy {
  max-width: 56ch;
}

.download-route-story {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  margin: 8px 0 24px;
  border-radius: var(--radius-pill);
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.download-route-story span {
  color: var(--text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.download-route-store-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid var(--line);
}

.download-route-store-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.download-route-store-copy {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.hero-stats dt {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--green);
}

.hero-stats dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 360px);
  border-radius: 40px;
  padding: 14px;
  background: linear-gradient(180deg, #1d2027 0%, #0d1017 100%);
  box-shadow: var(--shadow-strong);
}

.phone-screen-image {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-shell-hero {
  width: min(100%, 400px);
}

.floating-note {
  position: absolute;
  left: -24px;
  bottom: 26px;
  max-width: 240px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 251, 244, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.floating-note-label,
.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.floating-note p,
.story-panel-copy p,
.story-point span,
.videos-lede,
.video-callout p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 6px;
  color: rgba(255, 248, 236, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(232, 200, 106, 0.18);
}

.mini-story {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 249, 240, 0.94);
  background:
    radial-gradient(circle at top right, rgba(232, 200, 106, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.06);
}

.mini-story + .mini-story {
  margin-top: 14px;
}

.mini-story.active {
  background:
    radial-gradient(circle at top right, rgba(232, 200, 106, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.1);
}

.story-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 240, 200, 0.92);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mini-story h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mini-story p {
  margin: 0 0 12px;
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.94rem;
  line-height: 1.7;
}

.read-cue {
  color: rgba(255, 240, 200, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  text-align: center;
  max-width: 760px;
}

.section-heading p {
  margin: 18px auto 0;
  font-size: 1.02rem;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.story-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.story-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 200, 106, 0.18), transparent 68%);
}

.story-card-large {
  grid-column: span 2;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.story-card h3,
.step h3,
.legal-panel h2,
.faq-item h3,
.prefs-card h3 {
  margin: 0 0 12px;
}

.story-card h3 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--green);
}

.read-more {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 16px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.quote-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(49, 93, 82, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(232, 200, 106, 0.18), transparent 36%),
    rgba(255, 251, 244, 0.78);
}

.quote-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 650;
  line-height: 1.14;
  color: var(--text);
}

.experience-grid,
.videos-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.experience-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  margin-top: 42px;
}

.story-panel {
  padding: 34px;
}

.story-panel h3,
.videos-copy h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: var(--text);
}

.story-panel-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.story-point {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(31, 35, 41, 0.06);
}

.story-point strong,
.video-callout strong {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.phone-stack {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.phone-shell-stack {
  width: min(100%, 360px);
}

.phone-shell-offset {
  position: absolute;
  left: 0;
  top: 18px;
  transform: rotate(-4deg);
  box-shadow: 0 18px 48px rgba(17, 19, 23, 0.12);
}

.section-videos {
  padding-top: 36px;
}

.videos-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
}

.videos-lede {
  margin-bottom: 24px;
  font-size: 1.06rem;
}

.mood-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.video-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(31, 35, 41, 0.08);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
}

.video-pill-active {
  background: linear-gradient(135deg, #d8f9df 0%, #bceec7 100%);
  color: var(--green);
  border-color: rgba(49, 93, 82, 0.12);
}

.video-callout {
  padding: 24px 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 244, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.video-callout p {
  margin-top: 10px;
}

.phone-shell-video {
  width: min(100%, 380px);
  justify-self: center;
}

.how-grid,
.download-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.steps,
.faq-list,
.prefs-grid {
  display: grid;
  gap: 18px;
}

.step,
.faq-item,
.prefs-card,
.legal-panel {
  padding: 28px;
}

.faq-list {
  margin-top: 26px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--green);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.faq-answer p + p {
  margin-top: 12px;
}

.legal-callout {
  margin: 0 0 18px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(31, 35, 41, 0.06);
}

.legal-callout strong {
  color: var(--green);
}

.step-number,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #8a6715;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step h3,
.faq-item h3 {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.download-panel {
  padding: 36px;
  background:
    radial-gradient(circle at top left, rgba(232, 200, 106, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(49, 93, 82, 0.12), transparent 32%),
    var(--surface-card);
}

.download-copy p {
  max-width: 52ch;
  margin: 18px 0 0;
  font-size: 1.02rem;
}

.store-actions {
  align-self: center;
  justify-content: flex-end;
  gap: 18px;
}

.store-badge {
  min-width: 344px;
  min-height: 106px;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 16px 28px;
  background: #1f1f1f;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(17, 19, 23, 0.18);
  justify-content: flex-start;
}

.store-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.02);
}

.store-badge-icon svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.store-badge-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.store-badge-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.95;
}

.store-badge-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1;
}

body.legal-apple-page {
  background: #ffffff;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.legal-apple-page .legal-page {
  padding: 0 0 88px;
}

body.legal-apple-page .legal-topbar,
body.legal-apple-page .legal-hero,
body.legal-apple-page .legal-panel,
body.legal-apple-page .legal-footer {
  width: min(calc(100% - 48px), 980px);
}

body.legal-apple-page .legal-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 auto;
  padding: 18px 0 16px;
  border-radius: 0;
  border-bottom: 1px solid #d2d2d7;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: none;
}

body.legal-apple-page .brand-lockup img {
  width: 24px;
  height: 24px;
}

body.legal-apple-page .brand-text,
body.legal-apple-page .legal-back,
body.legal-apple-page .legal-nav a {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.legal-apple-page .brand-text {
  font-size: 1.04rem;
  font-weight: 600;
  color: #1d1d1f;
}

body.legal-apple-page .legal-back,
body.legal-apple-page .legal-nav a {
  font-size: 0.95rem;
  font-weight: 400;
  color: #06c;
}

body.legal-apple-page .legal-back:hover,
body.legal-apple-page .legal-nav a:hover {
  color: #0077ed;
  text-decoration: underline;
}

body.legal-apple-page .legal-hero {
  display: block;
  margin: 0 auto 28px;
  padding: 58px 0 0;
}

body.legal-apple-page .eyebrow {
  margin: 0 0 12px;
  color: #6e6e73;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body.legal-apple-page .legal-title {
  margin: 0;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.75rem, 5.3vw, 4.9rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

body.legal-apple-page .legal-meta {
  margin: 20px 0 0;
  color: #6e6e73;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

body.legal-apple-page .legal-copy,
body.legal-apple-page .legal-panel p,
body.legal-apple-page .legal-panel li {
  color: #424245;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.65;
}

body.legal-apple-page .legal-copy {
  max-width: 900px;
  margin: 18px 0 0;
}

body.legal-apple-page .legal-panel {
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body.legal-apple-page .legal-panel h2 {
  margin: 44px 0 16px;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
}

body.legal-apple-page .legal-document h2:first-child {
  margin-top: 0;
}

body.legal-apple-page .legal-document .legal-clause,
body.legal-apple-page .legal-document .legal-subclause {
  margin-bottom: 12px;
}

body.legal-apple-page .legal-document .legal-subclause {
  padding-left: 22px;
}

body.legal-apple-page .legal-footer {
  margin: 52px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid #d2d2d7;
}

body.legal-apple-page .legal-nav {
  gap: 14px 24px;
}

body.legal-apple-page .footer-meta {
  margin: 18px 0 0;
  color: #6e6e73;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: left;
}

body.legal-apple-page .legal-panel a,
body.legal-apple-page .legal-copy a {
  color: #06c;
  text-decoration: none;
}

body.legal-apple-page .legal-panel a:hover,
body.legal-apple-page .legal-copy a:hover {
  color: #0077ed;
  text-decoration: underline;
}

.site-footer,
.legal-footer {
  padding: 26px 0 44px;
}

.footer-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.brand.compact .brand-mark {
  width: 38px;
  height: 38px;
}

.footer-copy,
.footer-note {
  max-width: 620px;
  margin: 0;
  font-size: 0.98rem;
}

.footer-meta,
.legal-meta {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page {
  padding: 26px 0 80px;
}

.legal-topbar {
  width: min(calc(100% - 32px), var(--legal-width));
  margin: 0 auto 28px;
}

.legal-hero,
.legal-panel {
  width: min(calc(100% - 32px), var(--legal-width));
  margin: 0 auto;
}

.legal-hero {
  margin-bottom: 26px;
}

.legal-title {
  font-size: clamp(2.65rem, 5.1vw, 4rem);
}

.legal-copy {
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.legal-panel h2 {
  margin-top: 34px;
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 740;
  line-height: 1.12;
  color: var(--green);
}

.legal-panel h3,
.prefs-card h3 {
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-panel p,
.legal-panel li {
  font-size: 1rem;
}

.legal-document .legal-clause,
.legal-document .legal-subclause {
  margin-top: 0;
  margin-bottom: 10px;
}

.legal-document .legal-subclause {
  padding-left: 24px;
}

.legal-document h2 + .legal-clause,
.legal-document h2 + p {
  margin-top: 0;
}

.legal-panel ul {
  padding-left: 20px;
}

.notice-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  width: min(420px, calc(100% - 24px));
  padding: 22px;
  background: rgba(18, 18, 22, 0.9);
  color: rgba(255, 250, 240, 0.92);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

.notice-banner h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.notice-banner p {
  margin: 0 0 18px;
  color: rgba(255, 250, 240, 0.74);
}

.notice-button.decline,
.prefs-button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 250, 240, 0.9);
}

.notice-button.manage {
  background: transparent;
  color: rgba(255, 250, 240, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
}

.prefs-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 244, 0.82);
}

.toggle {
  position: relative;
  width: 60px;
  height: 34px;
}

.toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(31, 35, 41, 0.16);
  transition: background 180ms ease;
}

.toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fffef8;
  box-shadow: 0 6px 18px rgba(17, 19, 23, 0.15);
  transition: transform 180ms ease;
}

.toggle input:checked + .toggle-track {
  background: rgba(49, 93, 82, 0.64);
}

.toggle input:checked + .toggle-track + .toggle-thumb {
  transform: translateX(26px);
}

.toggle input:disabled + .toggle-track {
  background: rgba(232, 200, 106, 0.34);
}

@media (max-width: 1080px) {
  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .experience-grid,
  .videos-grid,
  .how-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .store-actions {
    justify-content: flex-start;
  }

  .floating-note {
    position: static;
    margin-top: 18px;
    max-width: 100%;
  }

  .phone-stack {
    min-height: unset;
    gap: 18px;
    flex-direction: column;
    align-items: center;
  }

  .phone-shell-offset {
    position: static;
    transform: none;
  }
}

@media (max-width: 720px) {
  .container,
  .page-section,
  .site-footer,
  .legal-footer,
  .legal-topbar,
  .legal-hero,
  .legal-panel {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .nav {
    padding: 14px;
  }

  .nav-cta {
    display: none;
  }

  .section,
  .legal-page {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-stats,
  .feed-grid {
    grid-template-columns: 1fr;
  }

  .story-card-large {
    grid-column: span 1;
  }

  .hero-actions,
  .store-actions,
  .prefs-actions,
  .notice-actions,
  .footer-links,
  .legal-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .store-button,
  .store-badge,
  .notice-button,
  .prefs-button {
    width: 100%;
  }

  .store-badge {
    justify-content: flex-start;
  }

  .step,
  .story-card,
  .story-panel,
  .download-panel,
  .download-route-card,
  .legal-panel,
  .faq-item,
  .prefs-card,
  .notice-banner {
    padding: 24px;
  }

  .prefs-card {
    grid-template-columns: 1fr;
  }

  .story-panel h3,
  .videos-copy h2 {
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.7rem);
    max-width: 12ch;
    line-height: 1.05;
  }

  .section-heading h2,
  .how-heading h2,
  .download-copy h2,
  .legal-title {
    line-height: 1.08;
  }
}

@media (max-width: 720px) {
  body.legal-apple-page .legal-topbar,
  body.legal-apple-page .legal-hero,
  body.legal-apple-page .legal-panel,
  body.legal-apple-page .legal-footer {
    width: min(calc(100% - 28px), 980px);
  }

  body.legal-apple-page .legal-topbar {
    padding: 14px 0;
  }

  body.legal-apple-page .brand-text {
    font-size: 0.98rem;
  }

  body.legal-apple-page .legal-hero {
    padding-top: 36px;
  }

  body.legal-apple-page .legal-title {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  body.legal-apple-page .legal-copy,
  body.legal-apple-page .legal-panel p,
  body.legal-apple-page .legal-panel li {
    font-size: 1rem;
  }

  body.legal-apple-page .legal-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}
