:root {
  --ink: #0d1321;
  --blue: #2563ff;
  --blue-dark: #174dd2;
  --coral: #ff5b5b;
  --mint: #2ed5b7;
  --cream: #f6f5f2;
  --pebble: #e1e4e8;
  --paper: #fffdfa;
  --gold: #f5b847;
  --ink-70: rgba(13, 19, 33, 0.7);
  --ink-12: rgba(13, 19, 33, 0.12);
  --shadow-soft: 0 24px 70px rgba(13, 19, 33, 0.12);
  --radius-card: 28px;
  --radius-hero: 44px;
  --shell: min(1180px, calc(100vw - 48px));
  --font-rounded: ui-rounded, "SF Pro Rounded", "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-rounded);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.nav-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(13, 19, 33, 0.08);
  box-shadow: 0 8px 30px rgba(13, 19, 33, 0.04);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  padding: 5px;
  border-radius: 12px;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a:not(.nav-cta) {
  padding-block: 12px;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.site-nav .nav-cta {
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  box-shadow: 0 9px 22px rgba(37, 99, 255, 0.2);
}

.site-nav .nav-cta:hover {
  background: var(--blue-dark);
}

.nav-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease;
}

.nav-toggle > span:nth-child(2) {
  transform: translate(-50%, -50%) translateY(-4px);
}

.nav-toggle > span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(4px);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(20px, 2.5vw, 42px);
  padding-block: clamp(52px, 7vw, 92px);
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -13%;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(37, 99, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-copy > .eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 16px 0 0 -2px var(--mint);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(54px, 6.3vw, 88px);
  font-weight: 850;
}

.hero-word {
  position: relative;
  z-index: 0;
  color: var(--blue);
  white-space: nowrap;
}

.hero-word::after {
  content: "";
  position: absolute;
  right: -0.03em;
  bottom: 0.02em;
  left: -0.03em;
  z-index: -1;
  height: 0.13em;
  border-radius: 999px;
  background: var(--gold);
  transform: rotate(-2deg);
}

.hero-summary {
  max-width: 560px;
  margin: 0 0 32px;
  color: var(--ink-70);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 26px rgba(37, 99, 255, 0.24);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 15px 34px rgba(37, 99, 255, 0.3);
}

.button-secondary {
  border-color: var(--ink-12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.button-secondary:hover {
  background: white;
}

.button-light {
  background: white;
  color: var(--ink);
}

[data-app-store-link][aria-disabled="true"] {
  cursor: not-allowed;
  filter: none;
  opacity: 1;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 27px 0 0;
  padding: 0;
  color: var(--ink-70);
  font-size: 14px;
  font-weight: 680;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.trust-dot-blue { background: var(--blue); }
.trust-dot-mint { background: var(--mint); }
.trust-dot-coral { background: var(--coral); }

.hero-visual {
  position: relative;
  min-width: 0;
  margin-right: clamp(-110px, -7vw, -54px);
  overflow: visible;
  background: transparent;
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 13% 8% 10% 9%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 44% 45%, rgba(255, 255, 255, 0.92), rgba(37, 99, 255, 0.08) 48%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 108%;
  max-width: none;
  height: auto;
  margin-left: -4%;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 51% 51%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 68% at 51% 51%, #000 70%, transparent 100%);
  filter: drop-shadow(0 24px 28px rgba(13, 19, 33, 0.08));
}

.hero-visual picture {
  display: block;
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(37, 99, 255, 0.2);
  border-radius: 50%;
}

.hero-orbit-one { inset: 9% 0 19% 11%; }
.hero-orbit-two { inset: 30% 7% -25% 0; }

.hero-spark {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(13, 19, 33, 0.14);
}

.hero-spark-coral {
  top: 15%;
  left: 10%;
  width: 13px;
  height: 13px;
  background: var(--coral);
}

.hero-spark-mint {
  right: 7%;
  bottom: 18%;
  width: 18px;
  height: 18px;
  background: var(--mint);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 48px;
}

.section-heading h2,
.real-app h2,
.privacy-callout h2,
.final-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 850;
}

.section-heading > p:last-child,
.real-app-copy > p,
.privacy-callout > div > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--ink-70);
  font-size: 19px;
}

.how {
  padding-block: clamp(90px, 11vw, 150px);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(13, 19, 33, 0.07);
  border-radius: var(--radius-card);
  box-shadow: 0 14px 38px rgba(13, 19, 33, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(13, 19, 33, 0.11);
}

.step-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -76px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(13, 19, 33, 0.13);
  border-radius: 50%;
}

.step-blue { background: color-mix(in srgb, var(--blue) 14%, white); }
.step-mint { background: color-mix(in srgb, var(--mint) 21%, white); }
.step-coral { background: color-mix(in srgb, var(--coral) 16%, white); }

.step-number {
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: rgba(13, 19, 33, 0.5);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.step-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 22px rgba(13, 19, 33, 0.09);
}

.step-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.step-demo {
  position: relative;
  z-index: 1;
  min-height: 96px;
  margin-block: 26px 24px;
}

.step-demo-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.step-demo-options span {
  display: grid;
  place-items: center;
  padding: 9px 8px;
  border: 1px solid rgba(13, 19, 33, 0.06);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 780;
  box-shadow: 0 7px 16px rgba(13, 19, 33, 0.05);
}

.step-demo-search {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 19, 33, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  color: rgba(13, 19, 33, 0.46);
  font-size: 15px;
  font-weight: 650;
  box-shadow: 0 10px 22px rgba(13, 19, 33, 0.07);
}

.step-demo-search svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.step-demo-thing {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 91, 91, 0.96), rgba(255, 114, 94, 0.8));
  color: white;
  box-shadow: 0 12px 24px rgba(255, 91, 91, 0.18);
}

.step-demo-thing > span:last-child {
  display: grid;
  gap: 3px;
  font-size: 16px;
  font-weight: 820;
}

.step-demo-thing small {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.step-demo-code {
  width: 68px;
  height: 68px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
}

.step-demo-code svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.step-card h3 {
  margin-bottom: 13px;
  font-size: 30px;
  font-weight: 830;
}

.step-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-70);
}

.real-app {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 36%, rgba(37, 99, 255, 0.23), transparent 32%),
    radial-gradient(circle at 91% 76%, rgba(46, 213, 183, 0.09), transparent 24%),
    var(--ink);
  color: white;
}

.real-app-grid {
  min-height: 820px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding-block: clamp(90px, 10vw, 140px);
}

.eyebrow-light {
  color: var(--mint);
}

.real-app h2 {
  max-width: 570px;
}

.real-app-copy > p {
  color: rgba(255, 255, 255, 0.7);
}

.check-list {
  display: grid;
  gap: 15px;
  margin: 34px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.screen-stack {
  position: relative;
  min-height: 670px;
}

.screen-stack::before {
  content: "";
  position: absolute;
  inset: 15% 4% -28%;
  border: 1px solid rgba(37, 99, 255, 0.35);
  border-radius: 50%;
}

.screen-card {
  position: absolute;
  width: min(300px, 51%);
  margin: 0;
  overflow: hidden;
  border: 8px solid #171c28;
  border-radius: 45px;
  background: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.screen-card img {
  width: 100%;
  height: auto;
}

.screen-card-back {
  top: 15px;
  left: 2%;
  transform: rotate(-7deg);
}

.screen-card-front {
  top: 82px;
  right: 3%;
  z-index: 2;
  transform: rotate(5deg);
}

.privacy-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  margin-block: clamp(90px, 11vw, 140px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: 36px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-soft);
}

.privacy-mark {
  width: 104px;
  height: 104px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.privacy-callout h2 {
  margin-bottom: 12px;
  font-size: clamp(38px, 4vw, 54px);
}

.privacy-callout > div > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 8vw, 110px);
  padding-block: 20px clamp(90px, 11vw, 150px);
}

.faq-heading {
  position: sticky;
  top: 118px;
  align-self: start;
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--ink-12);
}

.faq-list details {
  border-bottom: 1px solid var(--ink-12);
}

.faq-list summary {
  position: relative;
  padding: 25px 48px 25px 0;
  font-size: 19px;
  font-weight: 780;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.faq-list summary span {
  top: 35px;
  right: 4px;
}

.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  margin: -5px 48px 25px 0;
  color: var(--ink-70);
}

.final-cta {
  position: relative;
  overflow: hidden;
  margin-bottom: 90px;
  padding: clamp(70px, 9vw, 110px) 24px;
  border-radius: var(--radius-hero);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 91, 91, 0.1), transparent 22%),
    radial-gradient(circle at 84% 75%, rgba(46, 213, 183, 0.12), transparent 25%),
    white;
  text-align: center;
  box-shadow: 0 24px 70px rgba(13, 19, 33, 0.08);
}

.final-cta img {
  margin: 0 auto 26px;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(13, 19, 33, 0.18);
}

.final-cta h2 {
  margin-bottom: 14px;
}

.final-cta > p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--ink-70);
  font-size: 19px;
}

.final-spark {
  position: absolute;
  border-radius: 50%;
}

.final-spark-one {
  top: 18%;
  left: 11%;
  width: 16px;
  height: 16px;
  background: var(--coral);
  box-shadow: 28px 50px 0 -4px var(--blue);
}

.final-spark-two {
  right: 12%;
  bottom: 19%;
  width: 18px;
  height: 18px;
  background: var(--mint);
  box-shadow: -34px -48px 0 -4px var(--gold);
}

.site-footer {
  border-top: 1px solid var(--ink-12);
  background: var(--paper);
}

.footer-grid {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 26px 60px;
  padding-block: 44px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--ink-70);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 24px;
}

.site-footer nav a,
.site-footer nav button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-70);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  cursor: pointer;
}

.site-footer nav a:hover,
.site-footer nav button:hover {
  color: var(--blue);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(13, 19, 33, 0.48);
  font-size: 13px;
}

.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 100;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(13, 19, 33, 0.97);
  color: white;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.consent-kicker {
  margin: 0 0 4px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.consent-banner h2 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.consent-banner p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.consent-banner a {
  color: white;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.noscript-note {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 100;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  text-align: center;
}

/* Legal pages */
.legal-header {
  position: relative;
}

.legal-main {
  min-height: 70vh;
}

.legal-hero {
  max-width: 900px;
  padding-block: clamp(70px, 9vw, 120px) 64px;
  text-align: center;
}

.legal-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 86px);
  font-weight: 850;
}

.legal-intro {
  max-width: 740px;
  margin: 0 auto;
  color: var(--ink-70);
  font-size: clamp(19px, 2vw, 22px);
}

.legal-date {
  margin: 22px 0 0;
  color: rgba(13, 19, 33, 0.5);
  font-size: 13px;
  font-weight: 720;
}

.legal-document {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 70px;
  padding-bottom: 120px;
}

.legal-toc {
  position: sticky;
  top: 35px;
  align-self: start;
  display: grid;
  gap: 9px;
  padding: 22px;
  border: 1px solid var(--ink-12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
}

.legal-toc strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.legal-toc a {
  color: var(--ink-70);
  font-size: 13px;
  font-weight: 630;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--blue);
}

.legal-copy {
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid rgba(13, 19, 33, 0.07);
  border-radius: 32px;
  background: white;
  box-shadow: 0 18px 60px rgba(13, 19, 33, 0.06);
}

.legal-copy section + section {
  margin-top: 52px;
  padding-top: 50px;
  border-top: 1px solid var(--ink-12);
}

.legal-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 830;
}

.legal-copy h3 {
  margin: 34px 0 10px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-70);
}

.legal-copy p {
  margin: 0 0 18px;
}

.legal-copy ul {
  padding-left: 1.2em;
}

.legal-copy code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.86em;
}

.legal-copy a {
  color: var(--blue-dark);
}

.inline-consent-button {
  margin-block: 8px 22px;
}

.not-found-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--ink);
}

.not-found-card {
  width: min(640px, 100%);
  padding: clamp(42px, 8vw, 78px);
  border-radius: 38px;
  background: var(--cream);
  text-align: center;
}

.not-found-card img {
  margin: 0 auto 28px;
  border-radius: 28px;
}

.not-found-card h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 8vw, 66px);
  font-weight: 850;
}

.not-found-card > p:not(.eyebrow) {
  margin: 0 0 26px;
  color: var(--ink-70);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: clamp(50px, 6.5vw, 70px);
  }

  .step-card {
    min-height: 420px;
  }

  .screen-stack {
    min-height: 590px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--ink-12);
    border-radius: 22px;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav a:not(.nav-cta),
  .site-nav .nav-cta {
    padding: 13px 14px;
    border-radius: 13px;
  }

  .site-nav .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero::before {
    right: 0;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > .eyebrow,
  .hero-actions,
  .trust-list {
    justify-content: center;
  }

  .hero h1,
  .hero-summary {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
    transform: none !important;
  }

  .real-app-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .real-app-copy {
    text-align: center;
  }

  .real-app h2,
  .real-app-copy > p {
    margin-inline: auto;
  }

  .check-list {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  .screen-stack {
    width: min(600px, 100%);
    min-height: 670px;
    margin-inline: auto;
  }

  .privacy-callout {
    grid-template-columns: auto 1fr;
  }

  .privacy-callout .button {
    grid-column: 1 / -1;
  }

  .faq {
    grid-template-columns: 1fr;
  }

  .faq-heading {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .brand {
    justify-content: center;
  }

  .site-footer nav {
    justify-content: center;
  }

  .consent-banner {
    grid-template-columns: 1fr;
  }

  .legal-document {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 24px);
    --radius-hero: 30px;
  }

  body {
    font-size: 16px;
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand {
    font-size: 14px;
    letter-spacing: 0.14em;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-block: 48px 78px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    justify-items: start;
    width: max-content;
    margin-inline: auto;
  }

  .hero-visual {
    margin-top: 10px;
    margin-right: 0;
  }

  .hero-visual img {
    width: 106%;
    margin-left: -3%;
  }

  .how {
    padding-block: 82px;
  }

  .section-heading h2,
  .real-app h2,
  .final-cta h2 {
    font-size: 42px;
  }

  .screen-stack {
    min-height: 520px;
  }

  .screen-card {
    width: 55%;
    border-width: 5px;
    border-radius: 30px;
  }

  .privacy-callout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .privacy-mark {
    margin-inline: auto;
  }

  .privacy-callout .button {
    grid-column: auto;
  }

  .faq-list summary {
    font-size: 17px;
  }

  .final-cta {
    margin-bottom: 70px;
  }

  .consent-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 20px;
    border-radius: 20px;
  }

  .consent-actions {
    display: grid;
  }

  .legal-hero {
    padding-block: 60px 44px;
  }

  .legal-copy {
    padding: 25px 20px;
    border-radius: 24px;
  }

  .legal-toc {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
