:root {
  --bg: #f7f4ee;
  --bg-alt: #efe9df;
  --surface: #ffffff;
  --text: #1f2a26;
  --muted: #5a6762;
  --line: #e1d9cc;
  --accent: #2f6f5e;
  --accent-text: #ffffff;
  --accent-soft: #dcebe5;
  --warn: #b5523b;
  --shadow: 0 1px 2px rgb(31 42 38 / 6%), 0 8px 24px rgb(31 42 38 / 8%);
  --radius: 14px;
  --wrap: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121816;
    --bg-alt: #182120;
    --surface: #1d2725;
    --text: #e8eeeb;
    --muted: #a3b2ac;
    --line: #2c3a37;
    --accent: #6fc2a6;
    --accent-text: #0e1a16;
    --accent-soft: #23403a;
    --warn: #e58a73;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 28px;
  }
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: none;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.top .btn-small {
  margin-left: auto;
}

@media (min-width: 820px) {
  .nav {
    display: flex;
  }

  .top .btn-small {
    margin-left: 8px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 650;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-small {
  padding: 7px 14px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 88px 0 96px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.soon {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hero illustration */
.demo {
  position: relative;
  min-height: 330px;
}

.mock-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: min(100%, 420px);
}

.mock-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.mock-page {
  padding: 36px 28px 64px;
}

.mock-kicker {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.mock-host {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.mock-text {
  color: var(--muted);
  font-size: 0.92rem;
}

.mock-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 650;
  font-size: 0.9rem;
}

.mock-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  padding: 18px 14px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.mock-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.mock-card .mock-host {
  font-size: 1rem;
}

.mock-actions {
  display: flex;
  gap: 6px;
}

.mock-actions span {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

.mock-actions .on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

@media (max-width: 520px) {
  .demo {
    min-height: 0;
  }

  .mock-page {
    padding-bottom: 72px;
  }

  .mock-phone {
    position: relative;
    width: 220px;
    margin: -48px 0 0 auto;
  }
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36em;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

/* Privacy and status */
.two-col {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1.6fr;
  }
}

.lists,
.status {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .lists {
    grid-template-columns: 1fr 1fr;
  }

  .status {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
  }

  .lists .fine {
    grid-column: 1 / -1;
  }
}

.ticks,
.crosses,
.plain {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.ticks li,
.crosses li,
.plain li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.ticks li::before,
.crosses li::before,
.plain li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.ticks li::before {
  content: '✓';
  color: var(--accent);
}

.crosses li::before {
  content: '✕';
  color: var(--warn);
}

.plain li::before {
  content: '→';
  color: var(--muted);
}

.fine {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Contact */
.contact {
  text-align: center;
}

.contact .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

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

  .btn {
    transition: none;
  }
}

/* Privacy policy */
.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 2em;
}

.prose h3 {
  margin-top: 1.6em;
}

.prose .lead {
  margin-top: 16px;
}

.prose .plain,
.prose .ticks,
.prose .crosses {
  margin-bottom: 1em;
}

.prose code {
  font-size: 0.9em;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 4px;
}

.callout {
  margin: 28px 0;
}

.callout h2 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.4em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.table-wrap th {
  background: var(--bg-alt);
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

.table-wrap td:not(:first-child) {
  color: var(--muted);
}

@media (max-width: 640px) {
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap td {
    border-bottom: none;
    padding: 4px 16px;
  }

  .table-wrap td:first-child {
    padding-top: 14px;
  }

  .table-wrap td[data-label]::before {
    content: attr(data-label) ': ';
    color: var(--text);
    font-weight: 650;
  }

  .table-wrap tr {
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }

  .table-wrap tr:last-child {
    border-bottom: none;
  }
}

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