html {
  scroll-behavior: smooth;
}

:where(h1, h2, h3) {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

body {
  background:
    radial-gradient(circle at top left, rgba(199, 154, 59, 0.18), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(28, 125, 117, 0.11), transparent 22%),
    radial-gradient(circle at 50% 118%, rgba(18, 38, 60, 0.18), transparent 42%),
    linear-gradient(180deg, #f8f1df 0%, #f2e5c8 42%, var(--bg) 100%);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before {
  position: absolute;
  inset: 0;
  background:
    url("/assets/img/ornament-divider.svg") center top / 340px 22px repeat-y,
    linear-gradient(rgba(63, 44, 16, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 44, 16, 0.018) 1px, transparent 1px);
  background-size: 340px 22px, 26px 26px, 26px 26px;
  content: "";
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 90%);
  pointer-events: none;
}

.site-shell::after {
  position: absolute;
  top: 0;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(199, 154, 59, 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

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

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.page-hero {
  padding: 48px 0 28px;
}

.page-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, var(--surface-veil), rgba(255, 250, 241, 0.84)),
    var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 26px;
}

.page-card,
.card,
.notice,
.metric-card,
.list-card,
.faq-card,
.timeline-card,
.doc-card,
.article-card,
.contact-card,
.review-card,
.faq-item,
.page-banner,
.hero-panel,
.hero-aside,
.cta-panel {
  position: relative;
  overflow: hidden;
}

.page-card::before,
.card::before,
.notice::before,
.metric-card::before,
.list-card::before,
.faq-card::before,
.timeline-card::before,
.doc-card::before,
.article-card::before,
.contact-card::before,
.review-card::before,
.faq-item::before,
.page-banner::before,
.hero-panel::before,
.hero-aside::before,
.cta-panel::before {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 18px;
  background: url("/assets/img/ornament-divider.svg") center top / 240px 18px repeat-x;
  opacity: 0.24;
  content: "";
  pointer-events: none;
}

.page-banner::before,
.hero-aside::before,
.cta-panel::before {
  opacity: 0.52;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

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

.section-head {
  max-width: 740px;
  margin-bottom: 32px;
}

.section-head h1,
.section-head h2,
.section-head h3,
.page-hero h1 {
  margin-bottom: 14px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
}

.section-head p,
.page-hero p,
.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

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

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

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

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.button {
  background: linear-gradient(135deg, #dfb45f, var(--accent));
  color: #1e2433;
  box-shadow: 0 16px 34px rgba(167, 121, 27, 0.22);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.nav-link:hover {
  transform: translateY(-1px);
}

.button:active,
.button-secondary:active,
.button-ghost:active {
  transform: translateY(0);
}

.button-secondary {
  background: linear-gradient(135deg, #193148, #12263d);
  color: #ffffff;
}

.button-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 250, 241, 0.78);
  color: var(--ink);
}

.topbar {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid rgba(199, 154, 59, 0.18);
  background: linear-gradient(90deg, rgba(20, 34, 53, 0.96), rgba(17, 46, 64, 0.96));
  backdrop-filter: blur(22px);
}

.topbar::after,
.header::after,
.footer::before {
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background: url("/assets/img/ornament-divider.svg") center / 240px 18px repeat-x;
  content: "";
  pointer-events: none;
}

.topbar::after,
.header::after {
  bottom: -1px;
  opacity: 0.55;
}

.topbar-inner,
.header-inner,
.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-inner {
  min-height: 52px;
}

.topbar-meta,
.topbar-links,
.header-actions,
.badge-row,
.trust-line,
.footer-links,
.contact-list,
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.topbar-meta,
.topbar-links,
.nav-link,
.footer-links a,
.footer-note,
.small-text,
.legal-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.topbar .topbar-meta,
.topbar .topbar-links,
.topbar a,
.topbar .topbar-link {
  color: rgba(255, 247, 231, 0.82);
}

.topbar a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0;
  border-bottom: 1px solid rgba(167, 121, 27, 0.12);
  background: rgba(248, 241, 223, 0.86);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  clip-path: polygon(28% 0, 72% 0, 100% 28%, 100% 72%, 72% 100%, 28% 100%, 0 72%, 0 28%);
  background:
    linear-gradient(135deg, #edd09a, #c79a3b);
  border: 1px solid rgba(167, 121, 27, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 231, 0.58),
    0 10px 22px rgba(167, 121, 27, 0.2);
  color: #15263b;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-copy strong {
  display: block;
  font-size: 1.02rem;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.82);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-link.is-active {
  background: linear-gradient(135deg, rgba(223, 180, 95, 0.26), rgba(28, 125, 117, 0.1));
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.86);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 99px;
  background: var(--ink);
  content: "";
}

.nav-toggle span {
  margin-top: 5px;
  margin-bottom: 5px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-weight: 500;
}

.label-chip,
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.74);
  color: var(--ink);
  font-size: 0.92rem;
}

.status-chip {
  background: var(--accent-soft);
  border-color: rgba(167, 121, 27, 0.2);
}

.status-chip.status-chip--warning {
  background: rgba(197, 141, 23, 0.12);
  border-color: rgba(197, 141, 23, 0.22);
}

.notice,
.metric-card,
.list-card,
.faq-card,
.timeline-card,
.doc-card,
.article-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(250, 245, 234, 0.92)),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.notice {
  padding: 20px 22px;
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

.metric-card,
.list-card,
.faq-card,
.timeline-card,
.doc-card,
.article-card,
.contact-card {
  padding: 24px;
}

.metric-card .value {
  display: block;
  margin-bottom: 8px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
  color: #17304a;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(199, 154, 59, 0.18), rgba(29, 123, 117, 0.08));
  color: var(--accent-strong);
  font-size: 1.1rem;
  font-weight: 700;
}

.symbol-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(199, 154, 59, 0.24);
  background:
    radial-gradient(circle at top, rgba(223, 180, 95, 0.18), transparent 62%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.86), rgba(247, 238, 219, 0.72));
  color: #17304a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 10px 28px rgba(44, 28, 10, 0.08);
}

.symbol-icon {
  width: 24px;
  height: 24px;
}

.list-card h3,
.faq-card h3,
.timeline-card h3,
.doc-card h3,
.article-card h3,
.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.page-banner {
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgba(223, 180, 95, 0.14), transparent 36%),
    radial-gradient(circle at 86% 14%, rgba(223, 180, 95, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(22, 38, 60, 0.96), rgba(20, 53, 76, 0.96)),
    var(--surface-dark);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.page-banner::after {
  position: absolute;
  right: 26px;
  bottom: 18px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  border: 1px solid rgba(223, 180, 95, 0.12);
  background:
    radial-gradient(circle, rgba(223, 180, 95, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  content: "";
  opacity: 0.7;
  pointer-events: none;
}

.page-banner p,
.page-banner .small-text {
  color: rgba(255, 255, 255, 0.76);
}

.page-banner .eyebrow {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.page-banner h1,
.page-banner h2 {
  margin-top: 14px;
  margin-bottom: 14px;
}

.page-banner .button-row {
  margin-top: 22px;
}

.page-banner .compact-meta {
  margin-top: 18px;
}

.page-banner .compact-meta span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 244, 220, 0.86);
}

.page-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 22px;
  align-items: start;
}

.page-banner-grid > * {
  position: relative;
  z-index: 1;
}

.service-dock {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.service-dock__item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.service-dock__item span {
  display: block;
  color: rgba(255, 244, 220, 0.66);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.service-dock__item strong {
  display: block;
  margin-top: 6px;
  color: #fff4dc;
  font-size: 1rem;
  line-height: 1.25;
}

.service-dock__item p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.bullet-list,
.tick-list,
.doc-list {
  display: grid;
  gap: 14px;
}

.bullet-list li,
.tick-list li,
.doc-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.bullet-list li::before,
.tick-list li::before,
.doc-list li::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.comparison-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 250, 241, 0.9)),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.comparison-table table {
  width: 100%;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
  width: 26%;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th {
  background: rgba(19, 33, 27, 0.04);
  font-size: 0.93rem;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 250, 241, 0.9)),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 22px 64px 22px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(19, 33, 27, 0.04);
  color: var(--accent);
  content: "+";
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item-content {
  padding: 0 22px 22px;
  color: var(--muted);
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(199, 154, 59, 0.1);
  color: var(--muted);
  font-size: 0.9rem;
}

.fact-grid,
.trust-grid-2,
.doc-links-grid,
.partner-grid {
  display: grid;
  gap: 20px;
}

.fact-grid,
.trust-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.fact-card,
.trust-panel,
.doc-link-card,
.partner-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(250, 245, 234, 0.92)),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.fact-card,
.trust-panel,
.partner-card {
  padding: 24px;
}

.doc-link-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.fact-card strong,
.trust-panel h3,
.doc-link-card h3,
.partner-card h3 {
  color: var(--ink);
}

.fact-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  line-height: 1;
  color: #17304a;
}

.fact-card p,
.trust-panel p,
.doc-link-card p,
.partner-card p,
.partner-card li {
  color: var(--muted);
}

.trust-panel h3,
.doc-link-card h3,
.partner-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.trust-panel h3 {
  margin-top: 0;
}

.partner-card ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.partner-card li {
  position: relative;
  padding-left: 18px;
}

.partner-card li::before {
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.doc-link-card .button-row {
  margin-top: auto;
}

.inline-link {
  color: var(--secondary);
  font-weight: 600;
}

.inline-link:hover {
  color: var(--accent-strong);
}

.compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
}

.compact-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.7);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.disclaimer-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.disclaimer-list li {
  padding-left: 18px;
  color: var(--muted);
  position: relative;
}

.disclaimer-list li::before {
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--warning);
  content: "";
}

.footer {
  margin-top: 80px;
  padding: 36px 0 28px;
  position: relative;
  border-top: 1px solid rgba(199, 154, 59, 0.12);
  background:
    linear-gradient(180deg, rgba(22, 38, 60, 0.98), rgba(15, 31, 49, 0.98)),
    var(--surface-dark);
}

.footer::before {
  top: 0;
  opacity: 0.58;
}

.footer-top {
  align-items: flex-start;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(19, 33, 27, 0.08);
}

.footer-brand {
  max-width: 360px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
  margin-bottom: 26px;
}

.footer-column h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #fff4dc;
}

.footer-column li + li {
  margin-top: 8px;
}

.footer-bottom {
  align-items: flex-start;
  padding-top: 22px;
}

.legal-note {
  max-width: 900px;
}

.footer .small-text,
.footer .footer-note,
.footer .legal-note,
.footer .brand-copy span,
.footer .footer-links a,
.footer .footer-column a {
  color: rgba(255, 244, 220, 0.74);
}

.footer .brand-copy strong,
.footer .contact-list,
.footer .label-chip {
  color: #fff4dc;
}

.footer .label-chip {
  border-color: rgba(199, 154, 59, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 28;
  display: none;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(82px, auto));
  gap: 10px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(18, 35, 55, 0.94);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mobile-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-cta a {
  min-height: 48px;
  border-radius: 16px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.mobile-cta .button {
  min-height: 48px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
  gap: 22px;
  align-items: start;
}

.aside-stack {
  display: grid;
  gap: 18px;
}

.article-card .meta,
.page-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

main {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

@media (max-width: 1080px) {
  .nav {
    position: fixed;
    inset: 88px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-actions .button-ghost,
  .header-actions .button-secondary {
    display: none;
  }
}

@media (max-width: 1240px) {
  .split-layout,
  .page-grid,
  .grid-4,
  .doc-links-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .page-banner-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 38px 0;
  }

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

  .page-hero {
    padding: 24px 0 18px;
  }

  .grid-2,
  .grid-3,
  .footer-grid,
  .fact-grid,
  .trust-grid-2,
  .doc-links-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: none;
  }

  .header {
    top: 0;
    padding: 10px 0;
  }

  .header-inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .brand {
    min-width: 0;
    gap: 12px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

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

  .brand-copy span {
    display: none;
  }

  .nav {
    inset: 72px 12px auto 12px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 12px 14px;
    border: 1px solid rgba(88, 63, 23, 0.1);
    border-radius: 16px;
    background: rgba(255, 250, 241, 0.72);
  }

  .page-banner .button-row,
  .button-row {
    width: 100%;
  }

  .page-banner .button-row .button,
  .page-banner .button-row .button-secondary,
  .page-banner .button-row .button-ghost,
  .button-row .button,
  .button-row .button-secondary,
  .button-row .button-ghost {
    width: 100%;
    flex: 1 1 100%;
  }

  .page-banner,
  .card,
  .notice,
  .metric-card,
  .list-card,
  .doc-card,
  .article-card,
  .contact-card,
  .fact-card,
  .trust-panel,
  .doc-link-card,
  .partner-card {
    padding: 22px;
    border-radius: 20px;
  }

  .page-banner {
    padding: 24px;
  }

  .page-banner::after {
    right: -18px;
    bottom: -18px;
    width: 116px;
    height: 116px;
    opacity: 0.48;
  }

  .service-dock {
    padding: 14px;
    gap: 10px;
    border-radius: 20px;
  }

  .service-dock__item {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .faq-item summary {
    padding: 18px 54px 18px 18px;
  }

  .faq-item summary::after {
    right: 18px;
    top: 18px;
    width: 28px;
    height: 28px;
  }

  .faq-item-content {
    padding: 0 18px 18px;
  }

  .mobile-cta {
    display: grid;
    gap: 8px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    border-radius: 20px;
  }

  .mobile-cta a {
    min-height: 50px;
    font-size: 0.88rem;
  }

  main {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .topbar-inner,
  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .mobile-cta {
    grid-template-columns: 1fr;
  }
}
