:root {
  --ink: #17120e;
  --ink-soft: #241c14;
  --paper: #f5f2ec;
  --card: #ffffff;
  --text: #221c16;
  --text-on-ink: #f2eadd;
  --muted: #746858;
  --amber: #d98a2b;
  --amber-light: #e9a34e;
  --amber-deep: #9d5c15;
  --line: rgba(34, 28, 22, 0.14);
  --line-ink: rgba(242, 234, 221, 0.17);
  --display: "Fraunces", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --shadow: 0 18px 40px -32px rgba(23, 18, 14, 0.72);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--amber-light);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
}

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

.wrap {
  width: min(100% - 48px, 1060px);
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid var(--line-ink);
  background: var(--ink);
  color: var(--text-on-ink);
}

.topbar-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mini {
  font-family: var(--display);
  font-size: 1.23rem;
  font-weight: 600;
  text-decoration: none;
}

.brand-mini em {
  color: var(--amber-light);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a {
  color: #d8ccbd;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--amber-light);
}

.detail-hero {
  padding: 74px 0 78px;
  background:
    radial-gradient(circle at 84% 34%, rgba(217, 138, 43, 0.17), transparent 27%),
    linear-gradient(145deg, #17120e, #24170f);
  color: var(--text-on-ink);
}

.eyebrow {
  display: inline-block;
  color: var(--amber-light);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-hero h1 {
  max-width: 18ch;
  margin: 17px 0 18px;
  font-family: var(--display);
  font-size: clamp(2.55rem, 7vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.02;
}

.detail-hero .lead {
  max-width: 66ch;
  color: #e6ddcf;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--amber);
  color: #000000;
}

.button-primary:hover {
  background: var(--amber-light);
}

.button-ghost {
  border-color: rgba(242, 234, 221, 0.28);
  color: var(--text-on-ink);
}

.button-secondary {
  border-color: rgba(157, 92, 21, 0.32);
  background: #fffaf2;
  color: #000000;
}

.content {
  padding: 70px 0 84px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
  gap: 62px;
  align-items: start;
}

.content-block {
  margin-bottom: 48px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  margin-bottom: 15px;
  color: #000000;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

.content-block h3 {
  margin: 24px 0 9px;
  color: var(--amber-deep);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.content-block p {
  margin-bottom: 15px;
  color: #000000;
}

.content-block ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.content-block li {
  position: relative;
  padding-left: 22px;
  color: #000000;
}

.content-block li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.question-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.question-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 19px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--card);
  color: #000000;
  cursor: pointer;
}

.question-item input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--amber-deep);
}

.question-item strong,
.question-item small {
  display: block;
}

.question-item strong {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 1.08rem;
}

.question-item small {
  font-size: 0.93rem;
  line-height: 1.48;
}

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

.process-step {
  padding: 21px 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.process-step .number {
  display: block;
  margin-bottom: 7px;
  color: var(--amber-deep);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-step h3 {
  margin: 0 0 7px;
  color: #000000;
  font-family: var(--display);
  font-size: 1.18rem;
  letter-spacing: 0;
  text-transform: none;
}

.process-step p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.52;
}

.boundary {
  padding: 21px 22px;
  border-left: 4px solid var(--amber);
  background: #fbf1e0;
}

.boundary p:last-child {
  margin-bottom: 0;
}

.sidebar-card {
  position: sticky;
  top: 24px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.sidebar-card h2 {
  margin: 10px 0 11px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
}

.sidebar-card p {
  margin-bottom: 18px;
  color: #000000;
  font-size: 0.95rem;
  line-height: 1.55;
}

.sidebar-card .button {
  width: 100%;
}

.route-section {
  padding: 68px 0 76px;
  background: #eee9e1;
}

.route-section h2 {
  max-width: 28ch;
  margin: 12px 0 24px;
  color: #000000;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.18;
}

.route-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-link {
  padding: 23px 21px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: #000000;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.route-link:hover {
  border-color: rgba(157, 92, 21, 0.45);
}

.route-link span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber-deep);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-link strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.25;
}

.final-cta {
  padding: 70px 0 74px;
  background: var(--ink-soft);
  color: var(--text-on-ink);
  text-align: center;
}

.final-cta h2 {
  max-width: 24ch;
  margin: 12px auto 13px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  font-weight: 500;
  line-height: 1.18;
}

.final-cta p {
  max-width: 60ch;
  margin: 0 auto 24px;
  color: #d8ccbd;
}

footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--line-ink);
  background: var(--ink);
  color: #9e9284;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-align: center;
}

footer a {
  color: #c8bba9;
}

:focus-visible {
  outline: 3px solid var(--amber-light);
  outline-offset: 4px;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

@media (max-width: 820px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sidebar-card {
    position: static;
  }

  .route-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 36px, 1060px);
  }

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

  .nav-links a:first-child {
    display: none;
  }

  .detail-hero {
    padding: 58px 0 62px;
  }

  .hero-actions {
    display: grid;
  }

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

  .content {
    padding: 58px 0 66px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
