:root {
  --ivory: #f5f0e9;
  --paper: #fffaf3;
  --ink: #17211d;
  --heading: #075f60;
  --muted: #5f6861;
  --quiet: #8a8177;
  --teal: #008a8b;
  --teal-deep: #006f70;
  --coral: #f08f6e;
  --line: rgba(23, 33, 29, 0.14);
  --line-inverse: rgba(255, 250, 243, 0.2);
  --shadow: rgba(55, 39, 24, 0.18);
  --focus: rgba(0, 138, 139, 0.42);
  --shell: min(1200px, calc(100vw - 48px));
  --text-width: 660px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

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

::selection {
  color: var(--paper);
  background: var(--teal);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(90px, 10vw, 150px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--teal-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 250, 243, 0.76);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 33, 29, 0.08);
  background: rgba(245, 240, 233, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 174px;
  height: auto;
}

.footer-links a,
.site-menu a {
  text-decoration: none;
}

.menu-toggle {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--teal-deep);
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.menu-toggle:hover {
  color: var(--teal);
  background: rgba(0, 138, 139, 0.08);
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(0, 138, 139, 0.28);
  outline-offset: 3px;
}

.menu-toggle-icon {
  position: relative;
  display: block;
  width: 27px;
  height: 20px;
}

.menu-toggle-icon span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    opacity 160ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle-icon span:first-child {
  transform: translateY(-9px);
}

.menu-toggle-icon span:nth-child(2) {
  transform: translateY(-1px);
}

.menu-toggle-icon span:last-child {
  transform: translateY(7px);
}

.site-header[data-menu-open='true'] .menu-toggle-icon span:first-child {
  transform: translateY(-1px) rotate(45deg);
}

.site-header[data-menu-open='true'] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: translateY(-1px) scaleX(0.2);
}

.site-header[data-menu-open='true'] .menu-toggle-icon span:last-child {
  transform: translateY(-1px) rotate(-45deg);
}

.site-menu {
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(23, 33, 29, 0.1);
  background: rgba(245, 240, 233, 0.98);
  box-shadow: 0 24px 48px rgba(23, 33, 29, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 300ms;
}

.site-header[data-menu-open='true'] .site-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.site-menu-inner {
  display: grid;
  padding-block: clamp(22px, 3.5vw, 42px);
}

.menu-link {
  display: flex;
  min-height: clamp(58px, 5.7vw, 76px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--heading);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 750;
  letter-spacing: 0.01em;
  transition:
    color 160ms ease,
    padding 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-link:last-child {
  border-bottom: 1px solid var(--line);
}

.menu-link::after {
  color: var(--teal);
  content: '→';
  font-size: 1.35em;
  font-weight: 500;
  line-height: 1;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-link:hover,
.menu-link[aria-current='page'] {
  padding-inline: 10px;
  color: var(--teal-deep);
}

.menu-link:hover::after {
  transform: translateX(5px);
}

.menu-link:focus-visible {
  outline: 3px solid rgba(0, 138, 139, 0.28);
  outline-offset: -3px;
}

.menu-store-link {
  color: var(--teal-deep);
}

.footer-links a:hover,
.text-link:hover {
  color: var(--teal-deep);
}

.is-pending[aria-disabled='true'] {
  cursor: default;
  pointer-events: none;
}

.menu-store-link.is-pending {
  color: var(--muted);
}

.menu-store-link.is-pending::after {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 89px);
  overflow: hidden;
  padding-top: clamp(64px, 7vw, 108px);
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 11%;
  right: -18vw;
  width: min(68vw, 920px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 138, 139, 0.12), rgba(0, 138, 139, 0) 67%);
}

.hero-route {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: min(78%, 610px);
  overflow: visible;
  color: var(--teal-deep);
  opacity: 0.11;
  pointer-events: none;
}

.hero-route path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
}

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

.hero h1,
.section-heading h2,
.story-heading h2,
.privacy-section h2,
.closing-section h2,
.page-title {
  margin: 0;
  font-weight: 780;
  letter-spacing: 0.005em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1,
.section-heading h2,
.privacy-section h2,
.page-title {
  color: var(--heading);
}

.story-heading h2,
.closing-section h2 {
  color: var(--paper);
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(4rem, 7.2vw, 7.25rem);
}

.hero-lede {
  max-width: 620px;
  margin: clamp(30px, 4vw, 46px) 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

.hero-story-link {
  display: inline-flex;
  margin-top: 20px;
  align-items: center;
  gap: 9px;
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-story-link span {
  font-size: 1.35em;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms ease;
}

.hero-story-link:hover span {
  transform: translateX(4px);
}

.hero-actions {
  display: flex;
  margin-top: 40px;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.interest-button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 25px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--paper);
  background: var(--teal-deep);
  box-shadow: 0 12px 28px rgba(0, 111, 112, 0.18);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.interest-button:hover {
  background: #005f60;
  box-shadow: 0 17px 34px rgba(0, 111, 112, 0.24);
  transform: translateY(-2px);
}

.interest-button-arrow {
  color: var(--coral);
  font-size: 1.35rem;
  font-weight: 500;
  transition: transform 180ms ease;
}

.interest-button:hover .interest-button-arrow {
  transform: translateX(4px);
}

.hero-actions .store-link.is-pending,
.closing-actions .store-link.is-pending {
  display: none;
}

.hero-actions:has(> .store-link.is-pending:only-child) {
  display: none;
}

.store-link {
  display: inline-flex;
  min-width: 204px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 9px 20px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #fff;
  background: #101311;
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.15);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.store-link:not(.is-pending):hover {
  background: #000;
  box-shadow: 0 18px 38px rgba(23, 33, 29, 0.2);
  transform: translateY(-2px);
}

.store-link.is-pending {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.store-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.store-kicker,
.store-name {
  display: block;
  line-height: 1.1;
}

.store-kicker {
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.store-name {
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.availability-note {
  max-width: 180px;
  margin: 0;
  color: var(--quiet);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hero-product {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-shadow {
  position: absolute;
  right: 4%;
  bottom: 3%;
  left: 4%;
  height: 26%;
  border-radius: 50%;
  background: rgba(55, 39, 24, 0.2);
  filter: blur(44px);
  transform: translateY(36%);
}

.phone-frame {
  --demo-accent: var(--teal);
  --demo-accent-glow: rgba(0, 138, 139, 0.14);
  --demo-button-text: #fff;
  --demo-progress-angle: 45deg;
  --demo-progress-start: -45deg;

  position: relative;
  width: min(338px, 100%);
  aspect-ratio: 390 / 844;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 55px;
  background: #090b0a;
  box-shadow:
    0 50px 90px rgba(55, 39, 24, 0.23),
    0 8px 28px rgba(55, 39, 24, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: rotate(1.25deg);
}

.phone-frame[data-demo-state='due'] {
  --demo-accent: #f1c36d;
  --demo-accent-glow: rgba(241, 195, 109, 0.18);
  --demo-button-text: #171104;
  --demo-progress-start: 0deg;
}

.phone-frame[data-demo-state='overdue'] {
  --demo-accent: #ff8b7b;
  --demo-accent-glow: rgba(255, 139, 123, 0.18);
  --demo-button-text: #180806;
  --demo-progress-start: 0deg;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 19px;
  left: 50%;
  width: 31%;
  height: 24px;
  border-radius: 999px;
  background: #090b0a;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 46px;
  background: var(--ivory);
}

.demo-status {
  display: flex;
  width: 100%;
  height: 74px;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  padding-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 750;
}

.demo-status svg {
  width: 17px;
  height: 17px;
  color: var(--demo-accent);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dose-orbit-wrap {
  position: relative;
  width: 100%;
  margin-top: 5px;
}

.dose-orbit {
  position: relative;
  display: grid;
  width: 67%;
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    from var(--demo-progress-start),
    var(--demo-accent) 0deg var(--demo-progress-angle),
    rgba(23, 33, 29, 0.13) var(--demo-progress-angle) 360deg
  );
  box-shadow: 0 0 42px var(--demo-accent-glow);
}

.dose-orbit::before {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 20px;
  border-radius: 3px;
  background: var(--ink);
  content: '';
  transform: translateX(-50%);
}

.dose-next {
  position: absolute;
  top: 50%;
  right: 7%;
  width: 30px;
  height: 30px;
  color: var(--quiet);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  transform: translateY(-50%);
}

.dose-orbit-inner {
  display: flex;
  width: calc(100% - 18px);
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ivory);
}

.orbit-label,
.orbit-unit {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.1;
  text-transform: uppercase;
}

.dose-orbit strong {
  margin: 10px 0 4px;
  font-size: 3.85rem;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.dose-copy {
  margin-top: 28px;
  text-align: center;
}

.dose-copy h2 {
  margin: 0;
  font-size: 1.58rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.dose-copy p {
  margin: 10px 0 4px;
  color: var(--muted);
  font-size: 0.87rem;
}

.dose-copy span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.dose-copy i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--demo-accent);
  vertical-align: middle;
}

.demo-actions {
  position: absolute;
  right: 20px;
  bottom: 76px;
  left: 20px;
  text-align: center;
}

.demo-primary {
  display: grid;
  min-height: 54px;
  place-items: center;
  border-radius: 999px;
  color: var(--demo-button-text);
  background: var(--demo-accent);
  box-shadow: 0 14px 28px var(--demo-accent-glow);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-secondary {
  padding-top: 13px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 62px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23, 33, 29, 0.08);
  background: rgba(255, 250, 243, 0.96);
}

.demo-nav span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  color: var(--quiet);
  font-size: 0.48rem;
  font-weight: 700;
}

.demo-nav span.active {
  color: var(--demo-accent);
}

.demo-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-section {
  position: relative;
  background: var(--paper);
}

.product-cta-row {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 22px;
  transform: translate(-50%, -50%);
}

.section-heading {
  display: block;
  max-width: 960px;
  margin-bottom: clamp(62px, 7vw, 94px);
  margin-left: clamp(0px, 11vw, 132px);
}

.section-heading .eyebrow {
  margin-bottom: 22px;
}

.section-heading h2,
.story-heading h2,
.privacy-section h2,
.closing-section h2,
.page-title {
  font-size: clamp(3rem, 5.35vw, 5.5rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(38px, 6vw, 82px);
}

.feature {
  min-height: 0;
}

.feature h3 {
  max-width: 280px;
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.feature p {
  max-width: 310px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-visual {
  display: flex;
  width: 100%;
  height: 100px;
  margin-bottom: 28px;
  align-items: center;
}

.feature-visual svg {
  width: min(100%, 300px);
  height: 100%;
  overflow: visible;
}

.diagram-track,
.diagram-clock {
  fill: var(--paper);
  stroke: rgba(0, 111, 112, 0.2);
  stroke-width: 7;
}

.diagram-progress {
  fill: none;
  stroke: var(--teal);
  stroke-dasharray: 26 74;
  stroke-linecap: round;
  stroke-width: 7;
}

.diagram-marker,
.diagram-hand,
.diagram-chevron {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.diagram-value {
  fill: var(--ink);
  font-family: inherit;
  font-size: 23px;
  font-weight: 800;
  text-anchor: middle;
}

.diagram-line,
.diagram-route {
  fill: none;
  stroke: rgba(0, 111, 112, 0.22);
  stroke-linecap: round;
  stroke-width: 2;
}

.diagram-route {
  stroke-dasharray: 4 8;
}

.diagram-node,
.diagram-route-dot {
  fill: var(--paper);
  stroke: var(--teal);
  stroke-width: 3;
}

.diagram-node-active,
.diagram-route-dot {
  fill: var(--teal);
}

.diagram-history-taken circle {
  fill: var(--paper);
  stroke: var(--teal);
  stroke-width: 2.5;
}

.diagram-history-taken path {
  fill: none;
  stroke: var(--teal-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.diagram-history-open {
  fill: var(--paper);
  stroke: rgba(0, 111, 112, 0.28);
  stroke-width: 2.5;
}

.diagram-history-alert {
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-width: 5;
}

.story-section {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--teal-deep);
  isolation: isolate;
}

.story-map {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.22;
  user-select: none;
}

.story-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-route {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--paper);
  opacity: 0.14;
  pointer-events: none;
}

.story-route path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.25;
  vector-effect: non-scaling-stroke;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  column-gap: clamp(42px, 5vw, 76px);
  row-gap: clamp(74px, 7vw, 102px);
  align-items: center;
}

.story-heading h2 {
  max-width: 650px;
  font-size: clamp(3.6rem, 6.4vw, 6.8rem);
  letter-spacing: -0.01em;
  line-height: 0.94;
}

.story-heading h2 span,
.story-heading h2 em {
  display: block;
}

.story-heading h2 em {
  margin-top: 0.2em;
  color: var(--coral);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.story-portrait {
  position: relative;
  width: min(52vw, 640px);
  margin: 0;
  margin-top: clamp(-150px, -10vw, -90px);
  margin-right: calc((100vw - var(--shell)) / -2);
  justify-self: end;
  transform: rotate(1.6deg);
  transform-origin: 44% 58%;
}

.story-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  box-shadow:
    -28px 34px 72px rgba(16, 34, 32, 0.34),
    -5px 8px 22px rgba(16, 34, 32, 0.22);
  object-fit: cover;
}

.story-portrait figcaption {
  margin: 13px 0 0 18px;
  color: rgba(255, 250, 243, 0.7);
  font-size: 0.78rem;
  line-height: 1.5;
}

.story-copy {
  display: grid;
  max-width: none;
  padding-top: 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px clamp(54px, 7vw, 96px);
}

.story-copy p {
  margin: 0;
  color: rgba(255, 250, 243, 0.82);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.85;
}

.story-copy p + p {
  margin-top: 0;
}

.story-copy .story-close {
  margin-top: 12px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 250, 243, 0.24);
  color: var(--paper);
  font-size: clamp(1.42rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.42;
  grid-column: 1 / -1;
}

.story-map-credit {
  position: absolute;
  right: 22px;
  bottom: 16px;
  color: rgba(255, 250, 243, 0.44);
  font-size: 0.66rem;
  text-decoration: none;
}

.story-map-credit:hover {
  color: rgba(255, 250, 243, 0.72);
}

.privacy-section {
  padding-block: clamp(76px, 8vw, 112px);
  background: var(--ivory);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 10vw, 150px);
}

.privacy-content {
  max-width: 610px;
  padding-top: 42px;
}

.privacy-lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.75;
}

.privacy-list {
  margin: 48px 0 38px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.privacy-list li {
  display: grid;
  padding: 22px 0;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.privacy-list > li > span {
  color: var(--teal);
  font-weight: 850;
}

.privacy-list strong,
.privacy-list small {
  display: block;
}

.privacy-list strong {
  margin-bottom: 3px;
  font-size: 1rem;
}

.privacy-list small {
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.closing-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 8vw, 112px);
  color: var(--paper);
  background: var(--ink);
}

.closing-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.closing-section .eyebrow {
  color: rgba(255, 250, 243, 0.58);
}

.closing-section h2 {
  max-width: 850px;
  margin-inline: auto;
}

.closing-section p:not(.eyebrow) {
  max-width: 600px;
  margin: 32px auto 38px;
  color: rgba(255, 250, 243, 0.68);
  font-size: 1.08rem;
}

.closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.early-access-options {
  display: inline-flex;
  margin-top: 38px;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 52px);
}

.early-access-primary {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.interest-button-light {
  color: var(--teal-deep);
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.interest-button-light:hover {
  color: var(--teal-deep);
  background: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.26);
}

.closing-section .interest-privacy {
  max-width: none;
  margin: 20px auto 0;
  color: rgba(255, 250, 243, 0.48);
  font-size: 0.72rem;
  line-height: 1.5;
}

.interest-privacy a {
  margin-left: 5px;
  color: rgba(255, 250, 243, 0.72);
  text-underline-offset: 3px;
}

.interest-privacy a:hover {
  color: var(--paper);
}

.interest-qr {
  display: inline-flex;
  padding-left: clamp(28px, 4vw, 52px);
  align-items: center;
  gap: 15px;
  color: var(--paper);
  border-left: 1px solid rgba(255, 250, 243, 0.18);
  text-align: left;
  text-decoration: none;
}

.interest-qr-frame {
  display: block;
  width: 104px;
  padding: 8px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.interest-qr-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.interest-qr-copy {
  display: grid;
  gap: 4px;
}

.interest-qr-copy strong {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.interest-qr-copy span {
  max-width: 130px;
  color: rgba(255, 250, 243, 0.55);
  font-size: 0.7rem;
  line-height: 1.4;
}

.interest-qr:hover .interest-qr-frame {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.interest-qr:hover .interest-qr-copy span {
  color: rgba(255, 250, 243, 0.75);
}

.closing-section .store-link {
  margin-inline: auto;
}

.closing-section .store-link.is-pending {
  color: var(--paper);
  border-color: var(--line-inverse);
}

.closing-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(63vw, 780px);
  height: auto;
  opacity: 0.055;
  transform: translate(-52%, -50%);
  user-select: none;
}

.site-footer {
  padding-block: 64px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.55fr 1.05fr;
  gap: 56px;
}

.footer-brand img {
  width: 148px;
  height: auto;
}

.footer-grid > div:first-child p,
.footer-legal p {
  margin: 14px 0 0;
  color: var(--quiet);
  font-size: 0.76rem;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-legal p:first-child {
  max-width: 450px;
  margin-top: 0;
  line-height: 1.65;
}

.footer-legal p:last-child {
  margin-top: 18px;
}

/* Privacy and support pages */
.page-main {
  min-height: 70vh;
}

.page-hero {
  padding: clamp(72px, 9vw, 126px) 0 clamp(62px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 900px;
}

.page-title {
  max-width: 900px;
}

.page-intro {
  max-width: 710px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.55vw, 1.3rem);
  line-height: 1.75;
}

.page-meta {
  margin: 24px 0 0;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prose-section {
  padding-block: clamp(70px, 8vw, 116px);
  background: var(--paper);
}

.prose-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(54px, 8vw, 110px);
}

.page-toc {
  position: sticky;
  top: 32px;
  align-self: start;
  padding-top: 4px;
}

.page-toc p {
  margin: 0 0 18px;
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.page-toc a:hover {
  color: var(--teal-deep);
}

.prose {
  min-width: 0;
}

.prose section {
  scroll-margin-top: 28px;
}

.prose section + section {
  margin-top: 62px;
  padding-top: 62px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  margin: 0 0 22px;
  color: var(--heading);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.prose h3 {
  margin: 34px 0 10px;
  color: var(--heading);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.8;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 20px;
}

.prose ul,
.prose ol {
  margin: 20px 0 0;
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 10px;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--teal-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

.support-callout {
  margin-top: 36px;
  padding: 26px 28px;
  border-left: 4px solid var(--coral);
  background: var(--ivory);
}

.support-callout p {
  color: var(--ink);
}

.support-email {
  display: inline-flex;
  margin-top: 26px;
  align-items: center;
  gap: 10px;
  color: var(--teal-deep);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.support-email::after {
  content: '→';
}

@media (min-width: 981px) {
  .hero {
    --hero-stage-height: clamp(540px, calc(100svh - 150px), 590px);

    z-index: 1;
    height: auto;
    min-height: var(--hero-stage-height);
    overflow-x: clip;
    overflow-y: visible;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-grid {
    min-height: var(--hero-stage-height);
  }

  .hero-copy {
    align-self: start;
    margin-right: -56px;
    padding-block: clamp(48px, 7svh, 70px) clamp(38px, 5svh, 50px);
  }

  .hero-product {
    height: var(--hero-stage-height);
    align-self: start;
    align-items: flex-start;
    margin-right: 0;
    justify-content: flex-end;
    transform: translateY(26px);
  }

  .phone-frame {
    width: min(332px, 100%);
  }

  .product-section {
    padding-top: clamp(82px, 6vw, 96px);
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .story-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 80px;
  }

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

  .hero-product {
    justify-self: center;
  }

  .phone-frame {
    width: min(342px, 78vw);
  }

  .section-heading {
    gap: 20px;
    margin-left: 0;
  }

  .section-heading .eyebrow {
    margin-bottom: 4px;
  }

  .story-grid,
  .privacy-grid {
    gap: 50px;
  }

  .story-copy {
    max-width: none;
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .privacy-content {
    max-width: 680px;
    padding-top: 0;
  }

  .story-portrait {
    width: min(100%, 640px);
    margin-top: 0;
    margin-right: 0;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 0.75fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }

  .prose-layout {
    grid-template-columns: 1fr;
  }

  .page-toc {
    position: static;
    display: flex;
    padding-bottom: 24px;
    gap: 8px 20px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
  }

  .page-toc p {
    width: 100%;
    margin-bottom: 4px;
  }

  .page-toc a {
    padding: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .section-pad {
    padding-block: 84px;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 142px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 84px;
  }

  .hero-glow {
    display: none;
  }

  .hero-route {
    display: none;
  }

  .hero .eyebrow {
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 3.7rem);
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    order: 5;
    margin-top: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .interest-button {
    min-height: 58px;
    padding-inline: 22px;
  }

  .product-cta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .availability-note {
    max-width: none;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > .eyebrow {
    order: 1;
  }

  .hero-copy > h1 {
    order: 2;
  }

  .hero-copy > .hero-lede {
    order: 3;
  }

  .hero-copy > .hero-story-link {
    order: 4;
  }

  .hero-product {
    --demo-halo-core: rgba(0, 138, 139, 0.19);
    --demo-halo-soft: rgba(0, 138, 139, 0.09);

    width: 100%;
    height: auto;
    margin: 32px 0 0;
    overflow: visible;
    align-items: flex-start;
    justify-content: center;
    order: 5;
    isolation: isolate;
  }

  .hero-actions {
    order: 6;
  }

  .hero-product[data-demo-state='due'] {
    --demo-halo-core: rgba(241, 195, 109, 0.22);
    --demo-halo-soft: rgba(241, 195, 109, 0.1);
  }

  .hero-product[data-demo-state='overdue'] {
    --demo-halo-core: rgba(255, 139, 123, 0.22);
    --demo-halo-soft: rgba(255, 139, 123, 0.1);
  }

  .hero-product::before {
    position: absolute;
    z-index: 0;
    top: -74px;
    left: 50%;
    width: 580px;
    height: 860px;
    border-radius: 50%;
    background: radial-gradient(
      ellipse at 50% 44%,
      var(--demo-halo-core) 0%,
      var(--demo-halo-soft) 42%,
      rgba(0, 138, 139, 0) 72%
    );
    content: '';
    transform: translateX(-50%);
  }

  .phone-shadow {
    z-index: 0;
    right: 5%;
    bottom: 2%;
    left: 5%;
    background: var(--demo-halo-soft);
  }

  .phone-frame {
    z-index: 1;
    --demo-phone-tilt: -2.25deg;
    width: min(322px, 90vw);
    border-radius: 50px;
    transform: rotate(var(--demo-phone-tilt));
    transform-origin: 50% 58%;
    will-change: transform;
  }

  .phone-screen {
    border-radius: 42px;
  }

  .section-heading h2,
  .story-heading h2,
  .privacy-section h2,
  .closing-section h2,
  .page-title {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

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

  .feature {
    max-width: 520px;
  }

  .feature-visual {
    margin-bottom: 24px;
  }

  .feature:nth-child(even) .feature-visual {
    justify-content: flex-end;
  }

  .feature-grid {
    gap: 44px;
  }

  .story-map {
    opacity: 0.2;
  }

  .story-map img {
    object-position: center top;
  }

  .story-grid {
    row-gap: 44px;
  }

  .story-heading h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .story-portrait {
    width: calc(100% + 32px);
    margin-inline: -16px;
    transform: rotate(1.1deg);
  }

  .story-portrait figcaption {
    margin-left: 16px;
  }

  .story-copy p {
    font-size: 1.02rem;
    line-height: 1.78;
  }

  .story-copy .story-close {
    font-size: 1.2rem;
    margin-top: 8px;
    padding-top: 26px;
  }

  .privacy-section,
  .closing-section {
    padding-block: 72px;
  }

  .early-access-options {
    display: block;
    margin-top: 34px;
  }

  .interest-qr {
    display: none;
  }

  .story-map-credit {
    right: 16px;
    bottom: 12px;
    font-size: 0.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-legal {
    grid-column: auto;
  }

  .page-hero {
    padding-top: 64px;
  }

  .prose-section {
    padding-top: 60px;
  }

  .prose section + section {
    margin-top: 46px;
    padding-top: 46px;
  }
}

@media (max-width: 410px) {
  .brand img {
    width: 126px;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .page-toc,
  .store-link,
  .interest-button {
    display: none !important;
  }

  body,
  .prose-section {
    color: #000;
    background: #fff;
  }

  .page-hero,
  .prose-section {
    padding-block: 28px;
  }

  .prose-layout {
    display: block;
  }
}
