:root {
  --bg: #0d131b;
  --bg-deep: #0a0f15;
  --surface: rgba(250, 246, 239, 0.94);
  --surface-soft: rgba(255, 251, 246, 0.84);
  --surface-line: rgba(124, 97, 58, 0.2);
  --ink: #171b23;
  --muted: #5f6472;
  --hero-ink: #f6f1e8;
  --hero-muted: rgba(246, 241, 232, 0.78);
  --gold: #c8a66d;
  --gold-deep: #8d6b3e;
  --navy: #1d2d43;
  --shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.22);
  --shadow-deep: 0 42px 120px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(200, 166, 109, 0.18), transparent 22rem),
    radial-gradient(circle at top right, rgba(60, 88, 128, 0.24), transparent 24rem),
    radial-gradient(circle at bottom left, rgba(200, 166, 109, 0.08), transparent 26rem),
    linear-gradient(180deg, #111823 0%, var(--bg) 42%, var(--bg-deep) 100%);
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", "PingFang SC", "Hiragino Sans GB", serif;
  line-height: 1.72;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

p,
li {
  font-size: 1rem;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

.site-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.landing-page .site-shell {
  padding-top: 52px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-block {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 28px;
  padding: 44px;
  border-radius: 36px;
  color: var(--hero-ink);
  background:
    linear-gradient(135deg, rgba(18, 26, 38, 0.96), rgba(29, 45, 67, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  border: 1px solid rgba(200, 166, 109, 0.22);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

.hero-block::before,
.document-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 20%, rgba(200, 166, 109, 0.16), transparent 22rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.hero-copy,
.hero-note,
.document-hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.document-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 1.02;
}

.hero-lead,
.document-summary,
.note-text {
  color: var(--hero-muted);
}

.hero-lead {
  max-width: 42rem;
  margin: 22px 0 0;
  font-size: 1.12rem;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--hero-ink);
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero-strip-compact {
  margin-top: 18px;
}

.hero-strip-compact span {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.76rem;
}

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

.primary-link,
.secondary-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
  font-weight: 600;
}

.primary-link {
  color: #1a2230;
  background: linear-gradient(135deg, #f1ddba, #c8a66d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.secondary-link,
.inline-link {
  color: var(--hero-ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.hero-note {
  align-self: end;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.note-label,
.feature-kicker,
.aside-title {
  margin-bottom: 10px;
  color: var(--gold-deep);
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.intro-grid-secondary {
  margin-top: 20px;
}

.feature-panel,
.route-panel,
.aside-card,
.document-body,
.document-nav {
  border: 1px solid var(--surface-line);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), var(--surface));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.feature-panel,
.route-panel {
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.feature-panel::before,
.route-panel::before,
.aside-card::before,
.document-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 166, 109, 0.7), transparent);
  pointer-events: none;
}

.feature-panel h2,
.route-panel h2,
.document-body h2 {
  margin-bottom: 14px;
  font-size: 1.56rem;
}

.feature-panel p:last-child,
.route-panel p:last-child,
.document-section p:last-child,
.document-section ul:last-child {
  margin-bottom: 0;
}

.route-panel {
  margin-top: 20px;
}

.feature-panel p,
.route-panel p,
.document-body p,
.document-body li,
.aside-text,
.aside-list {
  color: var(--muted);
}

.route-list,
.legal-list,
.aside-list {
  margin: 0;
  padding-left: 1.15rem;
}

.route-list li,
.legal-list li,
.aside-list li {
  margin-bottom: 0.7rem;
}

.route-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
}

.document-shell {
  padding-top: 24px;
}

.document-nav {
  display: inline-flex;
  gap: 18px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
  position: sticky;
  top: 16px;
  z-index: 10;
}

.document-nav a {
  text-decoration: none;
  color: var(--ink);
}

.document-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 34px 36px;
  border-radius: 32px;
  color: var(--hero-ink);
  background:
    linear-gradient(135deg, rgba(18, 26, 38, 0.96), rgba(29, 45, 67, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  border: 1px solid rgba(200, 166, 109, 0.22);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

.policy-meta {
  margin-bottom: 0;
  color: var(--hero-muted);
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
  font-size: 0.9rem;
}

.meta-stack {
  align-self: end;
}

.document-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  margin-top: 20px;
}

.document-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-card {
  padding: 22px 20px;
  border-radius: 26px;
  position: sticky;
  top: 18px;
  overflow: hidden;
}

.aside-card + .aside-card {
  position: static;
}

.aside-text,
.aside-list {
  margin-bottom: 0;
  color: var(--muted);
}

.document-body {
  border-radius: 30px;
  padding: 30px 32px;
  position: relative;
  overflow: hidden;
}

.document-section + .document-section {
  margin-top: 30px;
}

.document-section {
  position: relative;
  padding-left: 20px;
}

.document-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d9bc8a, #a67d46);
  box-shadow: 0 0 0 6px rgba(200, 166, 109, 0.08);
}

.legal-block + .legal-block {
  margin-top: 28px;
}

.legal-block {
  padding-top: 4px;
  border-top: 1px solid rgba(29, 45, 67, 0.1);
}

.legal-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-block h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 0 4px;
  color: rgba(246, 241, 232, 0.72);
  font-family: "SF Pro Display", "PingFang SC", sans-serif;
  font-size: 0.86rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer-light {
  color: rgba(246, 241, 232, 0.72);
}

@media (max-width: 960px) {
  .hero-block,
  .document-hero,
  .document-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .aside-card,
  .aside-card + .aside-card {
    position: static;
  }
}

@media (max-width: 920px) {
  .site-shell {
    width: min(100vw - 28px, 1180px);
    padding-bottom: 48px;
  }

  .hero-block,
  .document-hero,
  .document-body,
  .feature-panel,
  .route-panel,
  .aside-card {
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100vw - 20px, 1180px);
  }

  .hero-block,
  .document-hero,
  .document-body,
  .feature-panel,
  .route-panel,
  .aside-card {
    padding: 22px;
  }

  .document-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

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

  .primary-link,
  .secondary-link,
  .inline-link {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
