:root {
  --ink: #0b2f78;
  --deep: #071f52;
  --blue: #0b2f78;
  --blue-light: #eef3fb;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --gold: #d99a22;
  --gold-soft: #fff4d8;
  --text: #1f2b3d;
  --muted: #657286;
  --line: rgba(11, 47, 120, 0.16);
  --shadow: 0 14px 34px rgba(11, 47, 120, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: white;
  border-radius: 999px;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 17px;
}

.brand small,
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-group {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 0;
}

.nav-parent::after {
  color: var(--gold);
  content: "v";
  font-size: 11px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 230px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--text);
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-link {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
  padding: clamp(70px, 10vw, 128px) clamp(22px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(11, 47, 120, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border-top: 5px solid var(--blue);
  border-bottom: 5px solid var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.04;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.lead {
  max-width: 720px;
  margin-top: 26px;
  color: #405257;
  font-size: clamp(19px, 2.4vw, 27px);
}

.hero-text {
  max-width: 760px;
  margin-top: 16px;
  color: #405257;
  font-size: 18px;
}

.language-notice {
  max-width: 760px;
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 6px solid var(--gold);
  border-radius: 18px;
  background: rgba(221, 161, 35, 0.13);
  color: var(--ink);
  font-weight: 750;
}

.language-notice a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compact-hero {
  min-height: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: var(--gold);
  color: white;
}

.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-card,
.payment-card {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow);
}

.hero-card span,
.payment-card .note,
.payment-card .small {
  color: rgba(255, 255, 255, 0.72);
}

.hero-card strong {
  display: block;
  margin: 15px 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.visual-card {
  margin: 28px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.visual-card img,
.visual-grid img,
.visual-strip img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(22px, 6vw, 96px);
}

.split,
.payment-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 7vw, 92px);
}

.stack > p {
  color: #526468;
  font-size: 19px;
}

.feature-grid,
.details-grid,
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature-grid article,
.details-grid article,
.notice-grid article,
.service-card,
.steps article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.feature-grid p,
.details-grid p,
.notice-grid p,
.steps p,
.section-heading p,
.payment-section > div > p {
  margin-top: 12px;
  color: #526468;
}

.details-section {
  background: var(--blue-light);
}

.court-info-section {
  background: #fff;
}

.source-note {
  font-size: 14px;
}

.source-note a {
  color: var(--blue);
  font-weight: 800;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.visual-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--blue-light);
}

.visual-grid h3 {
  margin-top: 18px;
}

.visual-grid p {
  margin-top: 10px;
  color: #526468;
}

.visual-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 0.55fr);
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.visual-strip p {
  margin-top: 12px;
  color: #526468;
}

.band {
  background: var(--deep);
  color: white;
}

.band h2,
.band h3 {
  color: white;
}

.band .eyebrow {
  color: #f6bd4b;
}

.band .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.steps,
.process-chart,
.notice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.steps article,
.process-chart article {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.process-chart article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -16px;
  z-index: 2;
  color: var(--gold);
  content: ">";
  font-size: 24px;
  font-weight: 800;
  transform: translateY(-50%);
}

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

.notice-section {
  background: #fff;
}

.steps span {
  display: inline-block;
  margin-bottom: 28px;
  color: #f6bd4b;
  font-weight: 800;
}

.process-chart span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: white;
  font-weight: 800;
}

.payment-card h3,
.payment-card .price {
  color: white;
}

.price {
  margin: 18px 0 8px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.payment-button {
  width: 100%;
  margin: 24px 0 14px;
}

.payment-fallback {
  width: 100%;
  margin: 8px 0 14px;
}

.section-heading {
  max-width: 820px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 30px clamp(22px, 6vw, 96px);
  background: var(--deep);
  color: white;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-disclaimer {
  grid-column: 1 / -1;
  max-width: 1100px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.policy-section {
  background: var(--gold-soft);
}

.service-preview-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}

.service-choice-section {
  background: var(--blue-light);
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

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

.service-choice-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.service-choice-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: white;
  font-weight: 800;
}

.service-choice-card p {
  color: #526468;
}

.card-price {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.clarification {
  max-width: 980px;
  margin-top: 26px;
  padding: 20px 24px;
  border-left: 5px solid var(--gold);
  background: white;
  color: #526468;
}

.clarification.dark {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.detail-strip span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #526468;
}

.experience-section {
  background: var(--blue-light);
}

.experience-card {
  max-width: 980px;
  margin-top: 30px;
  padding: clamp(24px, 4vw, 42px);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.experience-card p + p {
  margin-top: 18px;
}

.questions-section {
  background: var(--gold-soft);
}

.questions-section a {
  color: var(--blue);
  font-weight: 800;
}

.policy-card {
  max-width: 950px;
  margin-top: 28px;
  padding: 28px;
  border-left: 6px solid var(--gold);
  background: white;
  box-shadow: var(--shadow);
}

.policy-card p + p,
.policy-card ul {
  margin-top: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 20px rgba(11, 47, 120, 0.07);
}

.faq-list summary {
  padding: 20px 24px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.faq-list details p {
  padding: 0 24px 20px;
  color: #526468;
}

.faq-list details p + p {
  padding-top: 0;
}

.disclaimer-section {
  background: var(--gold-soft);
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 18px 18px 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #526468;
}

.check-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: white;
  content: "OK";
  font-size: 13px;
  font-weight: 800;
}

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

.compact-grid article {
  display: grid;
  min-height: 110px;
  place-items: center;
  text-align: center;
}

.service-card {
  display: grid;
  gap: 16px;
  color: var(--text);
}

.service-card h3,
.service-card p {
  color: var(--text);
}

.service-card strong {
  display: block;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
}

.site-footer a {
  color: white;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--ink);
    font-weight: 800;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-group {
    display: grid;
    gap: 8px;
  }

  .nav-parent {
    font-size: 15px;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 6px 0 8px 14px;
    border: 0;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    padding: 7px 8px;
    white-space: normal;
  }

  .hero,
  .split,
  .payment-section,
  .service-preview-section,
  .steps,
  .process-chart,
  .notice-grid,
  .visual-grid,
  .visual-strip,
  .compact-grid,
  .service-choice-grid.three,
  .service-choice-grid,
  .service-cards,
  .detail-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .process-chart article:not(:last-child)::after {
    top: auto;
    right: 22px;
    bottom: -22px;
    content: "v";
    transform: none;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }
}
