:root {
  color-scheme: light;
  --ink: #211e23;
  --muted: #625d66;
  --paper: #fff;
  --rose: #e91e63;
  --rose-text: #a40d42;
  --rose-action: #c0114c;
  --rose-light: #fff0f5;
  --surface: #f6f5f6;
  --line: #eae7ea;
  --radius: 26px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--font); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, strong { line-height: 1.17; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); letter-spacing: -.045em; }
a { color: var(--rose-text); text-decoration: none; }
a:focus-visible { outline: 3px solid var(--rose-text); outline-offset: 4px; }
.wrap { width: min(100% - clamp(2rem, 6vw, 6rem), 76rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; transform: translateY(-160%); background: #fff; padding: .5rem 1rem; }
.skip:focus { transform: none; }
#download, [id^="section-"] { scroll-margin-top: 1.4rem; }
.lead, .doc-row p { color: var(--muted); }

.header .wrap, .footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.header .wrap { min-height: 5rem; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { width: 7.4rem; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.5rem); }
.nav a { color: var(--ink); font-size: .94rem; font-weight: 600; white-space: nowrap; }
.nav a:hover, .nav [aria-current] { color: var(--rose-text); }
.nav .header-download { color: var(--rose-text); background: var(--rose-light); padding: .52rem 1.03rem; border-radius: 99px; }

.hero-shell { margin-top: .45rem; margin-bottom: clamp(1.25rem, 4vw, 3.2rem); }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(32rem, 48vw, 39rem); display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; background: radial-gradient(ellipse at 92% 11%, #f3629b 0, transparent 55%), linear-gradient(116deg, #a50e46 0%, #c61658 53%, #db3375 100%); color: #fff; border-radius: clamp(1.15rem, 3vw, 2.25rem); }
.hero-copy { position: relative; z-index: 1; padding: clamp(2rem, 5.8vw, 4.75rem); padding-right: 0; }
.eyebrow { color: #ffe2ef; font-size: .82rem; letter-spacing: .11em; font-weight: 750; text-transform: uppercase; }
.hero h1 { margin: .8rem 0 1rem; font-size: clamp(2.8rem, 5.25vw, 5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; }
.hero-lead { max-width: 25rem; color: #fff2f8; font-size: clamp(1.06rem, 1.7vw, 1.26rem); line-height: 1.48; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .65rem 1.35rem; background: var(--rose-action); color: #fff; border-radius: 999px; font-weight: 730; text-decoration: none; }
.button:hover { background: var(--rose-text); }
.store-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; width: min(100%, 20.5rem); margin-top: 1.55rem; }
.store-badges details { min-width: 0; }
.store-badge { display: flex; align-items: center; gap: .65rem; min-height: 3.55rem; padding: .45rem .8rem; border: 1px solid #ffffff85; border-radius: 12px; background: #211921; color: #fff; line-height: 1.1; cursor: pointer; list-style: none; }
.store-badge::-webkit-details-marker { display: none; }
.store-badge:hover, .store-badges details[open] .store-badge { background: #362833; }
.store-badge:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.store-badge small { display: block; margin-bottom: .15rem; font-size: .78rem; font-weight: 550; }
.store-badge strong { display: block; font-size: clamp(.98rem, 2.3vw, 1.25rem); line-height: 1.05; letter-spacing: -.025em; white-space: nowrap; }
.store-icon { flex: 0 0 auto; }
.store-icon-ios { position: relative; width: 16px; height: 25px; border: 2px solid currentColor; border-radius: 4px; }
.store-icon-ios::after { content: ''; position: absolute; bottom: 2px; left: 4px; width: 4px; height: 2px; border-radius: 2px; background: currentColor; }
.store-icon-play { width: 21px; height: 23px; background: conic-gradient(from -46deg, #42d78c 0deg 90deg, #ffd35c 90deg 145deg, #fa6383 145deg 195deg, #5ab4ff 195deg 360deg); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.store-message { margin-top: .5rem; color: #fff2f8; font-size: .88rem; line-height: 1.4; }

.hero-art { align-self: stretch; position: relative; min-width: 0; display: grid; place-items: center; }
.art-ring { position: absolute; top: 49%; left: 51%; width: 98%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid #ffffff55; box-shadow: 0 0 0 2rem #ffacd51d, 0 0 0 4rem #ffacd513; }
.phone { position: relative; width: clamp(12.25rem, 20vw, 16.4rem); margin-right: 1.4rem; transform: rotate(8deg); border: 2px solid #776773; padding: 6px; border-radius: clamp(1.85rem, 3vw, 2.5rem); background: #211a22; box-shadow: 6px 8px 0 #54123466, 15px 32px 48px #5a0c36a8; }
.phone img { width: 100%; height: auto; border-radius: clamp(1.45rem, 2.5vw, 2.05rem); background: #fff; }

.footer { border-top: 1px solid var(--line); padding-block: 1.6rem; }
.footer-brand, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.2rem; }
.footer-brand span { width: 100%; font-size: .88rem; color: var(--muted); }
.footer nav a { color: var(--muted); font-size: .92rem; }
.footer nav a:hover { color: var(--rose-text); }

.legal-page { width: min(100% - clamp(2rem, 6vw, 6rem), 69rem); min-height: 55vh; padding-block: 1.75rem clamp(3rem, 7vw, 6rem); }
.crumb { display: flex; flex-wrap: wrap; gap: .45rem .65rem; margin-bottom: clamp(1.45rem, 4vw, 3.25rem); color: var(--muted); font-size: .875rem; }
.crumb a { color: #59545d; font-weight: 500; }
.crumb a:hover { color: var(--rose-text); }
.legal-layout { display: grid; grid-template-columns: minmax(12.5rem, 15.5rem) minmax(0, 1fr); align-items: start; gap: clamp(1.8rem, 5vw, 4.5rem); }
.legal-rail { position: sticky; top: 1.25rem; max-height: calc(100dvh - 2.5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.legal-reading { min-width: 0; max-width: 47rem; }
.legal-intro { margin-bottom: 1.75rem; }
.legal-intro h1, .not-found h1 { font-size: clamp(1.8rem, 4vw, 2.625rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.14; margin-bottom: .55rem; overflow-wrap: break-word; }
.legal-intro .lead { max-width: 40rem; }
.side { padding-right: .55rem; }
.side-heading { color: var(--rose-text); font-weight: 700; font-size: 1rem; margin: .55rem 0 .6rem; }
.legal-back { display: inline-block; color: var(--ink); font-size: .92rem; font-weight: 600; margin-bottom: .65rem; }
.legal-back:hover { color: var(--rose-text); }
.legal-nav-list { list-style: none; margin: 0; padding: 0; }
.side a:not(.legal-back), .legal-mobile-nav nav a { display: block; font-size: .92rem; color: var(--ink); padding: .42rem .48rem; line-height: 1.35; border-radius: 8px; }
.side a:hover:not(.legal-back), .side [aria-current], .legal-mobile-nav nav a:hover { background: var(--rose-light); color: var(--rose-text); }
.legal-rail a:focus-visible { outline-offset: -2px; }
.legal-mobile-nav { display: none; }
.document-group { border-top: 1px solid var(--line); padding-top: 1.35rem; scroll-margin-top: 1.4rem; }
.document-group + .document-group { margin-top: 1.75rem; }
.document-group h2 { font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .6rem; }
.doc-row { display: flex; align-items: baseline; gap: .65rem 1rem; justify-content: space-between; padding: .8rem .65rem; border-radius: 9px; color: var(--ink); }
.doc-row:hover { background: var(--surface); color: var(--rose-text); }
.doc-row h3 { font-size: 1.04rem; font-weight: 650; overflow-wrap: break-word; }
.doc-row p { margin-top: .24rem; line-height: 1.42; }
.status { flex-shrink: 0; background: var(--surface); color: #55505b; border-radius: 99px; padding: .18rem .64rem; font-size: .82rem; font-weight: 600; }
.status-draft { background: var(--rose-light); color: var(--rose-text); }
.notice { background: var(--rose-light); color: #722140; border-left: 3px solid #e91e63; border-radius: 0 10px 10px 0; padding: .85rem 1rem; margin-bottom: 1.5rem; }
.draft-text { line-height: 1.65; overflow-wrap: break-word; }
.draft-text > :is(p, ul, ol, .table-wrap) { margin-block: .8rem; }
.draft-text h2 { font-size: 1.27rem; font-weight: 700; letter-spacing: -.018em; margin-top: 1.85rem; }
.draft-text h3 { font-size: 1.12rem; margin-top: 1.3rem; }
.draft-text ul { padding-inline-start: 1.3rem; }
.table-wrap { overflow-x: auto; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
th { background: var(--surface); }
.not-found { padding-block: 4rem; }
.not-found .button { margin-top: 1rem; }

@media (max-width: 700px) {
  .header .wrap { min-height: 4.4rem; gap: .45rem; }
  .logo img { width: 5.8rem; }
  .nav a { font-size: .88rem; }
  .nav .header-download { padding-inline: .7rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 1.75rem 1.35rem 1.1rem; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 3.9rem); }
  .hero-lead { max-width: 22rem; }
  .store-badges { margin-top: 1.1rem; }
  .hero-art { padding-block: .75rem 2rem; }
  .art-ring { width: min(80%, 27rem); top: 52%; }
  .phone { width: clamp(11.25rem, 52vw, 15.5rem); margin-right: 0; transform: rotate(7deg); }
  .legal-layout { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .legal-reading { display: contents; }
  .legal-intro { order: -2; margin-bottom: 1.25rem; }
  .legal-rail { position: static; max-height: none; margin-bottom: 1.3rem; order: -1; overflow: visible; }
  .legal-rail:has(> .side:not(.legal-desktop-nav)) { order: 1; margin-top: .8rem; }
  .legal-desktop-nav { display: none; }
  .legal-mobile-nav { display: block; padding: .75rem .95rem; border: 1px solid var(--line); border-radius: 12px; }
  .legal-mobile-nav summary { font-weight: 600; cursor: pointer; }
  .legal-mobile-nav summary:focus-visible { outline: 2px solid var(--rose-text); outline-offset: 3px; }
  .legal-mobile-nav nav { margin-top: .55rem; }
  .doc-row { flex-wrap: wrap; padding-inline: .15rem; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .store-badge { gap: .35rem; padding-inline: .4rem; }
  .store-badge strong { font-size: .91rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
