:root {
  --ink: #142033;
  --muted: #5b6678;
  --line: #e3e8ef;
  --bg-alt: #f4f7fa;
  --brand: #0f6e7a;
  --brand-dark: #0a515a;
  --red: #b3261e;
  --green: #1e7a3c;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: #fff;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 20px; }
.section.alt { background: var(--bg-alt); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.1; margin: 0 0 16px; }
h2 { font-size: 1.75rem; margin: 0 0 20px; }
h3 { margin: 0 0 8px; font-size: 1.1rem; }
.muted { color: var(--muted); margin-top: -8px; }

.local-banner {
  background: #fff4ce; border-bottom: 1px solid #e8d48a;
  padding: 8px 20px; font-size: .9rem; text-align: center;
}

.nav { border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { font-weight: 800; font-size: 1.2rem; color: var(--brand); }

.btn {
  display: inline-block; background: var(--brand); color: #fff; border: 2px solid var(--brand);
  padding: 12px 22px; border-radius: var(--radius); font-weight: 600; text-decoration: none;
  font-size: 1rem; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--brand-dark); }

.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.fine { font-size: .85rem; color: var(--muted); }
.hero-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  box-shadow: 0 10px 30px rgba(20, 32, 51, .08);
}
.mini-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.mini-row:last-child { border-bottom: 0; }
.tag { background: var(--bg-alt); border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 600; }
.tag-red { color: var(--red); background: #fbe9e8; }
.tag-green { color: var(--green); background: #e5f4ea; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.pricing .card { display: flex; flex-direction: column; gap: 12px; }
.pricing .card .btn { margin-top: auto; text-align: center; }
.featured { border: 2px solid var(--brand); }
.price { font-size: 2rem; font-weight: 800; color: var(--ink) !important; }
.price span { font-size: .95rem; font-weight: 500; color: var(--muted); }

.steps { padding-left: 1.2em; font-size: 1.1rem; }
.steps li { margin-bottom: 12px; }

.demo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; margin-top: 24px; }
.demo-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.denial { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 20px; font-size: .95rem; }
.denial dt { color: var(--muted); }
.denial dd { margin: 0; }
.note { background: var(--bg-alt); border-radius: 8px; padding: 12px; font-size: .95rem; }
.letter {
  white-space: pre-wrap; font-family: Georgia, serif; font-size: .95rem; line-height: 1.6;
  margin: 0; min-height: 320px; max-height: 520px; overflow-y: auto;
}

.signup { display: grid; gap: 16px; max-width: 480px; }
.signup label { display: grid; gap: 6px; font-weight: 600; }
.signup input, .signup select {
  font: inherit; padding: 10px 12px; border: 1px solid #c4ccd8; border-radius: 8px; background: #fff;
}
.signup input:focus, .signup select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.error { color: var(--red); font-weight: 400; font-size: .9rem; min-height: 1em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.plan-note { background: #e6f3f4; border-radius: 8px; padding: 10px 12px; margin: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

.footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: .85rem; color: var(--muted); }

@media (max-width: 800px) {
  .hero-grid, .cards, .demo { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}
