:root {
  --bg: #0a0d0f;
  --bg-raised: #12161a;
  --bg-card: #14191d;
  --border: #23292f;
  --border-hover: #34c77b55;
  --text: #e8ecef;
  --text-dim: #8a9299;
  --text-faint: #565e64;
  --accent: #34c77b;
  --accent-bright: #4ee897;
  --accent-dim: #1f7a4c;
  --link: #5fb8e0;
  --radius: 10px;
  --max-width: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(52, 199, 123, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(95, 184, 224, 0.06), transparent 60%);
}

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

code, .mono { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 13, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
nav .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.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-dim));
  display: inline-block;
  flex-shrink: 0;
}
nav .links {
  display: flex;
  gap: 28px;
}
nav .links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
nav .links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--accent-bright);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
}
h1 .accent-text {
  background: linear-gradient(135deg, var(--accent-bright), var(--link));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subhead {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-dim);
  font-size: 1.15rem;
}

/* ---------- Email form ---------- */
.signup {
  max-width: 460px;
  margin: 0 auto;
}
.signup-row {
  display: flex;
  gap: 10px;
}
.signup input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.signup input[type="email"]::placeholder { color: var(--text-faint); }
.signup input[type="email"]:focus { border-color: var(--accent); }
.signup button {
  padding: 13px 22px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #05170e;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}
.signup button:hover { background: var(--accent-bright); }
.signup button:active { transform: scale(0.98); }
.signup button:disabled { opacity: 0.6; cursor: default; }
.signup-msg {
  margin-top: 12px;
  font-size: 0.88rem;
  min-height: 1.3em;
}
.signup-msg.ok { color: var(--accent-bright); }
.signup-msg.err { color: #e08a8a; }
.signup-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---------- Section shell ---------- */
section { padding: 64px 0; }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--text-dim); margin: 0; }

/* ---------- Product cards ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.card p {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.status-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.status-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 5px;
}
.status-tag.building {
  background: rgba(52, 199, 123, 0.12);
  color: var(--accent-bright);
}
.status-tag.planned {
  background: rgba(230, 200, 60, 0.14);
  color: #e6c83c;
}

/* ---------- Resources ---------- */
.resources {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.resources-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-slot {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.logo-slot:hover { opacity: 1; transform: translateY(-1px); }
.logo-card {
  background: #f4f4f2;
  border-radius: 8px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-card img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

/* ---------- Footer ---------- */
footer {
  padding: 48px 0 32px;
  color: var(--text-faint);
  font-size: 0.8rem;
}
footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
footer .foot-links { display: flex; gap: 20px; }
footer .foot-links a { color: var(--text-dim); text-decoration: none; }
footer .foot-links a:hover { color: var(--text); }
footer .social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
footer .social-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
}
footer .social-links a:hover { color: var(--accent-bright); }
.not-advice {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  margin-bottom: 24px !important;
}
.disclaimer {
  line-height: 1.6;
  max-width: 900px;
}
@media (max-width: 560px) {
  .signup-row { flex-direction: column; }
  nav .links { display: none; }
}

/* ---------- Legal page ---------- */
.legal-hero {
  padding: 64px 0 8px;
}
.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.legal-hero .meta {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-top: -8px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 72px;
}
.legal-content h2 {
  font-size: 1.2rem;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.legal-content > h2:first-of-type {
  padding-top: 0;
  border-top: none;
}
.legal-content p {
  color: var(--text-dim);
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.legal-content .not-advice {
  color: var(--text);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.legal-content ul {
  color: var(--text-dim);
  padding-left: 20px;
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--link); }
.legal-content .callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  margin: 4px 0 20px;
}
.legal-content .disclosure-intro {
  font-style: italic;
}
.legal-content .disclosure-block {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 14px;
}
.legal-content .disclosure-block h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: var(--accent-bright);
}
.legal-content .disclosure-block p {
  margin: 0;
  font-size: 0.9rem;
}
