:root {
  --ink: #111820;
  --ink-soft: #25303a;
  --paper: #f4f1ea;
  --white: #fffdf8;
  --gold: #f4bd37;
  --gold-light: #ffda72;
  --muted: #6f7478;
  --line: rgba(17, 24, 32, 0.14);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(17, 24, 32, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 72px);
  color: var(--white);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.brand-mark::after { content: ""; position: absolute; width: 12px; height: 2px; background: var(--gold); right: -7px; top: 20px; }
.brand-mark span { color: var(--gold); font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font: 800 20px/1 Manrope, sans-serif; letter-spacing: 0.13em; }
.brand-copy small { margin-top: 5px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.private-badge { color: #bfc7ce; font-size: 12px; letter-spacing: .04em; }
.private-badge span { color: var(--gold); font-size: 9px; margin-right: 6px; }
.header-link { color: var(--gold); font-weight: 700; text-decoration: none; }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px clamp(24px, 8vw, 130px) 100px;
  position: relative;
}
.hero-content::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(244, 189, 55, .14);
  border-radius: 50%;
  left: -270px;
  top: 160px;
}
.eyebrow { margin: 0 0 18px; color: #8a8f93; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold); }
h1, h2, h3 { font-family: Manrope, sans-serif; }
h1 { margin: 0; max-width: 760px; font-size: clamp(56px, 7vw, 102px); line-height: .94; letter-spacing: -.055em; }
h1 span { color: var(--gold); }
.hero-lede { max-width: 650px; margin: 34px 0 0; color: #bbc2c8; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 44px; }
.button {
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 54px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: var(--ink); }
.button.primary:hover { background: var(--gold-light); }
.text-link { color: var(--white); text-underline-offset: 5px; }
.hero-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px clamp(24px, 5vw, 70px) 64px;
  background:
    linear-gradient(180deg, rgba(17,24,32,.08), rgba(17,24,32,.88)),
    repeating-linear-gradient(135deg, #29343d 0 2px, #202b34 2px 22px);
  border-left: 1px solid rgba(255,255,255,.08);
}
.service-line { display: grid; grid-template-columns: 34px 1fr; gap: 8px 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
.service-line > span { grid-row: 1 / 3; color: var(--gold); font-size: 11px; padding-top: 5px; }
.service-line strong { font: 700 23px/1.1 Manrope, sans-serif; }
.service-line em { color: #9ea8b0; font-size: 13px; font-style: normal; }
.accreditation-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 38px; }
.accreditation-row > span { padding: 15px 12px; border: 1px solid rgba(244,189,55,.45); color: var(--gold); font: 700 14px/1.2 Manrope, sans-serif; }
.accreditation-row small { color: #bfc7ce; font: 500 9px/1 DM Sans, sans-serif; text-transform: uppercase; letter-spacing: .08em; }

.builder { padding: 100px clamp(20px, 6vw, 92px) 110px; }
.section-heading { max-width: 1240px; margin: 0 auto 42px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-heading h2, .confidence h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; }
.section-heading > p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.6; }
.builder-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: 28px; align-items: start; }
.controls-column { display: grid; gap: 18px; }
.control-card { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.45); }
.control-card legend { padding: 0 10px 0 0; font: 700 19px/1.2 Manrope, sans-serif; }
.control-card legend span { color: var(--gold); margin-right: 9px; font-size: 12px; }
.field-row { display: grid; grid-template-columns: 1.5fr .7fr; gap: 14px; }
.field { display: grid; gap: 8px; color: var(--muted); font-size: 13px; }
.field em { font-weight: 400; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); padding: 13px 14px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: #b78715; box-shadow: 0 0 0 3px rgba(244,189,55,.2); }
.field-hint { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.cover-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-card { min-height: 80px; padding: 15px 14px 14px 48px; border: 1px solid var(--line); border-radius: 10px; display: grid; position: relative; cursor: pointer; background: var(--white); transition: border-color .18s, transform .18s; }
.check-card:hover { transform: translateY(-1px); border-color: #b78715; }
.check-card input { position: absolute; opacity: 0; }
.check-ui { position: absolute; left: 14px; top: 16px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #afb3b5; border-radius: 5px; color: transparent; font-weight: 800; font-size: 13px; }
.check-card:has(input:checked) { border-color: #c28d0a; background: #fffbef; }
.check-card input:checked + .check-ui { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.check-card strong { font-size: 14px; }
.check-card small { color: var(--muted); margin-top: 3px; }
.recommendation { margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--gold); background: #fff8df; color: #5b523c; font-size: 13px; }
.packages { display: grid; gap: 10px; }
.package { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); text-align: left; cursor: pointer; }
.package:hover, .package.selected { border-color: #bd8c17; box-shadow: 0 0 0 2px rgba(244,189,55,.18); }
.package.selected { background: #fffbef; }
.package-top { display: flex; align-items: center; gap: 10px; }
.package-top strong { font: 700 18px Manrope, sans-serif; }
.package-top em { padding: 4px 7px; border-radius: 20px; background: #ece9e0; color: var(--muted); font-size: 10px; font-style: normal; text-transform: uppercase; }
.package.selected .package-top em { background: var(--gold); color: var(--ink); }
.price { align-self: center; font: 800 21px Manrope, sans-serif; }
.price sup { color: var(--muted); font: 500 9px DM Sans, sans-serif; }
.price small { color: var(--muted); font: 500 10px DM Sans, sans-serif; }
.package-detail { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }

.summary-card { position: sticky; top: 24px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.summary-topline { display: flex; justify-content: space-between; color: #8f9aa3; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.status-dot { color: var(--gold); }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--gold); }
.summary-card h3 { margin: 34px 0 25px; font-size: 30px; letter-spacing: -.03em; }
.summary-card dl { margin: 0; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 25px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.summary-card dt { color: #929ca5; font-size: 13px; }
.summary-card dd { margin: 0; text-align: right; font-size: 13px; font-weight: 600; }
.summary-cover { margin-top: 25px; }
.summary-cover p { color: #929ca5; font-size: 13px; }
.summary-cover ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.summary-cover li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.35; }
.summary-cover li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.estimate { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.estimate > span { color: #929ca5; font-size: 13px; }
.estimate strong { color: var(--gold); font: 800 26px/1 Manrope, sans-serif; }
.estimate strong small { color: #aeb6bc; font: 500 10px DM Sans, sans-serif; }
.estimate-note { margin: 0 0 22px; color: #87929a; font-size: 10px; line-height: 1.55; }
.full { width: 100%; }
.no-send { margin: 10px 0 0; color: #8f9aa3; font-size: 10px; text-align: center; }

.confidence { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 90px clamp(24px, 8vw, 130px); background: var(--gold); }
.confidence .eyebrow { color: #755407; }
.confidence-copy { max-width: 620px; align-self: end; }
.confidence-copy > p { margin: 0; font-size: 18px; line-height: 1.65; }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 28px 0 12px; font-weight: 700; }
.website-link { display: inline-flex; gap: 10px; margin: 4px 0 18px; font-weight: 800; text-underline-offset: 5px; }
.confidence-copy small { color: #5e4c22; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(24px, 5vw, 72px); background: var(--ink); color: #8f9aa3; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
footer a { color: var(--gold); text-underline-offset: 4px; }

dialog { width: min(600px, calc(100% - 32px)); border: 0; border-radius: 20px; padding: 0; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.42); }
dialog::backdrop { background: rgba(8,13,18,.72); backdrop-filter: blur(5px); }
dialog form { padding: 34px; position: relative; }
.dialog-close { position: absolute; right: 20px; top: 18px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #e8e4da; cursor: pointer; font-size: 22px; }
dialog h2 { margin: 0; font-size: 36px; letter-spacing: -.04em; }
.dialog-intro { color: var(--muted); line-height: 1.55; }
dialog .field { margin-top: 14px; }
.dialog-plan { margin: 18px 0; padding: 15px; border-radius: 10px; background: #e9e5da; font-size: 12px; line-height: 1.5; }
dialog .no-send { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding-top: 150px; padding-bottom: 80px; }
  .hero-panel { min-height: auto; padding-top: 60px; }
  .builder-grid { grid-template-columns: 1fr; }
  .summary-card { position: relative; top: 0; }
  .confidence { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 18px 20px; }
  .brand-copy small, .private-badge, .header-link { display: none; }
  .hero-content { min-height: 640px; padding-inline: 22px; }
  h1 { font-size: 58px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-panel { padding-inline: 22px; }
  .builder { padding-block: 72px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .cover-grid, .field-row { grid-template-columns: 1fr; }
  .control-card { padding: 22px 16px; }
  .package { grid-template-columns: 1fr; }
  .price { grid-row: 2; }
  .package-detail { grid-row: 3; }
  .confidence { padding-block: 70px; }
  footer { flex-direction: column; }
  dialog form { padding: 28px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
