@font-face {
  font-family: Figtree;
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Figtree;
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #111e36;
  --slate: #48556a;
  --line: #dce3ee;
  --paper: #fff;
  --mist: #f7f9fc;
  --pale-blue: #edf2f9;
  --blue: #002395;
  --navy: #101f4a;
  --red: #be1737;
  --red-hover: #94102b;
  --tricolor: linear-gradient(90deg, #002395 0 33.333%, #fff 33.333% 66.666%, #ed2939 66.666% 100%);
  --font-brand: "Times New Roman", "Liberation Serif", Times, serif;
  --font-text: Figtree, Arial, "Liberation Sans", sans-serif;
  font-family: var(--font-text);
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
}
[hidden] { display: none !important; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

/* WordPress block wrapper normalization */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-template-part { margin: 0; padding: 0; }
.wp-site-blocks :where(h1, h2, h3) { font-family: var(--font-text); }

.shell { width: min(1216px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 14px; top: 14px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
body.admin-bar .skip:focus { top: 46px; }

.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--tricolor);
}
.nav-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: block; width: 3px; height: 34px; flex: 0 0 3px; background: var(--red); }
.brand-name { display: grid; gap: 4px; font-size: 1.65rem; white-space: nowrap; }
.brand-wordmark {
  font: 700 1em/1.08 var(--font-brand);
  color: var(--navy);
  letter-spacing: .065em;
  text-transform: uppercase;
}
.brand-prefix {
  font-size: .79em;
}
.brand-signature { font: 400 .76rem/1.3 var(--font-text); color: var(--slate); letter-spacing: .025em; }
.header nav, .footer nav { display: flex; align-items: center; gap: clamp(22px, 3.3vw, 44px); }
.header nav a, .footer nav a { text-decoration: none; font-size: .92rem; font-weight: 550; color: var(--slate); }
.header nav a:hover, .footer nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }

.button { display: inline-flex; justify-content: center; align-items: center; padding: 12px 19px; border: 1px solid transparent; border-radius: 3px; min-height: 46px; font-weight: 680; font-size: .91rem; text-decoration: none; line-height: 1.35; transition: background .2s, color .2s, border-color .2s; }
.button-outline { border-color: #aeb5bd; color: var(--blue); background: white; }
.button-outline:hover { border-color: var(--blue); background: var(--mist); }
.button-accent { min-height: 54px; padding: 13px 23px; color: white; background: var(--red); }
.button-accent:hover { background: var(--red-hover); }
.hero .button-accent { background: var(--navy); }
.hero .button-accent:hover { background: var(--blue); }
.hero .button-accent:focus-visible { outline-color: var(--navy); }

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(248px, .52fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
  padding-block: clamp(47px, 7vw, 95px);
}
.hero-copy { max-width: 780px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 13px; color: var(--blue); font-weight: 720; font-size: .88rem; }
.eyebrow span { width: 14px; height: 2px; background: var(--red); flex: 0 0 auto; border-radius: 4px; }
.hero .eyebrow { margin-bottom: 19px; }

h1, h2 { margin: 0; font: 650 1rem/1.1 var(--font-text); letter-spacing: -.035em; }
h1 { max-width: 20ch; font-size: clamp(2.7rem, 5.4vw, 4.75rem); line-height: 1.05; }
h1 span { display: block; margin-top: .22em; font-size: .64em; color: var(--blue); letter-spacing: -.01em; }
.hero-text { max-width: 610px; margin: 20px 0 24px; color: var(--slate); font-size: 1.1rem; line-height: 1.65; }
.hero-copy .hero-text { margin-bottom: 10px; }

.hero-commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 10px 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.hero-commitments li {
  padding: 8px 11px;
  border-left: 2px solid var(--red);
  background: var(--mist);
  color: var(--blue);
  line-height: 1.45;
}
.hero-qualification { max-width: 610px; margin: 0 0 24px; color: var(--slate); }

.case-notes { padding: clamp(22px, 3.8vw, 43px); border-top: 3px solid var(--red); background: var(--navy); color: var(--paper); }
.case-notes h2 { font: 650 1.25rem/1.25 var(--font-text); letter-spacing: 0; color: var(--paper); }
.case-rate { margin: 12px 0 23px; color: #dce6f5; }
.case-rate strong { display: block; color: var(--paper); font: 550 clamp(3.8rem, 6.4vw, 6rem)/1.04 var(--font-text); letter-spacing: -.04em; }
.case-rate strong span { font-size: .57em; vertical-align: .16em; }
.case-terms { margin: 0 0 19px; }
.case-terms div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid #5b6b83; }
.case-terms dt { color: #dce6f5; }
.case-terms dd { margin: 0; font-weight: 700; white-space: nowrap; }
.case-notes a { font-weight: 650; font-size: .91rem; text-underline-offset: 4px; }
.case-notes :focus-visible { outline-color: var(--paper); }

.step-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; color: var(--blue); background: var(--pale-blue); }
.step-icon svg { width: 22px; height: 22px; }
.section { padding-block: clamp(55px, 7vw, 88px); }
.section-intro { max-width: 650px; }
h2 { font-size: clamp(2.08rem, 4.35vw, 3.6rem); line-height: 1.08; }
.section-intro > p:last-child, .dossier-copy > p:last-of-type { color: var(--slate); margin: 16px 0 0; max-width: 510px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0 0; list-style: none; padding: 0; }
.steps li { padding: clamp(19px, 2.5vw, 29px); border: 1px solid var(--line); border-radius: 4px; background: var(--mist); }
h3 { margin: 0; font: 650 1.2rem/1.3 var(--font-text); }
.steps h3 { margin: 15px 0 7px; }
.steps p, .faq details p { margin: 0; color: var(--slate); }

.judicial { background: var(--navy); color: #fff; }
.judicial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(30px, 7vw, 90px); align-items: start; }
.judicial .eyebrow { color: #fff; }
.judicial h2, .judicial h3 { color: #fff; }
.judicial :focus-visible { outline-color: #fff; }
.judicial .section-intro > p:last-child, .judicial-stages p { color: #e1e8f0; }
.judicial-stages { margin: 0; padding: 0; list-style: none; }
.judicial-stages li { padding: 15px 0; border-top: 1px solid #647489; }
.judicial-stages li:last-child { border-bottom: 1px solid #647489; }
.judicial-stages p { margin: 5px 0 0; }

.conditions { padding-block: clamp(42px, 5vw, 66px); background: var(--pale-blue); }
.dossier-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 90px); align-items: start; }
.pricing-intro { max-width: 680px; margin: 14px 0 0; color: var(--slate); }
.pricing-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; max-width: 680px; margin: 24px 0 0; }
.pricing-facts > div { padding: 16px 20px; border: 1px solid var(--line); background: var(--mist); }
.pricing-facts > div:first-child { border-top: 3px solid var(--red); }
.pricing-facts > div:last-child { border-top: 3px solid var(--blue); }
.pricing-facts dt { font-weight: 650; }
.pricing-facts dd { margin: 2px 0 0; color: var(--slate); }
.pricing-facts strong { display: block; color: var(--ink); font: 550 clamp(2rem, 4vw, 3rem)/1.2 var(--font-text); }
.pricing-example { max-width: 680px; margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--blue); background: var(--paper); }

.checklist { margin: 9px 0 0; padding-left: 19px; color: var(--slate); }
.checklist li { margin: 5px 0; }
.checklist li::marker { color: var(--blue); }
.dossier-copy h3 { margin-top: 24px; }

.followup { background: var(--pale-blue); }
.followup-card, .proposal-form { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); background: var(--paper); }
.followup-card dl { margin: 14px 0 0; }
.followup-card dl div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.followup-card dt { font-weight: 680; }
.followup-card dd { margin: 0; color: var(--slate); }

.proposal-form label { display: block; margin: 0 0 5px; font-weight: 650; }
.proposal-form input { display: block; width: 100%; min-height: 44px; margin: 0 0 13px; padding: 8px 10px; border: 1px solid #aeb5bd; border-radius: 3px; color: var(--ink); background: #fff; }
.proposal-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: 0 14px; }
.proposal-help, #proposal-status { color: var(--slate); }
.proposal-help { margin: 0 0 12px; }
#proposal-status { margin: 10px 0 0; }
#proposal-status:empty { display: none; }

.faq { padding-block: clamp(50px, 6vw, 76px); background: var(--mist); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq details p { padding: 10px 25px 0 0; }
summary { list-style: none; position: relative; cursor: pointer; font-weight: 670; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 1.35rem; color: var(--blue); font-weight: 430; }
details[open] summary::after { content: "−"; }

.footer { background: white; border-top: 1px solid var(--line); }
.footer-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 17px; }
.footer-row nav { flex-wrap: wrap; gap: 10px 23px; }

.legal-content { max-width: 800px; }
.legal-content h1,
.legal-content .wp-block-post-title { max-width: none; margin: 24px 0; font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1.08; }
.legal-content h2 { margin-top: 24px; font-size: 1.55rem; }
.legal-content p { color: var(--slate); }

@media (max-width: 1020px) {
  .shell { width: calc(100% - 64px); }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 42px); }
  .nav-row { flex-wrap: wrap; min-height: 0; row-gap: 0; padding-top: 12px; }
  .nav-row nav { order: 3; justify-content: space-between; flex-basis: 100%; gap: 12px; }
  .nav-row nav a { padding-block: 12px; }
  .hero-content { grid-template-columns: 1fr; gap: 27px; }
  .case-notes { width: min(100%, 420px); }
  h1 { font-size: clamp(2.55rem, 6.9vw, 4.25rem); }
  .dossier-grid, .faq-grid, .judicial-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 34px); }
  .nav-row { column-gap: 10px; }
  .nav-row .button { padding-inline: 8px; min-height: 42px; font-size: .8rem; }
  .nav-row nav a { font-size: .87rem; }
  .brand { gap: 7px; }
  .brand-name { font-size: clamp(1.08rem, 3.6vw, 1.34rem); }
  .brand-signature { font-size: clamp(.58rem, 1.85vw, .71rem); }
  .hero-content { padding-block: 38px 43px; }
  .hero-text { margin-block: 16px 21px; }
  .steps { grid-template-columns: 1fr; gap: 11px; margin-top: 23px; }
  .footer-row { row-gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
