:root {
  --bg: #0b1220;
  --bg-2: #10192c;
  --card: #151d2e;
  --border: #243044;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --tint: #3ddc97;
  --tint-dim: rgba(61, 220, 151, 0.14);
  --protein: #60a5fa;
  --carbs: #fbbf24;
  --fat: #f472b6;
  --danger: #f87171;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(61, 220, 151, 0.12), transparent 55%),
    radial-gradient(700px 420px at 110% 10%, rgba(96, 165, 250, 0.1), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

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

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.98rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--tint); color: #0b1220; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero { padding: 72px 0 36px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.kicker {
  color: var(--tint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.12; margin: 10px 0 14px; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-card {
  background: linear-gradient(180deg, #1a2438, var(--card));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.macro {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px;
}
.macro b { display: block; font-size: 1.25rem; }
.macro span { color: var(--muted); font-size: 0.82rem; }
.p { color: var(--protein); }
.c { color: var(--carbs); }
.f { color: var(--fat); }

.section { padding: 28px 0 12px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }

.notice {
  margin: 28px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--tint-dim);
  color: var(--text);
}
.legal { max-width: 760px; }
.legal h1 { font-size: 2.1rem; }
.legal h2 { margin-top: 1.6rem; font-size: 1.2rem; }
.legal p, .legal li { color: #d1d5db; }
.muted { color: var(--muted); }

form { display: grid; gap: 12px; }
label { font-weight: 700; font-size: 0.92rem; }
input, textarea, select {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.status { min-height: 1.4em; color: var(--tint); font-weight: 700; }

.footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 840px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
}
