:root {
  --bg: #ffffff;
  --bg-deep: #e4f0ea;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: rgba(240, 247, 243, 0.94);
  --text: #111111;
  --muted: #4a6860;
  --line: rgba(61, 107, 88, 0.12);
  --accent: #3d6b58;
  --accent-deep: #2e5244;
  --accent-soft: rgba(61, 107, 88, 0.1);
  --warm: #bfdbca;
  --shadow: 0 22px 60px rgba(42, 50, 48, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shell: min(1120px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Avenir Next", "Avenir", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(191, 219, 202, 0.22), transparent 36%),
    radial-gradient(circle at 85% 15%, rgba(61, 107, 88, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5faf7 40%, #f0f7f3 100%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--accent-deep);
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 14px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(191, 219, 202, 0.5);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 30px rgba(42, 50, 48, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(61, 107, 88, 0.18);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.hero,
.proof,
.screens,
.modes,
.privacy,
.cta {
  padding: clamp(72px, 9vw, 118px) 0;
}

.hero {
  padding-top: clamp(52px, 7vw, 88px);
}

.hero-layout,
.privacy-layout,
.cta-panel {
  display: grid;
  gap: 36px;
}

.hero-layout {
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.25rem, 4.2vw, 3.95rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.lede,
.section-copy,
.cta-copy p,
.proof-card p,
.mode-card p,
.privacy-card p,
.footer-note {
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  font-size: 1.02rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.play-badge,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.play-badge img {
  display: block;
  border-radius: 8px;
}

.play-badge--compact img {
  height: 40px;
}

.ghost-link {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(61, 107, 88, 0.18);
}

.play-badge:hover,
.play-badge:focus-visible,
.ghost-link:hover,
.ghost-link:focus-visible {
  transform: translateY(-1px);
}

.ghost-link:hover,
.ghost-link:focus-visible {
  border-color: rgba(61, 107, 88, 0.3);
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  max-width: 38rem;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--warm), var(--accent));
}

.hero-visual {
  position: relative;
}

.hero-panel {
  position: relative;
  min-height: 560px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 243, 0.7)),
    rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(191, 219, 202, 0.6);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.hero-panel::before {
  inset: auto auto -70px -50px;
  width: 180px;
  height: 180px;
  background: rgba(191, 219, 202, 0.24);
}

.hero-panel::after {
  inset: -40px -10px auto auto;
  width: 220px;
  height: 220px;
  background: rgba(61, 107, 88, 0.1);
}

.hero-chip {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(42, 50, 48, 0.08);
}

.hero-phone {
  position: absolute;
  width: min(39vw, 280px);
  aspect-ratio: 9 / 20;
  object-fit: cover;
  border-radius: 28px;
  border: 8px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 55px rgba(42, 50, 48, 0.16);
}

.hero-phone--main {
  top: 74px;
  right: clamp(12px, 2vw, 26px);
  z-index: 3;
}

.hero-phone--left {
  left: clamp(6px, 1vw, 14px);
  bottom: 20px;
  width: min(29vw, 200px);
  transform: rotate(-8deg);
}

.hero-phone--right {
  right: 18px;
  bottom: 22px;
  width: min(27vw, 184px);
  transform: rotate(8deg);
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.anchor-target {
  display: block;
  position: relative;
  top: -96px;
  visibility: hidden;
}

.section-heading--split {
  align-items: end;
}

.section-copy {
  max-width: 34rem;
  margin: 0;
  line-height: 1.7;
}

.proof-grid,
.screen-grid,
.mode-grid,
.privacy-cards {
  display: grid;
  gap: 18px;
}

.proof-card,
.mode-card,
.privacy-card,
.screen-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 38px rgba(42, 50, 48, 0.06);
}

.proof-card,
.mode-card,
.privacy-card {
  padding: 26px;
}

.proof-card p,
.mode-card p,
.privacy-card p {
  margin: 0;
  line-height: 1.7;
}

.screen-card {
  padding: 18px;
}

.screen-card img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  background: #fff;
}

.screen-card figcaption {
  display: grid;
  gap: 8px;
  padding: 18px 4px 6px;
}

.screen-card strong {
  font-size: 1.02rem;
}

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

.modes {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(61, 107, 88, 0.04));
}

.mode-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy {
  position: relative;
}

.privacy::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 0;
  width: min(420px, 42vw);
  height: 420px;
  background: radial-gradient(circle, rgba(191, 219, 202, 0.2), transparent 70%);
  pointer-events: none;
}

.cta {
  padding-top: 48px;
}

.cta-panel {
  align-items: center;
  padding: clamp(28px, 4vw, 38px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(191, 219, 202, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(228, 240, 234, 0.95));
  box-shadow: var(--shadow);
}

.cta-panel img {
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(61, 107, 88, 0.18);
}

.cta-copy h2 {
  max-width: 12ch;
}

.cta-copy p {
  max-width: 36rem;
  margin: 18px 0 0;
  line-height: 1.7;
}

.site-footer {
  padding: 24px 0 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(61, 107, 88, 0.1);
}

.footer-inner p {
  margin: 0;
}

.footer-note {
  max-width: 34rem;
}

@media (min-width: 760px) {
  .hero-layout,
  .privacy-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  }

  .cta-panel {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .section-heading--split {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  }

  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 980px) {
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .site-header {
    padding-top: 10px;
  }

  .header-inner {
    border-radius: 28px;
    padding: 14px;
  }

  .nav {
    display: none;
  }

  .play-badge--compact img {
    height: 36px;
  }

  .hero-panel {
    min-height: 470px;
    padding: 18px;
  }

  .hero-phone {
    border-width: 6px;
  }

  .hero-phone--main {
    width: min(50vw, 250px);
    top: 72px;
  }

  .hero-phone--left {
    width: min(34vw, 150px);
    bottom: 24px;
  }

  .hero-phone--right {
    width: min(33vw, 150px);
    right: 10px;
    bottom: 18px;
  }

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

  .cta-panel {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 10px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-actions {
    align-items: stretch;
  }

  .play-badge,
  .ghost-link {
    width: 100%;
  }

  .hero-panel {
    min-height: 430px;
  }

  .hero-chip {
    top: 18px;
    left: 18px;
  }

  .hero-phone--main {
    width: min(56vw, 230px);
    right: 8px;
  }

  .hero-phone--left {
    width: min(36vw, 134px);
    left: 2px;
  }

  .hero-phone--right {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-phone--main {
    animation: float-main 7s ease-in-out infinite;
  }

  .hero-phone--left {
    animation: float-left 8s ease-in-out infinite;
  }

  .hero-phone--right {
    animation: float-right 8s ease-in-out infinite;
  }
}

@keyframes float-main {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-left {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }

  50% {
    transform: translateY(-8px) rotate(-8deg);
  }
}

@keyframes float-right {
  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }

  50% {
    transform: translateY(-8px) rotate(8deg);
  }
}

/* Standalone legal / policy page */
.policy-main {
  padding: 28px 0 56px;
}

.policy-doc {
  max-width: 44rem;
}

.policy-doc h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
}

.policy-meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-doc h2 {
  margin: 36px 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.policy-doc h3 {
  margin: 22px 0 10px;
  font-size: 1.05rem;
  font-weight: 650;
}

.policy-doc p,
.policy-doc li {
  line-height: 1.65;
  color: var(--text);
}

.policy-doc p {
  margin: 0 0 14px;
}

.policy-doc ul {
  margin: 0 0 16px;
  padding-left: 1.35rem;
}

.policy-doc li {
  margin-bottom: 8px;
}

.policy-doc a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-back {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(61, 107, 88, 0.12);
}

.nav a[aria-current="page"] {
  font-weight: 650;
  color: var(--accent-deep);
}
