:root {
  --bg: #f5f4ef;
  --bg-soft: rgba(255, 252, 247, 0.78);
  --panel: rgba(255, 251, 245, 0.78);
  --panel-strong: rgba(255, 249, 242, 0.96);
  --text: #18202b;
  --muted: #5f6876;
  --line: rgba(24, 32, 43, 0.1);
  --accent: #f2a87d;
  --accent-strong: #66c6cf;
  --shadow: 0 24px 60px rgba(67, 76, 95, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 168, 125, 0.28), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(102, 198, 207, 0.2), transparent 24%),
    linear-gradient(180deg, #fcfbf8 0%, #f5f4ef 44%, #efe9df 100%);
}

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

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: fixed;
  inset: auto;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.24;
  pointer-events: none;
}

.ambient-one {
  top: -8rem;
  right: -10rem;
  background: #ffd1b0;
}

.ambient-two {
  bottom: -12rem;
  left: -12rem;
  background: #9bdde2;
}

.topbar,
.hero,
.feature-grid,
.privacy-band,
.closing,
.site-footer,
.docs-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1200px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(255, 251, 246, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 22px rgba(102, 198, 207, 0.24);
}

.brand-mark img {
  width: 28px;
  height: 28px;
  display: block;
}

.topnav {
  display: inline-flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav a:hover,
.text-link:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 92px 0 48px;
}

.eyebrow,
.card-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
}

.hero h1,
.privacy-band h2,
.closing h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
}

.lede,
.feature-card p,
.privacy-points p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.lede {
  max-width: 58ch;
  margin: 24px 0 0;
}

.cta-row,
.meta-row,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-row {
  margin-top: 30px;
}

.meta-row {
  margin-top: 18px;
}

.button,
.text-link {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

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

.button[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.button[aria-disabled="true"]:hover,
.button[aria-disabled="true"]:focus-visible {
  transform: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fffaf4;
  box-shadow: 0 14px 34px rgba(102, 198, 207, 0.22);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.52);
  border-color: var(--line);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.text-link {
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.device-frame {
  position: relative;
  padding: 18px;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 248, 241, 0.45)),
    rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.device-glow {
  position: absolute;
  inset: 10% 5%;
  border-radius: 32px;
  background: radial-gradient(circle at center, rgba(242, 168, 125, 0.26), transparent 58%);
  filter: blur(32px);
}

.device-screen {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(102, 198, 207, 0.16), transparent 30%),
    radial-gradient(circle at 80% 25%, rgba(242, 168, 125, 0.18), transparent 26%),
    linear-gradient(180deg, #f7efe6 0%, #f2e9df 100%);
}

.status-row {
  display: flex;
  gap: 10px;
}

.status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(102, 198, 207, 0.14);
  border: 1px solid rgba(102, 198, 207, 0.2);
}

.status-pill.muted {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(24, 32, 43, 0.08);
  color: var(--muted);
}

.floating-card {
  position: absolute;
  padding: 20px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.floating-card h2,
.floating-card p,
.floating-card ul {
  margin: 0;
}

.floating-card h2 {
  margin-bottom: 8px;
  font-size: 2.1rem;
  font-family: "Space Grotesk", sans-serif;
}

.floating-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.map-card {
  top: 90px;
  left: 20px;
  width: min(78%, 320px);
}

.timeline-card {
  right: 24px;
  bottom: 88px;
  width: min(72%, 280px);
}

.privacy-card {
  left: 44px;
  bottom: 34px;
  width: min(66%, 240px);
}

.timeline-line {
  position: absolute;
  inset: 145px auto 92px 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(102, 198, 207, 0), rgba(102, 198, 207, 0.65), rgba(242, 168, 125, 0));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 0 28px;
}

.screenshots {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.shot-card {
  padding: 24px;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.shot-card-tall {
  min-height: 580px;
}

.shot-phone {
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 245, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.shot-screen {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(24, 32, 43, 0.08);
  background: linear-gradient(180deg, #fbf2e9 0%, #f4ece3 100%);
}

.shot-screen-map {
  min-height: 500px;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 18%, rgba(102, 198, 207, 0.18), transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(242, 168, 125, 0.18), transparent 24%),
    linear-gradient(180deg, #f7efe4 0%, #efe5da 100%);
}

.shot-topline {
  display: flex;
}

.mini-pill {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(24, 32, 43, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-map {
  position: absolute;
  inset: 62px 18px 110px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(24, 32, 43, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(24, 32, 43, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  background-size: 54px 54px, 54px 54px, auto;
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 8px 20px rgba(102, 198, 207, 0.28);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.pin-one {
  top: 32%;
  left: 28%;
}

.pin-two {
  top: 42%;
  left: 54%;
}

.pin-three {
  top: 52%;
  left: 44%;
}

.mini-sheet {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.mini-sheet strong,
.mini-event {
  font-weight: 600;
}

.mini-sheet span,
.shot-copy p {
  color: var(--muted);
}

.shot-screen-timeline,
.shot-screen-privacy {
  padding: 20px;
}

.mini-timeline {
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, rgba(102, 198, 207, 0.12), rgba(102, 198, 207, 0.7), rgba(242, 168, 125, 0.18));
}

.mini-event {
  position: relative;
  margin: 28px 0 0 24px;
  padding: 16px 16px 16px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(24, 32, 43, 0.08);
}

.mini-event::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -17px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(102, 198, 207, 0.14);
}

.privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(24, 32, 43, 0.08);
}

.toggle {
  position: relative;
  width: 48px;
  height: 30px;
  border-radius: 999px;
  background: rgba(24, 32, 43, 0.14);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 4px 12px rgba(24, 32, 43, 0.12);
}

.toggle.on {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.toggle.on::after {
  left: 22px;
}

.shot-copy {
  margin-top: 18px;
}

.shot-copy h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.shot-copy p {
  margin: 0;
  line-height: 1.6;
}

.feature-card,
.privacy-band,
.closing {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-family: "Space Grotesk", sans-serif;
}

.privacy-band,
.closing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 28px;
  padding: 34px;
  border-radius: calc(var(--radius) + 8px);
}

.privacy-band h2,
.closing h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.privacy-points {
  display: grid;
  gap: 16px;
}

.closing {
  margin: 28px auto 42px;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 0 0 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.docs-page {
  padding: 82px 0 56px;
}

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

.docs-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.docs-hero p:not(.eyebrow) {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.doc-card {
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.doc-card:hover,
.doc-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(102, 198, 207, 0.28);
}

.doc-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.doc-card span:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .privacy-band,
  .closing {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 64px;
  }

  .shot-card-tall {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 14px 16px;
    border-radius: 24px;
  }

  .hero h1 {
    max-width: none;
  }

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

  .map-card,
  .timeline-card,
  .privacy-card {
    width: auto;
  }

  .map-card {
    top: 88px;
    right: 20px;
  }

  .timeline-card {
    left: 20px;
    right: 20px;
    bottom: 112px;
  }

  .privacy-card {
    left: 20px;
    right: 76px;
    bottom: 24px;
  }

  .privacy-band,
  .closing,
  .feature-card {
    padding: 24px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .button,
  .text-link {
    transition: none;
  }
}
