:root {
  color-scheme: light;
  --ink: oklch(24% 0.014 165);
  --ink-soft: oklch(42% 0.016 165);
  --muted: oklch(58% 0.016 165);
  --ink-muted: var(--muted);
  --paper: oklch(96% 0.009 112);
  --paper-raised: oklch(98% 0.008 112);
  --surface: oklch(92% 0.012 142);
  --surface-deep: oklch(84% 0.018 150);
  --line: oklch(80% 0.015 150);
  --accent: oklch(45% 0.09 165);
  --accent-strong: oklch(34% 0.085 165);
  --accent-soft: oklch(89% 0.04 162);
  --violet-soft: oklch(91% 0.035 310);
  --shadow: 0 32px 90px oklch(30% 0.02 165 / 16%);
  --max: 1180px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  align-items: center;
  padding: 28px 20px 44px;
  font-size: 0.95rem;
}

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

.site-footer a:hover {
  color: var(--ink);
}

.policy-page {
  background: var(--paper);
}

.policy-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 108px 22px 72px;
}

.policy-content h1 {
  margin: 8px 0 8px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.policy-date {
  margin: 0 0 34px;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.policy-content h2 {
  margin: 34px 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.policy-content p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0;
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
}

.brand-mark,
.site-nav {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  font-weight: 760;
}

.brand-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper-raised);
  font-size: 0.96rem;
}

.site-nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.site-nav a {
  padding: 8px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(36px, 7vw, 92px);
  width: min(100% - 32px, var(--max));
  min-height: min(880px, calc(100svh - 76px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px) 0 clamp(18px, 4vw, 42px);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 12.5em;
  margin: 0;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.1rem, 6.4vw, 5.7rem);
}

h2 {
  font-size: clamp(2.2rem, 5.2vw, 5rem);
}

.hero-lede {
  max-width: 58ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 720;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.button-primary {
  background: var(--accent-strong);
  color: var(--paper-raised);
}

.button-secondary {
  border-color: var(--line);
  background: var(--paper-raised);
  color: var(--ink);
}

.compact-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 44px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.compact-facts div {
  min-width: 0;
  padding: 18px;
  background: color-mix(in oklch, var(--paper-raised) 84%, var(--accent-soft));
}

.compact-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compact-facts dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 680;
}

.hero-device {
  position: relative;
  justify-self: center;
  width: min(100%, 345px);
}

.phone-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 12px solid var(--ink);
  border-radius: 42px;
  background: var(--paper-raised);
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-frame-primary {
  aspect-ratio: 1008 / 2244;
}

.device-note {
  position: absolute;
  right: -28px;
  bottom: 11%;
  display: flex;
  max-width: 250px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  background: var(--paper-raised);
  color: var(--ink-soft);
  font-size: 0.94rem;
  box-shadow: 0 18px 54px oklch(30% 0.02 165 / 13%);
}

.note-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.screen-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) 0 clamp(72px, 10vw, 132px);
  align-items: start;
}

.strip-phone {
  border-width: 9px;
  border-radius: 34px;
  aspect-ratio: 1008 / 2244;
}

.strip-phone img {
  object-position: top center;
}

.strip-phone figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 8px;
  padding: 12px 13px;
  background: color-mix(in oklch, var(--paper-raised) 92%, transparent);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 720;
  box-shadow: 0 14px 40px oklch(30% 0.02 165 / 13%);
}

.strip-phone-left {
  margin-top: 54px;
}

.strip-phone-center {
  margin-top: 0;
}

.strip-phone-right {
  margin-top: 96px;
}

.flow-section,
.agent-section,
.split-section,
.privacy-section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.agent-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 84px);
  padding: clamp(76px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.flow-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 84px);
  padding: clamp(76px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  position: sticky;
  top: 98px;
  align-self: start;
}

.agent-copy {
  display: grid;
  gap: 28px;
  align-content: start;
}

.agent-copy > p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
}

.agent-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.agent-list li {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--paper-raised);
}

.agent-list strong {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.2;
}

.agent-list p {
  margin: 0;
  color: var(--ink-soft);
}

.flow-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px 20px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--paper-raised);
}

.flow-list span {
  grid-row: span 2;
  color: var(--accent);
  font-weight: 820;
}

.flow-list strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.flow-list p,
.provider-copy p,
.privacy-panel p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 6vw, 84px);
  padding: clamp(76px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.provider-copy {
  display: grid;
  gap: 28px;
  align-content: start;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.provider-item {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--paper-raised);
}

.provider-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--violet-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 820;
}

.provider-item strong {
  font-size: 1.18rem;
}

.provider-item p {
  margin: 0;
  color: var(--ink-soft);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(72px, 10vw, 124px) 0 clamp(86px, 12vw, 156px);
  border-top: 1px solid var(--line);
  align-items: start;
}

.privacy-panel {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  background: var(--accent-soft);
}

.privacy-panel h2 {
  margin-bottom: 24px;
}

.boundary-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.boundary-list li {
  padding: 18px 20px;
  background: var(--paper-raised);
  color: var(--ink);
  font-weight: 720;
}

@media (max-width: 900px) {
  .hero,
  .agent-section,
  .flow-section,
  .split-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-device {
    width: min(100%, 330px);
  }

  .device-note {
    right: 12px;
    bottom: 7%;
  }

  .screen-strip {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 420px);
  }

  .strip-phone-left,
  .strip-phone-center,
  .strip-phone-right {
    margin-top: 0;
  }

  .section-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  h1 {
    font-size: clamp(2.85rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2.05rem, 12vw, 3.5rem);
  }

  .compact-facts,
  .provider-grid {
    grid-template-columns: 1fr;
  }

  .compact-facts {
    display: none;
  }

  .flow-list li {
    grid-template-columns: 1fr;
  }

  .flow-list span {
    grid-row: auto;
  }

  .phone-frame {
    border-width: 8px;
    border-radius: 30px;
  }

  .device-note {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .phone-frame-primary {
    height: 230px;
    aspect-ratio: auto;
  }

  .phone-frame-primary img {
    object-position: top center;
  }

  .device-note {
    display: none;
  }

  .screen-strip {
    padding-top: 14px;
  }
}
