/* Conformoo — zero-JS core styling. WCAG 2.2 AA contrast. */
:root {
  --ink: #1b1b1f;
  --paper: #ffffff;
  --accent: #14532d;
  --accent-ink: #ffffff;
  --muted: #52525b;
  --line: #d4d4d8;
  --warn-bg: #fef3c7;
  --warn-ink: #713f12;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
main.hero, main.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}
.hero-head { text-align: center; }
.hero-head h1 { font-size: 2.6rem; margin: .4rem 0 0; letter-spacing: -0.02em; }
.brandline { font-weight: 700; font-size: 1.15rem; margin: .2rem 0 0; color: var(--accent); }
.tagline { text-align: center; font-size: 1.2rem; color: var(--muted); margin: 1.2rem 0 1.6rem; }
.brand-avatar { vertical-align: middle; }

form.ask { display: flex; flex-direction: column; gap: .6rem; }
form.ask textarea, form.followup input {
  font: inherit; padding: .8rem; border: 2px solid var(--line); border-radius: .5rem;
  width: 100%;
}
form.ask textarea:focus-visible, form.followup input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
button, .btn {
  font: inherit; font-weight: 600; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: .5rem; padding: .7rem 1.4rem; cursor: pointer;
  align-self: flex-end; text-decoration: none; display: inline-block;
}
button:hover, .btn:hover { filter: brightness(1.15); }

.answer { border: 1px solid var(--line); border-radius: .75rem; padding: 1.2rem; margin-top: 2rem; }
.answer.error { border-color: #b91c1c; }
.answer-head { display: flex; align-items: center; gap: .55rem; font-weight: 700; margin-bottom: .6rem; }
.answer h3 { margin: 1rem 0 .3rem; font-size: 1rem; }
.answer ul { margin: .2rem 0 .4rem 1.1rem; padding: 0; }
.sources li { font-size: .95rem; }
.badge { font-size: .78rem; font-weight: 700; padding: .15rem .55rem; border-radius: 1rem; }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); }
.badge-beta { background: #e0e7ff; color: #312e81; }
.lawyer-handoff { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: .5rem; padding: .8rem 1rem; margin-top: 1rem; }
.followup { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.followup-q { width: 100%; font-weight: 600; margin: 0; }
.candidates { margin-top: 1rem; font-size: .95rem; }
.limits { color: var(--muted); font-size: .85rem; margin-top: 1rem; }

.footer-nav { display: flex; gap: 1.2rem; justify-content: center; margin-top: 3rem; }
.footer-nav a { color: var(--accent); }
footer .smallprint, .disclosure { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 1.4rem; }
.disclosure { border-top: 1px solid var(--line); padding-top: .8rem; text-align: left; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

table.plain { border-collapse: collapse; width: 100%; }
table.plain th, table.plain td { border: 1px solid var(--line); padding: .5rem .6rem; text-align: left; }
.flash { background: #ecfdf5; border: 1px solid #a7f3d0; padding: .6rem .9rem; border-radius: .5rem; }

/* ================= Home page ================= */
body.home { background: #fff; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid #e7e5e4; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.topnav { display: flex; align-items: center; gap: 1.4rem; }
.topnav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.topnav a:hover { color: var(--ink); }
.topnav .topnav-cta { color: var(--accent); border: 1.5px solid var(--accent); padding: .4rem .95rem; border-radius: 999px; }
.topnav .topnav-cta:hover { background: var(--accent); color: #fff; }

.hero2 { background: radial-gradient(70rem 30rem at 50% -8rem, #e3f1e8 0%, #f4faf6 45%, #fff 75%); padding: 3.5rem 0 3rem; }
.hero2-inner { max-width: 48rem; text-align: center; }
.hero-cow { display: block; margin: 0 auto .3rem; }
.brandline2 { display: inline-block; font-weight: 800; color: var(--accent); background: #fff; border: 1px solid #cfe5d6; border-radius: 999px; padding: .3rem .9rem; font-size: .95rem; margin: 0 0 1.1rem; }
.hero-title { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .9rem; font-weight: 800; }
.hero-sub { color: var(--muted); font-size: 1.15rem; max-width: 38rem; margin: 0 auto 2rem; }

.ask2 { text-align: left; background: #fff; border: 1.5px solid #d6d3d1; border-radius: 1rem; box-shadow: 0 10px 30px -12px rgba(20,83,45,.25), 0 2px 6px rgba(0,0,0,.04); padding: .5rem; transition: border-color .15s, box-shadow .15s; }
.ask2:focus-within { border-color: var(--accent); box-shadow: 0 12px 34px -12px rgba(20,83,45,.35), 0 0 0 4px rgba(20,83,45,.12); }
.ask2 textarea { font: inherit; font-size: 1.08rem; width: 100%; border: 0; resize: vertical; padding: .8rem .9rem; min-height: 5.2rem; background: transparent; color: var(--ink); }
.ask2 textarea:focus { outline: none; }
.ask2-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .25rem .25rem .25rem .9rem; }
.ask2-note { color: var(--muted); font-size: .88rem; }
.ask2 button { border-radius: .7rem; padding: .75rem 1.5rem; font-size: 1rem; }

.examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin: 1.2rem auto 0; max-width: 46rem; }
.examples-label { color: var(--muted); font-size: .88rem; font-weight: 600; flex-basis: 100%; text-align: center; margin-bottom: .1rem; }
.example { margin: 0; }
.chip { font: inherit; font-size: .86rem; font-weight: 500; background: #fff; color: var(--ink); border: 1px solid #d6d3d1; border-radius: 999px; padding: .45rem .95rem; max-width: 100%; white-space: normal; text-align: center; line-height: 1.35; cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.answer-wrap { text-align: left; }

.band { padding: 4.5rem 0; }
.band-tint { background: #f6f8f6; border-top: 1px solid #eceeec; border-bottom: 1px solid #eceeec; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; text-align: center; margin: 0 0 .5rem; }
.section-sub { color: var(--muted); text-align: center; font-size: 1.08rem; margin: 0 auto 2.6rem; max-width: 40rem; }
.section-title.left, .section-sub.left { text-align: left; margin-left: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { background: #fff; border: 1px solid #e7e5e4; border-radius: 1rem; padding: 1.6rem; }
.step-num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: .8rem; }
.steps h3, .feature h3, .cov-card h3, .plan h3 { margin: 0 0 .45rem; font-size: 1.12rem; }
.steps p, .feature p { color: var(--muted); margin: 0; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature { background: #fff; border: 1px solid #e7e5e4; border-radius: 1rem; padding: 1.4rem; border-top: 4px solid var(--accent); }

.grid-cov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cov-card { border: 1px solid #e7e5e4; border-radius: 1rem; padding: 1.25rem 1.3rem; background: #fff; }
.cov-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55rem; }
.cov-jur { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cov-note { color: var(--muted); font-size: .92rem; margin: 0; }
.cov-other { background: #f6f8f6; border-style: dashed; }
.fineprint { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.6rem; }
.fineprint a { color: var(--accent); }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.checks li { position: relative; padding-left: 1.8rem; margin: .7rem 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.disclosure-card { background: #fff; border: 1px solid #e7e5e4; border-left: 4px solid var(--accent); border-radius: .75rem; padding: 1.3rem 1.4rem; color: var(--muted); font-size: .95rem; }
.disclosure-card p { margin: 0; }

.grid-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid #e7e5e4; border-radius: 1rem; padding: 1.5rem; background: #fff; }
.plan-featured { border: 2px solid var(--accent); box-shadow: 0 14px 34px -16px rgba(20,83,45,.4); }
.plan-price { color: var(--muted); margin: 0 0 1rem; font-size: .92rem; }
.plan-price span { display: block; color: var(--ink); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.4rem; flex: 1; }
.plan li { padding: .35rem 0 .35rem 1.5rem; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .btn, .plan .btn-secondary { text-align: center; align-self: stretch; }

.btn-secondary { font: inherit; font-weight: 600; display: inline-block; text-decoration: none; color: var(--accent); background: #fff; border: 1.5px solid var(--accent); border-radius: .5rem; padding: .65rem 1.3rem; }
.btn-secondary:hover { background: #f0f7f2; }

.band-cta { background: var(--accent); }
.band-cta h2 { color: #fff; margin: 0 0 1rem; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; }
.cta-inner { text-align: center; }
.band-cta .btn { background: #fff; color: var(--accent); }

.site-foot { border-top: 1px solid #e7e5e4; padding: 2.2rem 0 2.6rem; background: #fff; }
.foot-inner { display: grid; grid-template-columns: 1fr auto; gap: .6rem 2rem; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: .55rem; color: var(--muted); }
.foot-brand strong { color: var(--ink); margin-right: .35rem; }
.foot-links { display: flex; gap: 1.2rem; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.site-foot .smallprint { grid-column: 1 / -1; text-align: left; margin: .6rem 0 0; }

@media (max-width: 900px) {
  .grid4, .grid-plans { grid-template-columns: repeat(2, 1fr); }
  .grid-cov { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .topnav a:not(.topnav-cta) { display: none; }
  .steps, .grid4, .grid-plans, .grid-cov { grid-template-columns: 1fr; }
  .band { padding: 3.2rem 0; }
  .hero2 { padding: 2.4rem 0 2.2rem; }
  .ask2-foot { flex-direction: column; align-items: stretch; padding: .25rem; }
  .ask2-note { text-align: center; }
  .example { flex: 1 1 100%; }
  .chip { width: 100%; }
  .foot-inner { grid-template-columns: 1fr; }
}
.hero-brand { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 .5rem; }
