:root {
  --bg: #fbf7f0;
  --bg-2: #f5eee3;
  --surface: #fffdf9;
  --surface-2: #f7f1e7;
  --line: #e9dfd0;
  --text: #2a231c;
  --muted: #6b6055;
  --ink: #221d18;
  --orange: #e8772e;
  --orange-2: #f08f4a;
  --accent: #b5551a;
  --accent-2: #d9822b;
  --ok: #1d8a5a;
  --err: #c0354b;
  --shadow: 0 1px 2px rgb(60 40 20 / 5%), 0 12px 32px -16px rgb(60 40 20 / 18%);
  --radius: 14px;
  --max: 1120px;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .97rem var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--orange); color: #1d1712; }
.btn-primary:hover { transform: translateY(-1px); background: var(--orange-2); box-shadow: 0 10px 24px -10px var(--orange); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 90px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange) 30%, transparent), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -300px; width: 600px; height: 600px;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange) 14%, transparent), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-block; color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
h1, h2, h3 { font-variant-numeric: lining-nums; font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 16px; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); max-width: 15ch; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; font-weight: 700; color: var(--accent); margin-right: 8px; }

/* Hero website preview */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.mockup { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 40px 80px -40px rgb(23 26 46 / 35%), 0 2px 6px rgb(23 26 46 / 6%); overflow: visible; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); border-radius: 16px 16px 0 0; }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #e2d8ca; }
.mock-url { margin-left: 10px; flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; font-size: .74rem; color: var(--muted); }
.mock-site { padding: 18px; display: grid; gap: 14px; font-size: .8rem; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; color: #12324a; }
.mock-nav i { font-style: normal; font-weight: 600; color: #d4561c; }
.mock-hero { border-radius: 12px; padding: 22px 20px; color: #fff; display: grid; gap: 8px;
  background: linear-gradient(120deg, rgb(18 50 74 / 96%), rgb(18 50 74 / 78%)), repeating-linear-gradient(45deg, #2b5f80 0 14px, #275777 14px 28px); }
.mock-hero small { color: #b9d3e4; font-size: .72rem; }
.mock-hero strong { font-family: var(--display); font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; max-width: 18ch; }
.mock-cta { display: flex; gap: 8px; margin-top: 4px; }
.mock-cta em { font-style: normal; font-weight: 600; font-size: .72rem; background: #f26a2a; border-radius: 999px; padding: 6px 12px; }
.mock-cta em.alt { background: transparent; border: 1px solid rgb(255 255 255 / 45%); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cards div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 6px; }
.mock-cards b { color: #12324a; font-size: .74rem; }
.mock-cards p { margin: 0; height: 5px; border-radius: 3px; background: #efe7db; }
.mock-cards p + p { width: 65%; }
.mock-reviews { color: #e0a11b; font-size: .85rem; letter-spacing: .05em; }
.mock-reviews span { color: var(--muted); font-size: .74rem; letter-spacing: 0; margin-left: 6px; }
.mock-lead { position: absolute; left: -28px; bottom: -22px; display: flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .82rem; font-weight: 500; color: var(--text); box-shadow: var(--shadow); }
.mock-lead .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }

/* Sections */
section { padding: 90px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.section-alt .card { background: var(--bg); box-shadow: none; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); font-size: 1.2rem; }

/* Pricing */
.price-card { display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--accent) 60%, transparent); }
.price { font-variant-numeric: lining-nums; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: "✓"; color: var(--ok); margin-right: 10px; }
.price-card .btn { margin-top: auto; }
.fine { color: var(--muted); font-size: .88rem; margin-top: 24px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--accent); margin-bottom: 8px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Referral */
.referral { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.tiers { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tiers th, .tiers td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.tiers th { color: var(--muted); font-weight: 500; }
.tiers td:last-child { color: var(--accent); font-weight: 600; text-align: right; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* CTA band */
.cta-band { text-align: center; background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; margin-left: auto; margin-right: auto; max-width: 22ch; }
.cta-band .lead { color: #d3c7b8; }
.cta-band .lead { margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* Quote form */
.quote-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.form { display: grid; gap: 22px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; display: grid; gap: 18px; background: var(--surface); }
legend { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.15rem; padding: 0 8px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: .92rem; font-weight: 500; }
label > input:not([type=checkbox]):not([type=radio]), label > select, label > textarea { display: block; margin-top: 7px; }
label > .field-error { display: block; margin-top: 6px; }
label .opt { color: var(--muted); font-weight: 400; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: .98rem;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 25%, transparent); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--muted); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.error { background: color-mix(in srgb, var(--err) 14%, transparent); border: 1px solid color-mix(in srgb, var(--err) 50%, transparent); }
.field-error { color: var(--err); font-size: .85rem; font-weight: 400; }
.aside { position: sticky; top: 100px; }
.success { text-align: center; padding: 60px 28px; }
.success h2 { margin-bottom: 10px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .mock-lead { left: 12px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .referral, .quote-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid #3a322a; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; }
  .nav .btn { margin-top: 8px; }
  .nav-toggle { display: block; }
  .wrap { padding: 0 16px; }
  .grid-3, .grid-2, .steps, .row, .checks { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  fieldset { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Sign-in, reset and account pages */
.auth { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: 40px 16px; }
.auth .card { width: 100%; max-width: 430px; padding: 36px 28px; }
.auth h1 { font-size: 2.1rem; max-width: none; margin-bottom: 6px; text-align: center; }
.auth .note { color: var(--muted); font-size: .94rem; margin: 0 0 22px; text-align: center; }
.auth form { display: grid; gap: 16px; }
.auth .row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .92rem; }
.auth .remember { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 400; color: var(--muted); }
.auth .remember input { accent-color: var(--accent); width: 17px; height: 17px; }
.auth .alt { text-align: center; color: var(--muted); font-size: .92rem; margin: 20px 0 0; }
.auth a { color: var(--accent); }
.dev-link { word-break: break-all; font-size: .85rem; background: var(--bg); border: 1px dashed var(--line); border-radius: 10px; padding: 12px; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); }
.code-input { letter-spacing: .3em; font-size: 1.3rem !important; text-align: center; }
.nav .account-link { color: #fff; }

.section-head .have-account { margin-top: 20px; }
.nav a.btn-primary { color: #1d1712; }

/* Black header and hero, orange highlights */
.site-header { background: rgb(34 29 24 / 95%); border-bottom-color: #3a322a; }
.site-header .brand { color: #fff; }
.site-header .nav a { color: #d8cdbf; }
.site-header .nav a:hover, .site-header .nav a.active { color: #fff; }
.site-header .nav a.btn-primary { color: #1d1712; }
.site-header .btn-ghost, .site-header .nav-toggle { background: transparent; color: #fff; border-color: #4a4036; }
.site-header .btn-ghost:hover { border-color: var(--orange); }
.hero { background: var(--ink); color: #fff; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .eyebrow, .hero-points li::before { color: var(--orange); }
.hero .lead, .hero-points { color: #d3c7b8; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: #4a4036; }
.hero .btn-ghost:hover { border-color: var(--orange); }
.hero .mockup { border-color: #2a2a2a; box-shadow: 0 40px 90px -30px rgb(232 119 46 / 30%); }
.cta-band h2 em { font-style: normal; color: var(--orange); }
.price-card.featured { border-color: var(--orange); box-shadow: 0 24px 60px -28px rgb(232 119 46 / 40%); }
.price-card.featured .tag { color: #1d1712; background: var(--orange); border-color: var(--orange); }
