/* Habits & Identity funnel — warm, calm, readable */
:root {
  --bg: #0f1114;
  --surface: #171a20;
  --border: #2a3038;
  --text: #e8eaed;
  --muted: #9aa3ad;
  --accent: #6ee7b7;
  --accent-dim: #34d399;
  --danger: #f87171;
  --font: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --max: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 20% -10%, #1a2e28 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 0%, #1e2430 0%, transparent 50%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

p.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

ul.check {
  padding-left: 1.1rem;
  color: var(--muted);
}
ul.check li {
  margin: 0.4rem 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0c0e12;
  color: var(--text);
  font: inherit;
}
input:focus {
  outline: 2px solid rgba(110, 231, 183, 0.35);
  border-color: var(--accent-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4ade80);
  color: #052e1f;
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.25);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.form-row {
  margin-bottom: 1rem;
}
.form-actions {
  margin-top: 1.25rem;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}
.note.error {
  color: var(--danger);
}

.modules {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}
.module {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #12151a;
}
.module strong {
  display: block;
  color: var(--text);
}
.module span {
  font-size: 0.9rem;
  color: var(--muted);
}
.num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(110, 231, 183, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.video-shell {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.config-banner {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
