:root {
  color-scheme: light;
  --ink: #222222;
  --ink-muted: #3f3f3f;
  --ink-soft: #6a6a6a;
  --canvas: #ffffff;
  --page: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-strong: #f2f2f2;
  --line: #dddddd;
  --line-soft: #ebebeb;
  --brand: #ff385c;
  --brand-active: #e00b41;
  --brand-soft: #fff1f3;
  --error: #c13515;
  --blue: #ff385c;
  --blue-soft: #fff1f3;
  --blue-strong: #e00b41;
  --teal: #222222;
  --teal-soft: #f7f7f7;
  --amber: #6a6a6a;
  --amber-soft: #f7f7f7;
  --rose: #ff385c;
  --rose-soft: #fff1f3;
  --violet: #92174d;
  --violet-soft: #f7f7f7;
  --lime: #222222;
  --lime-soft: #f7f7f7;
  --color-muted: var(--ink-soft);
  --shadow-soft: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: var(--shadow-soft);
  --radius: 8px;
  --page-width: 1180px;
  --content-width: 920px;
  --font-sans: "Airbnb Cereal VF", Circular, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-cjk: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", "Noto Sans CJK TC", "Noto Sans CJK SC", "Noto Sans", sans-serif;
  --font-ja: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --font-ko: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
  --font-th: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans Thai", "Thonburi", Tahoma, Arial, sans-serif;
  --font-ar: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-mono: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

:lang(ar) body {
  font-family: var(--font-ar);
}

:lang(ja) body {
  font-family: var(--font-ja);
}

:lang(ko) body {
  font-family: var(--font-ko);
}

:lang(th) body {
  font-family: var(--font-th);
}

:lang(zh) body,
:lang(zh-Hans) body,
:lang(zh-Hant) body,
:lang(zh-CN) body,
:lang(zh-TW) body {
  font-family: var(--font-cjk);
}

img {
  max-width: 100%;
}

a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-active);
  text-decoration: underline;
}

main :where(a:not(.map-card-media):not(.map-card-link):not(.card-action)) {
  color: var(--ink);
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  background: transparent;
}

main :where(a:not(.map-card-media):not(.map-card-link):not(.card-action):hover) {
  color: var(--brand-active);
  background: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 56, 92, 0.24);
  outline-offset: 3px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: var(--page-width);
  min-height: 72px;
  margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 40px);
  overflow: visible;
  white-space: normal;
}

header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 10px 13px;
  color: var(--ink-muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

header nav a:first-child {
  color: var(--brand);
  background: transparent;
  border-color: transparent;
  font-size: 16px;
  font-weight: 800;
}

header nav a.is-active {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line-soft);
  box-shadow: none;
}

header nav a:hover {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line-soft);
  text-decoration: none;
}

main {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px) 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin: 0 auto 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  text-align: center;
  overflow-wrap: anywhere;
}

h1 + p,
.page-hero > p:not(.eyebrow):not(.meta-row) {
  max-width: 820px;
  margin: 0 auto 16px;
  color: var(--ink-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  text-align: center;
}

h2 {
  position: relative;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

h2::after {
  content: none;
}

h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

strong {
  color: var(--ink);
  font-weight: 800;
}

small,
time {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

main > h1:first-child,
main > p:first-child + h1,
main > h1:first-child + p {
  text-align: center;
}

main > h2,
main > h3,
main > p,
main > ul,
main > ol,
main > dl,
main > article,
main > .tier-table {
  max-width: var(--content-width);
  margin-inline: auto;
}

main > h2 {
  margin-top: 56px;
}

main > h3 {
  margin-top: 28px;
}

main > p {
  font-size: 17px;
}

main > p:last-child {
  color: var(--ink-soft);
  text-align: center;
}

.home-hero,
.page-hero {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  padding: clamp(26px, 5vw, 48px) 0;
  overflow: hidden;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-map-hero {
  max-width: 1120px;
  text-align: left;
}

.home-map-hero h1,
.home-map-hero .home-hero-summary {
  text-align: center;
}

.home-map-panel {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  scroll-margin-top: 92px;
}

.home-map-panel h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  text-align: center;
}

.home-map-panel > p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}

.home-map-frame {
  width: 100%;
  margin: 6px 0 0;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.home-map-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero {
  max-width: 940px;
}

.page-hero > p:not(.eyebrow):not(.meta-row) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.eyebrow {
  justify-self: center;
  width: fit-content;
  margin: 0;
  padding: 5px 10px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero-summary {
  display: -webkit-box;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--ink-muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

main .home-hero-actions a,
main > p > a:only-child,
main section > p > a:only-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

main .home-hero-actions a:hover,
main > p > a:only-child:hover,
main section > p > a:only-child:hover {
  color: #ffffff;
  background: var(--brand);
  text-decoration: none;
  transform: translateY(-1px);
}

main > section {
  width: min(100%, var(--page-width));
  margin: clamp(28px, 5vw, 56px) auto 0;
  padding: clamp(28px, 5vw, 48px) 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  box-shadow: none;
}

main > section:nth-of-type(3n + 1) {
  background: transparent;
}

main > section:nth-of-type(3n + 2) {
  background: transparent;
}

main > section:nth-of-type(3n) {
  background: transparent;
}

main > section.content-block-section {
  background: transparent;
  border-inline-start: 0;
}

main > section > * {
  max-width: var(--content-width);
  margin-inline: auto;
}

main > section > .card-grid,
main > section > .home-hub-grid,
main > section > .home-task-grid,
main > section > .code-list,
main > section > .tier-summary,
main > section > .tier-table {
  max-width: none;
}

main > article {
  padding: clamp(22px, 4vw, 32px);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.ad-wrapper {
  display: grid;
  width: min(100%, 760px);
  min-height: 250px;
  place-items: center;
  margin: 30px auto;
  padding: 12px;
  clear: both;
  text-align: center;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.ad-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.adsbygoogle {
  width: 100%;
  min-height: 220px;
}

.section-intro {
  max-width: 820px;
  margin: 0 auto 22px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.58;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 20px;
  padding-inline-start: 0;
  list-style: none;
}

main li {
  min-width: 0;
}

main ul:not(.card-grid):not(.home-hub-grid):not(.home-task-grid) > li,
main ol > li {
  position: relative;
  margin: 10px 0;
  padding: 12px 0;
  padding-inline-start: 42px;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  box-shadow: none;
  overflow-wrap: anywhere;
}

main ul:not(.card-grid):not(.home-hub-grid):not(.home-task-grid) > li::before {
  content: "";
  position: absolute;
  top: 23px;
  inset-inline-start: 18px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: none;
}

ol {
  counter-reset: step;
}

main ol > li {
  counter-increment: step;
  padding-inline-start: 58px;
}

main ol > li::before {
  content: counter(step);
  position: absolute;
  top: 12px;
  inset-inline-start: 14px;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
}

section > ul:last-child,
section > ol:last-child,
section > p:last-child,
article > p:last-child {
  margin-bottom: 0;
}

dl,
.quick-facts-list {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
  gap: 0;
  margin: 0 0 22px;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

dt,
dd,
.quick-facts-list dt,
.quick-facts-list dd {
  min-width: 0;
  margin: 0;
  padding: 13px 16px;
  background: transparent;
  border-bottom: 1px solid var(--line-soft);
  overflow-wrap: anywhere;
}

dt,
.quick-facts-list dt {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

dd,
.quick-facts-list dd {
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.42;
}

dt:nth-last-child(2),
dd:last-child,
.quick-facts-list dt:nth-last-child(2),
.quick-facts-list dd:last-child {
  border-bottom: 0;
}

.entity-overview-section {
  padding-top: clamp(30px, 5vw, 48px);
}

.entity-overview {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-width: 0;
}

.entity-overview > div:only-child {
  grid-column: 1 / -1;
}

.entity-media {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

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

.entity-media:hover,
.entity-media:focus-within {
  border-color: transparent;
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.finder-panel {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
}

.finder-search-label {
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.finder-help {
  margin: -8px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

.finder-search,
.finder-filter-grid select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
}

.finder-search:focus,
.finder-filter-grid select:focus {
  border-color: var(--ink);
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.finder-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}

.finder-filter-grid label {
  display: grid;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
}

.finder-count,
.finder-empty {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.finder-empty {
  color: var(--error);
  font-weight: 600;
}

.card-grid,
.home-hub-grid,
.home-task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 238px), 1fr));
  gap: 18px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.home-hub-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.home-task-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.card-grid > li,
.home-hub-grid > li,
.home-task-grid > li {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.card-grid > li::before,
.home-hub-grid > li::before,
.home-task-grid > li::before {
  display: none;
}

.map-card,
.code-card,
.tier-summary-item {
  position: relative;
  min-width: 0;
  isolation: isolate;
  background: var(--canvas);
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.map-card {
  display: grid;
  gap: 9px;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.map-card:not(:has(.map-card-media)) {
  padding: 16px;
  border: 1px solid var(--line-soft);
}

.home-task-card {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
}

.home-task-title {
  margin: 0;
  font-size: clamp(19px, 2vw, 23px);
}

.map-card::before,
.code-card::before {
  content: none;
}

.map-card::after,
.code-card::after {
  content: none;
}

.map-card:hover,
.code-card:hover,
.tier-summary-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.map-card:focus-within,
.code-card:focus-within,
.tier-summary-item:focus-within {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.map-card-feature {
  max-width: 760px;
}

.map-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
  border: 0;
  border-radius: var(--radius);
}

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

.map-card:hover .map-card-media,
.map-card:focus-within .map-card-media {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.map-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #1c2f48;
  background:
    linear-gradient(135deg, rgba(255, 56, 92, 0.12), transparent 42%),
    var(--surface-soft);
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
}

.entity-placeholder {
  min-height: 100%;
  font-size: 52px;
}

.map-card-title {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.section-label {
  margin: 1.4rem 0 .75rem;
  color: var(--color-muted);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-card .map-card-title a {
  display: inline;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  margin-inline-start: 0;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.map-card .map-card-title a::after {
  content: none;
}

.map-card .map-card-title a:hover {
  color: var(--brand-active);
  background: transparent;
  text-decoration: none;
}

.card-action-row {
  margin: auto 0 0;
  padding-top: 6px;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.card-action::after {
  content: none;
}

.card-action:hover {
  color: #ffffff;
  background: var(--brand-active);
  border-color: var(--brand-active);
  box-shadow: none;
  text-decoration: none;
  transform: none;
}

.step-list {
  display: grid;
  gap: 12px;
  padding-inline-start: 24px;
}

.step-list li {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.step-list li:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.map-card .map-card-title a:hover::after {
  color: #ffffff;
  transform: translateX(2px);
}

html[dir="rtl"] .map-card .map-card-title a::after,
html[dir="rtl"] .card-action::after {
  content: "<";
}

html[dir="rtl"] .map-card .map-card-title a:hover::after {
  transform: translateX(-2px);
}

.map-card-summary {
  min-width: 0;
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.43;
  overflow-wrap: anywhere;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  min-width: 0;
  margin: 0;
}

.page-hero .meta-row {
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  padding: 4px 9px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.badge-muted {
  color: var(--ink-soft);
  background: var(--surface-soft);
  border-color: var(--line-soft);
}

.meta-row .badge:nth-child(3n + 1) {
  color: var(--ink);
  background: var(--canvas);
  border-color: var(--line);
}

.meta-row .badge:nth-child(3n + 2) {
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line-soft);
}

.meta-row .badge:nth-child(3n) {
  color: var(--brand-active);
  background: var(--brand-soft);
  border-color: transparent;
}

.code-list {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.code-card {
  display: grid;
  gap: 9px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.code-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.code-value {
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.code-reward {
  min-width: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.code-meta {
  color: var(--ink-soft);
}

.code-note {
  max-width: 820px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.copy-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--brand);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.copy-button:hover {
  background: var(--brand-active);
  transform: none;
}

.tier-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.tier-summary-item {
  padding: 16px;
  background: var(--canvas);
  border: 1px solid var(--line);
}

.tier-summary-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 26px;
  line-height: 1;
}

.tier-table {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.tier-row {
  display: grid;
  grid-template-columns: minmax(70px, 0.7fr) minmax(150px, 1.2fr) minmax(0, 3fr);
  gap: 0;
  border-bottom: 1px solid var(--line-soft);
}

.tier-row:last-child {
  border-bottom: 0;
}

.tier-row > span {
  min-width: 0;
  padding: 14px 16px;
  color: var(--ink-muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tier-row > span:first-child,
.tier-row > span:nth-child(2) {
  color: #1c2f48;
  font-weight: 800;
}

.tier-head > span {
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}

.tier-row:not(.tier-head):hover {
  background: var(--surface-soft);
  transform: translateY(-1px);
}

footer {
  margin-top: clamp(56px, 8vw, 86px);
  color: var(--ink-muted);
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

footer section,
footer nav {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 30px clamp(16px, 3vw, 28px);
}

footer section {
  border-bottom: 1px solid var(--line-soft);
}

footer h2,
.footer-heading {
  color: var(--ink);
}

footer h2 {
  font-size: 24px;
}

.footer-heading {
  max-width: var(--page-width);
  margin: 0 auto 16px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 12px;
}

footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

footer nav a:hover {
  color: var(--brand-active);
  text-decoration: none;
}

footer ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
}

footer li,
footer li li {
  padding: 0;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow-wrap: anywhere;
}

footer li::before,
footer li li::before {
  display: none;
}

footer li ul {
  display: block;
  margin-top: 8px;
  padding-inline-start: 0;
}

footer li li {
  margin: 4px 0;
  font-size: 14px;
}

footer .site-legal {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px) 30px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes card-rise-in {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes image-hover-pop {
    0% {
      filter: saturate(1);
      transform: scale(1);
    }

    52% {
      filter: saturate(1.08) contrast(1.04);
      transform: scale(1.055);
    }

    100% {
      filter: saturate(1.03) contrast(1.02);
      transform: scale(1.035);
    }
  }

  a,
  button,
  .map-card,
  .code-card,
  .tier-summary-item,
  .tier-row,
  .step-list li,
  .entity-media,
  .home-hero-actions a,
  main > p > a:only-child,
  section > p > a:only-child {
    transition:
      color 160ms ease,
      background-color 160ms ease,
      border-color 160ms ease,
      box-shadow 180ms ease,
      transform 180ms ease;
  }

  .map-card-media img,
  .entity-media img {
    transform-origin: center;
    transition:
      filter 220ms ease,
      transform 220ms ease;
  }

  .map-card:hover .map-card-media img,
  .map-card:focus-within .map-card-media img,
  .map-card-media:hover img,
  .entity-media:hover img,
  .entity-media:focus-within img {
    animation: image-hover-pop 260ms ease both;
  }

  .map-card:hover,
  .map-card:focus-within,
  .code-card:hover,
  .code-card:focus-within,
  .tier-summary-item:hover,
  .tier-summary-item:focus-within {
    animation-name: none;
  }

  .map-card,
  .code-card,
  .tier-summary-item,
  main > section {
    animation: card-rise-in 360ms ease both;
  }

  .card-grid > li:nth-child(2) .map-card,
  .home-hub-grid > li:nth-child(2) .map-card,
  .home-task-grid > li:nth-child(2) .map-card {
    animation-delay: 40ms;
  }

  .card-grid > li:nth-child(3) .map-card,
  .home-hub-grid > li:nth-child(3) .map-card,
  .home-task-grid > li:nth-child(3) .map-card {
    animation-delay: 80ms;
  }

  .card-grid > li:nth-child(4) .map-card,
  .home-hub-grid > li:nth-child(4) .map-card,
  .home-task-grid > li:nth-child(4) .map-card {
    animation-delay: 120ms;
  }
}

@media (max-width: 780px) {
  header nav {
    justify-content: flex-start;
    gap: 7px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  main {
    padding: 34px 14px 0;
  }

  h1 {
    font-size: clamp(38px, 11vw, 48px);
  }

  h1 + p,
  .page-hero > p:not(.eyebrow):not(.meta-row),
  .home-hero-summary {
    font-size: 19px;
  }

  .home-hero,
  .page-hero,
  main > section {
    padding: 24px 16px;
  }

  .card-grid,
  .home-hub-grid,
  .home-task-grid {
    grid-template-columns: 1fr;
  }

  .entity-overview {
    grid-template-columns: 1fr;
  }

  dl,
  .quick-facts-list {
    grid-template-columns: 1fr;
  }

  dt,
  .quick-facts-list dt {
    padding-bottom: 3px;
    border-bottom: 0;
  }

  dd,
  .quick-facts-list dd {
    padding-top: 3px;
  }

  .tier-head {
    display: none;
  }

  .tier-row {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .tier-row > span {
    padding: 6px 14px;
  }

  .tier-row > span::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .code-card-header {
    align-items: flex-start;
  }

  .copy-button {
    width: 100%;
  }

  main ul:not(.card-grid):not(.home-hub-grid) > li,
  main ol > li {
    padding-inline-end: 14px;
  }
}

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

  header nav a {
    font-size: 13px;
    min-height: 32px;
    padding: 7px 10px;
  }

  .home-hero,
  .page-hero,
  main > section {
    padding: 22px 14px;
  }

  .map-card,
  .code-card {
    padding: 16px;
  }
}
