: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: #fffffd;
  --presta-background: #f8f8f6;
  --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;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 4%, rgb(37 99 235 / 0.07), transparent 28rem),
    linear-gradient(180deg, #f9fafb 0%, var(--presta-background) 42rem);
  color: var(--presta-body);
  font-family: "Satoshi", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgb(34 34 34 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(34 34 34 / 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, black, transparent 74%);
}

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.76);
  background: rgb(255 255 253 / 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: var(--presta-ink);
  font-weight: 760;
  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;
  justify-self: 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-color 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);
}

.page-privacy .nav-link--privacy,
.page-terms .nav-link--terms {
  background: var(--presta-blue-soft);
  color: var(--presta-blue-ink);
}

.nav-link--primary,
.page-download .nav-link--download {
  background: var(--presta-blue);
  color: var(--presta-canvas);
}

.nav-link--primary:hover,
.page-download .nav-link--download:hover {
  background: var(--presta-blue-ink);
  color: var(--presta-canvas);
}

.legal-hero {
  width: min(1180px, 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 {
  position: relative;
  overflow: hidden;
  margin-top: 42px;
  border: 1px solid var(--presta-hairline);
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(150deg, rgb(239 246 255 / 0.78), transparent 54%),
    var(--presta-canvas);
  box-shadow: var(--shadow-tight);
}

.hero-panel::after {
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 132px;
  height: 132px;
  border: 1px solid rgb(37 99 235 / 0.16);
  border-radius: 50%;
  content: "";
}

.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: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 36px;
  border: 1px solid var(--presta-hairline);
  border-radius: 24px;
  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-links .quick-link:first-child:nth-last-child(3),
.quick-links .quick-link:first-child:nth-last-child(3) ~ .quick-link {
  min-height: 128px;
}

.quick-links .quick-link:first-child:nth-last-child(3) {
  grid-column: span 2;
}

.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(1180px, 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: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--presta-muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.page-index a:hover {
  background: var(--presta-blue-soft);
  border-color: #bfdbfe;
  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: 24px;
  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: 24px;
  background: var(--presta-blue-soft);
}

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

.legal-footer {
  width: min(1180px, 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;
}

.site-footer .footer-brand,
.site-footer img {
  display: none;
}

.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-shell p,
.legal-identity {
  color: var(--presta-muted);
  font-size: 13px;
}

.footer-shell p {
  margin: 0;
}

.legal-identity {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
}

.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--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
}

.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-grid--inline {
  width: auto;
  margin: 28px 0 0;
}

.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: 24px;
  padding: 18px;
  background: var(--presta-blue-soft);
  color: var(--presta-body);
  text-align: left;
}

.store-assurance {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 10px auto 0;
  border: 1px solid var(--presta-hairline);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgb(239 246 255 / 0.72), transparent 60%),
    var(--presta-canvas);
  box-shadow: var(--shadow-tight);
}

.store-assurance h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--presta-ink);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

.store-assurance p:last-child {
  max-width: 54ch;
  margin: 0;
  color: var(--presta-body);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.58;
}

.store-device-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--presta-hairline);
  border-radius: 24px;
  padding: 16px;
  background: var(--presta-canvas);
  box-shadow: var(--shadow-tight);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.store-device-card img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  background: var(--presta-blue-soft);
}

.store-device-card strong {
  display: block;
  color: var(--presta-ink);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.25;
}

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

.referral-hero {
  align-items: start;
  gap: clamp(30px, 7vw, 92px);
  padding-top: clamp(48px, 8vw, 104px);
}

.referral-hero-content {
  max-width: 690px;
}

.referral-hero .eyebrow {
  margin-bottom: 14px;
}

.referral-hero h1 {
  max-width: 11ch;
}

.referral-hero p:not(.eyebrow):not(.referral-copy-status) {
  max-width: 560px;
}

.referral-code-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(560px, 100%);
  margin-top: 28px;
  border: 1px solid var(--presta-hairline);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgb(239 246 255 / 0.68), transparent 58%),
    var(--presta-canvas);
  box-shadow: 0 1px 0 rgb(255 255 253 / 0.72) inset;
  gap: 14px 18px;
  align-items: center;
}

.referral-code-label {
  display: block;
  color: var(--presta-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.referral-code-value {
  display: block;
  margin-top: 8px;
  color: var(--presta-ink);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  overflow-wrap: anywhere;
}

.referral-copy-button,
.referral-open-app {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  background: var(--presta-ink);
  color: var(--presta-canvas);
  font: inherit;
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 170ms var(--ease-out),
    border-color 170ms var(--ease-out),
    color 170ms var(--ease-out),
    transform 170ms var(--ease-out);
}

.referral-copy-button:hover,
.referral-open-app:hover {
  background: #303030;
  color: var(--presta-canvas);
}

.referral-copy-button:active,
.referral-open-app:active {
  transform: scale(0.98);
}

.referral-copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.referral-copy-button:focus-visible,
.referral-open-app:focus-visible {
  outline: 2px solid var(--presta-blue);
  outline-offset: 4px;
}

.referral-copy-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--presta-muted);
  font-size: 14px;
  line-height: 1.4;
}

.referral-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
  gap: 10px;
  align-items: center;
}

.referral-open-app {
  background: var(--presta-blue);
}

.referral-open-app:hover {
  background: var(--presta-blue-ink);
}

.referral-trust-row {
  display: flex;
  flex-wrap: wrap;
  max-width: 560px;
  margin-top: 18px;
  gap: 8px;
}

.referral-trust-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--presta-hairline-soft);
  border-radius: 999px;
  padding: 0 11px;
  background: rgb(255 255 253 / 0.76);
  color: var(--presta-muted);
  font-size: 12px;
  font-weight: 700;
}

.referral-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(20px, 4vw, 34px);
  border-top: 1px solid var(--presta-hairline);
  padding-top: clamp(24px, 4vw, 38px);
  gap: clamp(22px, 5vw, 72px);
  align-items: start;
}

.referral-flow h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--presta-ink);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.04;
}

.referral-install-steps {
  display: grid;
  grid-template-columns: 1fr;
  width: min(680px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--presta-muted);
  font-size: 15px;
  line-height: 1.55;
  counter-reset: referral-step;
}

.referral-install-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  border-bottom: 1px solid var(--presta-hairline-soft);
  padding: 16px 0;
  gap: 14px;
  counter-increment: referral-step;
}

.referral-install-steps li:first-child {
  padding-top: 0;
}

.referral-install-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.referral-install-steps li::before {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: var(--presta-blue-soft);
  color: var(--presta-blue-ink);
  content: counter(referral-step);
  font-size: 13px;
  font-weight: 780;
}

.referral-install-steps strong {
  display: block;
  grid-column: 2 / 3;
  color: var(--presta-ink);
  font-weight: 720;
  line-height: 1.3;
}

.referral-install-steps span {
  display: block;
  grid-column: 2 / 3;
  margin-top: 4px;
}

.referral-install-steps b {
  color: var(--presta-ink);
  font-weight: 720;
}

.referral-assurance {
  margin-top: 0;
}

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

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

  .store-device-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 860px) {
  .nav-shell {
    width: min(calc(100% - 24px), 386px);
    grid-template-columns: auto auto;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
  }

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

  .site-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0;
  }

  .nav-link {
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    padding: 0 16px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }

  .nav-link:not(.nav-link--download) {
    display: none;
  }

  .nav-link--download {
    grid-column: auto;
  }

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

  .hero-grid,
  .legal-layout,
  .store-hero--split,
  .store-assurance,
  .referral-flow {
    grid-template-columns: 1fr;
  }

  .quick-links .quick-link:first-child:nth-last-child(3) {
    grid-column: auto;
  }

  .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-assurance,
  .referral-flow,
  .store-note,
  .legal-footer {
    width: min(calc(100% - 32px), 366px);
    margin-left: 16px;
    margin-right: auto;
  }

  .site-header {
    position: sticky;
  }

  html {
    scroll-padding-top: 84px;
  }

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

  .store-hero--split {
    display: grid;
  }

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

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

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

  .referral-hero {
    padding-top: 42px;
    padding-bottom: 30px;
  }

  .referral-code-panel {
    grid-template-columns: 1fr;
    margin-top: 24px;
    border-radius: 16px;
    padding: 16px;
  }

  .referral-code-value {
    font-size: clamp(31px, 11vw, 40px);
  }

  .referral-copy-button,
  .referral-open-app {
    width: 100%;
    min-height: 48px;
  }

  .referral-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-grid--inline {
    display: grid;
    grid-template-columns: repeat(2, var(--store-badge-width));
    width: min(100%, 300px);
    margin-top: 22px;
    gap: 12px;
  }

  .referral-trust-row {
    max-width: 100%;
    gap: 6px;
  }

  .referral-trust-row span {
    min-height: 30px;
    font-size: 11px;
  }

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

  .store-device-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    border-radius: 20px;
    padding: 12px;
  }

  .store-device-card img {
    max-height: 138px;
    border-radius: 16px;
  }

  .store-assurance {
    border-radius: 22px;
  }

  .store-assurance h2 {
    max-width: 12ch;
    font-size: clamp(30px, 8.5vw, 36px);
  }

  .referral-flow {
    margin-bottom: 24px;
    padding-top: 24px;
    gap: 20px;
  }

  .referral-flow h2 {
    max-width: 13ch;
    font-size: clamp(28px, 8vw, 34px);
  }

  .referral-install-steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }

  .referral-install-steps li::before {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .hero-panel {
    padding: 20px;
  }

  .quick-link {
    min-height: 0;
    padding: 18px;
    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;
  }

  html {
    scroll-snap-type: none;
  }
}
