:root {
  --ink-900: #1b2a3c;
  --ink-700: #33455a;
  --paper-0: #ffffff;
  --paper-50: #f6f4ef;
  --sand-100: #edeae2;
  --sand-200: #e0dcd3;
  --slate-300: #a6acb4;
  --slate-500: #6b7280;
  --seal-100: #f3ded8;
  --seal-600: #b5432e;
  --stamp-100: #dee9e1;
  --stamp-600: #3f6e52;
  --amber-100: #f3e7d3;
  --amber-600: #b4802e;
  --pending-accessible: #765019;
  --urgent-accessible: #963522;
  --text-secondary-accessible: #596270;
  --shadow-paper: 0 1px 4px rgba(27, 25, 20, 0.06);
  --shadow-ambient: 0 10px 26px rgba(31, 41, 54, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--paper-50);
  color: var(--ink-900);
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.95;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

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

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  letter-spacing: 0;
}

p {
  text-wrap: pretty;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--ink-900);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--amber-600);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(224, 220, 211, 0.84);
  background: rgba(246, 244, 239, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
}

.verified-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #e8d9bc;
  border-radius: 50%;
  background: var(--amber-100);
  color: var(--ink-900);
  font-weight: 700;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--text-secondary-accessible);
  font-size: 1rem;
  font-weight: 500;
}

.primary-nav a,
.site-footer nav a {
  position: relative;
}

.primary-nav a::after,
.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.site-footer nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-action {
  padding: 10px 18px;
  background: var(--ink-700);
  color: white;
  font-size: 0.9rem;
}

.header-action:hover,
.button-primary:hover {
  background: var(--ink-900);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--ink-900);
  cursor: pointer;
  min-height: 44px;
  padding: 8px 12px;
}

.menu-lines {
  display: grid;
  gap: 5px;
  width: 22px;
}

.menu-lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
  border-bottom: 1px solid var(--sand-200);
}

.hero::before {
  content: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.eyebrow,
.section-label {
  margin-bottom: 18px;
  color: var(--text-secondary-accessible);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 22px;
  height: 2px;
  background: var(--seal-600);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 4.1vw, 3.65rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}

.hero-lead {
  max-width: 550px;
  margin-bottom: 34px;
  color: var(--text-secondary-accessible);
  font-size: 1.125rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.button {
  min-height: 52px;
  padding: 15px 26px;
}

.button-primary {
  background: var(--ink-700);
  color: white;
}

.text-link {
  color: var(--ink-900);
  font-weight: 600;
}

.text-link span {
  display: inline-block;
  margin-right: 5px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(-4px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  color: var(--text-secondary-accessible);
  font-size: 0.9rem;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-right: 14px;
}

.hero-points li::before {
  position: absolute;
  top: 0.75em;
  right: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--stamp-600);
  content: "";
}

.service-file {
  position: relative;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-xl);
  background: var(--paper-0);
  box-shadow: var(--shadow-ambient);
  transform: none;
}

.service-file::before,
.service-file::after {
  content: none;
}

.file-edge {
  position: absolute;
  top: 30px;
  right: -1px;
  width: 4px;
  height: 84px;
  background: var(--seal-600);
}

.file-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 22px;
  border-bottom: 1px solid var(--sand-200);
}

.file-kicker {
  margin-bottom: 2px;
  color: var(--text-secondary-accessible);
  font-size: 0.85rem;
}

.file-heading h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
  font-weight: 600;
}

.verified-mark {
  width: 46px;
  height: 46px;
}

.file-index {
  margin: 0;
  padding: 4px 28px;
  list-style: none;
}

.file-index li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sand-200);
}

.file-index li:last-child {
  border-bottom: 0;
}

.file-number {
  color: var(--slate-500);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.file-index strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.05rem;
  font-weight: 600;
}

.file-index small {
  display: block;
  color: var(--text-secondary-accessible);
  font-size: 0.85rem;
}

.file-status {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-ready {
  background: var(--stamp-100);
  color: #315c43;
}

.status-pending {
  background: var(--amber-100);
  color: var(--pending-accessible);
}

.file-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 28px 20px;
  border-top: 1px dashed var(--sand-200);
  color: var(--slate-500);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  direction: ltr;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 36px;
}

.section-heading h2,
.process-intro h2,
.why-copy h2,
.faq-intro h2,
.closing h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.55;
}

.section-heading > div > p,
.process-intro > p:last-child,
.faq-intro > p:last-child,
.why-copy > p:not(.section-label):not(.government-note) {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--text-secondary-accessible);
  font-size: 1.05rem;
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-row {
  display: grid;
  grid-template-columns: 44px minmax(200px, 0.65fr) minmax(0, 1.35fr);
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  background: var(--paper-0);
  box-shadow: var(--shadow-paper);
}

.service-count {
  margin-bottom: 0;
  color: var(--seal-600);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  direction: ltr;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--seal-100);
}

.service-caption {
  margin-bottom: 7px;
  color: var(--text-secondary-accessible);
  font-size: 0.85rem;
  font-weight: 600;
}

.service-title-wrap h3 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.65;
}

.service-details > p {
  max-width: 650px;
  margin-bottom: 22px;
  color: var(--text-secondary-accessible);
}

.service-details > ul,
.government-wide ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-details > ul li,
.government-wide li {
  padding: 7px 13px;
  border: 1px solid var(--sand-100);
  border-radius: var(--radius-sm);
  background: var(--paper-50);
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.government-grid > div {
  padding: 20px;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  background: var(--paper-50);
}

.government-grid h4 {
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 600;
}

.government-grid p {
  margin-bottom: 0;
  color: var(--text-secondary-accessible);
  font-size: 0.95rem;
}

.government-grid .government-wide {
  grid-column: 1 / -1;
}

.government-wide h4 {
  margin-bottom: 14px;
}

.process {
  border-block: 1px solid var(--sand-200);
  background: var(--paper-0);
}

.process-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 110px);
}

.process-intro {
  position: sticky;
  top: 118px;
  align-self: start;
}

.process-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.process-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sand-200);
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 22px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--sand-200);
}

.process-steps li > span {
  color: var(--seal-600);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  direction: ltr;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sand-200);
  border-radius: 50%;
  background: var(--paper-50);
}

.process-steps h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.process-steps p {
  margin-bottom: 0;
  color: var(--text-secondary-accessible);
  font-size: 1rem;
  grid-column: 2;
}

.why-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--ink-900);
  color: white;
  box-shadow: var(--shadow-ambient);
}

.why-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.why .section-label,
.why-copy > p:not(.section-label):not(.government-note) {
  color: #cbd0d6;
}

.government-note {
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #e7e9ec;
  font-size: 0.95rem;
}

.why-list {
  margin: 0;
}

.why-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.why-list > div:first-child {
  padding-top: 0;
}

.why-list > div:last-child {
  border-bottom: 0;
}

.why-list dt {
  color: #e7b964;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  direction: ltr;
}

.why-list dd {
  margin: 0;
}

.why-list strong,
.why-list span {
  display: block;
}

.why-list strong {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 600;
}

.why-list span {
  color: #cbd0d6;
  font-size: 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
  gap: clamp(56px, 8vw, 110px);
}

.faq-intro {
  align-self: start;
}

.faq-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

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

.faq-list details {
  padding-inline: 24px;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  background: var(--paper-0);
}

.faq-list details[open] {
  border-color: var(--slate-300);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--sand-200);
  border-radius: 50%;
  color: var(--slate-500);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  flex: 0 0 28px;
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq-list details[open] summary span {
  background: var(--sand-100);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 700px;
  margin: -4px 0 28px;
  color: var(--text-secondary-accessible);
}

.closing {
  padding: 96px 0;
  background: var(--ink-700);
  color: white;
  text-align: center;
}

.closing .section-label {
  color: #dce0e5;
}

.closing h2 {
  max-width: 830px;
  margin-inline: auto;
}

.button-light {
  margin-top: 18px;
  background: white;
  color: var(--ink-900);
}

.button-light:hover {
  background: var(--amber-100);
  transform: translateY(-1px);
}

.site-footer {
  padding: 52px 0;
  background: var(--paper-0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 48px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand .brand-logo {
  height: 52px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--text-secondary-accessible);
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  color: var(--ink-700);
  font-size: 0.84rem;
  font-weight: 500;
}

.copyright {
  text-align: left;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-action {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 18px 24px 28px;
    border-bottom: 1px solid var(--sand-200);
    background: var(--paper-50);
    box-shadow: var(--shadow-ambient);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--sand-200);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .process-wrap,
  .faq-grid,
  .why-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .service-file {
    width: min(100%, 580px);
    margin-inline: auto;
  }

  .process-intro {
    position: static;
  }

  .service-row {
    grid-template-columns: 44px 1fr;
    gap: 20px;
  }

  .service-details {
    grid-column: 2;
  }

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

  .copyright {
    grid-column: 1 / -1;
    text-align: right;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .primary-nav {
    top: 68px;
  }

  .menu-label {
    font-size: 0.9rem;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero::before {
    top: 20px;
    right: 16px;
    left: auto;
    width: 76px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7.8vw, 2.65rem);
    line-height: 1.6;
  }

  .hero-lead {
    font-size: 1.0625rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .text-link {
    text-align: center;
  }

  .hero-points {
    display: flex;
    gap: 8px 20px;
  }

  .service-file {
    transform: none;
  }

  .service-file::before,
  .service-file::after {
    display: none;
  }

  .file-index,
  .file-heading {
    padding-inline: 20px;
  }

  .file-index li {
    grid-template-columns: 24px 1fr auto;
    gap: 8px;
  }

  .file-status {
    width: fit-content;
    padding-inline: 7px;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .process-intro h2,
  .why-copy h2,
  .faq-intro h2,
  .closing h2 {
    font-size: clamp(1.65rem, 6.5vw, 2rem);
  }

  .service-row {
    grid-template-columns: 40px 1fr;
    gap: 18px 14px;
    padding: 24px 20px;
  }

  .service-details {
    grid-column: 1 / -1;
  }

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

  .government-grid .government-wide {
    grid-column: auto;
  }

  .process-wrap,
  .faq-grid {
    gap: 44px;
  }

  .process-steps li {
    grid-template-columns: 44px 1fr;
    gap: 9px 14px;
  }

  .process-steps p {
    grid-column: 2;
  }

  .why-panel {
    gap: 32px;
  }

  .why .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .closing {
    padding: 56px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
  }

  .site-footer nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .closing,
  .site-footer {
    display: none;
  }

  body,
  .process {
    background: white;
  }

  .section,
  .hero {
    padding: 32px 0;
  }

  .service-file,
  .why-panel {
    box-shadow: none;
  }
}
