:root {
  --blue: #1e88e5;
  --orange: #fb8c00;
  --green: #43a047;
  --ink: #1a1c1e;
  --muted: #5b6166;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --card: #ffffff;
  --border: #e3e8ee;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand .logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.nav a { color: var(--muted); margin-left: 22px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-soft), #fff); padding: 80px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e8f0fe; color: var(--blue); font-weight: 600;
  padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; margin-bottom: 20px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 13px 22px;
  border-radius: 12px; font-weight: 600;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn.disabled { background: #cfd6dd; color: #6b7178; cursor: default; pointer-events: none; }

.beta-note {
  margin: 18px 0 0;
  padding: 12px 16px;
  background: #fff3e0;
  border: 1px solid #ffd9a8;
  border-radius: 12px;
  font-size: 0.98rem;
  color: #6b4a1f;
}
.beta-note a { color: var(--orange); font-weight: 700; }

/* Phone mock */
.phone {
  margin: 0 auto; width: 270px; height: 540px;
  background: #fff; border: 10px solid #1a1c1e; border-radius: 36px;
  box-shadow: 0 30px 60px rgba(20,30,60,0.18); overflow: hidden;
  display: flex; flex-direction: column;
}
.phone .topbar { background: var(--blue); color: #fff; padding: 14px 16px; font-weight: 700; }
.phone .tabs { display: flex; border-bottom: 1px solid var(--border); font-size: 0.8rem; }
.phone .tabs span { flex: 1; text-align: center; padding: 10px 0; color: var(--muted); }
.phone .tabs span.active { color: var(--blue); border-bottom: 2px solid var(--blue); font-weight: 600; }
.phone .list { padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.task {
  border: 1px solid var(--border); border-left: 6px solid var(--blue);
  border-radius: 12px; padding: 10px 12px;
}
.task.orange { border-left-color: var(--orange); }
.task.green { border-left-color: var(--green); }
.task .t { font-weight: 600; font-size: 0.92rem; display: flex; justify-content: space-between; }
.task .pts { background: #fff3e0; color: var(--orange); border-radius: 6px; padding: 1px 8px; font-size: 0.72rem; font-weight: 700; }
.task .s { color: var(--muted); font-size: 0.78rem; }

/* Sections */
section { padding: 72px 0; }
section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; margin: 0 0 12px; letter-spacing: -0.01em; }
section .sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; font-size: 1.1rem; }

.features { background: var(--bg-soft); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.card .ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }
.ico.b { background: #e8f0fe; } .ico.o { background: #fff3e0; } .ico.g { background: #e7f4e8; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n {
  counter-increment: step; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.step .n::before { content: counter(step); }
.step h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); }

/* Legal page */
.legal { padding: 56px 0; max-width: 820px; }
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin-top: 32px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { order: -1; }
  .grid { grid-template-columns: 1fr; }
  .nav a:first-child { display: none; }
}
