:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0d1118;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --border: rgba(255, 255, 255, 0.16);
  --text: #fff8e8;
  --muted: #d4cec2;
  --soft: #9ba4b5;
  --accent: #d8b871;
  --accent-2: #78dcca;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: "Aptos", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(216, 184, 113, 0.15), transparent 26rem),
    radial-gradient(circle at 82% 12%, rgba(120, 220, 202, 0.12), transparent 24rem),
    linear-gradient(145deg, #050608 0%, #0d1118 48%, #07090d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.page-shell {
  width: min(100%, var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 18px 30px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 13, 19, 0.72);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 184, 113, 0.5);
  border-radius: 7px;
  color: #111317;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff2bf, #c3923d);
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a,
.secondary-action {
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.secondary-action:hover {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(42px, 8vh, 78px) 0 40px;
}

.hero h1,
.section-heading h1,
.section-heading h2,
.legal-page h1 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 82px);
}

.hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 23px);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 50px;
  font-size: 15px;
  font-weight: 800;
}

.primary-action {
  border: 1px solid rgba(216, 184, 113, 0.72);
  border-radius: 7px;
  color: #111317;
  background: linear-gradient(135deg, #ffe8a5, #c99642);
  box-shadow: 0 16px 52px rgba(216, 184, 113, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(216, 184, 113, 0.27);
}

.glass-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(8, 11, 16, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel {
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.065)),
    rgba(8, 11, 16, 0.82);
}

.panel-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.panel-line span,
.doc-version,
.muted {
  color: var(--soft);
}

.panel-line strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  text-align: right;
}

.panel-note {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(120, 220, 202, 0.22);
  border-radius: 7px;
  color: #d9fff8;
  font-weight: 650;
  background: rgba(120, 220, 202, 0.08);
}

.nowrap {
  white-space: nowrap;
}

.content-band {
  padding: 22px 0 80px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h1,
.section-heading h2,
.legal-page h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.steps article,
.contact-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.steps span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.steps h3,
.contact-card h2,
.legal-page h2 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.steps p,
.contact-card dd,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page {
  max-width: 900px;
  margin: 54px auto 78px;
  padding: clamp(22px, 5vw, 52px);
}

.legal-page h2 {
  margin-top: 34px;
}

.legal-page a,
.site-footer a,
.contact-card a {
  color: #ffe1a0;
  text-decoration: underline;
  text-decoration-color: rgba(255, 225, 160, 0.35);
  text-underline-offset: 4px;
}

.legal-page ul {
  padding-left: 22px;
}

.contact-page {
  padding: 56px 0 78px;
}

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

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-card dt {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 4px 0 0;
  word-break: break-word;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 22px 0 4px;
  color: var(--soft);
  font-size: 14px;
}

.reveal {
  animation: reveal 680ms ease both;
}

.delay-1 {
  animation-delay: 110ms;
}

.delay-2 {
  animation-delay: 220ms;
}

@keyframes reveal {
  from {
    transform: translateY(14px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding-inline: 14px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 32px;
  }

  .hero-panel {
    display: none;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .nav-links a {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .hero-actions a {
    width: 100%;
  }

  .panel-line {
    padding: 11px 0;
  }

  .panel-line strong {
    font-size: 16px;
  }

  .panel-note {
    margin-top: 12px;
    padding: 12px;
  }
}
