:root {
  --ink: #15171a;
  --muted: #5f646b;
  --paper: #f5f1ea;
  --surface: #fffaf2;
  --line: #d9d1c4;
  --forest: #213f3e;
  --copper: #8f4f52;
  --blue: #496a73;
  --panel: #ebe4d8;
  --soft: #f8f5ef;
  --shadow: 0 24px 70px rgba(21, 23, 26, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(73, 106, 115, 0.08), transparent 360px),
    var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(73, 106, 115, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 106, 115, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 52px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(245, 241, 234, 0.94);
  border-bottom: 1px solid rgba(21, 23, 26, 0.1);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.94rem;
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.nav-contact {
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 8px 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 14, 16, 0.82), rgba(18, 23, 25, 0.38) 50%, rgba(18, 23, 25, 0.16)),
    linear-gradient(0deg, rgba(12, 14, 16, 0.48), rgba(12, 14, 16, 0.02) 46%);
}

.hero-content {
  position: relative;
  width: min(820px, calc(100% - 40px));
  padding: 150px 0 96px;
  margin-left: clamp(20px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
}

.hero .eyebrow {
  color: #e0c0b8;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.92;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: 750;
}

.button.primary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(224, 192, 184, 0.56);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: #fff;
}

.section {
  padding: clamp(62px, 8vw, 112px) clamp(20px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: grid;
  gap: 2px;
  width: min(760px, 100%);
  margin-bottom: clamp(28px, 4vw, 42px);
}

.section-title h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(21, 23, 26, 0.08);
}

.focus-item {
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
}

.item-number {
  display: block;
  margin-bottom: 30px;
  color: var(--blue);
  font-weight: 850;
}

.focus-item h3,
.approach-list h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.focus-item p,
.journey-map p,
.note-row p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.nca {
  background: var(--panel);
}

.journey-map {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(380px, 1.22fr);
  background: rgba(21, 23, 26, 0.13);
  border: 1px solid rgba(21, 23, 26, 0.13);
  box-shadow: 0 18px 54px rgba(21, 23, 26, 0.08);
}

.journey-intro {
  display: grid;
  align-content: center;
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--forest);
}

.journey-intro p {
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2vw, 1.82rem);
  line-height: 1.25;
}

.journey-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--soft);
}

.journey-steps::before {
  content: "";
  position: absolute;
  top: 52px;
  bottom: 52px;
  left: 50px;
  width: 1px;
  background: var(--line);
}

.journey-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.journey-steps li:last-child {
  border-bottom: 0;
}

.journey-marker {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--blue);
  background: var(--soft);
  color: var(--blue);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 850;
}

.journey-steps h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.note-row span,
.article-meta {
  color: var(--copper);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.note-row:hover h2,
.note-row:focus-visible h2,
.text-link:hover,
.text-link:focus-visible {
  color: var(--blue);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 800;
}

.notes-page,
.article-page {
  padding-top: 86px;
}

.article-hero {
  padding: clamp(62px, 9vw, 120px) clamp(20px, 7vw, 96px) clamp(36px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  width: min(960px, 100%);
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.96;
}

.article-hero p:last-child {
  width: min(760px, 100%);
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.notes-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.note-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.3fr) minmax(280px, 0.9fr) minmax(220px, 0.65fr);
  gap: 24px;
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}

.note-row h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2.7rem);
  line-height: 1;
}

.article {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.article-wide {
  width: min(980px, calc(100% - 40px));
}

.article h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.article-meta {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.article p:not(.eyebrow):not(.article-meta) {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.7vw, 1.42rem);
  line-height: 1.58;
}

.article p + p {
  margin-top: 1.2em;
}

.article h2 {
  margin: clamp(42px, 6vw, 66px) 0 16px;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.06;
}

.article a {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
}

.section-link {
  margin-top: clamp(22px, 3vw, 34px);
}

.process-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: clamp(38px, 6vw, 68px) 0;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 18px 54px rgba(21, 23, 26, 0.08);
}

.graph-intro {
  display: grid;
  align-content: center;
  min-height: 220px;
  padding: clamp(24px, 3.5vw, 38px);
  background: var(--forest);
}

.process-visual h2 {
  margin: 0 0 18px;
  color: #fff;
}

.article .graph-intro p:last-child {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.licensing-graph {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  background: var(--surface);
}

.graph-map,
.graph-detail {
  background:
    linear-gradient(rgba(73, 106, 115, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 106, 115, 0.045) 1px, transparent 1px),
    var(--surface);
  background-size: 30px 30px;
}

.graph-map {
  display: grid;
  justify-items: center;
  padding: clamp(20px, 3vw, 34px);
}

.graph-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.graph-branch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  width: 100%;
  padding: 18px 0;
}

.graph-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(73, 106, 115, 0.34);
}

.graph-branch-two {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  width: min(520px, 100%);
}

.graph-branch-three {
  grid-template-columns: repeat(3, minmax(130px, 1fr));
}

.graph-connector {
  width: 1px;
  height: 24px;
  background: rgba(73, 106, 115, 0.45);
}

.graph-connector-branch,
.graph-connector-merge {
  height: 30px;
}

.graph-node {
  position: relative;
  display: grid;
  gap: 6px;
  width: min(330px, 100%);
  min-height: 116px;
  border: 1px solid rgba(73, 106, 115, 0.32);
  border-radius: 4px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 12px 32px rgba(21, 23, 26, 0.08);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.graph-node:hover,
.graph-node:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 18px 42px rgba(21, 23, 26, 0.12);
}

.graph-node:focus-visible {
  outline: 3px solid rgba(143, 79, 82, 0.22);
  outline-offset: 3px;
}

.graph-node.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
  box-shadow: 0 22px 48px rgba(33, 63, 62, 0.22);
}

.graph-node span {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-width: 36px;
  height: 28px;
  border: 1px solid currentColor;
  padding: 0 7px;
  color: var(--blue);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 850;
}

.graph-node.is-active span {
  color: #e0c0b8;
}

.graph-node strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.15;
}

.graph-node small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.graph-node.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.graph-node-small {
  min-height: 142px;
  padding: 13px;
}

.graph-node-small strong {
  font-size: 0.9rem;
}

.graph-node-finish {
  border-color: rgba(143, 79, 82, 0.5);
}

.graph-detail {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 18px;
  min-height: 430px;
  border-left: 1px solid var(--line);
  padding: clamp(22px, 3vw, 32px);
}

.graph-detail h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.graph-detail > p:not(.eyebrow) {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.5;
}

.graph-detail-grid {
  display: grid;
  gap: 18px;
}

.graph-detail h4 {
  margin: 0 0 8px;
  color: var(--copper);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.graph-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1rem;
}

.graph-detail li {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.graph-links {
  padding-top: 4px;
}

.graph-links a {
  color: var(--blue);
  font-weight: 760;
  text-decoration: none;
  border-bottom: 1px solid rgba(73, 106, 115, 0.42);
}

.graph-links a:hover,
.graph-links a:focus-visible {
  color: var(--copper);
  border-bottom-color: currentColor;
}

.tip-summary {
  margin: clamp(30px, 5vw, 48px) 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(73, 106, 115, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 106, 115, 0.06) 1px, transparent 1px),
    var(--surface);
  background-size: 34px 34px;
  box-shadow: 0 18px 54px rgba(21, 23, 26, 0.08);
}

.tip-summary h2 {
  margin-bottom: 18px;
  color: var(--copper);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tip-summary ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.15rem;
}

.tip-summary li {
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
}

.source-list li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.route-advisor,
.timeline-section,
.comparison-section,
.checklist-section,
.mistakes-section,
.budget-section,
.personal-note {
  margin: clamp(34px, 5vw, 58px) 0;
}

.route-advisor {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 18px 54px rgba(21, 23, 26, 0.08);
}

.route-advisor > div {
  padding: clamp(20px, 3vw, 32px);
  background:
    linear-gradient(rgba(73, 106, 115, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 106, 115, 0.045) 1px, transparent 1px),
    var(--surface);
  background-size: 30px 30px;
}

.route-advisor h2,
.timeline-section h2,
.comparison-section h2,
.checklist-section h2,
.mistakes-section h2,
.budget-section h2,
.personal-note h2 {
  margin: 0 0 14px;
}

.route-advisor p,
.timeline-section > p,
.budget-section > p,
.personal-note p {
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.route-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.route-tabs button {
  min-height: 48px;
  border: 1px solid rgba(73, 106, 115, 0.28);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.92);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.route-tabs button:hover,
.route-tabs button:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(73, 106, 115, 0.16);
  outline-offset: 2px;
}

.route-tabs button.is-active {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.route-answer {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.route-answer h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.route-answer a,
.download-link {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(73, 106, 115, 0.34);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--blue);
  background: rgba(255, 250, 242, 0.9);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.route-answer a:hover,
.route-answer a:focus-visible,
.download-link:hover,
.download-link:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.timeline-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.timeline-band li {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 18px;
  background: var(--surface);
}

.timeline-band span,
.mistake-grid span {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-width: 34px;
  height: 26px;
  border: 1px solid currentColor;
  padding: 0 7px;
  color: var(--blue);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 850;
}

.timeline-band strong {
  font-size: 1rem;
  line-height: 1.15;
}

.timeline-band p,
.mistake-grid p {
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.93rem;
  line-height: 1.45;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.checklist-grid label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 68px;
  padding: 16px;
  color: var(--ink);
  background: var(--surface);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.96rem;
  line-height: 1.35;
}

.checklist-grid input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--forest);
}

.mistake-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.mistake-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 18px;
  background: var(--surface);
}

.mistake-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.08;
}

.comparison-table,
.budget-table {
  display: grid;
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.comparison-table [role="row"],
.budget-table [role="row"] {
  display: grid;
  gap: 1px;
}

.comparison-table [role="row"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.budget-table [role="row"] {
  grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1.35fr) minmax(150px, 0.85fr);
}

.comparison-table [role="columnheader"],
.budget-table [role="columnheader"] {
  color: #fff;
  background: var(--forest);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-table [role="cell"],
.budget-table [role="cell"],
.comparison-table [role="columnheader"],
.budget-table [role="columnheader"] {
  padding: 16px;
}

.comparison-table [role="cell"],
.budget-table [role="cell"] {
  color: var(--ink);
  background: var(--surface);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.96rem;
  line-height: 1.5;
}

.budget-table a {
  color: var(--blue);
  font-weight: 800;
}

.personal-note {
  padding: clamp(22px, 3vw, 34px);
  border-left: 4px solid var(--copper);
  background:
    linear-gradient(rgba(143, 79, 82, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 79, 82, 0.055) 1px, transparent 1px),
    var(--surface);
  background-size: 32px 32px;
}

.personal-note p:last-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(24px, 4vw, 38px) 0;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 18px 54px rgba(21, 23, 26, 0.08);
}

.resource-grid a {
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: clamp(20px, 2.5vw, 28px);
  border-bottom: 0;
  color: var(--ink);
  background: var(--surface);
}

.resource-grid a:hover,
.resource-grid a:focus-visible {
  color: var(--blue);
}

.resource-grid span {
  color: var(--copper);
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.05;
}

.resource-grid p {
  margin: 0;
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
}

.article-disclaimer {
  margin-top: clamp(34px, 5vw, 54px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(38px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-nav a {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 14px;
  font-weight: 800;
}

.article-nav a:hover,
.article-nav a:focus-visible {
  color: var(--blue);
}

.contact {
  background: var(--surface);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(21, 23, 26, 0.08);
}

.contact-form,
.contact-card {
  background: var(--surface);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row:nth-child(4),
.form-actions {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "SF Mono", "Roboto Mono", ui-monospace, monospace;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
}

.form-row textarea {
  resize: vertical;
  min-height: 138px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(73, 106, 115, 0.24);
  border-color: var(--blue);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-form .button.primary {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.contact-card {
  display: grid;
  align-content: space-between;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
}

.contact-card span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin: 44px 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.contact-card:hover strong,
.contact-card:focus-visible strong,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 7vw, 96px);
  color: rgba(21, 23, 26, 0.76);
  background: var(--paper);
}

.footer p {
  margin-bottom: 0;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin-left: 20px;
    padding-bottom: 68px;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 6rem);
  }

  .focus-grid,
  .journey-map,
  .contact-panel,
  .note-row,
  .route-advisor,
  .resource-grid,
  .process-visual {
    grid-template-columns: 1fr;
  }

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

  .comparison-table [role="row"],
  .budget-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .licensing-graph {
    grid-template-columns: 1fr;
  }

  .graph-detail {
    position: static;
    width: 100%;
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .graph-branch,
  .graph-branch-two,
  .graph-branch-three {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .graph-branch::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
  }

  .graph-node,
  .graph-node-small {
    z-index: 1;
    width: 100%;
    min-height: auto;
  }

  .focus-item {
    min-height: auto;
  }

  .item-number {
    margin-bottom: 22px;
  }

  .journey-intro,
  .contact-card {
    min-height: auto;
  }

  .journey-steps::before {
    left: 42px;
  }

  .journey-steps li {
    grid-template-columns: 52px 1fr;
  }

}

@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-bottom: 0;
  }

  .nav-contact {
    padding: 7px 12px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 18, 24, 0.88), rgba(10, 18, 24, 0.58)),
      linear-gradient(0deg, rgba(10, 18, 24, 0.6), rgba(10, 18, 24, 0.04));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .route-tabs,
  .timeline-band,
  .checklist-grid,
  .mistake-grid {
    grid-template-columns: 1fr;
  }

  .route-answer a,
  .download-link {
    width: 100%;
    text-align: center;
  }

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

  .timeline-band li,
  .mistake-grid article {
    min-height: auto;
  }

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

  .form-actions {
    align-items: stretch;
  }

  .footer {
    flex-direction: column;
  }
}
