:root {
  --ink: #2c2c2c;
  --muted: #706b65;
  --landing: #f5f2ec;
  --dialogue: #e5d4c0;
  --orange: #f15a1a;
  --orange-dark: #d9470d;
  --brown: #8b5e3c;
  --line: rgba(44,44,44,.16);
  --white: #fff;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--landing); }
body { margin: 0; color: var(--ink); background: var(--landing); font-family: "DM Sans", Arial, sans-serif; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.page-shell { width: 100%; min-height: 100vh; overflow: hidden; }
.landing-container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid #ebe6df; }
.header-inner { display: flex; width: min(1240px, calc(100% - 48px)); height: 86px; align-items: center; justify-content: space-between; gap: 28px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo-window { position: relative; display: block; width: 82px; height: 72px; overflow: hidden; flex: 0 0 auto; }
.brand-logo-window img { position: absolute; top: 50%; left: 50%; width: 250px; max-width: none; transform: translate(-50%, -50%); }
.brand-text { display: grid; gap: 4px; padding-left: 14px; border-left: 1px solid #dcd5ce; }
.brand-name { color: var(--ink); font-family: "Libre Baskerville", Georgia, serif; font-size: 23px; line-height: 1; letter-spacing: .035em; }
.brand-description { color: #6d665f; font-size: 8px; font-weight: 700; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-phone { font-size: 13px; font-weight: 700; }
.header-cta { padding: 12px 18px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.header-cta:hover { background: var(--orange-dark); }

.first-screen { padding: clamp(46px, 6vw, 82px) 0; background: var(--landing); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); align-items: center; gap: clamp(42px, 6vw, 88px); }
.hero-copy { min-width: 0; }
.over-heading { margin: 0 0 17px; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-copy h1 { max-width: 700px; margin: 0; font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(47px, 4.45vw, 69px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; }
.hero-description { max-width: 690px; margin: 25px 0 0; color: #5f5952; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; }
.hero-description strong { color: var(--orange); }
.hero-benefits { display: grid; gap: 14px; margin-top: 29px; }
.benefit { display: flex; align-items: center; gap: 14px; }
.benefit p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.45; }
.acorn { width: 25px; height: 25px; flex: 0 0 auto; background: var(--orange); -webkit-mask: url("images/icon-oak.webp") center / contain no-repeat; mask: url("images/icon-oak.webp") center / contain no-repeat; }
.hero-actions { margin-top: 34px; }
.primary-cta { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; padding: 16px 27px; color: #fff; background: var(--brown); box-shadow: 0 13px 30px rgba(96,60,35,.18); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: center; text-transform: uppercase; transition: background .2s, transform .2s; }
.primary-cta:hover { background: var(--orange); transform: translateY(-2px); }
.hero-actions p { margin: 12px 0 0; color: #7c756e; font-size: 11px; line-height: 1.5; }

.hero-slider { position: relative; min-width: 0; }
.slides { position: relative; aspect-ratio: .92; overflow: hidden; background: #d5c1aa; border-radius: 24px; box-shadow: 0 26px 65px rgba(71,51,36,.18); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide img { object-position: center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(24,18,14,.64)); }
.slide figcaption { position: absolute; z-index: 2; right: 26px; bottom: 25px; left: 26px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 19px; margin-top: 19px; }
.slider-arrow { display: grid; width: 38px; height: 38px; place-items: center; color: var(--brown); background: transparent; border: 1px solid rgba(139,94,60,.45); border-radius: 50%; cursor: pointer; transition: color .2s, background .2s; }
.slider-arrow:hover { color: #fff; background: var(--brown); }
.slider-dots { display: flex; align-items: center; gap: 8px; }
.slider-dots button { width: 7px; height: 7px; padding: 0; background: rgba(139,94,60,.28); border: 0; border-radius: 50%; cursor: pointer; transition: background .2s, transform .2s; }
.slider-dots button.is-active { background: var(--brown); transform: scale(1.45); }

.dialogue { scroll-margin-top: 12px; padding: clamp(62px, 8vw, 110px) 24px; background: var(--dialogue); }
.dialogue-container { width: min(1120px, 100%); min-height: 690px; margin: 0 auto; }
.quiz-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.quiz-heading p { margin: 0 0 12px; color: var(--brown); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.quiz-heading h2 { margin: 0; font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(36px, 4vw, 58px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
.quiz-heading span { display: block; max-width: 670px; margin: 16px auto 0; color: rgba(44,44,44,.7); font-size: 14px; line-height: 1.6; }
.quiz-panel { width: min(820px, 100%); margin: 0 auto; }
.progress-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: rgba(44,44,44,.6); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.progress-track { width: 100%; height: 5px; margin-bottom: 38px; background: rgba(44,44,44,.1); border-radius: 99px; overflow: hidden; }
.progress-track i { display: block; width: 25%; height: 100%; background: var(--brown); border-radius: inherit; transition: width .35s ease; }

.step { animation: step-in .28s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-kicker { margin: 0 0 9px; color: var(--brown); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.step h2 { max-width: 780px; margin: 0 auto; font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(31px, 3vw, 45px); font-weight: 400; line-height: 1.16; letter-spacing: -.035em; text-align: center; }
.step-intro { max-width: 650px; margin: 13px auto 0; color: rgba(44,44,44,.68); font-size: 13px; line-height: 1.6; text-align: center; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 28px; }
.option-card { display: grid; min-width: 0; grid-template-rows: 142px 1fr; color: var(--ink); text-align: left; background: rgba(255,255,255,.42); border: 1px solid rgba(44,44,44,.16); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.option-card:nth-child(4), .option-card:nth-child(5) { grid-column: span 1; }
.option-card img { width: 100%; height: 142px; object-fit: cover; }
.option-card span { min-width: 0; padding: 13px 13px 15px; font-size: 12px; font-weight: 700; line-height: 1.35; }
.option-card b { display: none; }
.option-card:hover, .option-card:focus-visible, .option-simple:hover, .option-simple:focus-visible { background: rgba(255,255,255,.72); border-color: var(--brown); outline: none; transform: translateY(-2px); }
.options-simple { grid-template-columns: 1fr 1fr; gap: 12px; }
.option-simple { display: flex; min-width: 0; min-height: 68px; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; color: var(--ink); text-align: left; background: rgba(255,255,255,.42); border: 1px solid rgba(44,44,44,.16); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.option-simple span { min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.35; }
.option-simple b { color: var(--brown); font-size: 18px; font-weight: 400; }
.option-simple.wide { grid-column: 1 / -1; }
.step-actions { display: flex; align-items: center; justify-content: center; margin-top: 22px; }
.back-button { padding: 8px 0; color: rgba(44,44,44,.62); background: transparent; border: 0; cursor: pointer; font-size: 12px; }
.back-button:hover { color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 27px; }
.field { display: grid; min-width: 0; gap: 6px; color: #5e554d; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.field.full { grid-column: 1 / -1; }
.field small { color: #8d837a; font-weight: 400; text-transform: none; }
.field input, .field textarea { width: 100%; min-width: 0; color: var(--ink); background: rgba(255,255,255,.62); border: 1px solid rgba(44,44,44,.18); border-radius: 8px; outline: none; padding: 13px 14px; font-size: 13px; text-transform: none; transition: border-color .18s, background .18s; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--brown); }
.submit { width: 100%; min-height: 56px; margin-top: 17px; color: #fff; background: var(--brown); border: 0; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, transform .2s; }
.submit:hover { background: var(--orange); transform: translateY(-1px); }
.submit:disabled { opacity: .65; cursor: wait; transform: none; }
.privacy-note { margin: 10px 0 0; color: rgba(44,44,44,.55); text-align: center; font-size: 9px; line-height: 1.45; }
.form-error { min-height: 18px; margin: 8px 0 0; color: #a43b27; text-align: center; font-size: 12px; }
.success { display: flex; min-height: 420px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.success-mark { display: grid; width: 64px; height: 64px; margin-bottom: 22px; place-items: center; color: #fff; background: var(--brown); border-radius: 50%; font-size: 27px; }
.success p { max-width: 520px; color: rgba(44,44,44,.68); line-height: 1.65; }
.success a { margin-top: 16px; color: var(--brown); font-weight: 700; }

.privacy-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px max(24px, calc((100vw - 1240px) / 2)); color: #8f877f; background: #fff; font-size: 9px; line-height: 1.5; }
.cookie { position: fixed; z-index: 30; right: 18px; bottom: 18px; left: 18px; display: flex; max-width: 820px; align-items: center; justify-content: space-between; gap: 24px; margin: auto; padding: 17px 18px; color: #fff; background: rgba(18,17,15,.97); box-shadow: 0 18px 55px rgba(0,0,0,.3); }
.cookie[hidden] { display: none; }
.cookie strong { font-family: "Libre Baskerville", Georgia, serif; font-size: 15px; font-weight: 400; }
.cookie p { max-width: 530px; margin: 4px 0 0; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.5; }
.cookie > div:last-child { display: flex; gap: 8px; }
.cookie button { padding: 10px 13px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3); cursor: pointer; font-size: 11px; }
.cookie .primary-small { background: var(--orange); border-color: var(--orange); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 760px; }
  .hero-description { max-width: 720px; }
  .hero-slider { width: min(680px, 100%); margin: 0 auto; }
  .slides { aspect-ratio: 1.12; }
}

@media (max-width: 650px) {
  .landing-container, .header-inner { width: min(100% - 30px, 1240px); }
  .header-inner { height: 74px; }
  .brand { gap: 8px; }
  .brand-logo-window { width: 63px; height: 62px; }
  .brand-logo-window img { width: 210px; }
  .brand-description { display: none; }
  .brand-text { padding-left: 10px; }
  .brand-name { font-size: 19px; }
  .header-actions { gap: 11px; }
  .header-phone { font-size: 10px; }
  .header-cta { display: none; }
  .first-screen { padding: 39px 0 48px; }
  .hero-grid { gap: 40px; }
  .over-heading { font-size: 9px; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-description { margin-top: 19px; font-size: 17px; }
  .hero-benefits { margin-top: 24px; }
  .benefit { align-items: flex-start; }
  .benefit p { font-size: 12px; }
  .primary-cta { width: 100%; min-height: 56px; padding-inline: 16px; }
  .slides { aspect-ratio: .9; border-radius: 16px; }
  .dialogue { padding: 54px 15px 64px; }
  .dialogue-container { min-height: 620px; }
  .quiz-heading { margin-bottom: 32px; }
  .quiz-heading h2 { font-size: 35px; }
  .quiz-heading span { font-size: 12px; }
  .progress-track { margin-bottom: 30px; }
  .step h2 { font-size: 29px; }
  .options { grid-template-columns: 1fr 1fr; gap: 9px; }
  .option-card { grid-template-rows: 108px 1fr; }
  .option-card img { height: 108px; }
  .option-card span { padding: 10px; font-size: 10px; }
  .options-simple { grid-template-columns: 1fr; }
  .option-simple, .option-simple.wide { grid-column: auto; min-height: 58px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .privacy-strip { padding: 9px 14px; }
  .privacy-strip span:last-child { display: none; }
  .cookie { flex-direction: column; align-items: stretch; gap: 12px; right: 8px; bottom: 8px; left: 8px; }
  .cookie > div:last-child { justify-content: flex-end; }
}
