:root {
  --ink: #1a2523;
  --muted: #66736e;
  --paper: #f8f7f2;
  --cream: #efeee6;
  --line: #dfe2d9;
  --sage: #c9d8cd;
  --green: #587b6c;
  --deep: #183b34;
  --coral: #eb846e;
  --white: #fffefa;
  --shadow: 0 22px 70px rgba(27, 52, 44, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.section-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { width: min(1160px, calc(100% - 48px)); margin: 0 auto; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px 10px 10px 3px; background: var(--deep); color: var(--white); font-size: 15px; }
.nav-links { display: flex; gap: 28px; color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-links a:hover, .text-link:hover { color: var(--deep); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 7px; padding: 14px 20px; font-size: 13px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(24, 59, 52, .16); }
.button-small { padding: 10px 15px; font-size: 12px; }
.button-primary { background: var(--coral); color: #fff; }
.button-dark { background: var(--deep); color: #fff; }
.button-full { width: 100%; margin-top: 6px; }
.hero { min-height: 548px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 80px; padding: 78px 0 88px; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--coral); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.05em; line-height: 1.08; }
h1 { max-width: 650px; margin: 18px 0 22px; font-size: clamp(44px, 5.8vw, 77px); font-weight: 600; }
.hero-lede { max-width: 510px; margin-bottom: 28px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.text-link { color: var(--green); font-size: 13px; font-weight: 700; }
.hero-notes { display: flex; gap: 19px; flex-wrap: wrap; margin-top: 27px; color: var(--muted); font-size: 11px; font-weight: 600; }
.hero-card { position: relative; padding: 35px 38px 31px; background: var(--deep); color: var(--white); box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-card::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.17); pointer-events: none; }
.preview-topline, .preview-footer, .preview-grid { display: flex; justify-content: space-between; align-items: center; }
.preview-topline { position: relative; z-index: 1; color: #d6e2d8; font-size: 10px; letter-spacing: .12em; }
.mini-logo { padding: 5px 7px; background: var(--coral); color: white; font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0; }
.preview-rule { height: 1px; margin: 24px 0 29px; background: rgba(255,255,255,.2); }
.preview-kicker { margin-bottom: 12px; color: #a9c4b4; font-size: 11px; }
.hero-card h2 { max-width: 410px; margin-bottom: 19px; font-size: 31px; font-weight: 500; }
.preview-copy { max-width: 400px; margin-bottom: 35px; color: #bbcdc1; font-size: 13px; }
.preview-grid { max-width: 275px; margin-bottom: 34px; }
.preview-grid div { display: grid; gap: 4px; }
.preview-grid span { color: #9bb4a7; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.preview-grid strong { font-family: "Space Grotesk", sans-serif; font-size: 16px; font-weight: 500; }
.preview-footer { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); color: #b6cdbd; font-size: 10px; }
.proof-bar { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 600; }
.section-block { padding: 125px 0 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-heading h2 { max-width: 520px; margin: 13px 0 0; font-size: 46px; font-weight: 600; }
.section-heading > p { max-width: 315px; margin-bottom: 4px; color: var(--muted); font-size: 14px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { min-height: 225px; padding: 29px; background: var(--cream); }
.step-number { display: inline-block; margin-bottom: 42px; color: var(--coral); font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; }
.step-card h3 { margin-bottom: 11px; font-size: 23px; font-weight: 600; }
.step-card p { max-width: 270px; margin-bottom: 0; color: var(--muted); font-size: 13px; }
.generator-section { padding: 83px 0 116px; border-top: 1px solid var(--line); }
.generator-layout { display: grid; grid-template-columns: 370px 1fr; gap: 38px; align-items: start; }
.generator-form { padding: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(27, 52, 44, .04); }
.form-section-title { margin: 5px 0 17px; color: var(--deep); font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 700; }
.form-section-title:not(:first-child) { margin-top: 29px; padding-top: 24px; border-top: 1px solid var(--line); }
.generator-form label { display: block; margin-bottom: 15px; color: var(--muted); font-size: 11px; font-weight: 700; }
.generator-form input[type="text"], .generator-form input[type="number"], .generator-form textarea, .generator-form select { width: 100%; display: block; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 5px; outline: none; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 400; resize: vertical; }
.generator-form input:focus, .generator-form textarea:focus, .generator-form select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(88,123,108,.13); }
fieldset { padding: 0; margin: 0; border: 0; }
legend { margin-bottom: 9px; color: var(--muted); font-size: 11px; font-weight: 700; }
.check-row { display: flex !important; align-items: center; gap: 9px; margin: 10px 0 !important; font-weight: 400 !important; }
.check-row input { accent-color: var(--green); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-footnote { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: center; }
.proposal-panel { min-width: 0; padding: 17px; background: #e7e8df; }
.panel-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 0 1px 13px; }
.panel-label { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.toolbar-actions { display: flex; gap: 6px; }
.icon-button { padding: 6px 10px; border: 1px solid #c9cec3; border-radius: 4px; background: transparent; color: var(--deep); font-size: 11px; font-weight: 700; }
.icon-button:hover { background: var(--white); }
.proposal-paper { min-height: 585px; padding: 53px 60px; background: var(--white); box-shadow: 0 10px 22px rgba(27, 52, 44, .09); }
.proposal-brand { color: var(--deep); font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.proposal-meta { margin-top: 60px; color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.proposal-paper h3 { max-width: 500px; margin: 16px 0 18px; font-size: 39px; font-weight: 600; }
.proposal-intro { max-width: 520px; color: var(--muted); font-size: 15px; }
.proposal-placeholder { display: grid; place-items: center; min-height: 230px; margin-top: 44px; border: 1px dashed #cbd2c5; color: var(--muted); text-align: center; }
.proposal-placeholder span { display: block; color: var(--coral); font-size: 28px; }
.proposal-placeholder p { margin: 8px 0 0; font-size: 12px; }
.generated-proposal .proposal-meta { margin-top: 45px; }
.generated-proposal .proposal-summary { margin: 30px 0; padding: 16px 18px; border-left: 3px solid var(--coral); background: #f5f3ea; color: var(--muted); font-size: 13px; }
.proposal-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proposal-details span, .scope-title { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.proposal-details strong { font-family: "Space Grotesk", sans-serif; font-size: 17px; }
.scope-list { padding-left: 18px; color: var(--muted); font-size: 13px; }
.scope-list li { margin-bottom: 6px; }
.proposal-notes { margin-top: 27px; color: var(--muted); font-size: 12px; }
.proposal-next { margin-top: 36px; color: var(--deep); font-size: 13px; font-weight: 700; }
.example-section { display: grid; grid-template-columns: 1fr .85fr; gap: 90px; align-items: center; padding: 100px 0 115px; border-top: 1px solid var(--line); }
.example-copy h2 { max-width: 420px; margin: 13px 0 19px; font-size: 48px; }
.example-copy p { max-width: 430px; margin-bottom: 25px; color: var(--muted); font-size: 15px; }
.quote-card { padding: 36px; background: var(--sage); }
.quote-mark { margin-bottom: 8px; color: var(--deep); font-family: Georgia, serif; font-size: 55px; line-height: .7; }
.quote-card p { margin-bottom: 28px; color: var(--deep); font-family: "Space Grotesk", sans-serif; font-size: 25px; letter-spacing: -.04em; line-height: 1.2; }
.quote-card span { color: var(--green); font-size: 11px; font-weight: 700; }
.pricing-section { padding: 0 0 113px; }
.pricing-card { display: grid; grid-template-columns: 1fr 290px; gap: 60px; align-items: center; padding: 48px 53px; background: var(--deep); color: var(--white); }
.pricing-card .eyebrow { color: #a9c9b4; }
.pricing-card h2 { max-width: 560px; margin: 13px 0 15px; font-size: 39px; }
.pricing-card p { max-width: 550px; margin-bottom: 0; color: #b8cbc0; font-size: 14px; }
.price-block { display: flex; flex-direction: column; align-items: flex-start; padding-left: 33px; border-left: 1px solid rgba(255,255,255,.2); }
.price { font-family: "Space Grotesk", sans-serif; font-size: 48px; letter-spacing: -.06em; }
.price-note { margin: -4px 0 20px; color: #b8cbc0; font-size: 11px; }
.price-block .button { width: 100%; background: var(--coral); }
.price-footnote { margin-top: 10px; color: #9db4a7; font-size: 10px; }
.site-footer { display: flex; justify-content: space-between; padding: 24px 0 31px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 5; max-width: 320px; padding: 13px 16px; border-radius: 6px; background: var(--deep); color: white; box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 54px; }
  .hero-card { max-width: 600px; width: 100%; transform: none; }
  .generator-layout { grid-template-columns: 1fr; }
  .generator-form { max-width: none; }
  .example-section { grid-template-columns: 1fr; gap: 45px; }
  .pricing-card { grid-template-columns: 1fr; gap: 35px; }
  .price-block { padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
}
@media (max-width: 620px) {
  .section-shell, .site-header { width: min(100% - 30px, 1160px); }
  .site-header { height: 70px; }
  .nav-links { display: none; }
  .site-header .button { display: none; }
  h1 { font-size: 45px; }
  .hero { padding: 52px 0 70px; }
  .hero-card { padding: 28px 26px; }
  .proof-bar { flex-direction: column; gap: 8px; }
  .section-block, .generator-section, .example-section { padding: 78px 0; }
  .section-heading { display: block; }
  .section-heading h2, .example-copy h2 { font-size: 38px; }
  .section-heading > p { margin-top: 21px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .step-number { margin-bottom: 25px; }
  .proposal-paper { padding: 35px 25px; }
  .proposal-paper h3 { font-size: 31px; }
  .pricing-card { padding: 35px 26px; }
  .pricing-card h2 { font-size: 32px; }
  .site-footer { display: block; }
  .site-footer span { display: block; margin-bottom: 6px; }
}

@media print {
  body { background: white; }
  body > *:not(main), main > *:not(#generator), .generator-heading, .generator-form, .panel-toolbar, .proposal-panel { display: none !important; }
  #generator, .generator-layout, .proposal-paper { display: block !important; width: 100%; padding: 0; margin: 0; background: white; box-shadow: none; }
  .proposal-paper { min-height: auto; }
}
