:root {
  --cream: #fbf3e6;
  --sand: #f3c99a;
  --cognac: #9a5a2c;
  --ink: #2b1d14;
  --night: #1e140d;
  --card: #2a1c12;
  --line: rgba(243, 201, 154, .28);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Lato, system-ui, sans-serif; color: var(--cream); background: var(--night); line-height: 1.6; }
a { color: var(--sand); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.15; }

.preview-bar { background: var(--sand); color: var(--ink); text-align: center; font-size: 13px; font-weight: 700; padding: 8px 16px; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.nav .brand { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: var(--cream); text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 18px; }
.nav ul a { color: var(--cream); text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav ul a[aria-current="page"] { color: var(--sand); }

.hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; justify-content: center; text-align: center;
        background: url('/haven.jpg') center 35% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,20,13,0) 30%, rgba(30,20,13,.6) 62%, rgba(30,20,13,.95) 100%); }
.hero .content { position: relative; z-index: 1; padding: 0 22px 48px; max-width: 640px; }
.eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--sand); }
.hero h1 { font-size: clamp(44px, 12vw, 88px); margin: 12px 0 8px; }
.tagline { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: clamp(20px, 5vw, 28px); }

.btn { display: inline-block; margin-top: 24px; padding: 14px 28px; border-radius: 999px; background: var(--sand); color: var(--ink);
       font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; text-decoration: none; border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--sand); border: 1px solid var(--sand); }

section { padding: 56px 20px; }
.wrap { max-width: 960px; margin: 0 auto; }
section h2 { font-size: clamp(28px, 7vw, 40px); margin-bottom: 12px; }
.lead { font-size: 18px; opacity: .92; max-width: 640px; }

.cards { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.card.featured { border-color: var(--sand); }
.card .badge { align-self: flex-start; background: var(--cognac); color: var(--cream); font-size: 11px; font-weight: 700; letter-spacing: .14em;
               text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.card h3 { font-size: 24px; }
.card .price { font-size: 30px; font-weight: 700; color: var(--sand); margin: 8px 0; }
.card ul { margin: 10px 0 0 18px; }
.card .btn { margin-top: auto; text-align: center; }
.card ul + .btn, .card p + .btn { margin-top: 20px; }

.steps { counter-reset: step; list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.steps li { counter-increment: step; padding-left: 44px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
                    background: var(--cognac); display: grid; place-items: center; font-weight: 700; }

.signup { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.signup form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

input, select, textarea { font: inherit; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
                          padding: 12px 14px; width: 100%; }
.signup input { max-width: 320px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
.hint { font-size: 14px; opacity: .8; margin-bottom: 8px; }

.quiz { max-width: 620px; margin: 0 auto; }
.progress { height: 6px; background: var(--card); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.progress span { display: block; height: 100%; background: var(--sand); width: 0; transition: width .25s; }
.step { display: none; }
.step.active { display: block; }
.step h2 { font-size: 28px; margin-bottom: 8px; }
.field { margin-top: 18px; }
.choices { display: grid; gap: 10px; margin-top: 16px; }
.choice { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
          padding: 14px; cursor: pointer; font-weight: 400; }
.choice input { width: auto; margin-top: 5px; }
.choice strong { display: block; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.error { color: #ffb4a2; font-size: 14px; margin-top: 10px; min-height: 1em; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-top: 16px; }
.summary dt { font-weight: 700; color: var(--sand); margin-top: 10px; }

footer { text-align: center; padding: 28px 20px 36px; font-size: 13px; color: #d9c4ad; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
