:root {
  --forest: #173f35;
  --forest-2: #0f3028;
  --ink: #17231f;
  --muted: #52635d;
  --terracotta: #c6684a;
  --terracotta-dark: #a84e34;
  --paper: #f7f3eb;
  --sage: #dfeae4;
  --line: #d6dfda;
  --white: #fff;
  --warning: #7a4a12;
  --shadow: 0 18px 55px rgba(23, 63, 53, 0.12);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-dark); }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: white; padding: .75rem 1rem; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 760px); margin: 0 auto; }

h1, h2, h3, h4 {
  color: var(--forest-2);
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.13;
  margin: 0 0 .75rem;
}
h1 { font-size: clamp(2.55rem, 6vw, 5.35rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.025em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.lede { color: var(--muted); font-size: clamp(1.12rem, 2.2vw, 1.38rem); max-width: 760px; }
.eyebrow { margin-bottom: .75rem; color: var(--terracotta-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.small { color: var(--muted); font-size: .89rem; }
.tiny { color: var(--muted); font-size: .78rem; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(214, 223, 218, .9); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { display: block; width: 218px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a { color: var(--ink); font-size: .92rem; font-weight: 650; text-decoration: none; }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 10px; background: white; padding: .55rem .75rem; color: var(--forest); font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid var(--terracotta); border-radius: 999px; background: var(--terracotta); color: white !important; padding: .82rem 1.25rem; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(198, 104, 74, .2); cursor: pointer; }
.button:hover { border-color: var(--terracotta-dark); background: var(--terracotta-dark); text-decoration: none; }
.button.secondary { border-color: var(--forest); background: transparent; color: var(--forest) !important; box-shadow: none; }
.button.secondary:hover { background: var(--sage); }
.button.small-button { padding: .55rem .95rem; font-size: .87rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.hero { overflow: hidden; padding: clamp(4rem, 9vw, 8.5rem) 0 4.75rem; background: radial-gradient(circle at 82% 20%, rgba(198,104,74,.13), transparent 28%), linear-gradient(145deg, var(--paper), #fff 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.hero h1 span { color: var(--terracotta-dark); }
.canvas-card { position: relative; min-height: 430px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.8); box-shadow: var(--shadow); padding: 1.2rem; transform: rotate(1.5deg); }
.canvas-card::before { content: ""; position: absolute; inset: 24px -20px -22px 26px; z-index: -1; border-radius: 28px; background: var(--sage); transform: rotate(-5deg); }
.mini-bar { display: flex; justify-content: space-between; align-items: center; padding: .55rem .6rem 1rem; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 750; color: var(--muted); }
.mini-dot { width: 9px; height: 9px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #3f8d68; }
.mini-thread { display: grid; gap: .8rem; padding: 1.2rem .55rem; }
.mini-item { border: 1px solid var(--line); border-radius: 13px; background: white; padding: .85rem .95rem; }
.mini-item strong { display: block; color: var(--forest); font-size: .82rem; }
.mini-item span { color: var(--muted); font-size: .76rem; }
.mini-item.draft { border-left: 4px solid var(--terracotta); background: #fffaf7; }
.mini-item.released { border-left: 4px solid #3f8d68; }

.trust-strip { padding: 1.15rem 0; background: var(--forest); color: white; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.trust-list li { text-align: center; font-size: .88rem; font-weight: 700; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.soft { background: var(--paper); }
.section.sage { background: var(--sage); }
.section-head { max-width: 780px; margin-bottom: 2.4rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 1.55rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-number { display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: 1rem; border-radius: 50%; background: var(--forest); color: white; font-weight: 800; }
.icon-mark { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 12px; background: var(--sage); color: var(--forest); font-weight: 900; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.7rem; margin: .65rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #28704f; font-weight: 900; }
.limit-list { list-style: none; padding: 0; }
.limit-list li { position: relative; padding-left: 1.7rem; margin: .65rem 0; }
.limit-list li::before { content: "—"; position: absolute; left: 0; color: var(--terracotta-dark); font-weight: 900; }
.callout { border-left: 5px solid var(--terracotta); border-radius: 0 var(--radius) var(--radius) 0; background: #fff8f4; padding: 1.25rem 1.4rem; }
.notice { border: 1px solid #e5caa7; border-radius: 14px; background: #fffaf1; color: #55330d; padding: 1rem 1.2rem; }
.quote { font-family: "Source Serif 4", Georgia, serif; font-size: 1.35rem; color: var(--forest); }

.audience-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.audience-card { border-radius: 24px; padding: 2rem; color: white; }
.audience-card h3 { color: white; font-size: 1.85rem; }
.audience-card.practitioner { background: var(--forest); }
.audience-card.litigant { background: var(--terracotta-dark); }
.audience-card .button { border-color: white; background: white; color: var(--forest) !important; box-shadow: none; }

.steps { counter-reset: step; display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; min-height: 68px; padding: .25rem 0 1.2rem 4.4rem; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; font-weight: 850; }

.form-shell { border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label { color: var(--forest-2); font-size: .9rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #bcc9c2; border-radius: 10px; background: white; color: var(--ink); padding: .8rem .85rem; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(198,104,74,.22); border-color: var(--terracotta); }
.checkbox { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .6rem; }
.checkbox input { width: auto; margin-top: .3rem; }
.form-status { min-height: 1.5rem; margin-top: .8rem; font-weight: 700; }

.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--forest-2); font-size: 1.05rem; font-weight: 800; }
.faq details p { margin: .7rem 0 0; color: var(--muted); }

.site-footer { padding: 3.5rem 0 2rem; background: var(--forest-2); color: #d8e3de; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.site-footer h3 { color: white; }
.site-footer a { color: #f1c1b1; }
.footer-links { display: grid; align-content: start; gap: .5rem; }
.legal-line { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .78rem; color: #b7c8c0; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .menu-button { display: inline-flex; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 68px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); padding: 1rem; }
  .nav-links.open { display: flex; }
  .nav-links .button { text-align: center; }
}

@media (max-width: 640px) {
  .wrap, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 184px; }
  .grid-2, .grid-4, .audience-switch, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .canvas-card { min-height: 365px; }
  .trust-list { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

