:root {
  --ink: #0d1b2a;
  --ink-2: #1b2d44;
  --paper: #f7f5f0;
  --white: #ffffff;
  --muted: #5b6776;
  --line: #e2ddd3;
  --accent: #f5b700;
  --accent-ink: #1a1400;
  --green: #1f8a5b;
  --radius: 14px;
  --max: 1120px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(8px);
  color: var(--white);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(245, 183, 0, .35); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { box-shadow: none; border-color: var(--white); }

/* Hero */
.hero { background: var(--ink); color: var(--white); padding: 88px 0 104px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -160px; top: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(245,183,0,.22), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 66px); font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 20px; color: #c9d3de; margin: 22px 0 34px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: #c9d3de; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* Calendar card */
.cal {
  background: var(--white); color: var(--ink); border-radius: 20px; padding: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(1.5deg);
}
.cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cal-head strong { font-family: var(--display); font-size: 18px; }
.cal-head span { font-size: 13px; color: var(--muted); }
.slot { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.slot time { white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--muted); }
.slot div { border-left: 4px solid var(--accent); background: #fff8e0; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.slot div b { display: block; font-size: 14px; }
.slot div small { color: var(--muted); }
.slot.alt div { border-color: var(--green); background: #e7f5ee; }
.slot.empty div { border-color: var(--line); background: #f4f2ee; color: var(--muted); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 19px; margin: 16px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--accent); font: 800 20px var(--display); margin-bottom: 22px;
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }

.features { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { padding: 36px 34px; border-bottom: 1px solid var(--line); }
.feature:nth-child(odd) { border-right: 1px solid var(--line); }
.feature:nth-last-child(-n+2) { border-bottom: 0; }
.feature .icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--ink); }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.who-card { border-radius: var(--radius); padding: 30px 28px; background: var(--ink); color: var(--white); }
.who-card h3 { font-size: 22px; margin-bottom: 8px; color: var(--accent); }
.who-card p { margin: 0; color: #c9d3de; }

/* Territory form */
.territory { background: var(--ink); color: var(--white); }
.territory-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.territory h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.territory p.sub { color: #c9d3de; font-size: 19px; margin: 16px 0 0; }
.territory .note { margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: var(--ink-2); color: #c9d3de; font-size: 15px; }
.territory .note strong { color: var(--white); }
form { background: var(--white); color: var(--ink); border-radius: 18px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 600; }
input, select, textarea {
  font: 16px var(--body); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fcfbf8; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,183,0,.25); }
textarea { min-height: 90px; resize: vertical; }
.consent { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; }
form .btn { grid-column: 1 / -1; width: 100%; padding: 16px; font-size: 17px; }
.form-status { grid-column: 1 / -1; font-size: 14px; color: var(--green); margin: 0; min-height: 1em; }

/* FAQ */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font: 700 20px/1.3 var(--display); display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* Footer */
footer { background: #08121d; color: #93a1b1; padding: 48px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer .brand { color: var(--white); }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--white); }
.legal-line { width: 100%; border-top: 1px solid #1b2d44; padding-top: 22px; margin-top: 8px; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 44px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: #2c3a4b; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid, .territory-grid { grid-template-columns: 1fr; gap: 44px; }
  .cal { transform: none; max-width: 440px; }
  .steps, .who { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(odd) { border-right: 0; }
  .feature:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  form { grid-template-columns: 1fr; padding: 22px; }
  .lede { font-size: 18px; }
  .brand span { font-size: 15px; white-space: nowrap; }
  .nav .btn-sm { padding: 9px 12px; font-size: 13px; white-space: nowrap; }
}
