@font-face {
  font-family: Geist;
  src: url("/assets/geist.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Brand */
  --brand-navy: #011929;
  --brand-amber: #f9b130;

  /* Surfaces and text */
  --canvas: #ffffff;
  --surface: #f5f7fa;
  --text-heading: var(--brand-navy);
  --text-body: #283746;
  --text-muted: #525e6d;
  --line: #dce2e9;
  --control-border: #7d8996;
  --inverse-surface: var(--brand-navy);
  --inverse-text: var(--canvas);
  --inverse-muted: #ced8e2;
  --inverse-line: #ffffff36;

  /* Actions and feedback */
  --accent-hover: #eda01c;
  --accent-ink: #794900;
  --accent-soft: #fff5e3;
  --link: #164d72;
  --focus-ring: var(--link);
  --focus-inverse: var(--brand-amber);
  --danger: #9a2519;
  --success: #1e6136;
  --shadow-hover: #0119290e;

  --heading: Geist, Inter, Arial, sans-serif;
  --body: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text-body); background: var(--canvas); font: 16px/1.65 var(--body); }
a { color: inherit; }
a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--canvas); padding: 10px; z-index: 3; }
.skip:focus { top: 1rem; }
header { border-bottom: 1px solid var(--line); }
.head { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(118px, 14vw, 155px); height: auto; }
.head nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 36px); }
.head nav a { color: var(--text-body); text-decoration: none; font-size: 14px; font-weight: 550; }
.head nav a:hover, .text-link:hover { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px;
  background: var(--brand-amber); color: var(--brand-navy); border-color: var(--accent-ink); text-decoration: none; font-size: 14px; font-weight: 650;
  transition: background-color .18s ease, border-color .18s ease;
}
.button:hover { background: var(--accent-hover); }
.button.alt { background: var(--canvas); color: var(--text-heading); border-color: var(--control-border); }
.button.alt:hover { background: var(--surface); border-color: var(--link); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(32px, 6vw, 84px); padding-block: clamp(42px, 6vw, 82px); }
.hero-art { margin: 0; }
.hero-art img { width: 100%; height: clamp(330px, 35vw, 448px); object-fit: cover; border-radius: 18px; background: var(--accent-soft); }
.eyebrow { margin: 0 0 14px; color: var(--text-muted); font-size: 12px; letter-spacing: .075em; text-transform: uppercase; font-weight: 650; }
.eyebrow.rule { display: flex; align-items: center; gap: 9px; }
.eyebrow.rule::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-amber); flex: none; }
h1, h2, h3 { color: var(--text-heading); margin: 0 0 .3em; font-family: var(--heading); font-weight: 650; }
h1 { font-size: clamp(42px, 5.35vw, 74px); line-height: 1.03; letter-spacing: -.058em; }
h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
h3 { font-size: 21px; line-height: 1.24; letter-spacing: -.035em; }
.lead { max-width: 49ch; margin: 21px 0 26px; color: var(--text-muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 14px; color: var(--text-body); font-size: 13px; font-weight: 550; }
.trust span::before { content: "✓"; margin-right: 8px; color: var(--link); }
.section { padding-block: clamp(52px, 7vw, 88px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.section-head h2 { margin-bottom: 0; }
.cards, .guide-grid { display: grid; gap: 14px; }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; align-items: start; min-height: 196px; padding: 21px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--control-border); box-shadow: 0 5px 16px var(--shadow-hover); }
.symbol { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 9px; background: var(--surface); color: var(--text-heading); font: 22px/1 Arial, sans-serif; }
.card p { margin: 3px 0 15px; color: var(--text-muted); font-size: 14px; }
.card .eyebrow { margin: 0 0 10px; color: var(--text-muted); font-size: 11px; }
.text-link { color: var(--link); font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.card .text-link { margin-top: auto; }
.guides { background: var(--surface); border-block: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 45px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 9px 0 0; color: var(--text-muted); }
.cta { padding-block: 52px; background: var(--inverse-surface); color: var(--inverse-text); }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.cta h2 { color: var(--inverse-text); }
.cta p { margin: 0; color: var(--inverse-muted); }
footer { padding: 42px 0 20px; background: var(--inverse-surface); color: var(--inverse-text); }
.cta a:focus-visible, footer a:focus-visible { outline-color: var(--focus-inverse); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot p, .foot li, .legal { color: var(--inverse-muted); font-size: 14px; }
.foot ul { list-style: none; padding: 0; margin: 6px 0; }
.foot a { text-underline-offset: 3px; }
.legal { border-top: 1px solid var(--inverse-line); margin-top: 27px; padding-top: 15px; }
.page { padding-block: 47px 75px; }
.crumb { margin: 0 0 32px; color: var(--text-muted); font-size: 13px; }
.page h1 { max-width: 21ch; font-size: clamp(38px, 5.5vw, 66px); }
.prose { max-width: 750px; margin: 25px 0 0; font-size: 17px; overflow-wrap: anywhere; }
.prose h2 { margin: 1.15em 0 .38em; font-size: clamp(25px, 4vw, 36px); }
.prose :is(h3, h4, h5, h6) { color: var(--text-heading); margin: 1.1em 0 .36em; font: 650 23px/1.24 var(--heading); }
.prose a { text-underline-offset: 4px; }
.prose a:not(.button), .crumb a, .field-hint a { color: var(--link); }
.prose li { margin: .35em 0; }
.prose .table-scroll { max-width: 100%; overflow-x: auto; margin-block: 20px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose :is(td, th) { padding: 8px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface); }
.prose :is(th, td) p { margin: 0; }
.prose figure { margin: 20px 0; }
.prose img { height: auto; }
.byline { color: var(--text-muted); font-size: 14px; }
.page .guide-grid { margin-top: 32px; }
.related { margin-top: 55px; }
.related ul { padding-left: 19px; }
.contact-block { margin-top: 25px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact-block p { margin: 0 0 10px; }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 52px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .head { min-height: auto; flex-wrap: wrap; padding-block: 11px; gap: 11px; }
  .head nav { order: 3; width: 100%; gap: 22px; }
  .head .button { min-height: 38px; padding: 7px 10px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-block: 31px 25px; }
  .hero-art img { height: clamp(200px, 63vw, 334px); }
  .lead { margin: 17px 0 20px; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 10px; }
  .guide-grid, .faq { grid-template-columns: 1fr; gap: 12px; }
  .card { min-height: 170px; padding: 15px; }
  .card h3 { font-size: 18px; }
  .guide-grid .card { min-height: 130px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .card { transition: none; }
}

.consultation-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 62px); margin-top: 32px; align-items: start; }
.consultation-layout .contact-block { margin-top: 0; }
.consultation-layout h2 { font-size: clamp(25px, 3vw, 33px); }
.consultation-form { position: relative; margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.consultation-form label { display: block; font-size: 14px; font-weight: 650; }
.consultation-form label span, .field-hint { color: var(--text-muted); font-weight: 400; }
.consultation-form :is(input, select, textarea) { display: block; width: 100%; min-height: 44px; margin-top: 5px; border: 1px solid var(--control-border); border-radius: 8px; padding: 8px 10px; background: var(--canvas); color: var(--text-body); font: 400 16px/1.4 var(--body); }
.consultation-form :is(input, select, textarea, button):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.consultation-form textarea { resize: vertical; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.field-hint, .form-status { margin: 7px 0 12px; font-size: 14px; }
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="success"] { color: var(--success); }
.button:disabled { background: var(--surface); color: var(--text-muted); border-color: var(--control-border); cursor: wait; }
.next-step, .filing-example, .contributors > section { padding: clamp(16px, 3vw, 25px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.next-step, .filing-example { margin-block: 22px; }
.next-step h2, .filing-example h3, .contributors h3 { margin-top: 0; }
.filing-example p { margin-bottom: 0; }
.contributors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 680px) {
  .consultation-layout, .form-grid, .contributors { grid-template-columns: 1fr; }
}

.credibility { padding-top: 0; text-align: center; }
.credibility-intro h2 { font-size: clamp(28px, 3.5vw, 40px); }
.credibility-intro p { max-width: 58ch; margin: 10px auto 0; color: var(--text-muted); }
.credibility-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 16px;
  margin: 30px auto 24px;
  padding: 0;
  list-style: none;
}
.credibility-logos li { flex: 0 1 170px; }
.credibility-logos a {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.credibility-logos a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.credibility-logos img { width: 100%; max-width: 142px; height: 44px; object-fit: contain; }
.credibility-award {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.credibility-award img { flex: 0 0 56px; width: 56px; height: auto; }
.credibility-award figcaption strong { display: block; color: var(--text-heading); font-size: 15px; }
.credibility-award figcaption span { display: block; color: var(--text-muted); font-size: 13px; }
@media (max-width: 680px) {
  .credibility-logos { gap: 14px 10px; margin-top: 20px; }
  .credibility-logos li { flex-basis: calc((100% - 20px) / 3); }
  .credibility-logos li:nth-child(n+4) { flex-basis: min(42%, 160px); }
  .credibility-logos img { height: 39px; }
}

.page .about-title { max-width: 28ch; }
.about-recognition { max-width: 960px; margin-top: clamp(40px, 6vw, 72px); }
.about-recognition h2 { margin-bottom: 16px; font-size: clamp(28px, 4vw, 36px); }
.about-recognition-figure {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.about-recognition-figure img { width: 100%; height: auto; border-radius: 10px; }
.about-recognition-figure figcaption { padding: clamp(16px, 4vw, 40px); }
.about-recognition-figure figcaption strong { display: block; color: var(--text-heading); font: 650 clamp(19px, 2.6vw, 25px)/1.25 var(--heading); }
.about-recognition-figure figcaption p { margin: 10px 0 0; color: var(--text-muted); }
@media (max-width: 680px) {
  .about-recognition-figure { grid-template-columns: minmax(0, 1fr); }
  .about-recognition-figure figcaption { padding: 18px 8px 9px; }
}

.guide-card-title {
  margin: 0 0 .3em;
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: -.035em;
}
.prose .table-scroll table { min-width: 28rem; }
.prose .table-scroll:focus-visible { outline-offset: 2px; }
@media (max-width: 680px) {
  .guide-card-title { font-size: 18px; }
}
