:root {
  color-scheme: light;
  --ink: #101417;
  --ink-soft: #1b2221;
  --paper: #f8faf6;
  --surface: #ffffff;
  --surface-soft: #f0f4ee;
  --tunnel: #c9d8c5;
  --moss: #52685c;
  --hairline: #dde5dc;
  --muted: #66706b;
  --radius: 10px;
  --container: 1200px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "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.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--tunnel);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(221, 229, 220, 0.72);
  background: rgba(248, 250, 246, 0.86);
  backdrop-filter: blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 20, 23, 0.22);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}

.nav-links a,
.footer-links a {
  color: var(--moss);
  font-size: 0.92rem;
  font-weight: 560;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  width: min(var(--container), calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 132px);
}

.hero-copy {
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(520px, 100%);
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 720;
  line-height: 0.97;
  letter-spacing: 0;
}

.hero p {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--moss);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  line-height: 1.62;
}

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

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-bottom: 2px solid currentColor;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.text-cta.secondary {
  border-bottom-color: transparent;
  color: var(--moss);
}

.text-cta:hover {
  color: var(--moss);
}

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
}

.app-screenshot {
  position: relative;
  width: min(720px, 100%);
  margin: 0;
  filter: drop-shadow(0 26px 42px rgba(16, 20, 23, 0.24));
}

.app-screenshot img {
  width: 100%;
  height: auto;
}

.section {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.section + .section {
  padding-top: 0;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--moss);
  font-size: 0.84rem;
  font-weight: 700;
}

.section h2,
.page-title h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-intro {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--moss);
  font-size: 1.08rem;
}

.doc-rows {
  margin-top: clamp(44px, 7vw, 72px);
  border-top: 1px solid var(--hairline);
}

.doc-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(20px, 5vw, 72px);
  min-height: 116px;
  padding: 0 clamp(18px, 2.4vw, 32px);
  border-bottom: 1px solid var(--hairline);
  color: inherit;
  overflow: hidden;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.doc-row:hover,
.doc-row:focus-visible {
  background: rgba(201, 216, 197, 0.2);
}

.doc-row:focus-visible {
  outline: 2px solid rgba(82, 104, 92, 0.52);
  outline-offset: -2px;
}

.doc-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.2;
}

.doc-row p {
  margin: 0;
  color: var(--moss);
}

.row-arrow {
  display: grid;
  justify-self: end;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--moss);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.doc-row:hover .row-arrow {
  background: rgba(248, 250, 246, 0.72);
  border-color: var(--moss);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.45fr minmax(0, 1fr);
  gap: clamp(32px, 7vw, 92px);
  padding: clamp(28px, 6vw, 60px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.privacy-grid h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 650;
}

.check-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid var(--moss);
  border-radius: 999px;
  color: var(--moss);
  font-size: 0.75rem;
  font-weight: 800;
}

.page-title {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 11vw, 128px) 0 clamp(34px, 7vw, 74px);
}

.page-title p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--moss);
  font-size: 1.16rem;
  line-height: 1.6;
}

.legal-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 88px);
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: clamp(80px, 11vw, 140px);
}

.legal-aside {
  position: sticky;
  top: 116px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
}

.legal-aside img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(16, 20, 23, 0.16);
}

.legal-aside p {
  margin: 20px 0 0;
  color: var(--moss);
  font-size: 0.92rem;
}

.legal-content {
  border-top: 1px solid var(--hairline);
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 64px);
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
}

.legal-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.24;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.support-email:hover {
  color: var(--moss);
}

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container), calc(100% - 32px));
  min-height: 104px;
  margin: 0 auto;
  color: var(--moss);
  font-size: 0.84rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  filter: grayscale(1);
  opacity: 0.72;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .stage {
    justify-content: flex-start;
  }

  .app-screenshot {
    width: min(700px, 100%);
  }

  .privacy-grid,
  .legal-shell,
  .legal-section {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 106px;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 72px;
  }

  .hero h1,
  .page-title h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .stage {
    margin-top: 10px;
  }

  .app-screenshot {
    width: 100%;
  }

  .doc-row {
    grid-template-columns: 1fr 38px;
    gap: 14px;
    padding: 24px 18px;
  }

  .doc-row p {
    grid-column: 1 / -1;
    order: 3;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}
