:root {
  color-scheme: light dark;
  --page: #f3f5f4;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #ffffff;
  --text: #121713;
  --muted: #536057;
  --line: rgba(18, 23, 19, 0.12);
  --accent: #3fa66b;
  --accent-strong: #247b49;
  --accent-ink: #07150d;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(24, 54, 36, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0c0f0d;
    --surface: rgba(25, 30, 27, 0.76);
    --surface-solid: #171c19;
    --text: #f2f6f3;
    --muted: #a7b2ab;
    --line: rgba(242, 246, 243, 0.12);
    --accent: #65d48e;
    --accent-strong: #8be8aa;
    --accent-ink: #07150d;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 8%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 32rem),
    var(--page);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--page) 76%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  min-height: calc(100dvh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  padding: 70px 0;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 7vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
}

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

.button:active {
  transform: translateY(1px) scale(0.98);
}

.phone-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 10% -12% 5%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  filter: blur(60px);
}

.phone {
  position: relative;
  overflow: hidden;
  width: min(100%, 270px);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 48px;
  background: #161a18;
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 39px;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading p,
.legal-intro,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.feature {
  min-height: 230px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature:first-child {
  grid-row: span 2;
  min-height: 478px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 24%, var(--surface-solid)), var(--surface-solid));
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.feature p {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.privacy-callout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  padding: clamp(34px, 6vw, 72px);
  border-radius: var(--radius);
  background: #163724;
  color: #effaf2;
}

.privacy-callout h2 {
  margin: 0;
}

.privacy-callout p {
  margin-bottom: 22px;
  color: #c7ddcd;
  line-height: 1.7;
}

.privacy-callout a {
  color: #ffffff;
  font-weight: 750;
}

.footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.legal {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 120px;
}

.legal h1 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.legal-copy {
  margin-top: 50px;
}

.legal-copy h2 {
  margin-top: 46px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.legal-copy a {
  color: var(--accent-strong);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, transparent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: enter 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero > :last-child {
    animation-delay: 100ms;
  }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 680px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav .button {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 44px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 11.5vw, 3.2rem);
  }

  .phone-stage {
    overflow: hidden;
    width: min(78%, 250px);
    height: 290px;
    margin-top: 4px;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
    mask-image: linear-gradient(to bottom, #000 72%, transparent);
  }

  .phone {
    width: min(100%, 210px);
  }

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

  .feature:first-child {
    grid-row: auto;
    min-height: 300px;
  }

  .section {
    padding: 72px 0;
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .feature {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--surface-solid);
  }
}
