:root {
  --presta-blue: #2563eb;
  --presta-blue-ink: #1d4ed8;
  --presta-blue-soft: #eff6ff;
  --presta-ink: #222222;
  --presta-body: #3f3f3f;
  --presta-muted: #6a6a6a;
  --presta-hairline: #dddddd;
  --presta-hairline-soft: #ebebeb;
  --presta-canvas: #ffffff;
  --presta-background: #fcfcfc;
  --presta-success: #2e7d32;
  --presta-warning: #f57c00;
  --shadow-soft: 0 18px 60px rgb(34 34 34 / 0.08);
  --shadow-tight: 0 12px 34px rgb(34 34 34 / 0.055);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --store-badge-width: clamp(132px, 40vw, 144px);
  --store-badge-height: clamp(44px, 13.3vw, 48px);
  --store-google-badge-height: clamp(58px, 17.8vw, 64px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--presta-background);
  color: var(--presta-body);
  font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--presta-blue-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--presta-blue);
}

a:focus-visible {
  outline: 2px solid var(--presta-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(221 221 221 / 0.78);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--presta-ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.brand-wordmark {
  color: var(--presta-ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0 15px;
  color: var(--presta-muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms var(--ease-out), background 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.nav-link:hover {
  background: var(--presta-blue-soft);
  color: var(--presta-blue-ink);
}

.nav-link:active {
  transform: scale(0.97);
}

.nav-link[aria-current="page"] {
  background: var(--presta-blue);
  color: var(--presta-canvas);
}

.legal-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0 clamp(22px, 4vw, 38px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
}

.hero-grid > *,
.store-hero > *,
.legal-layout > *,
.legal-section > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--presta-blue-soft);
  color: var(--presta-blue-ink);
  font-size: 12px;
  font-weight: 700;
}

.legal-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--presta-ink);
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--presta-body);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.62;
}

.hero-panel {
  margin-top: 42px;
  border: 1px solid var(--presta-hairline);
  border-radius: 16px;
  padding: 22px;
  background: var(--presta-canvas);
  box-shadow: var(--shadow-tight);
}

.hero-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.hero-panel dt {
  color: var(--presta-muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-panel dd {
  margin: 2px 0 0;
  color: var(--presta-ink);
  font-weight: 650;
  line-height: 1.45;
}

.quick-links {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.82fr);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 36px;
  border: 1px solid var(--presta-hairline);
  border-radius: 16px;
  overflow: hidden;
  background: var(--presta-canvas);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset;
}

.quick-link {
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid var(--presta-hairline-soft);
  color: var(--presta-body);
  text-decoration: none;
  transition: background 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.quick-link:last-child {
  border-right: 0;
}

.quick-link strong {
  display: block;
  color: var(--presta-ink);
  font-size: 16px;
}

.quick-link span {
  display: block;
  margin-top: 6px;
  color: var(--presta-muted);
  font-size: 13px;
  line-height: 1.45;
}

.quick-link:hover {
  background: var(--presta-blue-soft);
}

.quick-link:active {
  transform: scale(0.99);
}

.legal-layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--presta-hairline);
  gap: clamp(44px, 6vw, 76px);
  align-items: start;
}

.page-index {
  position: sticky;
  top: 104px;
  padding: 18px 0 0;
  background: transparent;
}

.page-index strong {
  display: block;
  margin-bottom: 10px;
  color: var(--presta-ink);
  font-size: 13px;
}

.page-index a {
  display: block;
  border-left: 2px solid transparent;
  border-radius: 0;
  padding: 7px 0 7px 12px;
  color: var(--presta-muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.page-index a:hover {
  background: transparent;
  border-left-color: var(--presta-blue);
  color: var(--presta-blue-ink);
}

.legal-doc {
  min-width: 0;
  background: linear-gradient(90deg, var(--presta-hairline-soft), var(--presta-hairline-soft)) 96px 0 / 1px 100% no-repeat;
}

.legal-section {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  padding: clamp(34px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--presta-hairline);
}

.legal-section::before {
  content: attr(data-index);
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 50%;
  background: var(--presta-canvas);
  color: var(--presta-blue);
  font-size: 12px;
  font-weight: 750;
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--presta-ink);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 750;
  line-height: 1.12;
  scroll-margin-top: 100px;
}

.legal-section h3 {
  margin: 26px 0 8px;
  color: var(--presta-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.legal-section p {
  max-width: 72ch;
  margin: 0 0 14px;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  max-width: 75ch;
  margin: 0;
  padding-left: 1.2rem;
  gap: 8px;
}

.legal-section li::marker {
  color: var(--presta-blue);
  font-weight: 700;
}

.legal-section strong {
  color: var(--presta-ink);
  font-weight: 720;
}

.section-body {
  min-width: 0;
}

.summary-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--presta-hairline);
  border-radius: 16px;
  overflow: hidden;
  background: var(--presta-hairline-soft);
}

.summary-item,
.contact-panel {
  border: 0;
  border-radius: 0;
  padding: 18px;
  background: var(--presta-canvas);
}

.summary-item b {
  display: block;
  color: var(--presta-ink);
  font-size: 14px;
}

.summary-item span {
  display: block;
  margin-top: 4px;
  color: var(--presta-muted);
  font-size: 13px;
  line-height: 1.45;
}

.contact-panel {
  max-width: 75ch;
  border-radius: 16px;
  background: var(--presta-blue-soft);
}

.contact-panel ul {
  padding-left: 1.1rem;
}

.legal-footer {
  width: min(1120px, calc(100% - 40px));
  margin: clamp(44px, 8vw, 84px) auto 0;
  padding: 28px 0 40px;
  border-top: 1px solid var(--presta-hairline);
  color: var(--presta-muted);
  font-size: 13px;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--presta-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--presta-blue-ink);
}

.store-hero {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) 0 clamp(34px, 5vw, 54px);
  text-align: left;
}

.store-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--presta-ink);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.98;
}

.store-hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--presta-body);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.store-grid {
  display: flex;
  flex-wrap: wrap;
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  gap: 12px 14px;
  align-items: center;
}

.store-badge-group {
  display: flex;
  align-items: center;
}

.store-badge-placeholder {
  display: inline-flex;
  width: var(--store-badge-width);
  height: var(--store-badge-height);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.store-badge-placeholder:focus-visible {
  outline: 2px solid var(--presta-blue);
  outline-offset: 5px;
  border-radius: 8px;
}

.store-badge {
  display: block;
  width: auto;
  max-width: 100%;
}

.store-badge--app-store {
  height: var(--store-badge-height);
}

.store-badge--google-play {
  height: var(--store-google-badge-height);
}

.store-note {
  width: min(960px, calc(100% - 40px));
  margin: 24px auto 0;
  border: 1px solid var(--presta-hairline-soft);
  border-radius: 16px;
  padding: 18px;
  background: var(--presta-blue-soft);
  color: var(--presta-body);
  text-align: left;
}

.policy-links {
  margin-top: 32px;
}

@media (hover: hover) and (pointer: fine) {
  .brand-link:hover,
  .nav-link:hover,
  .quick-link:hover,
  .footer-links a:hover {
    transition-duration: 180ms;
  }
}

@media (max-width: 860px) {
  .nav-shell {
    width: 100%;
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px 12px 10px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    margin-inline: -12px;
    padding: 0 12px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    padding: 0 12px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-hero h1 {
    max-width: 12ch;
  }

  .page-index {
    position: static;
  }

  .hero-panel {
    margin-top: 0;
  }

  .quick-links,
  .summary-band {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .legal-hero,
  .quick-links,
  .legal-layout,
  .store-hero,
  .store-grid,
  .store-note,
  .legal-footer {
    width: min(calc(100% - 24px), 366px);
    margin-left: 12px;
    margin-right: auto;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    gap: 4px;
  }

  .nav-link {
    padding: 0 10px;
    font-size: 13px;
  }

  .hero-grid,
  .store-hero {
    display: block;
  }

  .eyebrow {
    width: fit-content;
    max-width: 100%;
  }

  .legal-hero h1,
  .store-hero h1 {
    max-width: 9.5ch;
    font-size: clamp(36px, 9.6vw, 40px);
    line-height: 1.03;
    overflow-wrap: normal;
  }

  .hero-copy,
  .store-hero p:not(.eyebrow) {
    max-width: 100%;
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .store-note {
    overflow-wrap: anywhere;
  }

  .quick-link {
    border-right: 0;
    border-bottom: 1px solid var(--presta-hairline-soft);
  }

  .quick-link:last-child {
    border-bottom: 0;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }

  .legal-section::before {
    width: 34px;
    height: 34px;
  }

  .legal-doc {
    background: none;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
