:root {
  --ink: #142039;
  --muted: #5d6b80;
  --navy: #0d274c;
  --navy-2: #071a35;
  --blue: #1558c8;
  --blue-soft: #eaf3ff;
  --mist: #f6f9fc;
  --gold: #b78935;
  --line: #dce6f2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 50, 93, 0.15);
  --radius: 8px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#packages,
#intake,
#review,
#attorney,
#contact {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 14px auto 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(220, 230, 242, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(18, 50, 93, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #31a7d9);
  border-radius: var(--radius);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.14);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #394960;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  padding: 10px 0;
}

.header-cta {
  padding: 12px 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 44px;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 120px);
  margin: -28px auto 0;
  padding: 78px 0 34px;
}

.hero-copy {
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy > p,
.section-heading p,
.payment-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 14px 28px rgba(21, 88, 200, 0.22);
}

.btn.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.authority-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #33445c;
  font-size: 14px;
  font-weight: 800;
}

.authority-line span {
  position: relative;
  padding-left: 20px;
}

.authority-line span::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✓";
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media::before {
  position: absolute;
  inset: auto 9% -28px 16%;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(21, 88, 200, 0.17), transparent 68%);
  filter: blur(12px);
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.document-tabs {
  position: absolute;
  right: -8px;
  top: 18%;
  display: grid;
  gap: 8px;
}

.document-tabs span {
  min-width: 84px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(10, 31, 65, 0.16);
}

.promise-strip,
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.promise-strip article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  min-height: 128px;
  padding: 22px;
  background: linear-gradient(180deg, var(--white), #f8fbff);
}

.promise-strip svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.promise-strip h2 {
  margin-bottom: 6px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.promise-strip p,
.package-card p,
.intake-progress p,
.intake-card p,
.review-steps p,
.footer p,
.footer-contact,
.legal-note {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.review-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.package-card {
  display: grid;
  gap: 22px;
  align-content: space-between;
  padding: 28px;
  background: linear-gradient(180deg, var(--white), #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.package-card.is-selected {
  border-color: rgba(21, 88, 200, 0.55);
  box-shadow: 0 18px 48px rgba(21, 88, 200, 0.13);
}

.package-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 28px;
}

.plan-line {
  padding: 15px 0;
  color: #30415a;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.package-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.package-actions .btn {
  width: 100%;
  min-height: 48px;
}

.purchase-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

.pricing-note {
  margin-top: 18px;
  padding: 18px 20px;
  color: #34445b;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.65;
}

.pricing-note strong {
  color: var(--ink);
}

.counsel-section,
.attorney-section,
.security-section,
.contact-section {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.counsel-section {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.attorney-section {
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 0;
}

.counsel-copy span,
.attorney-card span,
.security-section > div:first-child span,
.contact-section > div:first-child span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.attorney-card,
.credential-panel {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.attorney-card {
  display: grid;
  align-content: end;
  min-height: 420px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(13, 39, 76, 0.62), var(--navy)),
    radial-gradient(circle at 15% 12%, rgba(183, 137, 53, 0.28), transparent 34%),
    var(--navy);
}

.attorney-monogram {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  margin-bottom: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.attorney-card h2 {
  margin-bottom: 14px;
  color: var(--white);
}

.attorney-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.75;
}

.credential-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.credential-panel article {
  display: grid;
  align-content: center;
  min-height: 132px;
  padding: 28px;
  background: linear-gradient(180deg, var(--white), #f8fbff);
}

.credential-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.credential-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.credential-panel a {
  color: var(--blue);
  font-weight: 900;
}

.counsel-copy p,
.security-section p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.counsel-details,
.security-grid {
  display: grid;
  gap: 12px;
}

.counsel-details article,
.security-grid article,
.contact-card {
  padding: 24px;
  background: linear-gradient(180deg, var(--white), #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.counsel-details strong,
.security-grid strong,
.contact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}

.counsel-details p,
.security-grid p,
.contact-card span {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.intake-section {
  padding: 92px max(20px, calc((100% - 1180px) / 2));
  background: linear-gradient(90deg, var(--mist), var(--white) 64%);
}

.intake-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
}

.intake-progress,
.intake-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(22, 55, 104, 0.08);
}

.intake-progress {
  padding: 26px;
}

.intake-progress h2 {
  font-size: 32px;
}

.intake-progress ol {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.intake-progress li {
  padding: 12px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.intake-progress li.is-active {
  color: var(--blue);
}

.intake-card {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.progress-bar {
  position: relative;
  height: 10px;
  overflow: hidden;
  background: var(--mist);
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  border-radius: inherit;
}

.progress-bar strong {
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--muted);
  font-size: 12px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.intake-step {
  display: none;
}

.intake-step.is-active {
  display: grid;
  gap: 18px;
}

legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

label {
  display: grid;
  gap: 8px;
  color: #394960;
  font-size: 14px;
  font-weight: 800;
}

.field-grid,
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkbox-grid label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  padding: 14px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 13px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.consent-line input {
  flex: 0 0 auto;
  margin-top: 3px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(21, 88, 200, 0.14);
}

.jewish-panel,
.shtar-note,
.review-box {
  padding: 18px;
  background: var(--blue-soft);
  border: 1px solid #c9dcf6;
  border-radius: var(--radius);
}

.shtar-note {
  color: #30415a;
}

.recommended-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.recommended-docs span {
  padding: 12px 14px;
  color: #30415a;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.review-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.intake-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.documents-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 92px max(20px, calc((100% - 1180px) / 2));
}

.document-stack {
  position: relative;
  min-height: 520px;
}

.document-stack article {
  position: absolute;
  width: 68%;
  min-height: 430px;
  padding: 42px 34px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.document-stack article:nth-child(1) {
  left: 0;
  top: 60px;
  transform: rotate(-5deg);
}

.document-stack article:nth-child(2) {
  left: 16%;
  top: 10px;
  z-index: 2;
}

.document-stack article:nth-child(3) {
  right: 0;
  top: 72px;
  transform: rotate(5deg);
}

.document-stack span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.document-stack h3 {
  margin: 42px 0 16px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 24px;
  text-align: center;
  text-transform: uppercase;
}

.document-stack p {
  color: var(--muted);
  text-align: center;
}

.signature-lines {
  display: grid;
  gap: 16px;
  margin-top: 62px;
}

.signature-lines::before,
.signature-lines::after {
  display: block;
  height: 1px;
  content: "";
  background: var(--line);
}

.review-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.review-steps article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review-steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  font-weight: 900;
}

.trust-band {
  background: var(--navy);
  border-color: var(--navy);
}

.trust-band span {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 16px;
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.network-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: start;
  padding: 88px max(20px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, var(--white), var(--mist));
  border-top: 1px solid var(--line);
}

.network-intro span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.network-intro h2 {
  max-width: 520px;
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
}

.network-list {
  display: grid;
  gap: 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.network-list article {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
  padding: 24px 26px;
}

.network-list article + article {
  border-top: 1px solid var(--line);
}

.network-list strong {
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 18px;
  line-height: 1.35;
}

.network-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.network-list a {
  align-self: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.security-section {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-section {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-card {
  display: grid;
  gap: 14px;
  font-style: normal;
  box-shadow: 0 18px 54px rgba(22, 55, 104, 0.08);
}

.contact-card a:not(.btn) {
  color: var(--blue);
  font-weight: 900;
}

.contact-card .btn {
  margin-top: 8px;
}

.payment-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: start;
  padding: 92px max(20px, calc((100% - 1180px) / 2));
  background: var(--mist);
}

.payment-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(22, 55, 104, 0.1);
}

code {
  padding: 2px 5px;
  background: var(--blue-soft);
  border-radius: 4px;
}

.faq-section {
  padding-bottom: 106px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: #243247;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: start;
  padding: 46px max(20px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--navy-2);
}

.footer .brand small,
.footer p,
.legal-note {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  font-weight: 800;
}

.footer-contact {
  font-style: normal;
}

.footer-contact strong,
.footer-contact a {
  color: var(--white);
}

.legal-note {
  grid-column: 1 / -1;
  max-width: 980px;
  font-size: 12px;
  line-height: 1.6;
}

.policy-links {
  display: flex;
  grid-column: 1 / -1;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-page .brand {
  margin-bottom: 56px;
}

.legal-page h1 {
  font-size: clamp(38px, 6vw, 62px);
}

.legal-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.service-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.service-page .brand {
  margin-bottom: 56px;
}

.service-hero {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.service-hero span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0;
}

.service-grid article {
  padding: 24px;
  background: linear-gradient(180deg, var(--white), #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.service-grid p,
.service-note {
  color: var(--muted);
  line-height: 1.65;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 84px;
}

.blog-page .brand {
  margin-bottom: 56px;
}

.blog-hero {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.blog-hero span,
.blog-feature > span,
.blog-card > span,
.draft-meta span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.blog-tabs button {
  min-height: 38px;
  padding: 0 14px;
  color: #394960;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.blog-tabs button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.blog-feature,
.blog-card,
.draft-card,
.blog-disclaimer {
  margin-top: 28px;
  padding: 30px;
  background: linear-gradient(180deg, var(--white), #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-feature {
  margin-top: 42px;
}

.blog-feature h2,
.blog-card h2,
.draft-card h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.blog-feature > p,
.blog-card > p,
.blog-empty {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.post-body {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.post-body p {
  margin: 0;
  color: #30415a;
  font-size: 17px;
  line-height: 1.78;
}

.blog-feature > a,
.blog-card > a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 900;
}

.blog-archive,
.draft-queue {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.draft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.draft-meta span {
  margin-bottom: 0;
}

.draft-meta strong {
  color: var(--blue);
  font-size: 13px;
}

.draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.blog-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  body.nav-open .nav-links {
    position: fixed;
    inset: 84px 20px auto;
    display: grid;
    gap: 8px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links a {
    padding: 14px;
    background: var(--mist);
    border-radius: var(--radius);
  }

  .hero,
  .section-heading,
  .intake-shell,
  .network-section,
  .counsel-section,
  .attorney-section,
  .security-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    margin-top: 0;
    padding-top: 62px;
  }

  .promise-strip,
  .trust-band,
  .package-grid,
  .review-steps,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .promise-strip,
  .trust-band,
  .section,
  .review-section,
  .network-section,
  .counsel-section,
  .attorney-section,
  .security-section,
  .contact-section,
  .service-page,
  .blog-page {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 8px;
  }

  .brand {
    gap: 9px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    max-width: 168px;
    font-size: 10px;
    line-height: 1.2;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    gap: 24px;
    padding-top: 42px;
  }

  .hero-copy > p,
  .section-heading p {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions,
  .intake-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .promise-strip,
  .trust-band,
  .package-grid,
  .field-grid,
  .checkbox-grid,
  .recommended-docs,
  .review-steps,
  .network-list article,
  .security-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .intake-section,
  .network-section,
  .counsel-section,
  .attorney-section,
  .security-section,
  .contact-section,
  .footer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .network-section,
  .counsel-section,
  .attorney-section,
  .security-section,
  .contact-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .network-list article {
    gap: 8px;
    padding: 22px 20px;
  }

  .network-list a {
    justify-self: start;
    white-space: normal;
  }

  .attorney-card {
    min-height: auto;
    padding: 26px;
  }

  .attorney-monogram {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    font-size: 22px;
  }

  .blog-feature,
  .blog-card,
  .draft-card,
  .blog-disclaimer {
    padding: 22px 20px;
  }

  .draft-actions {
    display: grid;
  }

  .document-tabs {
    right: 8px;
    top: 10px;
    gap: 6px;
  }

  .document-tabs span {
    min-width: 60px;
    padding: 6px 7px;
    font-size: 11px;
  }

  .hero-media img {
    aspect-ratio: 1.04 / 1;
  }

  .package-card,
  .intake-card,
  .intake-progress {
    padding: 20px;
  }

  .review-steps article {
    padding: 20px;
  }

  .trust-band span {
    min-height: 58px;
  }

  .legal-page {
    width: calc(100% - 28px);
    padding-top: 34px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .package-card,
  .nav-links a {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .btn:hover,
  .package-card:hover {
    transform: translateY(-2px);
  }
}
