:root {
  --ink: #1c1915;
  --navy: #1e2a32;
  --navy-2: #2a3b46;
  --sand: #f3eee6;
  --sand-2: #e7dfd2;
  --paper: #fffdf9;
  --line: #e3d8c8;
  --copper: #9a4630;
  --copper-2: #b85c38;
  --cream: #f6e7d4;
  --gold: #a68448;
  --text: #3c352c;
  --muted: #5e564c;
  --ok: #21543c;
  --ok-bg: #e5f2ea;
  --warn: #8a5a12;
  --shadow: 0 18px 40px rgba(30, 42, 50, 0.08);
  --head: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 420px at 90% -10%, rgba(196, 107, 58, 0.08), transparent 55%),
    var(--sand);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-text-size-adjust: 100%;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; }
h1, h2, h3 { color: var(--ink); font-family: var(--head); font-weight: 600; line-height: 1.18; margin: 0 0 0.45em; letter-spacing: -0.015em; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 0.9em; }
a { color: var(--copper); }
a:hover { color: #7a3422; }
:focus-visible { outline: 3px solid var(--copper-2); outline-offset: 2px; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus {
  left: 10px; z-index: 80; background: var(--paper); color: var(--ink);
  padding: 10px 14px; border-radius: 8px;
}
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
section[id], details[id] { scroll-margin-top: 118px; }

.sitehead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 238, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.headrow {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); min-height: 48px;
}
.brand svg { display: block; flex: none; }
.brand strong { display: block; font-family: var(--head); font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand strong span { color: var(--copper); }
.brand small { display: block; color: var(--muted); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 650; }
.navtoggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer;
}
.navtoggle-bars, .navtoggle-bars::before, .navtoggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative;
}
.navtoggle-bars::before, .navtoggle-bars::after {
  content: ""; position: absolute; left: 0;
}
.navtoggle-bars::before { top: -6px; }
.navtoggle-bars::after { top: 6px; }
.sitenav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 8px 16px 18px; box-shadow: var(--shadow);
}
.sitenav.is-open { display: grid; gap: 4px; }
.sitenav a {
  display: flex; align-items: center; min-height: 48px;
  padding: 0 12px; border-radius: 10px; text-decoration: none;
  color: var(--ink); font-weight: 650;
}
.sitenav a:hover, .sitenav a[aria-current="page"] { background: var(--sand); }
.sitenav .navcta {
  background: var(--copper); color: #fff; justify-content: center; margin-top: 6px;
}
.sitenav .navcta:hover { background: #7a3422; color: #fff; }
.openline {
  margin: 0; padding: 0 16px 8px; text-align: center;
  font-size: 12.5px; font-weight: 650; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.openline.is-open { color: var(--ok); }
.openline.is-closed { color: var(--warn); }

.hero { padding: 22px 0 8px; }
.hero-grid { display: grid; gap: 22px; align-items: start; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--navy); font-size: 12.5px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase;
}
.kicker i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--copper-2); display: inline-block;
}
.lede { font-size: 1.08rem; color: var(--muted); max-width: 42rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 18px; border-radius: 999px;
  font: inherit; font-weight: 750; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; line-height: 1.2;
}
.btn-cta { background: var(--copper); color: #fff; }
.btn-cta:hover { background: #7a3422; color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: #c9bba8; }
.btn-line:hover { background: var(--paper); color: var(--ink); }
.btn-block { width: 100%; }
.micro { color: var(--muted); font-size: 13.5px; margin: 8px 0 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.facts li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--navy);
}

.compass {
  background: var(--navy); color: #f6efe6; border-radius: 22px;
  padding: 18px; box-shadow: var(--shadow);
}
.compass-kicker {
  margin: 0 0 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #e7c4a2; font-weight: 750;
}
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks button {
  min-height: 42px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.picks button[aria-pressed="true"] { background: #e7c4a2; color: #1e2a32; border-color: #e7c4a2; }
.compass-out {
  margin-top: 14px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 14px 14px 6px;
}
.compass-out h3 { color: #fff; font-size: 1.25rem; }
.compass-out p { color: #e6ddd2; font-size: 14.5px; }
.compass-out strong { color: #fff; }
.compass-next { color: #e7c4a2 !important; }

.notice {
  margin: 8px 0 10px; padding: 14px 16px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.notice strong { color: var(--ink); }

section { padding: 42px 0; }
.sechead { max-width: 40rem; margin-bottom: 18px; }
.sechead p { color: var(--muted); }

.panel { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { display: grid; gap: 12px; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #e7c4a2;
  font-size: 13px; font-weight: 800;
}
.step p { color: var(--muted); margin: 0; font-size: 15px; }

.tiles { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.tile {
  display: block; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
  min-height: 100%;
}
.tile:hover { border-color: #c9a48a; transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.tile .ico { font-size: 1.4rem; }
.tile h3 { font-size: 1.15rem; margin-top: 8px; }
.tile p { color: var(--muted); font-size: 14.5px; margin: 0; }
.tile .go { display: inline-block; margin-top: 10px; font-weight: 750; font-size: 14px; color: var(--copper); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; }
.chips li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px; font-size: 13.5px; font-weight: 700; color: var(--navy);
}
.note { color: var(--muted); font-size: 13.5px; }

.compare { display: grid; gap: 12px; }
.compare article {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}
.compare .ours { background: var(--navy); color: #f6efe6; border-color: var(--navy); }
.compare .ours h3, .compare .ours li { color: #fff; }
.compare h3 { font-size: 1.3rem; }
.compare ul { margin: 0; padding-left: 18px; }
.compare li { margin: 0 0 8px; }

.lawgrid { display: grid; gap: 12px; }
.lawcard, .ticket, .price, .ben, .doc {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 8px;
}
.lawcard strong, .ticket .amt { display: block; font-family: var(--head); font-size: 1.8rem; color: var(--navy); letter-spacing: -0.03em; }
.lawcard p, .ticket p, .ben p, .doc p { color: var(--muted); font-size: 14.5px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--copper); background: var(--cream);
  border-radius: 999px; padding: 4px 8px; margin-bottom: 8px;
}
.ticket .cat { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.pricegrid { display: grid; gap: 12px; }
.price .big { font-family: var(--head); font-size: 2.4rem; color: var(--navy); letter-spacing: -0.03em; }
.price.hot { background: var(--navy); color: #f6efe6; border-color: var(--navy); }
.price.hot .big, .price.hot h3 { color: #fff; }
.price.hot p { color: #e6ddd2; }
.price p { color: var(--muted); font-size: 14.5px; }

.docs { display: grid; gap: 12px; }
.doc h3 { font-size: 1.05rem; }

details.faq, .legalblock details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px;
}
details.faq summary, .legalblock summary {
  cursor: pointer; list-style: none; min-height: 52px;
  display: flex; align-items: center; padding: 12px 42px 12px 16px;
  font-weight: 750; color: var(--ink); position: relative;
}
details summary::-webkit-details-marker { display: none; }
details.faq summary::after, .legalblock summary::after {
  content: "+"; position: absolute; right: 16px; color: var(--copper); font-size: 1.4rem; font-weight: 500;
}
details[open] summary::after { content: "–"; }
details .a { padding: 0 16px 14px; }
details .a p, details .a li { font-size: 15px; }

.cbform, .sheet {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 22px; box-shadow: var(--shadow);
}
.cbform { max-width: 640px; }
.field { margin-bottom: 12px; }
label { display: block; font-size: 14px; font-weight: 750; color: var(--ink); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -999px; }
.priv, .hint { font-size: 13.5px; color: var(--muted); }

.legalblock { margin-top: 8px; }
.legalblock h2 { font-size: 1.7rem; }
.legalblock h3 { font-size: 1rem; margin-top: 1.1em; }
.legalblock p, .legalblock li { font-size: 14.5px; }

.subpage { padding: 28px 0 48px; }
.crumb { font-size: 14px; color: var(--muted); }
.crumb a { font-weight: 700; text-decoration: none; }
.sheet h1 { font-size: clamp(28px, 4vw, 40px); }
.sheet h2 { font-size: 1.25rem; margin-top: 1.3em; }
.hl {
  background: var(--cream); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px;
}
address { font-style: normal; }

.guide-layout { display: grid; gap: 18px; }
.guide-toc {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px;
}
.guide-toc p { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.guide-toc ol { margin: 0; padding-left: 18px; }
.guide-toc a { color: var(--ink); text-decoration: none; font-weight: 650; }
.guide-toc a.is-current { color: var(--copper); }
.article {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; margin-bottom: 12px;
}
.article .no {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: var(--navy); border-radius: 999px;
  padding: 4px 10px; margin-bottom: 8px;
}
.article p { font-size: 15.5px; }
.bridge {
  background: var(--paper); border-left: 4px solid var(--copper-2);
  border-radius: 0 16px 16px 0; padding: 16px 18px;
}

footer {
  background: var(--navy); color: #d9cfc3; padding: 36px 0 28px; margin-top: 10px;
}
footer h2 { color: #fff; font-size: 1.4rem; }
footer a { color: #e7c4a2; }
footer address { font-size: 14.5px; line-height: 1.7; }
.legalnav { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; padding: 8px 0 0; margin: 0; }
.legalnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0;
  margin-right: 8px; text-decoration: none; font-weight: 750;
}
footer .disc { font-size: 13px; color: #cbbbaa; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; }

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 249, 0.96); border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; }
body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
.deskcall {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  gap: 10px;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper-2), var(--copper));
  color: #fff;
  box-shadow: 0 12px 28px rgba(154, 70, 48, 0.35), 0 0 0 6px rgba(184, 92, 56, 0.12);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.deskcall:hover {
  background: linear-gradient(135deg, #c46b3a, #7a3422);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(154, 70, 48, 0.4), 0 0 0 6px rgba(184, 92, 56, 0.16);
}
.deskcall svg {
  width: 20px;
  height: 20px;
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .deskcall {
    animation: callpulse 2.4s ease-in-out infinite;
  }
  .deskcall:hover { animation: none; }
}
@keyframes callpulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(154, 70, 48, 0.35), 0 0 0 6px rgba(184, 92, 56, 0.12); }
  50% { box-shadow: 0 12px 28px rgba(154, 70, 48, 0.42), 0 0 0 12px rgba(184, 92, 56, 0.06); }
}

@media (max-width: 759px) {
  h1 { font-size: 1.85rem; }
  .lede { font-size: 1rem; margin-bottom: 0.45em; }
  .kicker { letter-spacing: 0.02em; }
  .hero { padding-top: 10px; }
  .cta-row { margin: 10px 0 4px; }
  .facts { margin-top: 8px; }
}
@media (min-width: 760px) {
  .openline { text-align: right; padding: 0 0 12px; }
  .headrow { min-height: 78px; }
  .steps, .pricegrid { grid-template-columns: repeat(3, 1fr); }
  .compare, .tiles, .lawgrid, .cases, .docs { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 48px; }
}

@media (min-width: 980px) {
  .navtoggle { display: none; }
  .sitenav {
    display: flex; position: static; background: transparent; border: 0;
    box-shadow: none; padding: 0; gap: 2px; align-items: center;
  }
  .sitenav a { min-height: 42px; padding: 0 10px; }
  .sitenav .navcta { margin: 0 0 0 6px; padding: 0 16px; color: #fff; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 36px; padding-bottom: 12px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tile.wide { grid-column: span 2; }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .guide-layout { grid-template-columns: 250px 1fr; align-items: start; }
  .guide-toc { position: sticky; top: 96px; }
  .callbar { display: none; }
  body { padding-bottom: 0; }
  .deskcall { display: inline-flex; align-items: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .deskcall { transition: none; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .tile { transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease; }
}
