:root {
  --ink: #17211c;
  --muted: #5e6962;
  --paper: #f7f8f2;
  --surface: #ffffff;
  --mint: #d9f4df;
  --green: #17633a;
  --green-dark: #0e4728;
  --coral: #f06b4f;
  --coral-soft: #fff0eb;
  --yellow: #f2c94c;
  --line: #ccd5cc;
  --shadow: 0 24px 70px rgba(23, 33, 28, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: linear-gradient(rgba(23, 99, 58, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 99, 58, 0.05) 1px, transparent 1px), var(--paper); background-size: 32px 32px; font-family: Bahnschrift, "Trebuchet MS", sans-serif; letter-spacing: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--green-dark); }

.site-header { width: min(1180px, calc(100% - 40px)); height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 4px; font-size: 12px; }
.button { min-height: 44px; border: 1px solid var(--ink); border-radius: 5px; padding: 0 20px; color: var(--ink); background: var(--surface); font-weight: 700; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: 0.65; }
.button-primary { color: white; border-color: var(--green); background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-small { min-height: 38px; padding: 0 16px; }
.button-full { width: 100%; }
.text-link { font-weight: 700; text-underline-offset: 4px; }
.actions { display: flex; align-items: center; gap: 22px; }

.hero { width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 72px); margin: 0 auto; padding: 60px 0 88px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr); align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 700px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 6vw, 78px); line-height: 0.98; }
.hero-text { max-width: 610px; margin: 28px 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.boundary { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

.signal { overflow: hidden; border: 1px solid var(--line); border-top: 5px solid var(--coral); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); animation: rise 650ms ease-out both; }
.signal-header, .signal-footer, .signal-meta, .impact { padding: 22px 26px; }
.signal-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.signal-label { margin: 0 0 6px; color: var(--coral); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.signal h2 { margin: 0; font-family: "Cascadia Code", Consolas, monospace; font-size: 21px; }
.severity { padding: 6px 9px; color: #842a18; background: var(--coral-soft); border-radius: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.signal-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); }
.signal-meta div { min-width: 0; }
.signal-meta dt { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.signal-meta dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 700; }
.code-diff { padding: 22px 26px; color: #e9f0eb; background: #1d2721; font-family: "Cascadia Code", Consolas, monospace; font-size: 14px; }
.diff-line { margin: 0; padding: 10px 12px; overflow-wrap: anywhere; }
.diff-line span { display: inline-block; width: 24px; font-weight: 800; }
.removed { color: #ffab9b; background: rgba(240, 107, 79, 0.12); }
.added { color: #9ce3ad; background: rgba(70, 184, 98, 0.12); }
.impact { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); }
.impact p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.impact strong { display: block; color: var(--ink); }
.impact-icon { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; color: #604c05; background: var(--yellow); border-radius: 50%; font-weight: 900; }
.signal-footer { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); background: var(--mint); font-size: 11px; }

.problem, .fit, .pricing, .workflow { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.problem { padding: 90px 0; display: grid; grid-template-columns: 1fr 0.8fr; gap: 80px; border-top: 1px solid var(--line); }
.problem h2, .fit h2, .section-heading h2, .content h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; }
.problem > p, .fit-copy > p, .section-heading > p { margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--surface); }
.step { min-height: 230px; padding: 32px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step span { color: var(--coral); font-family: "Cascadia Code", Consolas, monospace; font-size: 13px; }
.step h3 { margin: 42px 0 10px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); line-height: 1.5; }
.fit { padding: 110px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.fit-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fit-list li { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.fit-list span { color: var(--green); }
.pricing { padding: 90px 40px; text-align: center; background: var(--mint); border-radius: 8px 8px 0 0; }
.section-heading { max-width: 720px; margin: 0 auto; }
.price-grid { margin: 46px auto 34px; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 850px; gap: 14px; }
.price { position: relative; min-height: 176px; padding: 34px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.price.featured { border: 2px solid var(--green); }
.price strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 43px; }
.price > span:not(.price-tag) { color: var(--muted); }
.price p { margin: 18px 0 0; font-size: 13px; font-weight: 700; }
.price-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 9px; color: white; background: var(--green); border-radius: 3px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(23, 33, 28, 0.68); }
#access-form, .demo-result { padding: 28px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-header h2, .demo-result h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; }
.close-button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 30px; }
fieldset { margin: 24px 0; padding: 0; border: 0; }
legend { margin-bottom: 12px; font-weight: 800; }
fieldset label, .consent { display: flex; gap: 10px; margin: 11px 0; color: var(--muted); line-height: 1.4; }
input[type="checkbox"], input[type="radio"] { flex: 0 0 auto; margin-top: 3px; accent-color: var(--green); }
.field { display: grid; gap: 7px; margin: 20px 0; font-weight: 700; }
.field input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 11px; }
.consent { font-size: 13px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 20px; color: #842a18; font-size: 13px; }
.demo-result p { color: var(--muted); line-height: 1.55; }

.content { width: min(780px, calc(100% - 40px)); margin: 54px auto 100px; }
.content h1 { margin-bottom: 24px; }
.content h2 { margin: 48px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.content p, .content li { color: var(--muted); font-size: 17px; line-height: 1.7; }
.content code { padding: 2px 5px; color: var(--ink); background: var(--mint); border-radius: 3px; }
.content pre { overflow-x: auto; padding: 20px; color: #e9f0eb; background: #1d2721; border-radius: 6px; }
.content .callout { margin: 30px 0; padding: 20px; border-left: 5px solid var(--coral); background: var(--coral-soft); }
.content table { width: 100%; border-collapse: collapse; }
.content th, .content td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) {
  .hero, .problem, .fit { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 38px; }
  h1 { font-size: 46px; }
  .workflow, .price-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .problem, .fit { padding: 72px 0; }
  .pricing { padding: 70px 20px; }
}
@media (max-width: 520px) {
  .site-header, .hero, .problem, .fit, .pricing, .workflow, .site-footer { width: min(100% - 24px, 1180px); }
  .site-header .button { display: none; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-bottom: 64px; }
  h1 { font-size: 40px; }
  .actions { align-items: flex-start; flex-direction: column; }
  .signal-meta { grid-template-columns: 1fr; }
  .signal-footer, .site-footer { align-items: flex-start; flex-direction: column; }
  .price-grid { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }