:root {
  --ink: #102a43;
  --muted: #627d98;
  --paper: #f7fafc;
  --line: #d9e2ec;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --cream: #fefcf7;
  --orange: #f59e0b;
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.12);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header, .site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: 1240px;
  padding: 22px 28px;
}
.site-header { background: rgba(254, 252, 247, 0.9); position: sticky; top: 0; z-index: 5; }
.brand { align-items: center; display: flex; font-size: 18px; font-weight: 800; gap: 10px; }
.brand-mark, .mini-logo {
  align-items: center; background: var(--ink); border-radius: 10px; color: #fff; display: inline-flex;
  font-size: 11px; font-weight: 900; height: 34px; justify-content: center; letter-spacing: -0.5px; width: 34px;
}
nav { align-items: center; display: flex; font-size: 14px; font-weight: 700; gap: 28px; }
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 15px; }

.hero { align-items: center; display: grid; gap: 64px; grid-template-columns: 1.15fr 0.85fr; margin: auto; max-width: 1240px; padding: 84px 28px 78px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 900; letter-spacing: 1.8px; margin: 0 0 14px; }
h1 { font-size: clamp(50px, 6.5vw, 82px); letter-spacing: -5px; line-height: 0.96; margin: 0; }
h1 span { color: var(--teal); }
.hero-text { color: var(--muted); font-size: 19px; line-height: 1.6; margin: 26px 0 30px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  border: 0; border-radius: 10px; display: inline-flex; font-size: 14px; font-weight: 800; justify-content: center;
  padding: 14px 18px; transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2); }
.primary:hover { background: var(--teal-dark); }
.ghost { border: 1px solid var(--line); color: var(--ink); }
.whatsapp { background: #1f9d62; color: #fff; }
.trust-line { color: var(--muted); font-size: 12px; margin: 20px 0 0; }

.hero-card {
  background: #fff; border: 1px solid rgba(217, 226, 236, 0.9); border-radius: 18px;
  box-shadow: var(--shadow); padding: 28px; transform: rotate(2deg);
}
.hero-card-top, .hero-card-line, .hero-card-total { align-items: center; display: flex; justify-content: space-between; }
.hero-card-top { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.hero-card-top div { display: grid; text-align: right; }
.hero-card-top small, .hero-card-client small { color: var(--muted); font-size: 10px; letter-spacing: 1.4px; }
.hero-card-client { display: grid; gap: 4px; padding: 30px 0 18px; }
.hero-card-line { border-top: 1px solid var(--line); font-size: 13px; padding: 14px 0; }
.hero-card-total { background: var(--ink); border-radius: 8px; color: #fff; margin-top: 18px; padding: 15px; }
.hero-card-status { color: var(--teal); font-size: 12px; font-weight: 800; padding-top: 18px; text-align: right; }

.proof-strip { background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px calc((100% - 900px) / 2); }
.proof-strip div { display: grid; gap: 3px; padding: 0 22px; text-align: center; }
.proof-strip strong { font-size: 20px; }
.proof-strip span { color: #bcccdc; font-size: 12px; }

.steps, .builder-section, .pro-section, .faq { margin: auto; max-width: 1240px; padding: 94px 28px; }
h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -2.8px; line-height: 1.04; margin: 0; max-width: 820px; }
.step-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 46px; }
.step-grid article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.step-grid span { color: var(--teal); font-size: 13px; font-weight: 900; }
.step-grid h3 { margin: 28px 0 8px; }
.step-grid p, .section-heading p, .pro-copy p, .faq p { color: var(--muted); line-height: 1.65; }

.builder-section { max-width: 1440px; padding-top: 62px; }
.section-heading p:last-child { margin-bottom: 30px; }
.builder-layout { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(390px, 0.8fr); }
.quote-form { display: grid; gap: 16px; }
.form-section { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.form-section-title { align-items: center; display: flex; gap: 12px; margin-bottom: 20px; }
.form-section-title > span {
  align-items: center; background: #e6fffa; border-radius: 50%; color: var(--teal); display: flex;
  font-size: 12px; font-weight: 900; height: 30px; justify-content: center; width: 30px;
}
h3, .form-section-title p { margin: 0; }
.form-section-title p { color: var(--muted); font-size: 12px; margin-top: 2px; }
.field-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.field-grid.compact { margin-top: 18px; max-width: 440px; }
label { color: var(--muted); display: grid; font-size: 12px; font-weight: 800; gap: 7px; }
input, select, textarea {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
  font-size: 14px; outline: none; padding: 11px 12px; transition: border-color 160ms ease, box-shadow 160ms ease; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12); }
input[type="color"] { height: 41px; padding: 5px; }
textarea { line-height: 1.5; resize: vertical; }
.items-list { display: grid; gap: 10px; }
.item-row { align-items: end; display: grid; gap: 8px; grid-template-columns: 1fr 70px 116px 34px; }
.remove-item { background: #fff5f5; border: 0; border-radius: 7px; color: #c53030; font-size: 21px; height: 39px; }
.text-button { background: transparent; border: 0; color: var(--teal); font-size: 13px; font-weight: 900; margin-top: 14px; padding: 0; }

.preview-panel { position: sticky; top: 96px; }
.preview-toolbar { align-items: center; display: flex; font-size: 12px; font-weight: 900; justify-content: space-between; margin-bottom: 8px; }
.small-button { background: transparent; border: 0; color: var(--teal); font-size: 12px; font-weight: 800; }
.quote-preview { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); min-height: 600px; overflow: hidden; padding: 26px; }
.preview-accent { background: var(--teal); height: 7px; margin: -26px -26px 24px; }
.quote-head, .quote-totals div { display: flex; justify-content: space-between; }
.quote-kicker, .quote-notes small, .quote-client small { color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: 1.4px; margin: 0 0 5px; }
.quote-head h3 { font-size: 22px; }
.quote-head p:last-child, .quote-meta, .quote-client span { color: var(--muted); font-size: 11px; }
.quote-meta { display: grid; gap: 4px; text-align: right; }
.quote-client { background: var(--paper); display: grid; gap: 3px; margin: 24px 0; padding: 14px; }
.quote-table-head, .preview-item { border-bottom: 1px solid var(--line); display: grid; gap: 10px; grid-template-columns: 1fr auto; padding: 10px 0; }
.quote-table-head { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
.preview-item { font-size: 12px; }
.preview-item small { color: var(--muted); display: block; font-size: 10px; margin-top: 3px; }
.quote-totals { display: grid; font-size: 12px; gap: 8px; margin-left: auto; padding: 20px 0; width: 220px; }
.quote-totals span { color: var(--muted); }
.grand-total { border-top: 2px solid var(--ink); font-size: 16px; padding-top: 11px; }
.grand-total span { color: var(--ink); font-weight: 900; text-transform: uppercase; }
.quote-notes { border-top: 1px solid var(--line); padding-top: 14px; }
.quote-notes p { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 5px 0; white-space: pre-line; }
.quote-preview footer { color: #9fb3c8; font-size: 9px; margin-top: 28px; text-align: center; }
.preview-actions { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-top: 14px; }

.pro-section { align-items: center; background: var(--ink); color: #fff; display: grid; gap: 70px; grid-template-columns: 1.35fr 0.65fr; max-width: none; padding-left: max(28px, calc((100% - 1184px) / 2)); padding-right: max(28px, calc((100% - 1184px) / 2)); }
.pro-copy p { color: #bcccdc; max-width: 650px; }
.pro-copy ul { color: #e6eff7; line-height: 1.9; list-style: "✓  "; padding-left: 22px; }
.price-card { background: #fff; border-radius: 16px; color: var(--ink); padding: 26px; }
.price-card p:first-child { font-weight: 900; margin: 0; }
.price { align-items: start; display: flex; gap: 4px; margin: 20px 0 0; }
.price span { font-size: 16px; font-weight: 900; padding-top: 9px; }
.price strong { font-size: 64px; letter-spacing: -4px; line-height: 1; }
.price-card small, .price-note { color: var(--muted); display: block; font-size: 12px; }
.price-card .button { margin: 22px 0 5px; width: 100%; }
.price-note { line-height: 1.5; margin-bottom: 0; }
.waitlist-form { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.waitlist-title { color: var(--ink); font-size: 13px; font-weight: 900; line-height: 1.4; margin: 0 0 9px; }
.waitlist-row { display: grid; gap: 7px; grid-template-columns: 1fr auto; }
.waitlist-row .button { margin: 0; padding-left: 14px; padding-right: 14px; width: auto; }
.waitlist-form small { margin-top: 7px; }
.honeypot, .sr-only { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 30px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 800; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.thanks-page { align-items: center; display: flex; justify-content: center; min-height: 100vh; padding: 24px; }
.thanks-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); max-width: 620px; padding: 38px; }
.thanks-card .brand { margin-bottom: 64px; }
.thanks-card h1 { font-size: clamp(48px, 8vw, 72px); margin-bottom: 22px; }
.thanks-card p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin-bottom: 24px; }

.toast { background: var(--ink); border-radius: 9px; bottom: 22px; color: #fff; font-size: 13px; left: 50%; padding: 13px 18px; position: fixed; transform: translateX(-50%); z-index: 10; }

@media (max-width: 920px) {
  .hero, .pro-section { gap: 40px; grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-card { margin: auto; max-width: 560px; width: 100%; }
  .builder-layout { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
}
@media (max-width: 620px) {
  nav a:not(.nav-cta) { display: none; }
  .site-header, .site-footer { padding: 16px 18px; }
  .hero, .steps, .builder-section, .pro-section, .faq { padding-left: 18px; padding-right: 18px; }
  .hero { padding-bottom: 58px; padding-top: 42px; }
  h1 { font-size: 56px; letter-spacing: -4px; }
  .proof-strip { padding: 18px 0; }
  .step-grid, .field-grid { grid-template-columns: 1fr; }
  .item-row { grid-template-columns: 1fr 60px 100px 32px; }
  .quote-preview { padding: 18px; }
  .preview-accent { margin: -18px -18px 20px; }
  .preview-actions { grid-template-columns: 1fr; }
}

@media print {
  body * { visibility: hidden; }
  .quote-preview, .quote-preview * { visibility: visible; }
  .quote-preview { border: 0; box-shadow: none; left: 0; min-height: auto; position: absolute; top: 0; width: 100%; }
}
