:root {
  --ink: #13201c;
  --paper: #f7f1e8;
  --paper-2: #fcfaf6;
  --muted: #68746f;
  --line: #ded3c4;
  --copper: #b97643;
  --copper-dark: #93572e;
  --ok: #2f6f4e;
  --danger: #9f3a2f;
  --shadow: 0 18px 60px rgba(19, 32, 28, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(185,118,67,.12), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(19,32,28,.08), transparent 32%),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247,241,232,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 80px;
}

.hero-shell, .journey-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero-card, .panel {
  background: rgba(252,250,246,.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.hero-card { max-width: 760px; }
.narrow { max-width: 720px; width: 100%; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(36px, 7vw, 72px);
  line-height: .95;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(24px, 3.8vw, 40px);
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
.lead {
  font-size: clamp(18px, 2.6vw, 25px);
  color: #293933;
  max-width: 680px;
}
.muted, .note { color: var(--muted); }
.note { font-size: 13px; margin-top: 18px; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.stack { display: grid; gap: 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hidden { display: none !important; }

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(185,118,67,.13);
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .16s ease;
  white-space: nowrap;
}
.button.primary { background: var(--ink); color: #fff; }
.button.secondary { background: var(--copper); color: #fff; }
.button.ghost { background: rgba(19,32,28,.07); color: var(--ink); }
.button:hover { transform: translateY(-1px); filter: brightness(.98); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.copy-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 18px;
}
.message { min-height: 24px; font-size: 14px; color: var(--muted); }
.message.ok { color: var(--ok); }
.message.error { color: var(--danger); }

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 780px; background: #fff; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
th { color: var(--muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.question-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 18px;
}
.question-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.question-description { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.options { display: grid; gap: 10px; }
.option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  font-weight: 500;
}
.option input { width: auto; margin-top: 4px; }
.optional { color: var(--muted); font-weight: 500; }
.divider { height: 1px; background: var(--line); margin: 8px 0; }
.success { text-align: center; }

@media (max-width: 760px) {
  .grid.two { grid-template-columns: 1fr; }
  .copy-box { grid-template-columns: 1fr; }
  .section-head { display: grid; }
  h1 { font-size: 42px; }
}
