:root {
  color-scheme: dark;
  --ink: #f7f2e8;
  --muted: #c9c3b7;
  --soft: #f8efe0;
  --bg: #111514;
  --panel: #1c201c;
  --panel-2: #26231f;
  --line: rgba(248, 239, 224, 0.16);
  --coral: #f36b4f;
  --gold: #e7b852;
  --teal: #39c7b0;
  --green: #79b56d;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

code {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 7vw, 5.7rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.08rem;
}

main {
  background: linear-gradient(180deg, #111514 0%, #171916 44%, #111514 100%);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(248, 239, 224, 0.12);
  background: rgba(17, 21, 20, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(231, 184, 82, 0.5);
  border-radius: 8px;
  background: #211b15;
  color: var(--gold);
  font-size: 0.82rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.primary-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 0.72rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(57, 199, 176, 0.14);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, 82svh);
  overflow: hidden;
  padding: clamp(5rem, 10vh, 8rem) clamp(1rem, 5vw, 4rem) clamp(3.5rem, 8vh, 6rem);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 13, 12, 0.9), rgba(12, 13, 12, 0.45) 54%, rgba(12, 13, 12, 0.22)),
    linear-gradient(0deg, rgba(17, 21, 20, 0.94), rgba(17, 21, 20, 0.08) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-summary {
  max-width: 760px;
  margin-top: 1.15rem;
  color: var(--soft);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  background: var(--coral);
  color: #1b100d;
}

.button.ghost {
  border-color: rgba(248, 239, 224, 0.38);
  background: rgba(248, 239, 224, 0.08);
  color: var(--ink);
}

.button.full {
  width: 100%;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section,
.answer-box {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 5rem) 0;
}

.answer-box {
  display: grid;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.answer-box p {
  max-width: 940px;
  color: var(--soft);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-heading > a,
.text-link {
  color: var(--gold);
  font-weight: 800;
}

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

.info-card,
.mini-card,
.check-panel,
.process-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.info-card {
  overflow: hidden;
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1f1d18;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.card-body p {
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: start;
}

.split h2,
.split h3 {
  margin-bottom: 0.85rem;
}

.split h3 {
  margin-top: 1.5rem;
}

.check-panel,
.process-panel,
.contact-panel {
  padding: clamp(1rem, 3vw, 1.4rem);
  background: var(--panel-2);
}

.check-list,
.tag-list,
.step-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.check-list li,
.step-list li {
  margin: 0.45rem 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.45rem 0.68rem;
  border: 1px solid rgba(57, 199, 176, 0.28);
  border-radius: 8px;
  background: rgba(57, 199, 176, 0.08);
  color: var(--soft);
}

.step-list {
  counter-reset: step;
  padding-left: 0;
  list-style: none;
}

.step-list li {
  position: relative;
  min-height: 36px;
  padding-left: 2.45rem;
}

.step-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(243, 107, 79, 0.18);
  color: var(--coral);
  font-weight: 900;
  content: counter(step);
  counter-increment: step;
}

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

.mini-card {
  display: grid;
  gap: 0.5rem;
  min-height: 148px;
  padding: 1rem;
}

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

.mini-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 239, 224, 0.045);
}

summary {
  cursor: pointer;
  padding: 1rem;
  color: var(--ink);
  font-weight: 800;
}

details p {
  padding: 0 1rem 1rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--panel);
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold);
  font-size: 0.9rem;
}

td {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  gap: 1.25rem;
  align-items: start;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: #0f1110;
}

.site-footer nav,
.social-links {
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer small,
.social-links span {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }

  .primary-nav {
    padding-bottom: 0.15rem;
  }

  .hero {
    min-height: 78svh;
    padding-top: 4.5rem;
  }

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

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

@media (max-width: 620px) {
  .card-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-summary,
  .answer-box p {
    font-size: 1rem;
  }
}
