/* LitigationWatch design system */

:root {
  --navy-950: #08132a;
  --navy-900: #0f2340;
  --navy-800: #16305a;
  --navy-700: #1f3f70;
  --navy-100: #e8edf6;
  --navy-50: #f2f5fa;
  --ink: #142033;
  --text: #2b3546;
  --muted: #5a6578;
  --subtle: #848d9c;
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --surface: #ffffff;
  --line: #e6e3da;
  --line-strong: #d4d0c4;
  --brass: #a8843a;
  --brass-bright: #c9a24a;
  --brass-soft: #f5eedd;
  --green: #17734a;
  --green-soft: #e6f3ec;
  --amber: #8f5b00;
  --amber-soft: #fdf2d8;
  --red: #b42318;
  --red-soft: #fdecea;
  --focus: #2e6be6;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, "Noto Serif", serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 35, 64, 0.06);
  --shadow: 0 1px 2px rgba(15, 35, 64, 0.05), 0 4px 16px rgba(15, 35, 64, 0.06);
  --shadow-lg: 0 2px 4px rgba(8, 19, 42, 0.08), 0 24px 48px -12px rgba(8, 19, 42, 0.35);
  --container: 1180px;
  --gutter: 24px;

  color-scheme: light;
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.2; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h3, h4 { font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0; }

a { color: var(--navy-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 780px; }

/* ---------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-sm { min-height: 36px; padding: 7px 12px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-800); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--subtle); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--navy-800); }
.btn-ghost:hover { background: var(--navy-50); color: var(--navy-900); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #962018; color: #fff; }
.btn-danger-ghost { background: transparent; color: var(--red); border-color: transparent; }
.btn-danger-ghost:hover { background: var(--red-soft); color: var(--red); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--brass-soft); color: var(--navy-950); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

.link-button {
  background: none; border: 0; padding: 0; font: inherit; color: var(--navy-800); cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- Brand */

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--serif); font-size: 21px; letter-spacing: -0.01em; color: var(--navy-900); }
.brand:hover .brand-name { color: var(--navy-800); }

/* ---------------------------------------------------------------- Site header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 32px; height: 68px; }
.site-menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 6px;
}
.site-nav a:hover { color: var(--ink); background: var(--navy-50); }
.site-nav a[aria-current="page"] { color: var(--navy-900); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .site-header .container { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .site-menu { display: none; }
  .site-header.is-open .site-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 16px;
    position: absolute; top: 68px; left: 0; right: 0; max-height: calc(100vh - 68px); overflow-y: auto;
    background: #fff; padding: 4px var(--gutter) 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(8, 19, 42, .1);
  }
  .site-header.is-open .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.is-open .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-header.is-open .header-actions { flex-direction: column; align-items: stretch; }
  .site-header.is-open .header-actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------- Sections */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-paper { background: var(--paper); }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-tight { padding: 48px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 14px; }
.section-head p { font-size: 18px; color: var(--muted); margin-top: 16px; }

/* ---------------------------------------------------------------- Hero */

.hero {
  position: relative; overflow: hidden; color: #dfe6f2;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(201, 162, 74, .14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(46, 107, 230, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero .eyebrow { color: var(--brass-bright); }
.hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; margin-top: 18px; }
.hero-lead { font-size: 19px; line-height: 1.6; color: #c3cde0; margin-top: 22px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: #9fb0cc; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--brass-bright); }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
}

/* Example alert visual */
.hero-visual { position: relative; padding: 28px 0 8px 28px; }
@media (max-width: 960px) { .hero-visual { padding-left: 0; max-width: 560px; } }
.alert-card {
  position: relative; background: #fff; color: var(--text); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .6);
}
.alert-card-back {
  position: absolute; left: 56px; right: -20px; top: 0; height: 120px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14);
}
@media (max-width: 960px) { .alert-card-back { left: 24px; right: 24px; } }
.alert-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.alert-card-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; }
.alert-card-icon svg { width: 18px; height: 18px; }
.alert-card-title { font-weight: 600; color: var(--ink); font-size: 15px; }
.alert-card-time { margin-left: auto; font-size: 13px; color: var(--muted); }
.alert-card-body { padding-top: 16px; }
.alert-card-court { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brass); }
.alert-card-entity { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-top: 4px; }
.alert-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0 0; font-size: 14px; }
.alert-card dt { color: var(--muted); }
.alert-card dd { margin: 0; color: var(--ink); }
.alert-card-actions { display: flex; gap: 8px; margin-top: 18px; }
.alert-card-actions span {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 6px;
}
.alert-card-actions .primary { background: var(--navy-900); color: #fff; }
.alert-card-actions .secondary { border: 1px solid var(--line-strong); color: var(--ink); }
.alert-card-actions svg { width: 14px; height: 14px; }
.watch-chip {
  position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 960px) { .watch-chip { left: 12px; } }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #23a26b; box-shadow: 0 0 0 4px rgba(35, 162, 107, .18); }
.hero-caption { margin-top: 14px; font-size: 12px; color: #8899b7; text-align: right; }

/* ---------------------------------------------------------------- Trust strip */

.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-strip li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.trust-strip svg { width: 22px; height: 22px; color: var(--brass); }
@media (max-width: 860px) { .trust-strip ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-strip ul { grid-template-columns: 1fr; gap: 14px; } }

/* ---------------------------------------------------------------- Steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-number { font-family: var(--serif); font-size: 15px; color: var(--brass); letter-spacing: .04em; }
.icon-tile { width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy-900); display: grid; place-items: center; border: 1px solid var(--navy-100); }
.icon-tile svg { width: 22px; height: 22px; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Split feature */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-copy h2 { font-size: clamp(30px, 3.4vw, 40px); margin-top: 14px; }
.split-copy > p { font-size: 17px; color: var(--muted); margin-top: 16px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--green); margin-top: 3px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.name-compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.name-row { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.name-row:last-of-type { border-bottom: 0; }
.name-row .mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.name-row .mark svg { width: 15px; height: 15px; }
.name-row.bad .mark { background: var(--red-soft); color: var(--red); }
.name-row.good .mark { background: var(--green-soft); color: var(--green); }
.name-row .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.name-row .value { font-weight: 600; color: var(--ink); }
.name-row.bad .value { text-decoration: line-through; text-decoration-color: rgba(180, 35, 24, .5); color: var(--muted); }
.name-tip { background: var(--brass-soft); padding: 18px 22px; display: flex; gap: 12px; font-size: 14px; color: #5c4719; border-top: 1px solid #ecdfbf; }
.name-tip svg { width: 18px; height: 18px; margin-top: 2px; color: var(--brass); }

/* ---------------------------------------------------------------- Coverage */

.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jurisdiction { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.jurisdiction-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.jurisdiction-code { font-family: var(--serif); font-size: 24px; color: var(--navy-900); }
.jurisdiction-name { font-size: 14px; color: var(--muted); }
.jurisdiction ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--text); display: grid; gap: 4px; }
.jurisdiction li { display: flex; gap: 8px; align-items: baseline; }
.jurisdiction li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); flex-shrink: 0; transform: translateY(-2px); }
.coverage-note { margin-top: 24px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; max-width: 820px; }
.coverage-note svg { width: 18px; height: 18px; margin-top: 2px; color: var(--subtle); }
@media (max-width: 960px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .coverage-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Feature grid */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature h3 { font-size: 17px; margin-top: 16px; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.anatomy { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.anatomy-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.anatomy-row:last-child { border-bottom: 0; }
.anatomy-row dt { color: var(--muted); }
.anatomy-row dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 520px) { .anatomy-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------------------------------------------------------------- Pricing */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.plan.featured { border: 2px solid var(--navy-900); box-shadow: var(--shadow); padding: 31px 27px; }
.plan-badge {
  position: absolute; top: -13px; left: 26px; background: var(--navy-900); color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; padding: 4px 10px; border-radius: 999px;
}
.plan-name { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.plan-tagline { color: var(--muted); margin-top: 6px; font-size: 15px; min-height: 48px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.plan-price .amount { font-family: var(--serif); font-size: 50px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.plan-price .per { color: var(--muted); font-size: 15px; }
.plan-price .contact { font-family: var(--serif); font-size: 34px; line-height: 1.2; color: var(--ink); }
.plan-limit { margin-top: 10px; font-weight: 600; color: var(--navy-800); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan form { margin-top: auto; }
.plan-current { margin-top: auto; text-align: center; font-weight: 600; color: var(--green); padding: 11px; border-radius: 8px; background: var(--green-soft); }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan-tagline { min-height: 0; } }

.price-footnote { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }

.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { background: var(--paper); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare td { color: var(--text); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare svg { width: 18px; height: 18px; color: var(--green); }
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); }

/* ---------------------------------------------------------------- FAQ */

.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 720px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------------------------------------------------------------- CTA band */

.cta-band { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #c9d3e5; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); }
.cta-band p { margin-top: 10px; font-size: 17px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band .container { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- Page hero (inner pages) */

.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-top: 72px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 50px); margin-top: 14px; max-width: 820px; }
.page-hero p { font-size: 19px; color: var(--muted); margin-top: 16px; max-width: 700px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center p { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- Prose (legal) */

.prose { color: var(--text); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 26px; margin: 48px 0 12px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: 14px; }
.prose-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 56px; }
@media (max-width: 720px) { .prose-card { padding: 28px 22px; } }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; font-size: 15px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------------------------------------------------------------- Forms */

.form-grid { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field .hint { font-size: 13px; color: var(--muted); }
.field .error { font-size: 13px; color: var(--red); font-weight: 500; display: flex; gap: 6px; align-items: flex-start; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: #fff; color: var(--ink); font: 16px/1.4 var(--sans); transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #9aa2af; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--subtle); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(46, 107, 230, .18); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--red); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input-code { font-family: var(--mono); font-size: 26px; letter-spacing: .4em; text-align: center; padding-left: .4em; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy-900); flex-shrink: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-legal { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- Callouts */

.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); border: 1px solid; font-size: 15px; }
.callout svg { width: 20px; height: 20px; margin-top: 1px; }
.callout strong { color: inherit; }
.callout .callout-body { flex: 1; min-width: 0; }
.callout .callout-body > * + * { margin-top: 4px; }
.callout-info { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-900); }
.callout-success { background: var(--green-soft); border-color: #c4e3d2; color: #0f5233; }
.callout-warning { background: var(--amber-soft); border-color: #f1dca6; color: #6b4400; }
.callout-error { background: var(--red-soft); border-color: #f5c8c3; color: #8a1a12; }
.callout-tip { background: var(--brass-soft); border-color: #ecdfbf; color: #5c4719; }
.callout-tip svg { color: var(--brass); }
.callout .btn { margin-left: auto; }

/* ---------------------------------------------------------------- Cards & badges */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-pad { padding: 28px; }
@media (max-width: 600px) { .card-pad { padding: 20px; } }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.card-body { padding: 24px; }
.card-foot { padding: 16px 24px; border-top: 1px solid var(--line); background: #fcfbf9; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; line-height: 1.5; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-grey { background: var(--paper-2); color: var(--muted); }
.badge-navy { background: var(--navy-100); color: var(--navy-900); }
.badge-plain::before { display: none; }

/* ---------------------------------------------------------------- Auth pages */

.auth-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); }
.auth-header { padding: 24px 0; }
.auth-main { display: grid; place-items: start center; padding: 24px var(--gutter) 64px; }
.auth-card { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }
@media (max-width: 520px) { .auth-card { padding: 28px 22px; } }
.auth-card h1 { font-size: 30px; }
.auth-card .sub { color: var(--muted); margin-top: 10px; }
.auth-card .form-grid { margin-top: 28px; }
.auth-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-50); border: 1px solid var(--navy-100); color: var(--navy-900); display: grid; place-items: center; margin-bottom: 22px; }
.auth-icon svg { width: 26px; height: 26px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 13px; margin: 28px 0 4px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-foot { text-align: center; font-size: 13px; color: var(--muted); padding: 24px var(--gutter); }
.auth-foot a { color: var(--muted); }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }
.auth-points li { display: flex; gap: 10px; }
.auth-points svg { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }

/* ---------------------------------------------------------------- Footer */

.site-footer { background: var(--navy-950); color: #9fb0cc; font-size: 14px; }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-grid h3 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: #b7c4da; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 320px; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; font-size: 13px; color: #8090ad; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- App shell */

.app-body { background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
.app-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.app-header .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.app-nav { display: flex; align-items: stretch; gap: 2px; height: 100%; }
.app-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); text-decoration: none;
  font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.app-nav a svg { width: 18px; height: 18px; }
.app-nav a:hover { color: var(--ink); }
.app-nav a[aria-current="page"] { color: var(--navy-900); border-bottom-color: var(--navy-900); }
.nav-count { background: var(--navy-900); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; line-height: 1.6; }
.app-account { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.app-account .email { font-size: 14px; color: var(--muted); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-account form { margin: 0; }
@media (max-width: 1000px) {
  .app-header .container { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 8px 16px; }
  .app-nav { order: 3; width: 100%; overflow-x: auto; height: 48px; margin: 0 calc(-1 * var(--gutter)); padding: 0 calc(var(--gutter) - 12px); width: calc(100% + 2 * var(--gutter)); scrollbar-width: none; }
  .app-nav::-webkit-scrollbar { display: none; }
  .app-nav a { white-space: nowrap; }
  .app-account .email { display: none; }
}

.app-main { flex: 1; padding: 40px 0 72px; }
@media (max-width: 600px) { .app-main { padding-top: 24px; } }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.page-header h1 { font-size: 34px; }
.page-header p { color: var(--muted); margin-top: 6px; max-width: 640px; }
.page-header .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 14px; }
.back-link svg { width: 16px; height: 16px; transform: rotate(180deg); }
.back-link:hover { color: var(--ink); }

.stack { display: grid; gap: 24px; }
.stack-sm { display: grid; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .grid-main, .grid-2 { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.stat .label { font-size: 13px; color: var(--muted); font-weight: 500; }
.stat .value { font-family: var(--serif); font-size: 32px; color: var(--ink); margin-top: 6px; line-height: 1.1; }
.stat .meta { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

.status-panel { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.status-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.status-icon svg { width: 24px; height: 24px; }
.status-icon.on { background: var(--green-soft); color: var(--green); }
.status-icon.off { background: var(--amber-soft); color: var(--amber); }
.status-panel h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.status-panel p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.status-panel .btn { margin-left: auto; }
@media (max-width: 700px) { .status-panel { flex-wrap: wrap; } .status-panel .btn { margin-left: 0; } }

.usage { display: grid; gap: 8px; }
.usage-top { display: flex; justify-content: space-between; font-size: 14px; }
.usage-top strong { color: var(--ink); }
progress.meter { appearance: none; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
progress.meter::-webkit-progress-bar { background: var(--paper-2); border-radius: 999px; }
progress.meter::-webkit-progress-value { background: var(--navy-900); border-radius: 999px; }
progress.meter::-moz-progress-bar { background: var(--navy-900); border-radius: 999px; }
progress.meter.full::-webkit-progress-value { background: var(--amber); }
progress.meter.full::-moz-progress-bar { background: var(--amber); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.checklist .tick svg { width: 14px; height: 14px; }
.checklist li.done .tick { background: var(--green); border-color: var(--green); color: #fff; }
.checklist li.done .title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.checklist .title { font-weight: 600; color: var(--ink); font-size: 15px; }
.checklist .desc { font-size: 14px; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fcfbf9; white-space: nowrap; }
.table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .name { font-weight: 600; color: var(--ink); }
.table .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.table .num { font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions form { display: inline; }
.table .actions .btn { margin-left: 4px; }
@media (max-width: 760px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table td { padding: 4px 0; border: 0; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); }
  .table td.name-cell::before { display: none; }
  .table .actions { text-align: left; padding-top: 10px; }
  .table .actions .btn { margin: 0 6px 0 0; }
}

.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.toolbar .input, .toolbar .select { min-height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: 15px; }
.toolbar .search { flex: 1; min-width: 200px; position: relative; }
.toolbar .search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--subtle); }
.toolbar .search .input { padding-left: 38px; }
.toolbar .select { width: auto; min-width: 180px; }
.segmented { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.segmented a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; background: #fff; }
.segmented a + a { border-left: 1px solid var(--line-strong); }
.segmented a[aria-current="true"] { background: var(--navy-900); color: #fff; }

/* Alerts list */
.alert-list { list-style: none; margin: 0; padding: 0; }
.alert-item { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.alert-item:last-child { border-bottom: 0; }
.alert-item .dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 8px; background: transparent; }
.alert-item.unread .dot { background: var(--brass-bright); box-shadow: 0 0 0 3px var(--brass-soft); }
.alert-item .court { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brass); }
.alert-item .entity { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 2px; text-decoration: none; display: inline-block; }
.alert-item .entity:hover { text-decoration: underline; }
.alert-item.unread .entity::after { content: "New"; font-size: 11px; font-weight: 700; color: var(--navy-900); background: var(--navy-100); padding: 2px 7px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; letter-spacing: .02em; }
.alert-item .meta { font-size: 14px; color: var(--text); margin-top: 4px; }
.alert-item .meta span + span::before { content: "·"; margin: 0 8px; color: var(--subtle); }
.alert-item .summary { font-size: 14px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alert-item .side { text-align: right; font-size: 13px; color: var(--muted); display: grid; gap: 8px; justify-items: end; align-content: start; }
.alert-item .side form { margin: 0; }
@media (max-width: 700px) {
  .alert-item { grid-template-columns: 12px minmax(0, 1fr); padding: 18px 16px; }
  .alert-item .side { grid-column: 2; text-align: left; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 14px; }
}

.detail-list { display: grid; grid-template-columns: 180px minmax(0, 1fr); margin: 0; }
.detail-list dt, .detail-list dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.detail-list dt { color: var(--muted); font-size: 14px; }
.detail-list dd { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.detail-list > :nth-last-child(-n + 2) { border-bottom: 0; }
@media (max-width: 600px) { .detail-list { grid-template-columns: 1fr; } .detail-list dt { border-bottom: 0; padding-bottom: 0; } .detail-list dd { padding-top: 2px; } }

.empty { text-align: center; padding: 56px 24px; }
.empty .icon-tile { margin: 0 auto 18px; width: 56px; height: 56px; border-radius: 16px; }
.empty .icon-tile svg { width: 26px; height: 26px; }
.empty h3 { font-size: 18px; }
.empty p { color: var(--muted); margin: 8px auto 0; max-width: 440px; }
.empty .btn { margin-top: 22px; }

.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pagination .links { display: flex; gap: 8px; }

.tabs-inline { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 24px; }
.tabs-inline a { padding: 14px 4px; margin-right: 18px; font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-inline a[aria-current="true"] { color: var(--navy-900); border-bottom-color: var(--navy-900); }

.settings-row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 28px; border-bottom: 1px solid var(--line); }
.settings-row:last-child { border-bottom: 0; }
.settings-row h2 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.settings-row .desc { color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (max-width: 860px) { .settings-row { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; } }
.danger-zone { border-color: #f1c4bf; }
.danger-zone .card-head { background: #fff8f7; border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-color: #f6d7d3; }
.danger-zone .card-head h2 { color: var(--red); }

.plan-summary { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.plan-summary .big { font-family: var(--serif); font-size: 30px; color: var(--ink); }
.plan-summary .kv { display: grid; gap: 2px; }
.plan-summary .kv .k { font-size: 13px; color: var(--muted); }
.plan-summary .kv .v { font-weight: 600; color: var(--ink); }

.kbd-note { font-size: 13px; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.center { text-align: center; }
.inline-form { display: inline; margin: 0; }

/* Confirm dialog */
.confirm-dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); color: var(--text); }
.confirm-dialog::backdrop { background: rgba(8, 19, 42, .55); }
.confirm-dialog .dialog-body { padding: 28px 28px 8px; }
.confirm-dialog h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.confirm-dialog p { color: var(--muted); margin-top: 8px; }
.confirm-dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 28px 24px; }

/* Flash */
.flash-wrap { margin-bottom: 24px; }
.site-flash { padding-top: 20px; }

/* Error pages */
.error-page { text-align: center; padding: 120px var(--gutter); }
.error-page .code { font-family: var(--serif); font-size: 80px; color: var(--navy-900); line-height: 1; }
.error-page h1 { font-size: 32px; margin-top: 16px; }
.error-page p { color: var(--muted); margin: 12px auto 0; max-width: 480px; }
.error-page .actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.contact-points li { display: flex; gap: 16px; }
.contact-points h3 { font-size: 16px; }
.contact-points p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-card { padding: 24px; } }

.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .security-grid { grid-template-columns: 1fr; } }

@media print {
  .site-header, .app-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

.contact-grid h1 { font-size: clamp(32px, 4vw, 46px); }
.contact-card h2 { font-size: 26px; }
.error-page .auth-icon { margin: 0 auto 22px; background: var(--green-soft); border-color: #c4e3d2; color: var(--green); }
.compare-title { font-size: clamp(26px, 3vw, 34px); text-align: center; }
.stat .value.small-value { font-size: 24px; padding: 4px 0; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.secure-note svg { width: 16px; height: 16px; }
details > summary.link-button { display: inline-block; list-style: none; }
details > summary.link-button::-webkit-details-marker { display: none; }

/* Polish after visual review */
.plan-name { font-weight: 400; }
.site-footer .brand-mark { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.plan-current { display: flex; align-items: center; justify-content: center; gap: 8px; }
.plan-current svg { width: 18px; height: 18px; }
@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1 1 100%; }
}
@media (max-width: 760px) {
  .table td[data-label] { display: flex; gap: 12px; align-items: baseline; padding: 3px 0; }
  .table td[data-label]::before { flex: 0 0 104px; margin: 0; }
  .table td.name-cell { padding-bottom: 8px; }
  .table .actions { display: flex; gap: 4px; padding-top: 8px; }
}
.contact-points .icon-tile { flex-shrink: 0; }
.jurisdiction-group { margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.jurisdiction ul.tribunals li { color: var(--muted); }
.jurisdiction ul.tribunals li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--brass); }
