@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #126b65;
  --primary-ink: #ffffff;
  --accent: #f1bd77;
  --sos: #b42332;
  --ok: #267344;
  --bg: #f5f7f4;
  --surface: #ffffff;
  --text: #172b28;
  --muted: #586963;
  --border: #d8e2dc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #79d8ca;
    --primary-ink: #101917;
    --accent: #e4b575;
    --sos: #ff929b;
    --ok: #8bd9a5;
    --bg: #101917;
    --surface: #1b2926;
    --text: #f0f6f3;
    --muted: #aabcb4;
    --border: #3b5048;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.55 Inter, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--primary); }
img { max-width: 100%; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 11px; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 48px 0 64px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.hl { color: var(--primary); }
.phone {
  aspect-ratio: 9 / 18; max-width: 300px; margin: 0 auto; border-radius: 40px; padding: 12px;
  background: var(--text); box-shadow: 0 30px 60px -20px rgba(18, 107, 101, 0.45);
}
.phone .screen {
  height: 100%; border-radius: 30px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(18,107,101,.18) 0 60px, transparent 61px),
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,.9) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 58%, rgba(255,255,255,.9) 58% 63%, transparent 63%),
    linear-gradient(35deg, transparent 30%, rgba(255,255,255,.8) 30% 33%, transparent 33%),
    #e6eee6;
}
.pin {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 15px; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: #fff; color: #172b28; border-radius: 22px 22px 0 0;
  padding: 10px 16px 18px; font-size: 13px; box-shadow: 0 -6px 18px rgba(0,0,0,.12);
}
.sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: #d8e2dc; margin: 0 auto 10px; }
.sheet .row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.sheet .dot { width: 28px; height: 28px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.sheet .sub { color: #586963; font-size: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-weight: 600; text-decoration: none; margin: 0 10px 10px 0;
}
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn.soon { opacity: 0.6; cursor: default; }

section.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 64px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.feature h3 { margin: 6px 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }
.feature .ico { font-size: 26px; }

section.promise { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 36px; margin-bottom: 64px; }
section.promise h2 { margin-top: 0; }
section.promise ul { padding-left: 20px; margin: 0; }
section.promise li { margin: 8px 0; }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer a { color: var(--muted); margin-right: 16px; }

article.doc { max-width: 760px; margin: 0 auto; padding: 8px 20px 64px; }
article.doc h1 { font-size: 36px; margin-bottom: 4px; }
article.doc h2 { margin-top: 32px; font-size: 22px; }
article.doc .updated { color: var(--muted); margin-top: 0; }

body.join { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 32px 28px; max-width: 460px; width: 100%; text-align: center; }
.card .brand { justify-content: center; margin-bottom: 18px; }
.card h1 { font-size: 26px; line-height: 1.25; }
.code { font: 700 38px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 8px; color: var(--primary); margin: 18px 0 22px; }
.small { color: var(--muted); font-size: 14px; margin-top: 22px; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  section.features { grid-template-columns: 1fr; }
  nav a:not(:last-child) { display: none; }
}
