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

:root {
  --bg: #07080c;
  --bg-elevated: #101218;
  --bg-subtle: #171a22;
  --fg: #eef1f4;
  --muted: #8b93a1;
  --subtle: #6b7380;
  --accent: #7ec9d8;
  --accent-fg: #061014;
  --border: rgba(238, 241, 244, 0.12);
  --border-strong: rgba(238, 241, 244, 0.22);
  --warn: #d4b483;
  --ok: #7dba9a;
  --font-display: "Syne", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
::selection { background: color-mix(in oklab, var(--accent) 35%, transparent); color: var(--fg); }

.grid-wash {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(126, 201, 216, 0.08), transparent 55%),
    radial-gradient(700px 380px at 92% 8%, rgba(126, 201, 216, 0.04), transparent 50%),
    var(--bg);
}

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

header.top {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
}
.top-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--fg); }
.brand small { margin-left: 0.5rem; font-weight: 400; font-size: 0.75rem; color: var(--muted); font-family: var(--font-sans); }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; }
nav.desk { display: none; gap: 0.15rem; }
nav.desk a {
  text-decoration: none; color: var(--muted); font-size: 0.875rem;
  padding: 0.5rem 0.75rem; border-radius: 999px;
}
nav.desk a:hover, nav.desk a.active { color: var(--fg); background: var(--bg-subtle); }
nav.mob { display: flex; gap: 0.25rem; overflow-x: auto; padding: 0 1rem 0.75rem; }
nav.mob a {
  text-decoration: none; color: var(--muted); font-size: 0.8rem; white-space: nowrap;
  padding: 0.4rem 0.75rem; border-radius: 999px; border: 1px solid var(--border);
}
nav.mob a.active { color: var(--fg); background: var(--bg-subtle); }

.lang {
  display: flex; border: 1px solid var(--border); border-radius: 999px; padding: 2px;
}
.lang button {
  height: 2rem; min-width: 2.5rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-size: 0.75rem;
}
.lang button.on { background: var(--bg-subtle); color: var(--fg); }
.top-cta {
  display: none; height: 2.5rem; align-items: center;
  border-radius: 999px; background: var(--accent); color: var(--accent-fg);
  padding: 0 1rem; font-size: 0.875rem; font-weight: 500; text-decoration: none;
}
.top-right { display: flex; align-items: center; gap: 0.5rem; }

.kicker {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.75rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
}
.kicker.dim { color: var(--subtle); }
.badge {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.15rem 0.5rem; font-size: 10px; letter-spacing: 0; color: var(--muted);
  text-transform: none; font-weight: 500;
}
h1.hero { font-size: clamp(2.4rem, 1.4rem + 3.2vw, 4.25rem); max-width: 48rem; }
h1.page { font-size: clamp(1.85rem, 1.2rem + 2vw, 2.75rem); max-width: 40rem; }
h2 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); }
.lead { margin-top: 1.25rem; max-width: 36rem; color: var(--muted); font-size: 1rem; }

.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; padding: 0 1.25rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 500; text-decoration: none; border: 0;
}
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--fg); background: transparent; }
.btn.full { width: 100%; }

.trust {
  margin-top: 2.5rem; display: grid; gap: 0.75rem;
}
.trust div, .card, .plan {
  border: 1px solid var(--border); background: var(--bg-elevated);
  border-radius: 0.75rem; padding: 1rem 1.1rem;
}
.hero-img {
  position: relative; margin-top: 3.5rem; overflow: hidden;
  border-radius: 0.75rem; border: 1px solid var(--border);
}
.hero-img img { width: 100%; height: 14rem; object-fit: cover; display: block; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 55%);
}

section { padding-bottom: 5rem; }
.sec { padding-top: 3.5rem; }
.feat { display: grid; gap: 1rem; margin-top: 2.5rem; }
.feat h3 { font-size: 1rem; font-weight: 500; margin-top: 0.75rem; font-family: var(--font-sans); letter-spacing: 0; }
.feat p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.icon { color: var(--accent); width: 20px; height: 20px; }

.mock {
  overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border);
  background: var(--bg-elevated); box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  margin-top: 2rem;
}
.mock-bar {
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border); padding: 0.65rem 1rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-subtle); }
.mock-bar .mono { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-left: 0.75rem; }
.mock-bar .stat { margin-left: auto; font-size: 11px; color: var(--subtle); }
.mock-grid { display: grid; }
aside.crates { display: none; border-right: 1px solid var(--border); padding: 1rem; }
aside.crates p { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 0.75rem; }
aside.crates li { list-style: none; font-size: 0.875rem; padding: 0.4rem 0.65rem; border-radius: 0.4rem; color: var(--muted); }
aside.crates ul { margin: 0; padding: 0; }
aside.crates li.on { background: var(--bg-subtle); color: var(--fg); }
.pill-accent {
  margin-top: 1.25rem; height: 2.25rem; border-radius: 999px; background: var(--accent);
  color: var(--accent-fg); font-size: 0.75rem; font-weight: 500; display: flex; align-items: center; justify-content: center;
}
.pill-ghost {
  margin-top: 0.5rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted); font-size: 0.75rem; display: flex; align-items: center; justify-content: center;
}
.tabs { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--border); padding: 0.5rem 1rem; }
.warn-pill { background: color-mix(in oklab, var(--warn) 20%, transparent); color: var(--warn); border-radius: 999px; padding: 0.25rem 0.65rem; font-size: 11px; font-weight: 500; }
table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; font-size: 12px; }
th { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtle); font-weight: 500; padding: 0.5rem 0.75rem; }
td { padding: 0.7rem 0.75rem; border-top: 1px solid var(--border); }
tr.warn td { background: color-mix(in oklab, var(--warn) 15%, transparent); color: var(--warn); border-top: 0; }
.scroll { overflow-x: auto; }

.plans { display: grid; gap: 1rem; margin-top: 2.5rem; }
.plan { display: flex; flex-direction: column; padding: 1.5rem; }
.plan.feat { border-color: color-mix(in oklab, var(--accent) 40%, transparent); }
.plan .name { font-size: 0.875rem; color: var(--muted); }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; margin-top: 0.5rem; }
.plan .note { font-size: 0.75rem; color: var(--subtle); }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0 0; flex: 1; }
.plan li { font-size: 0.875rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 0.5rem; margin-top: 0.5rem; }
.foot-note { margin-top: 2rem; font-size: 0.875rem; color: var(--subtle); }

form.stack { margin-top: 2.5rem; display: grid; gap: 1rem; max-width: 32rem; }
label span { display: block; font-size: 0.875rem; color: var(--muted); }
input, select, textarea {
  margin-top: 0.35rem; width: 100%; border-radius: 0.5rem;
  border: 1px solid var(--border); background: var(--bg-subtle); color: var(--fg);
  padding: 0 0.75rem; height: 2.75rem; font: inherit; outline: none;
}
textarea { height: 8rem; padding: 0.75rem; resize: vertical; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 2px var(--accent); }
.okbox { margin-top: 2.5rem; border: 1px solid var(--border); background: var(--bg-elevated); border-radius: 0.75rem; padding: 1.25rem; font-size: 0.875rem; }
.hint { font-size: 0.75rem; color: var(--subtle); }

.steps { display: grid; gap: 1rem; margin-top: 2rem; }
.step { border: 1px solid var(--border); background: var(--bg-elevated); border-radius: 0.75rem; padding: 1.1rem; }
.step n { display: block; font-size: 0.75rem; color: var(--accent); letter-spacing: 0.12em; }
.step h3 { font-size: 1rem; margin-top: 0.4rem; font-family: var(--font-sans); letter-spacing: 0; }
.step p { margin-top: 0.4rem; font-size: 0.875rem; color: var(--muted); }

footer.site {
  border-top: 1px solid var(--border); padding: 2rem 1.25rem 3rem;
  color: var(--subtle); font-size: 0.8rem;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--fg); }
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
.prose p, .prose li { color: var(--muted); font-size: 0.95rem; }
.prose p { margin-top: 0.75rem; }
.prose ul { margin: 0.75rem 0 0 1.1rem; padding: 0; }
.prose li { margin-top: 0.35rem; }
.faq { display: grid; gap: 0.75rem; margin-top: 2rem; max-width: 44rem; }
.faq details {
  border: 1px solid var(--border); background: var(--bg-elevated);
  border-radius: 0.75rem; padding: 1rem 1.1rem;
}
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { margin-top: 0.65rem; color: var(--muted); font-size: 0.9rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

@media (min-width: 640px) {
  .hero-img img { height: 20rem; }
  .top-cta { display: inline-flex; }
  .brand small { display: inline; }
}
@media (min-width: 768px) {
  nav.desk { display: flex; }
  nav.mob { display: none; }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .feat { grid-template-columns: 1fr 1fr; }
  .mock-grid { grid-template-columns: 200px 1fr; }
  aside.crates { display: block; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

.hidden-attr, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
form[hidden], [hidden] { display: none !important; }
