:root {
  --ink: #24282c;
  --ink-2: #343a40;
  --muted: #697077;
  --line: #e3e5e7;
  --soft: #f5f6f6;
  --paper: #ffffff;
  --orange: #f47b20;
  --orange-dark: #d95f09;
  --orange-soft: #fff2e8;
  --green: #16794b;
  --green-soft: #eaf8f1;
  --warning: #8a5a00;
  --warning-soft: #fff8e5;
  --shadow: 0 14px 38px rgba(24, 28, 31, .08);
  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 16px; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 700; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(36,40,44,.96); color: #fff; backdrop-filter: blur(12px); }
.site-header__inner { min-height: 68px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand__mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: var(--orange); color: #fff; font-size: 13px; letter-spacing: -.04em; box-shadow: 0 5px 14px rgba(244,123,32,.28); }
.brand__name { font-size: 19px; }
.brand__divider { width: 1px; height: 24px; background: rgba(255,255,255,.2); }
.brand__product { color: #d6dadd; font-weight: 500; }
.top-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.top-nav a { color: #dfe2e4; text-decoration: none; font-size: 14px; font-weight: 600; }
.top-nav a:hover, .top-nav a:focus-visible { color: #fff; }
.header-search { position: relative; width: min(310px, 30vw); }
.header-search input { width: 100%; height: 40px; padding: 0 42px 0 40px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; outline: none; background: rgba(255,255,255,.08); color: #fff; }
.header-search input::placeholder { color: #aeb4b9; }
.header-search input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,123,32,.16); }
.header-search .search__icon { left: 14px; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: transparent; color: #fff; }

.hero { position: relative; overflow: hidden; padding: 80px 0 88px; background: linear-gradient(125deg, #25292d 0%, #30363b 54%, #252a2e 100%); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent); }
.hero__glow { position: absolute; width: 480px; height: 480px; top: -260px; left: 50%; border-radius: 50%; background: rgba(244,123,32,.18); filter: blur(30px); transform: translateX(-50%); }
.hero__content { position: relative; z-index: 1; text-align: center; }
.eyebrow { margin: 0 0 10px; color: #ffb071; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--dark { color: var(--orange-dark); }
.eyebrow--light { color: #ffd0aa; }
.hero h1 { max-width: 820px; margin: 0 auto; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.045em; }
.hero__lead { margin: 18px auto 30px; color: #d9dde0; font-size: clamp(17px, 2vw, 20px); }
.search { position: relative; }
.search--hero { width: min(760px, 100%); margin: 0 auto; }
.search input { outline: none; }
.search--hero input { width: 100%; height: 66px; padding: 0 92px 0 58px; border: 1px solid transparent; border-radius: 14px; background: #fff; color: var(--ink); font-size: 17px; box-shadow: 0 18px 48px rgba(0,0,0,.23); }
.search--hero input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244,123,32,.2), 0 18px 48px rgba(0,0,0,.23); }
.search__icon { position: absolute; z-index: 1; top: 50%; left: 20px; width: 17px; height: 17px; border: 2px solid currentColor; border-radius: 50%; color: #899097; transform: translateY(-58%); pointer-events: none; }
.search__icon::after { content: ""; position: absolute; width: 7px; height: 2px; right: -6px; bottom: -3px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.search kbd { position: absolute; top: 50%; right: 16px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: #7d848a; font-size: 11px; transform: translateY(-50%); }
.search-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 13px; margin-top: 18px; color: #bfc5c9; font-size: 13px; }
.search-examples button { padding: 0; border: 0; border-bottom: 1px dotted #949ca2; background: transparent; color: #edf0f2; cursor: pointer; }
.search-examples button:hover { color: #fff; border-color: var(--orange); }

.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section--available { padding-bottom: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 3.5vw, 38px); line-height: 1.18; letter-spacing: -.035em; }
.section-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); }
.inventory-pill { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 700; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module-card { position: relative; display: flex; min-height: 170px; flex-direction: column; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.module-card:hover, .module-card:focus-visible { border-color: #f6b27d; box-shadow: var(--shadow); transform: translateY(-3px); }
.module-card::after { content: attr(data-index); position: absolute; right: -2px; bottom: -30px; color: #f1f2f2; font-size: 84px; font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.module-card__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.module-card__icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: var(--orange-soft); color: var(--orange-dark); font-size: 12px; font-weight: 900; }
.module-card__count { color: #8a9096; font-size: 12px; font-weight: 700; }
.module-card h3 { position: relative; z-index: 1; margin: 20px 0 5px; font-size: 17px; line-height: 1.25; letter-spacing: -.015em; }
.module-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journey-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.journey-card__number { color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.journey-card h3 { margin: 10px 0 6px; font-size: 19px; }
.journey-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.journey-card ol { margin: 0; padding-left: 18px; color: #50575d; font-size: 13px; }
.journey-card li + li { margin-top: 5px; }
.help-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 72px; margin-bottom: 72px; padding: 38px 42px; border-radius: 20px; background: linear-gradient(110deg, var(--ink), #3b4248); color: #fff; box-shadow: var(--shadow); }
.help-banner h2 { margin: 0; font-size: 28px; letter-spacing: -.025em; }
.help-banner p:not(.eyebrow) { margin: 6px 0 0; color: #cfd4d7; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 10px; text-decoration: none; font-weight: 750; }
.button--light { flex: 0 0 auto; background: #fff; color: var(--ink); }
.button--primary { background: var(--orange); color: #fff; }
.button--primary:hover { background: var(--orange-dark); }
.text-link, .text-button { border: 0; background: transparent; color: var(--orange-dark); font-weight: 750; text-decoration: none; cursor: pointer; }
.text-link:hover, .text-button:hover { text-decoration: underline; }

.search-results-section { padding-top: 56px; }
.result-summary { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.result-list { display: grid; gap: 10px; }
.available-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.result-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 19px 20px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; }
.result-card:hover, .result-card:focus-visible { border-color: #f0aa73; box-shadow: 0 8px 24px rgba(24,28,31,.06); }
.result-card__meta { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.result-card h3 { margin: 0; font-size: 17px; }
.result-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.result-card__arrow { color: var(--orange-dark); font-size: 22px; }
.status { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.status--review { background: var(--warning-soft); color: var(--warning); }
.status--mapped { background: #eef0f1; color: #626a70; }
.status--published { background: var(--green-soft); color: var(--green); }
.empty-state { padding: 40px; border: 1px dashed #cfd3d6; border-radius: 14px; text-align: center; color: var(--muted); }

.module-hero { padding: 35px 0 40px; background: linear-gradient(125deg, #272c30, #343a3f); color: #fff; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; color: #b9c0c4; font-size: 13px; }
.breadcrumb a { color: #e6e9eb; text-decoration: none; }
.module-hero__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.module-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 50px); letter-spacing: -.04em; line-height: 1.08; }
.module-hero p:not(.eyebrow) { max-width: 720px; margin: 10px 0 0; color: #ced3d6; }
.module-count { flex: 0 0 auto; margin-bottom: 5px; color: #f4b27f; font-size: 14px; font-weight: 800; }
.search--module { max-width: 680px; margin-top: 25px; }
.search--module input { width: 100%; height: 50px; padding: 0 18px 0 50px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.09); color: #fff; }
.search--module input::placeholder { color: #b8bec2; }
.search--module input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,123,32,.16); }
.search--module .search__icon { left: 18px; color: #bbc1c4; }
.content-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 52px; padding-top: 44px; padding-bottom: 80px; }
.module-sidebar { align-self: start; position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 8px; }
.sidebar-title { margin: 0 0 12px; color: #838a90; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.module-sidebar nav { display: grid; gap: 2px; }
.module-sidebar a { padding: 8px 10px; border-radius: 7px; color: #5b6369; font-size: 13px; text-decoration: none; }
.module-sidebar a:hover { background: var(--soft); color: var(--ink); }
.module-sidebar a[aria-current="page"] { background: var(--orange-soft); color: var(--orange-dark); font-weight: 750; }
.article-group { margin-bottom: 38px; }
.article-group h2 { margin: 0 0 13px; font-size: 23px; letter-spacing: -.025em; }
.article-list { display: grid; gap: 9px; }
.article-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 11px; color: inherit; text-decoration: none; }
.article-row:hover { border-color: #efad7a; box-shadow: 0 7px 20px rgba(25,29,32,.05); }
.article-row__title { font-weight: 700; }
.article-row__desc { margin-top: 2px; color: var(--muted); font-size: 12px; }
.article-row__right { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }

.article-layout { display: grid; grid-template-columns: 180px minmax(0,720px) 190px; justify-content: center; gap: 42px; padding-top: 42px; padding-bottom: 90px; }
.article-layout--mapped { grid-template-columns: minmax(0, 760px) 210px; }
.article-toc { align-self: start; position: sticky; top: 100px; }
.article-toc nav { display: grid; gap: 3px; border-left: 1px solid var(--line); }
.article-toc a { padding: 5px 0 5px 14px; color: var(--muted); font-size: 12px; text-decoration: none; }
.article-toc a:hover { color: var(--orange-dark); }
.article-meta { align-self: start; position: sticky; top: 100px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.article-meta dl { margin: 0; }
.article-meta dt { margin-top: 12px; color: #858c91; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-meta dt:first-child { margin-top: 0; }
.article-meta dd { margin: 2px 0 0; font-size: 13px; font-weight: 650; }
.article .breadcrumb { color: var(--muted); }
.article .breadcrumb a { color: var(--orange-dark); }
.article-header { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-header__meta { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.type-pill { padding: 4px 8px; border-radius: 6px; background: var(--orange-soft); color: var(--orange-dark); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.article h1 { margin: 0; font-size: clamp(34px, 4.5vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.article-header__lead { margin: 17px 0 0; color: #596168; font-size: 18px; line-height: 1.65; }
.article-section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.article-section h2 { margin: 0 0 14px; font-size: 25px; letter-spacing: -.025em; }
.article-section p { margin: 0 0 13px; }
.article-section ul, .article-section ol { padding-left: 22px; }
.article-section li + li { margin-top: 7px; }
.path { display: inline-flex; flex-wrap: wrap; gap: 7px; padding: 10px 13px; border-radius: 9px; background: #f0f2f3; font-weight: 700; }
.step { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; margin-top: 24px; }
.step__number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 14px; font-weight: 850; }
.step h3 { margin: 2px 0 6px; font-size: 19px; }
.step p { color: #50575d; }
.step .field-list { margin: 10px 0 0; color: #626970; font-size: 13px; line-height: 1.65; }
.field-list strong { color: #454c52; font-weight: 750; }
.callout { margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--orange); border-radius: 4px 10px 10px 4px; background: var(--orange-soft); color: #5d3b20; }
.callout--validation { border-color: #d49a18; background: var(--warning-soft); color: #624a13; }
.callout strong { display: block; margin-bottom: 3px; }
.related-list { display: grid; gap: 8px; }
.related-list a { display: flex; justify-content: space-between; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; color: inherit; text-decoration: none; }
.related-list a:hover { border-color: #efad7a; }
.mapped-placeholder { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.mapped-placeholder h2 { margin-top: 0; }
.mapped-placeholder__label { display: inline-block; margin-bottom: 8px; color: var(--orange-dark); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.mapped-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 22px; }

.site-footer { padding: 40px 0; border-top: 1px solid var(--line); background: #f9fafa; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--ink); }
.site-footer__links { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange-dark); }

@media (max-width: 1040px) {
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: minmax(0,720px) 190px; }
  .article-toc { display: none; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 28px, var(--container)); }
  .top-nav, .header-search { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-header.menu-open .top-nav { position: absolute; display: grid; top: 68px; left: 0; right: 0; gap: 0; padding: 10px 14px 16px; border-top: 1px solid rgba(255,255,255,.1); background: var(--ink); }
  .site-header.menu-open .top-nav a { padding: 11px 8px; }
  .hero { padding: 58px 0 64px; }
  .search--hero input { height: 58px; padding-right: 20px; font-size: 15px; }
  .search kbd { display: none; }
  .section { padding: 54px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: 1fr; }
  .available-grid { grid-template-columns: 1fr; }
  .help-banner { align-items: start; flex-direction: column; margin-block: 54px; padding: 30px; }
  .content-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .module-sidebar { position: static; max-height: none; overflow: visible; }
  .module-sidebar nav { display: flex; overflow: auto; padding-bottom: 7px; }
  .module-sidebar a { flex: 0 0 auto; border: 1px solid var(--line); }
  .article-layout { display: block; padding-top: 28px; }
  .article-meta { position: static; margin-top: 28px; }
  .module-hero__heading { align-items: start; flex-direction: column; gap: 12px; }
  .module-count { margin: 0; }
  .site-footer__inner { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand__divider, .brand__product { display: none; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 145px; }
  .result-card { grid-template-columns: 1fr auto; padding: 16px; }
  .result-card p { display: none; }
  .article-row { align-items: start; flex-direction: column; }
  .article-row__right { width: 100%; justify-content: space-between; }
  .step { grid-template-columns: 34px minmax(0,1fr); }
  .step__number { width: 32px; height: 32px; }
  .help-banner { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
