/* Manrope (SIL Open Font License), latin subset, served from this site so no third party sees visitors. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #02191c;
  --surface: #0a2a2e;
  --text: #eaf6f2;
  --muted: #a9c1c3;
  --line: rgba(255, 255, 255, 0.13);
  --green: #8bff75;
  --green-soft: rgba(139, 255, 117, 0.15);
  --blue: #00aeef;
  --ink: #02191c;
  --warn: #ffb36b;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--green); }
a:hover { color: #c6ffbb; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 22px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.top a { color: var(--muted); text-decoration: none; margin-left: 20px; font-weight: 600; font-size: 15px; }
nav.top a:hover { color: var(--text); }

.btn {
  display: inline-block;
  background: var(--green);
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #c6ffbb; color: var(--ink); }
.btn:disabled { opacity: 0.6; cursor: default; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.eyebrow { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 20px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lead { font-size: 20px; color: var(--muted); max-width: 34ch; margin: 0 0 30px; }
.small { font-size: 14px; color: var(--muted); }

.phone {
  border-radius: 34px;
  border: 8px solid #1d3a3e;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  max-width: 320px;
  margin: 0 auto;
}

section.band { padding: 72px 0; border-top: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.step { display: flex; flex-direction: column; }
.step .num {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-soft); color: var(--green); font-weight: 800; margin-bottom: 12px;
}
.step p { color: var(--muted); margin: 0 0 20px; }
.step .phone { max-width: 260px; margin: auto 0 0; border-width: 6px; border-radius: 26px; }

.tiers { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.tiers li { background: var(--surface); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.lead.wide { max-width: 52ch; }
.note { margin-top: 18px; }
.dot.bank { background: var(--green); }
.dot.worked { background: var(--blue); }
.dot.est { border: 2px dashed var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }

form.wait { background: var(--surface); border-radius: var(--radius); padding: 28px; max-width: 560px; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="tel"], select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
}
input:focus, select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 16px 0 0; font-weight: 600; min-height: 1.6em; }
.msg.ok { color: var(--green); }
.msg.err { color: var(--warn); }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* Policy pages */
.doc { max-width: 720px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc p, .doc li { color: #cfe0df; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .step .phone { max-width: 280px; }
  nav.top a:not(.keep) { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
