:root {
  --ink: #09172f;
  --ink-2: #142747;
  --blue: #1f5eff;
  --blue-dark: #1548cc;
  --acid: #dcff36;
  --paper: #f5f7fb;
  --white: #ffffff;
  --muted: #59677c;
  --line: #cbd4e1;
  --line-dark: #263957;
  --max: 1180px;
  --shadow: 0 22px 60px rgba(9, 23, 47, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -0.035em; }
p { color: var(--muted); }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 1000; padding: 0.75rem 1rem; background: var(--acid); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--blue); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.14em; line-height: 1.2; text-transform: uppercase; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0.7rem 1.2rem; border: 2px solid transparent; border-radius: 0.35rem; font-size: 0.92rem; font-weight: 800; line-height: 1; text-decoration: none; transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }
.button-accent { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.button-accent:hover { background: #edff8a; border-color: #edff8a; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,0.56); }
.button-ghost:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: var(--blue); border-color: var(--blue); }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-light:hover { background: var(--acid); border-color: var(--acid); }
.text-link { color: var(--ink); font-size: 0.92rem; font-weight: 800; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--blue); }

.utility-bar { color: #dfe8f9; background: #050d1d; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.utility-bar .shell { display: flex; min-height: 31px; align-items: center; justify-content: space-between; }
.utility-bar span:first-child { color: var(--acid); }
.site-header { position: relative; z-index: 20; color: var(--white); background: var(--ink); }
.header-main { display: flex; min-height: 82px; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--white); font-size: 1.38rem; font-weight: 900; letter-spacing: -0.055em; text-decoration: none; white-space: nowrap; }
.brand > span > span { color: var(--acid); }
.brand-mark { width: 32px; height: 32px; fill: var(--acid); }
.brand-mark-cut { fill: var(--blue); }
.desktop-nav { display: flex; align-items: center; gap: 1.45rem; margin-left: auto; }
.desktop-nav a { position: relative; color: #d8e1f2; font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--white); }
.desktop-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: -0.65rem; left: 0; height: 2px; background: var(--acid); content: ""; }
.header-cta { padding: 0.65rem 0.9rem; border: 1px solid #52627b; border-radius: 0.3rem; color: var(--white); font-size: 0.8rem; font-weight: 800; text-decoration: none; }
.header-cta:hover { border-color: var(--acid); color: var(--acid); }
.menu-toggle { display: none; align-items: center; gap: 0.7rem; border: 0; color: var(--white); background: none; cursor: pointer; font-size: 0.8rem; font-weight: 800; }
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 22px; height: 2px; background: currentColor; content: ""; transition: transform 160ms ease; }
.menu-toggle i { position: relative; }
.menu-toggle i::before { position: absolute; top: -7px; }
.menu-toggle i::after { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] i { background: transparent; }
.menu-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { padding: 0.4rem 20px 1.2rem; border-top: 1px solid var(--line-dark); background: var(--ink); }
.mobile-nav a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line-dark); color: var(--white); font-weight: 750; text-decoration: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr); min-height: 660px; color: var(--white); background: var(--ink); }
.hero::before { position: absolute; z-index: -1; right: 0; left: 0; min-height: 660px; background: var(--ink); content: ""; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 6.5rem 5rem 6rem 0; }
.hero .eyebrow { color: var(--acid); }
.hero h1 { max-width: 700px; margin-bottom: 1.7rem; font-size: clamp(3.4rem, 6.2vw, 6.4rem); letter-spacing: -0.07em; }
.hero-lede { max-width: 590px; margin-bottom: 2rem; color: #cbd7eb; font-size: 1.15rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 600px; margin-top: 4.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line-dark); }
.hero-proof div { display: flex; flex-direction: column; padding-right: 1rem; }
.hero-proof strong { color: var(--white); font-size: 1.6rem; line-height: 1; }
.hero-proof span { margin-top: 0.45rem; color: #92a3bf; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-visual { position: relative; min-height: 100%; margin: 0; overflow: hidden; background: var(--blue); }
.hero-visual::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(9,23,47,0.06), rgba(9,23,47,0.46)); content: ""; pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.82) contrast(1.08); }
.hero-visual figcaption { position: absolute; z-index: 2; right: 2.2rem; bottom: 2.2rem; left: 2.2rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; color: var(--white); }
.hero-visual figcaption span { padding: 0.35rem 0.55rem; color: var(--ink); background: var(--acid); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-visual figcaption strong { max-width: 240px; font-size: 1.2rem; line-height: 1.25; text-align: right; }

.category-section { padding: 7.5rem 0; background: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 4rem; margin-bottom: 3rem; }
.section-heading h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2.5rem, 4vw, 4.5rem); }
.section-heading > p { max-width: 390px; margin-bottom: 0.45rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { display: flex; min-height: 210px; flex-direction: column; justify-content: space-between; padding: 1.25rem; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); background: var(--white); text-decoration: none; }
.category-card:not(.unresolved):hover { color: var(--white); background: var(--blue); }
.category-card.unresolved { background: #f6f8fb; }
.category-number { color: #8390a3; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; }
.category-card h3 { margin: 0 0 0.35rem; font-size: 1.55rem; }
.category-card p { margin: 0; font-size: 0.83rem; }
.pending-label, .available-label { width: fit-content; padding: 0.3rem 0.5rem; border: 1px solid #aeb9c8; color: #6e7b8e; background: var(--white); font-size: 0.64rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.available-label { color: var(--ink); border-color: var(--acid); background: var(--acid); }
.config-note { display: flex; align-items: center; gap: 0.55rem; margin: 1.15rem 0 0; color: #6b7788; font-size: 0.78rem; }
.config-note span { width: 8px; height: 8px; border-radius: 50%; background: #e3a10c; }

.feature-story { display: grid; grid-template-columns: 0.22fr 1.05fr 1fr; gap: 3.5rem; align-items: center; padding-block: 8rem; }
.story-number { align-self: start; color: var(--blue); font-size: 5.8rem; font-weight: 950; letter-spacing: -0.08em; line-height: 0.8; }
.story-copy h2 { max-width: 560px; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.story-copy p:not(.eyebrow) { max-width: 560px; }
.mini-sheet { border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.mini-sheet > div { display: grid; grid-template-columns: 1fr auto; min-height: 58px; align-items: center; gap: 1rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
.mini-sheet > div:last-child { border-bottom: 0; }
.mini-sheet .sheet-head { min-height: 42px; color: var(--white); background: var(--ink); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.state { padding: 0.25rem 0.45rem; border-radius: 2rem; font-size: 0.65rem; text-transform: uppercase; }
.state.ready { color: #174f1a; background: #dff8d8; }
.state.review { color: #674900; background: #fff0bb; }
.state.open { color: #1745aa; background: #dfe8ff; }

.finds-section { color: var(--white); background: var(--blue); }
.finds-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 710px; }
.finds-art { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-inline: 1px solid rgba(255,255,255,0.3); }
.finds-art b { position: relative; z-index: 2; color: var(--acid); font-size: clamp(4.5rem, 8vw, 8.5rem); font-weight: 950; letter-spacing: -0.08em; line-height: 0.76; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,0.46); border-radius: 50%; }
.orbit-a { width: 520px; height: 520px; }
.orbit-b { width: 310px; height: 310px; border-width: 55px; border-color: rgba(9,23,47,0.22); }
.finds-copy { display: flex; flex-direction: column; justify-content: center; padding: 5rem clamp(2.5rem, 6vw, 7rem); }
.finds-copy .eyebrow { color: var(--acid); }
.finds-copy h2 { max-width: 520px; font-size: clamp(3rem, 5vw, 5.3rem); }
.finds-copy > p:not(.eyebrow) { max-width: 560px; color: #dde6ff; }
.signal-list { margin: 2.2rem 0; border-top: 1px solid rgba(255,255,255,0.32); }
.signal-list div { display: grid; grid-template-columns: 45px 120px 1fr; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.32); }
.signal-list span { color: var(--acid); font-size: 0.72rem; font-weight: 900; }
.signal-list p { margin: 0; color: #dde6ff; font-size: 0.85rem; }
.finds-copy .button { align-self: flex-start; }

.guides-section { padding-block: 8rem; }
.guide-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.guide-card { display: flex; min-height: 290px; flex-direction: column; padding: 1.3rem; border: 1px solid var(--line); color: var(--ink); background: var(--white); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }
.guide-card:nth-child(1), .guide-card:nth-child(2) { grid-column: span 3; }
.guide-card:nth-child(n+3) { grid-column: span 2; }
.guide-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.guide-card > span { color: var(--blue); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.guide-card h3 { margin: auto 0 0.65rem; font-size: 1.9rem; }
.guide-card p { min-height: 52px; margin-bottom: 1.2rem; font-size: 0.88rem; }
.guide-card b { color: var(--blue); font-size: 0.78rem; text-decoration: underline; text-underline-offset: 0.2em; }

.alternatives-band { padding: 6rem 0; color: var(--white); background: var(--acid); }
.alternatives-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 7rem; align-items: end; }
.alternatives-band .eyebrow { color: var(--blue); }
.alternatives-band h2 { margin-bottom: 0; color: var(--ink); font-size: clamp(3.1rem, 5vw, 5.6rem); }
.alternatives-band p { color: #31405a; font-size: 1.05rem; }

.home-faq { padding-block: 8rem; }
.faq-preview { border-top: 1px solid var(--ink); }
.faq-preview details, .faq-list details { border-bottom: 1px solid var(--line); }
.faq-preview summary, .faq-list summary { position: relative; padding: 1.5rem 3rem 1.5rem 0; cursor: pointer; font-size: 1.2rem; font-weight: 800; list-style: none; }
.faq-preview summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.faq-preview summary::after, .faq-list summary::after { position: absolute; top: 1.35rem; right: 0.25rem; color: var(--blue); content: "+"; font-size: 1.5rem; font-weight: 500; }
.faq-preview details[open] summary::after, .faq-list details[open] summary::after { content: "−"; }
.faq-preview details p, .faq-list details p { max-width: 780px; padding: 0 2rem 1.4rem 0; }
.independence { display: grid; grid-template-columns: 0.65fr 1.7fr auto; gap: 2rem; align-items: center; margin-bottom: 7rem; padding: 2.2rem; border: 1px solid var(--line-dark); color: var(--white); background: var(--ink); }
.independence span { color: var(--acid); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.independence p { margin: 0; color: #cbd7eb; font-size: 0.9rem; }
.independence a { color: var(--white); font-weight: 800; }

.site-footer { padding-top: 5rem; color: var(--white); background: #050d1d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 0.75fr); gap: 4rem; padding-bottom: 5rem; }
.footer-intro p { max-width: 310px; margin-top: 1.2rem; color: #8fa0bd; font-size: 0.88rem; }
.footer-grid h2 { color: #8190aa; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.footer-grid > div:not(:first-child) a { color: #dae4f5; font-size: 0.86rem; text-decoration: none; }
.footer-grid a:hover { color: var(--acid); }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: 1.4rem; border-top: 1px solid #1c2a42; }
.footer-base p { max-width: 760px; margin: 0; color: #7686a2; font-size: 0.72rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 2rem; color: #6c788c; font-size: 0.72rem; }
.breadcrumbs a { color: var(--blue); }
.breadcrumbs i { font-style: normal; }
.article-main { background: var(--paper); }
.article-hero { display: grid; grid-template-columns: 1.5fr 0.5fr; gap: 6rem; align-items: end; padding-top: 5rem; padding-bottom: 4.5rem; }
.article-hero h1 { max-width: 890px; margin-bottom: 1.7rem; font-size: clamp(3.5rem, 6vw, 6.7rem); letter-spacing: -0.07em; }
.article-hero > div > p:last-child { max-width: 760px; margin-bottom: 0; font-size: 1.15rem; }
.article-hero aside { padding: 1.2rem; border-top: 3px solid var(--acid); color: var(--white); background: var(--ink); }
.article-hero aside span { color: var(--acid); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.article-hero aside p { margin: 0.7rem 0 0; color: #cbd7eb; font-size: 0.82rem; }
.article-rule { height: 8px; background: linear-gradient(90deg, var(--blue) 0 66%, var(--acid) 66% 83%, var(--ink) 83%); }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 7rem; justify-content: center; padding-block: 5rem 8rem; }
.article-layout:has(.article-wide) { display: block; }
.guide-rail { position: sticky; top: 1.5rem; display: flex; height: fit-content; flex-direction: column; align-self: start; border-top: 1px solid var(--ink); }
.guide-rail > span { padding: 0.8rem 0; color: #778397; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.guide-rail a { padding: 0.7rem 0; border-top: 1px solid var(--line); color: #5d6a7e; font-size: 0.82rem; font-weight: 750; text-decoration: none; }
.guide-rail a:hover, .guide-rail a[aria-current="page"] { color: var(--blue); }
.article-content.article-wide { width: min(100%, 820px); margin-inline: auto; }
.article-section { margin-bottom: 5rem; scroll-margin-top: 2rem; }
.article-section:last-child { margin-bottom: 0; }
.article-section h2 { margin-bottom: 1.4rem; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.article-section h3 { font-size: 1.3rem; }
.article-section > p { font-size: 1.04rem; }
.note { margin-top: 1.8rem; padding: 1.2rem 1.35rem; border-left: 5px solid var(--acid); color: #2f3e55; background: var(--white); box-shadow: 0 8px 28px rgba(9,23,47,0.06); }
.note strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin-top: 1.8rem; box-shadow: 0 10px 32px rgba(9,23,47,0.07); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.86rem; }
th, td { padding: 1rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--white); background: var(--ink); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
td:first-child { color: var(--ink); font-weight: 800; }
.checklist { display: grid; gap: 0; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.checklist li { position: relative; padding: 1rem 0 1rem 2.3rem; border-bottom: 1px solid var(--line); color: #33445c; }
.checklist li::before { position: absolute; top: 1.15rem; left: 0; display: grid; width: 20px; height: 20px; place-items: center; color: var(--ink); background: var(--acid); content: "✓"; font-size: 0.7rem; font-weight: 950; }
.steps { margin: 2rem 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--blue); font-size: 1.6rem; font-weight: 950; line-height: 1; }
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; }
.feature-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature { padding: 1.3rem; border: 1px solid var(--line); background: var(--white); }
.feature > span { color: var(--blue); font-size: 0.72rem; font-weight: 900; }
.feature h3 { margin: 2rem 0 0.6rem; }
.feature p { margin: 0; font-size: 0.88rem; }
.decision-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; color: var(--white); background: var(--ink); }
.decision-strip div { display: flex; min-height: 145px; flex-direction: column; justify-content: end; padding: 1.2rem; border-right: 1px solid var(--line-dark); }
.decision-strip strong { color: var(--acid); }
.decision-strip span { margin-top: 0.35rem; color: #c4d0e4; font-size: 0.8rem; }
.criteria-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 2rem; background: var(--line); border: 1px solid var(--line); }
.criteria-grid article { min-height: 220px; padding: 1.25rem; background: var(--white); }
.criteria-grid article:last-child { grid-column: span 2; min-height: 180px; }
.criteria-grid span { color: var(--blue); font-size: 0.75rem; font-weight: 900; }
.criteria-grid h3 { margin: 2.3rem 0 0.5rem; }
.criteria-grid p { margin: 0; font-size: 0.86rem; }
.split-callout { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; padding: 2rem; border: 1px solid var(--line); background: var(--white); }
.split-callout h2 { font-size: 2.1rem; }
.split-callout p { margin-bottom: 0; }
.button-stack { display: flex; min-width: 210px; flex-direction: column; align-items: stretch; gap: 1rem; text-align: center; }
.formula { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; margin: 2rem 0; padding: 1.5rem; color: var(--white); background: var(--ink); }
.formula span { color: var(--acid); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.formula strong { line-height: 1.5; }
.query-builder { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0.6rem; align-items: center; margin: 2rem 0; }
.query-builder div { min-height: 110px; padding: 0.8rem; border: 1px solid var(--line); background: var(--white); }
.query-builder span { display: block; color: var(--blue); font-size: 0.65rem; font-weight: 900; text-transform: uppercase; }
.query-builder strong { display: block; margin-top: 1.6rem; font-size: 0.9rem; line-height: 1.2; }
.query-builder b { color: var(--blue); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list summary { font-size: 1.1rem; }
.article-next { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 7rem; padding: 3rem; color: var(--white); background: var(--blue); }
.article-next .eyebrow { color: var(--acid); }
.article-next h2 { max-width: 580px; margin-bottom: 0; font-size: 3.2rem; }
.article-next > div:last-child { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: flex-end; }
.article-next .text-link { color: var(--white); text-decoration-color: var(--acid); }
code { padding: 0.12rem 0.3rem; border-radius: 0.2rem; color: var(--ink); background: #e3e8f1; font-size: 0.85em; }

.not-found { min-height: 650px; padding-block: 7rem; text-align: center; }
.not-found .error-code { color: var(--blue); font-size: clamp(7rem, 20vw, 15rem); font-weight: 950; letter-spacing: -0.1em; line-height: 0.75; }
.not-found h1 { max-width: 760px; margin: 2rem auto 1rem; font-size: clamp(2.5rem, 5vw, 5rem); }
.not-found > p:not(.eyebrow) { max-width: 620px; margin-inline: auto; }
.not-found > div:last-child { display: flex; justify-content: center; gap: 0.8rem; margin-top: 2rem; }
.not-found .button-ghost { color: var(--ink); border-color: var(--ink); }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .hero { grid-template-columns: 1fr 0.75fr; min-height: 610px; }
  .hero::before { min-height: 610px; }
  .hero-copy { padding: 5rem 2.5rem 4rem 0; }
  .hero h1 { font-size: clamp(3.3rem, 8vw, 5.2rem); }
  .hero-proof { margin-top: 3rem; }
  .hero-visual figcaption { display: block; }
  .hero-visual figcaption strong { display: block; margin-top: 0.8rem; text-align: left; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-story { grid-template-columns: 90px 1fr; }
  .mini-sheet { grid-column: 2; }
  .finds-grid { grid-template-columns: 0.8fr 1.2fr; }
  .finds-art b { font-size: 5rem; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-card:nth-child(n) { grid-column: span 1; }
  .guide-card:last-child { grid-column: span 2; }
  .article-hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-hero aside { max-width: 500px; }
  .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 3rem; }
  .query-builder { grid-template-columns: 1fr 1fr; }
  .query-builder b { display: none; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .utility-bar .shell { min-height: 34px; }
  .utility-bar span:last-child { display: none; }
  .header-main { min-height: 70px; }
  .hero { display: flex; min-height: auto; flex-direction: column; width: 100%; }
  .hero::before { display: none; }
  .hero-copy { padding: 4.5rem 20px 3.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-lede { font-size: 1.02rem; }
  .hero-proof { margin-top: 3rem; }
  .hero-visual { min-height: 430px; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 1.2rem; font-size: 2.7rem; }
  .category-section { padding: 5rem 0; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 170px; }
  .feature-story { display: block; padding-block: 5rem; }
  .story-number { margin-bottom: 2rem; font-size: 4.2rem; }
  .story-copy h2 { font-size: 2.8rem; }
  .mini-sheet { margin-top: 3rem; transform: none; }
  .finds-grid { display: flex; flex-direction: column; width: 100%; }
  .finds-art { min-height: 420px; border: 0; border-bottom: 1px solid rgba(255,255,255,0.3); }
  .finds-art b { font-size: 5.7rem; }
  .finds-copy { padding: 4.5rem 20px; }
  .finds-copy h2 { font-size: 3.4rem; }
  .signal-list div { grid-template-columns: 40px 100px 1fr; }
  .guides-section { padding-block: 5rem; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card:nth-child(n) { grid-column: span 1; min-height: 245px; }
  .alternatives-inner { grid-template-columns: 1fr; gap: 2rem; }
  .alternatives-band { padding: 4.5rem 0; }
  .alternatives-band h2 { font-size: 3.3rem; }
  .home-faq { padding-block: 5rem; }
  .independence { grid-template-columns: 1fr; margin-bottom: 5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-intro { grid-column: span 2; }
  .footer-base { display: block; }
  .footer-base p + p { margin-top: 0.7rem; }
  .article-hero { padding-top: 3rem; padding-bottom: 3rem; }
  .article-hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .article-layout { display: block; padding-block: 3.5rem 5rem; }
  .guide-rail { position: static; display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 4rem; }
  .guide-rail > span { grid-column: span 2; }
  .guide-rail a { padding-right: 0.5rem; }
  .article-section { margin-bottom: 4rem; }
  .article-section h2 { font-size: 2.45rem; }
  .feature-grid-3, .feature-grid-2, .criteria-grid, .decision-strip { grid-template-columns: 1fr; }
  .criteria-grid article:last-child { grid-column: span 1; }
  .split-callout, .formula { grid-template-columns: 1fr; }
  .query-builder { grid-template-columns: 1fr; }
  .query-builder div { min-height: 92px; }
  .query-builder strong { margin-top: 1.1rem; }
  .article-next { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 5rem; padding: 2rem; }
  .article-next h2 { font-size: 2.65rem; }
  .article-next > div:last-child { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .hero-proof { grid-template-columns: 1fr; gap: 1rem; }
  .hero-proof div { flex-direction: row; align-items: baseline; gap: 0.7rem; }
  .hero-visual { min-height: 350px; }
  .hero-visual figcaption { right: 1rem; bottom: 1rem; left: 1rem; }
  .signal-list div { grid-template-columns: 35px 1fr; }
  .signal-list p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro { grid-column: span 1; }
  .not-found > div:last-child { flex-direction: column; }
}

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

/* Calm shopping-hub direction: lighter rhythm, softer surfaces, consistent cards. */
:root {
  --ink: #20283a;
  --ink-2: #313b52;
  --blue: #4f5bd5;
  --blue-dark: #3f49b6;
  --acid: #ff8a5b;
  --paper: #f7f8fc;
  --white: #ffffff;
  --muted: #687086;
  --line: #e4e7ef;
  --line-dark: #3d465d;
  --shadow: 0 18px 50px rgba(31, 41, 61, 0.09);
}

body { background: var(--paper); }
.eyebrow, .section-kicker { color: var(--blue); letter-spacing: 0.08em; }
.section-kicker { font-size: 0.78rem; }
.button { min-height: 48px; padding-inline: 1.4rem; border-radius: 999px; }
.button:hover { transform: translateY(-1px); }
.button-accent { color: #fff; background: var(--blue); border-color: var(--blue); }
.button-accent:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-ghost { color: var(--ink); border-color: #cbd0dc; background: rgba(255,255,255,0.76); }
.button-ghost:hover { color: var(--blue); border-color: var(--blue); background: #fff; }
.button-dark { border-color: var(--blue); background: var(--blue); }
.button-dark:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.button-light { color: #fff; border-color: var(--blue); background: var(--blue); }
.button-light:hover { color: #fff; border-color: var(--blue-dark); background: var(--blue-dark); }

.site-header { position: sticky; top: 0; color: var(--ink); background: rgba(255,255,255,0.92); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: border-color 180ms ease, box-shadow 180ms ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(32,40,58,0.06); }
.header-main { min-height: 74px; }
.brand { color: var(--ink); font-size: 1.3rem; }
.brand-mark { width: 34px; height: 34px; padding: 6px; border-radius: 10px; fill: #fff; background: var(--blue); }
.brand-mark-cut { fill: var(--acid); }
.brand > span > span { color: var(--blue); }
.desktop-nav { gap: 0.15rem; }
.desktop-nav a { padding: 0.55rem 0.8rem; border-radius: 0.55rem; color: #4f586c; font-size: 0.85rem; font-weight: 650; transition: color 150ms ease, background 150ms ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--ink); background: #f0f2f8; }
.desktop-nav a[aria-current="page"]::after { display: none; }
.header-cta { padding: 0.7rem 1rem; border: 0; border-radius: 999px; color: #fff; background: var(--blue); font-weight: 750; }
.header-cta:hover { color: #fff; background: var(--blue-dark); }
.menu-toggle { color: var(--ink); }
.mobile-nav { border-top-color: var(--line); background: rgba(255,255,255,0.98); }
.mobile-nav a { border-bottom-color: var(--line); color: var(--ink); }

.hero { position: relative; display: grid; min-height: 675px; place-items: center; overflow: hidden; color: var(--ink); background: #e9ebf5; }
.hero::before { display: none; }
.hero-copy { position: relative; z-index: 3; display: flex; width: min(calc(100% - 40px), 930px); flex-direction: column; align-items: center; justify-content: center; margin-inline: auto; padding: 6rem 1rem 5rem; text-align: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content; margin-bottom: 1.4rem; padding: 0.5rem 0.85rem; border: 1px solid rgba(255,255,255,0.8); border-radius: 999px; color: #4f586c; background: rgba(255,255,255,0.8); box-shadow: 0 4px 18px rgba(32,40,58,0.05); backdrop-filter: blur(10px); }
.hero .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(255,138,91,0.16); }
.hero h1 { max-width: 850px; margin-bottom: 1.25rem; color: #1d2433; font-size: clamp(3rem, 5.5vw, 5.15rem); letter-spacing: -0.06em; }
.hero-lede { max-width: 660px; margin-bottom: 1.8rem; color: #535d72; font-size: 1.12rem; line-height: 1.7; }
.hero-actions { justify-content: center; }
.hero-proof { max-width: 690px; margin-top: 3.3rem; padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,0.8); border-radius: 1rem; background: rgba(255,255,255,0.82); box-shadow: 0 14px 40px rgba(32,40,58,0.08); backdrop-filter: blur(12px); }
.hero-proof div { align-items: center; padding-inline: 1.4rem; border-right: 1px solid var(--line); }
.hero-proof div:last-child { border-right: 0; }
.hero-proof strong { color: var(--ink); font-size: 1.3rem; }
.hero-proof span { color: #70788c; }
.hero-visual { position: absolute; z-index: 0; inset: 0; min-height: 100%; }
.hero-visual::before { z-index: 2; background: linear-gradient(180deg, rgba(247,248,252,0.66), rgba(247,248,252,0.86)); }
.hero-visual::after { position: absolute; z-index: 1; inset: 0; background: rgba(230,233,243,0.16); content: ""; }
.hero-visual img { object-position: center 36%; filter: saturate(0.72) contrast(0.94); }
.hero-visual figcaption { display: none; }

.category-section { padding: 6rem 0; background: #fff; }
.section-heading { display: block; max-width: 700px; margin: 0 auto 2.8rem; text-align: center; }
.section-heading h2 { margin-inline: auto; font-size: clamp(2.25rem, 4vw, 3.65rem); letter-spacing: -0.045em; }
.section-heading > p { max-width: 590px; margin: 1rem auto 0; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; border: 0; }
.category-card { display: grid; grid-template-rows: 118px 1fr; justify-content: stretch; align-content: stretch; min-width: 0; min-height: 270px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 0.9rem; color: var(--ink); background: #fff; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.category-card.unresolved { border-color: var(--line); background: #fff; }
.category-card:hover, .category-card:not(.unresolved):hover, .category-card.unresolved:hover { border-color: #cdd2ed; color: var(--ink); background: #fff; box-shadow: 0 12px 30px rgba(32,40,58,0.08); transform: translateY(-3px); }
.category-visual { position: relative; display: grid; place-items: center; overflow: hidden; color: #4052c7; background: #e7ebff; }
.category-visual::before { position: absolute; width: 150px; height: 150px; border: 1px solid currentColor; border-radius: 50%; opacity: 0.12; content: ""; transform: translate(52px, -38px); }
.category-number { position: absolute; z-index: 2; top: 0.85rem; left: 0.85rem; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 0.65rem; color: currentColor; background: rgba(255,255,255,0.8); box-shadow: 0 4px 14px rgba(32,40,58,0.08); }
.category-icon { position: relative; z-index: 1; width: 66px; height: 66px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.category-card:hover .category-icon { transform: scale(1.06); }
.category-body { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem 1.15rem; background: #fafbfe; }
.category-card h3 { margin-bottom: 0.25rem; font-size: 1.25rem; letter-spacing: -0.025em; }
.category-card--clothing .category-visual { color: #6a52b8; background: #eee8ff; }
.category-card--bags .category-visual { color: #9b6038; background: #f6e8de; }
.category-card--accessories .category-visual { color: #167d77; background: #dcf2ef; }
.category-card--watches .category-visual { color: #326383; background: #e0edf5; }
.category-card--jewelry .category-visual { color: #91519e; background: #f3e6f7; }
.category-card--perfume .category-visual { color: #a14f6e; background: #fae6ed; }
.category-card--jerseys .category-visual { color: #25724f; background: #e0f0e6; }
.pending-label, .available-label { border-color: #f4c0aa; border-radius: 999px; color: #a14f2d; background: #fff2ec; }
.config-note { justify-content: center; margin-top: 1.4rem; }
.config-note span { background: var(--acid); }

.feature-story { grid-template-columns: 0.8fr 1fr; gap: 4rem; padding-block: 6.5rem; }
.story-number { display: none; }
.story-copy h2 { font-size: clamp(2.35rem, 4vw, 3.8rem); }
.mini-sheet { border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); transform: none; overflow: hidden; }
.mini-sheet .sheet-head { background: var(--blue); }

.finds-section { padding: 6rem 0; color: var(--ink); background: #f1f3ff; }
.finds-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; min-height: 0; }
.finds-art { min-height: 500px; border: 0; border-radius: 1.25rem; background: #252d42; box-shadow: var(--shadow); }
.finds-art b { color: #fff; font-size: clamp(4rem, 7vw, 7rem); }
.orbit-a { border-color: rgba(255,255,255,0.24); }
.orbit-b { border-color: rgba(79,91,213,0.48); }
.finds-copy { padding: 3rem 0; }
.finds-copy .eyebrow { color: var(--blue); }
.finds-copy h2 { color: var(--ink); font-size: clamp(2.7rem, 4.5vw, 4.4rem); }
.finds-copy > p:not(.eyebrow), .signal-list p { color: var(--muted); }
.signal-list { border-top-color: #cfd4e6; }
.signal-list div { border-bottom-color: #cfd4e6; }
.signal-list span { color: var(--blue); }

.guides-section { padding-block: 6.5rem; }
.guide-grid { gap: 1rem; }
.guide-card { min-height: 260px; border-color: var(--line); border-radius: 1rem; box-shadow: 0 4px 18px rgba(32,40,58,0.025); }
.guide-card:hover { border-color: #cdd2ed; box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-card h3 { font-size: 1.65rem; }

.alternatives-band { padding: 5.5rem 0; color: #fff; background: var(--blue); }
.alternatives-inner { gap: 5rem; }
.alternatives-band .eyebrow { color: #ffd3c1; }
.alternatives-band h2 { color: #fff; font-size: clamp(2.7rem, 4.5vw, 4.4rem); }
.alternatives-band p { color: #e4e6ff; }
.alternatives-band .button-dark { color: var(--ink); border-color: #fff; background: #fff; }
.alternatives-band .button-dark:hover { color: var(--blue); background: #f3f4ff; }

.home-faq { padding-block: 6.5rem; }
.faq-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.faq-preview details { padding-inline: 1.35rem; }
.faq-preview details:last-child { border-bottom: 0; }
.faq-preview summary, .faq-list summary { font-size: 1.08rem; }
.independence { grid-template-columns: 0.65fr 1.7fr auto; margin-bottom: 6rem; padding: 2rem; border: 0; border-radius: 1rem; background: #252d42; }
.independence span { color: #ffd3c1; }

.site-footer { background: #20283a; }
.brand-footer { color: #fff; }
.brand-footer > span > span { color: #adb4ff; }

.article-main { background: #f8f9fc; }
.article-hero { gap: 4rem; padding-top: 4rem; padding-bottom: 4rem; }
.article-hero h1 { font-size: clamp(3rem, 5vw, 5rem); }
.article-hero aside { border-top: 0; border-radius: 0.85rem; background: var(--blue); }
.article-hero aside span { color: #ffd3c1; }
.article-rule { height: 1px; background: var(--line); }
.article-layout { padding-block: 4.5rem 7rem; }
.guide-rail { border-top-color: var(--line); }
.guide-rail a { border-top-color: var(--line); }
.article-section h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.feature, .note, table, .split-callout { border-radius: 0.8rem; }
.table-wrap { border-radius: 0.8rem; }
th { background: var(--blue); }
.decision-strip, .formula { border-radius: 0.8rem; background: #252d42; overflow: hidden; }
.criteria-grid { gap: 0.75rem; border: 0; background: transparent; }
.criteria-grid article { border: 1px solid var(--line); border-radius: 0.8rem; }
.article-next { border-radius: 1.15rem; background: var(--blue); }

@media (max-width: 980px) {
  .hero { min-height: 650px; }
  .hero-copy { padding-block: 5rem 4rem; }
  .feature-story { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .mini-sheet { grid-column: auto; }
  .finds-grid { grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; }
}

@media (max-width: 720px) {
  .header-main { min-height: 68px; }
  .hero { display: grid; min-height: 650px; }
  .hero-copy { width: min(calc(100% - 30px), 930px); padding: 4.5rem 0 3.5rem; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-lede { font-size: 1rem; }
  .hero-proof { grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 2.7rem; padding: 0.8rem 0.45rem; }
  .hero-proof div { display: flex; flex-direction: column; gap: 0; padding-inline: 0.45rem; }
  .hero-proof span { margin-top: 0.35rem; font-size: 0.6rem; }
  .hero-visual { min-height: 100%; }
  .category-section, .finds-section { padding-block: 4.5rem; }
  .section-heading { text-align: left; }
  .section-heading h2 { margin-inline: 0; }
  .section-heading > p { margin-inline: 0; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { grid-template-rows: 108px 1fr; min-height: 252px; }
  .category-icon { width: 58px; height: 58px; }
  .feature-story { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4.5rem; }
  .mini-sheet { margin-top: 0; }
  .finds-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; width: min(calc(100% - 30px), var(--max)); }
  .finds-art { min-height: 370px; }
  .finds-copy { padding: 0; }
  .guides-section, .home-faq { padding-block: 4.5rem; }
  .alternatives-band { padding-block: 4.5rem; }
  .article-hero { padding-block: 3rem; }
  .article-next { border-radius: 0.9rem; }
  .independence { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-proof { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .hero-proof div { flex-direction: column; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { grid-template-rows: 112px 1fr; min-height: 248px; }
}

/* Homepage background mood: a clean blue aviation photograph with restrained
   mint accents and a strong left-side readability gradient. */
.home-header {
  color: #fff;
  background: #123d58;
  border-bottom-color: rgba(255,255,255,0.12);
  backdrop-filter: none;
}
.home-header.is-scrolled { border-bottom-color: rgba(255,255,255,0.16); box-shadow: 0 8px 30px rgba(4,25,40,0.2); }
.home-header .brand { color: #fff; }
.home-header .brand > span > span { color: #5ee0bc; }
.home-header .brand-mark { fill: #fff; background: rgba(255,255,255,0.12); }
.home-header .brand-mark-cut { fill: #43cdaa; }
.home-header .desktop-nav a { color: #d9ebf2; }
.home-header .desktop-nav a:hover,
.home-header .desktop-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.1); }
.home-header .header-cta { color: #083047; background: #43cdaa; }
.home-header .header-cta:hover { color: #06283c; background: #67e2c1; }
.home-header .menu-toggle { color: #fff; }
.home-header .mobile-nav { background: #fff; }
.home-header .mobile-nav a { color: var(--ink); }

.hero {
  grid-template-columns: 1fr;
  isolation: isolate;
  min-height: 640px;
  color: #fff;
  background: linear-gradient(120deg, #0d3149 0%, #155574 52%, #227b93 100%);
}
.hero::after {
  display: none;
}
.hero-copy { z-index: 4; }
.hero-copy {
  width: min(calc(100% - 48px), 1180px);
  align-items: flex-start;
  margin-inline: auto;
  padding: 5.5rem 0 4.5rem;
  text-align: left;
}
.hero h1 { max-width: 720px; }
.hero-lede { max-width: 560px; }
.hero-actions { justify-content: flex-start; }
.hero .hero-actions { margin-top: 0.75rem; }
.hero .eyebrow {
  color: #e9f8f5;
  border-color: rgba(255,255,255,0.18);
  background: rgba(6,38,56,0.35);
  box-shadow: 0 8px 30px rgba(4,25,40,0.12);
}
.hero .eyebrow span { background: #43cdaa; box-shadow: 0 0 0 4px rgba(67,205,170,0.18); }
.hero h1 { color: #fff; text-shadow: 0 2px 22px rgba(4,25,40,0.12); }
.hero-lede { color: #dceef4; }
.hero .button-accent { color: #083047; border-color: #43cdaa; background: #43cdaa; }
.hero .button-accent:hover { border-color: #67e2c1; background: #67e2c1; }
.hero .button-ghost { color: #fff; border-color: rgba(255,255,255,0.52); background: rgba(255,255,255,0.06); }
.hero .button-ghost:hover { color: #0d3149; border-color: #fff; background: #fff; }
.hero-proof {
  max-width: 610px;
  margin-top: 2.6rem;
  border-color: rgba(255,255,255,0.14);
  background: rgba(6,38,56,0.3);
  box-shadow: none;
}
.hero-proof div { border-right-color: rgba(255,255,255,0.16); }
.hero-proof strong { color: #fff; }
.hero-proof span { color: #c5dce5; }
.hero-visual { z-index: 0; }
.hero-visual::before {
  z-index: 2;
  background: linear-gradient(90deg, rgba(5,42,64,0.98) 0%, rgba(5,48,72,0.94) 32%, rgba(7,58,82,0.7) 50%, rgba(14,83,105,0.2) 73%, rgba(18,91,114,0.04) 100%);
}
.hero-visual::after { z-index: 1; background: linear-gradient(180deg, rgba(3,36,55,0.05), rgba(3,42,61,0.18)); }
.hero-visual img {
  opacity: 1;
  object-position: center 54%;
  filter: saturate(0.88) contrast(1.04) brightness(1.04);
  mix-blend-mode: normal;
  transform: translateX(20%) scale(1.05);
  transform-origin: center;
}

@media (max-width: 720px) {
  .hero { min-height: 650px; }
  .hero-copy { width: min(calc(100% - 40px), 1180px); padding: 4.7rem 0 3.5rem; }
  .hero-visual::before { background: linear-gradient(180deg, rgba(5,43,65,0.88), rgba(5,49,70,0.67)); }
  .hero-visual img { object-position: 22% center; transform: none; }
}

/* Inner-page editorial system: the homepage palette in a lighter reading mode. */
.site-header:not(.home-header) {
  color: #123d58;
  background: rgba(255,255,255,0.96);
  border-bottom-color: #dce7e9;
  box-shadow: 0 8px 30px rgba(9,44,64,0.04);
}
.site-header:not(.home-header).is-scrolled { border-bottom-color: #cadadd; box-shadow: 0 10px 34px rgba(9,44,64,0.08); }
.site-header:not(.home-header) .brand { color: #123d58; }
.site-header:not(.home-header) .brand > span > span { color: #0b806e; }
.site-header:not(.home-header) .brand-mark { fill: #fff; background: #123d58; }
.site-header:not(.home-header) .brand-mark-cut { fill: #43cdaa; }
.site-header:not(.home-header) .desktop-nav a { color: #506675; }
.site-header:not(.home-header) .desktop-nav a:hover,
.site-header:not(.home-header) .desktop-nav a[aria-current="page"] { color: #123d58; background: #e9f6f3; }
.site-header:not(.home-header) .header-cta { color: #fff; background: #123d58; }
.site-header:not(.home-header) .header-cta:hover { color: #083047; background: #43cdaa; }
.site-header:not(.home-header) .menu-toggle { color: #123d58; }

.article-main { color: #123d58; background: linear-gradient(180deg, #f5f9fa 0, #f8fafb 620px, #f7f8fc 100%); }
.article-main p { color: #5f7180; }
.article-main .breadcrumbs { color: #758692; }
.article-main .breadcrumbs a { color: #0b7667; }
.article-main .eyebrow,
.article-main .section-kicker { color: #0b7667; }
.article-hero { grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr); gap: clamp(3rem, 7vw, 7rem); }
.article-hero h1 { color: #123d58; }
.article-hero aside {
  padding: 1.35rem 1.4rem;
  border: 1px solid #d4e4e6;
  border-top: 4px solid #43cdaa;
  border-radius: 0.85rem;
  color: #123d58;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9,44,64,0.07);
}
.article-hero aside span { color: #0b7667; }
.article-hero aside p { color: #526a78; }
.article-rule { height: 2px; background: linear-gradient(90deg, #123d58 0 18%, #43cdaa 18% 31%, #dce7e9 31% 100%); }
.article-section h2,
.article-section h3 { color: #173c51; }
.guide-rail { border-top-color: #bcd1d6; }
.guide-rail a { border-top-color: #dce7e9; color: #607583; }
.guide-rail a:hover,
.guide-rail a[aria-current="page"] { color: #0b7667; }
.note { border-left-color: #43cdaa; color: #294b5e; background: #fff; box-shadow: 0 10px 30px rgba(9,44,64,0.055); }
.checklist li { color: #355568; }
.checklist li::before { color: #083047; background: #65d8bb; }
.steps li > span,
.feature > span,
.criteria-grid span,
.query-builder span,
.query-builder b { color: #0b7667; }
.feature,
.criteria-grid article,
.split-callout,
.article-main table { border-color: #dce7e9; background: #fff; }
.article-main th { background: #123d58; }
.decision-strip,
.formula { background: #123d58; }
.decision-strip strong,
.formula span { color: #67e2c1; }
.decision-strip div { border-right-color: rgba(255,255,255,0.16); }
.decision-strip span { color: #c9dfe7; }
.article-main .button-dark { color: #fff; border-color: #123d58; background: #123d58; }
.article-main .button-dark:hover { color: #083047; border-color: #43cdaa; background: #43cdaa; }
.article-next { background: #123d58; box-shadow: 0 18px 44px rgba(9,44,64,0.13); }
.article-next .eyebrow { color: #67e2c1; }
.article-next .button-accent { color: #083047; border-color: #43cdaa; background: #43cdaa; }
.article-next .button-accent:hover { border-color: #67e2c1; background: #67e2c1; }
.article-next .text-link { color: #fff; text-decoration-color: #67e2c1; }
.article-main .faq-list summary::after { color: #0b7667; }

@media (max-width: 720px) {
  .article-hero { grid-template-columns: 1fr; gap: 2.25rem; }
  .article-hero aside { max-width: none; }
}

/* Inner-page V2: reference-inspired information rhythm in the ACBuySpread palette. */
.site-header:not(.home-header) {
  color: #fff;
  background: #0b3048;
  border-bottom-color: rgba(255,255,255,0.12);
  box-shadow: none;
}
.site-header:not(.home-header).is-scrolled {
  border-bottom-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 34px rgba(2,24,37,0.22);
}
.site-header:not(.home-header) .brand { color: #fff; }
.site-header:not(.home-header) .brand > span > span { color: #67e2c1; }
.site-header:not(.home-header) .brand-mark { fill: #fff; background: rgba(255,255,255,0.12); }
.site-header:not(.home-header) .brand-mark-cut { fill: #43cdaa; }
.site-header:not(.home-header) .desktop-nav a { color: #d5e7ed; }
.site-header:not(.home-header) .desktop-nav a:hover,
.site-header:not(.home-header) .desktop-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.1); }
.site-header:not(.home-header) .header-cta { color: #073047; background: #43cdaa; }
.site-header:not(.home-header) .header-cta:hover { color: #06283c; background: #67e2c1; }
.site-header:not(.home-header) .menu-toggle { color: #fff; }
.site-header:not(.home-header) .mobile-nav { border-top-color: rgba(255,255,255,0.12); background: #0b3048; }
.site-header:not(.home-header) .mobile-nav a { border-bottom-color: rgba(255,255,255,0.12); color: #fff; }

.article-main { color: #123d58; background: #f1f6f7; }
.article-top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(118deg, #092d45 0%, #104c69 58%, #177d90 100%);
}
.article-top::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 82px 82px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 4%, #000 42%, #000 100%);
}
.article-top::after {
  position: absolute;
  z-index: -1;
  top: 90px;
  right: -190px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(103,226,193,0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 95px rgba(103,226,193,0.045), 0 0 0 190px rgba(255,255,255,0.025);
  content: "";
}
.article-main .breadcrumbs { position: relative; z-index: 1; padding-top: 1.8rem; color: #9fc1cc; }
.article-main .breadcrumbs a { color: #67e2c1; }
.article-main .breadcrumbs i { color: rgba(255,255,255,0.36); }
.article-hero {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.16fr) minmax(350px, 0.7fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 5.4rem;
}
.article-hero-copy { min-width: 0; }
.article-main .article-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-bottom: 1.4rem;
  padding: 0.48rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #dbf5ee;
  background: rgba(4,35,52,0.28);
}
.article-main .article-hero .eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: #43cdaa; box-shadow: 0 0 0 4px rgba(67,205,170,0.16); }
.article-hero h1 {
  max-width: 770px;
  margin-bottom: 1.4rem;
  color: #fff;
  font-size: clamp(3.4rem, 5.4vw, 5.6rem);
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.article-main .article-hero-copy > p:last-of-type { max-width: 690px; color: #d2e5eb; font-size: 1.08rem; line-height: 1.72; }
.article-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.article-main .article-hero-actions .button-accent { color: #073047; border-color: #43cdaa; border-radius: 999px; background: #43cdaa; }
.article-main .article-hero-actions .button-accent:hover { border-color: #67e2c1; background: #67e2c1; }
.article-hero-link { color: #fff; font-size: 0.86rem; font-weight: 780; text-decoration-color: rgba(103,226,193,0.8); }
.article-hero-link span { display: inline-block; margin-left: 0.35rem; color: #67e2c1; transition: transform 160ms ease; }
.article-hero-link:hover span { transform: translateX(4px); }

.article-hero .article-focus {
  position: relative;
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-radius: 1.1rem;
  color: #fff;
  background: rgba(4,35,52,0.48);
  box-shadow: 0 24px 60px rgba(2,24,37,0.2);
  backdrop-filter: blur(12px);
}
.article-focus-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.article-hero .article-focus-head span { color: #67e2c1; font-size: 0.69rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.article-focus-head b { color: #b8d2da; font-size: 0.62rem; letter-spacing: 0.07em; text-transform: uppercase; }
.article-focus ol { margin: 0; padding: 0; list-style: none; }
.article-focus li { display: grid; grid-template-columns: 42px 1fr; gap: 0.9rem; align-items: center; min-height: 82px; padding: 0.9rem 1.15rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.article-focus li > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(103,226,193,0.45); border-radius: 50%; color: #67e2c1; font-size: 0.66rem; font-weight: 900; }
.article-focus li strong { display: block; color: #fff; font-size: 0.98rem; line-height: 1.2; }
.article-focus li small { display: block; margin-top: 0.28rem; color: #aac8d1; font-size: 0.75rem; }
.article-hero .article-focus > p { display: flex; align-items: center; gap: 0.55rem; margin: 0; padding: 0.9rem 1.15rem; color: #aac8d1; font-size: 0.68rem; }
.article-focus > p i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #43cdaa; box-shadow: 0 0 0 4px rgba(67,205,170,0.12); }
.article-rule { height: 6px; background: linear-gradient(90deg, #43cdaa 0 28%, #79e4c7 28% 39%, #0b3048 39% 100%); }

.article-layout { grid-template-columns: 220px minmax(0, 860px); gap: clamp(3rem, 5vw, 5.5rem); padding-block: 5.2rem 7rem; }
.article-content { counter-reset: article-section; }
.article-content.article-wide { width: min(100%, 980px); }
.article-section {
  position: relative;
  counter-increment: article-section;
  margin-bottom: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid #d7e4e6;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 14px 38px rgba(9,44,64,0.055);
  scroll-margin-top: 6.5rem;
}
.article-section:nth-child(even) { border-color: #cce5df; background: linear-gradient(135deg, #f8fcfb 0%, #eef8f5 100%); }
.article-section::before {
  position: absolute;
  top: 1.35rem;
  right: 1.45rem;
  color: #8db2b8;
  content: "0" counter(article-section);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.article-section::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #43cdaa, #177d90);
  content: "";
}
.article-section:last-child { margin-bottom: 0; }
.article-main .article-section .section-kicker { margin-bottom: 0.85rem; color: #0b806e; }
.article-section h2 { max-width: 760px; margin-bottom: 1.25rem; color: #123d58; font-size: clamp(2rem, 3.35vw, 3.15rem); text-wrap: balance; }
.article-section h3 { color: #173c51; }
.article-section > p { max-width: 800px; color: #5b707e; font-size: 1rem; }
.guide-rail {
  top: 6.5rem;
  padding: 0.8rem 1rem 1rem;
  border: 1px solid #d7e4e6;
  border-top: 4px solid #43cdaa;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(9,44,64,0.05);
}
.guide-rail > span { color: #0b806e; }
.guide-rail a { border-top-color: #e1ebed; color: #607583; }
.guide-rail a:hover,
.guide-rail a[aria-current="page"] { color: #0b806e; }

.article-main .note { border: 1px solid #cde4df; border-left: 5px solid #43cdaa; border-radius: 0.75rem; color: #294b5e; background: #f3fbf8; box-shadow: none; }
.article-main .feature { border-color: #d7e4e6; border-radius: 0.8rem; background: #fff; }
.article-main .feature > span,
.article-main .steps li > span,
.article-main .criteria-grid span,
.article-main .query-builder span,
.article-main .query-builder b { color: #0b806e; }
.article-main .steps li { border-top-color: #d7e4e6; }
.article-main .steps li:last-child { border-bottom-color: #d7e4e6; }
.article-main .criteria-grid article,
.article-main .split-callout,
.article-main table { border-color: #d7e4e6; }
.article-main .split-callout { background: linear-gradient(135deg, #f5fbf9, #e9f7f3); }
.article-main th { background: #123d58; }
.article-main .decision-strip,
.article-main .formula { background: linear-gradient(135deg, #0b3048, #145670); }
.article-main .decision-strip strong,
.article-main .formula span { color: #67e2c1; }
.article-main .faq-list { border-top: 0; }
.article-main .faq-list details { border-bottom-color: #d7e4e6; }
.article-main code { color: #123d58; background: #dff1ed; }

.article-next {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: linear-gradient(118deg, #0b3048, #145c73);
  box-shadow: 0 22px 52px rgba(9,44,64,0.16);
}
.article-next::after { position: absolute; right: -70px; bottom: -130px; width: 320px; height: 320px; border: 1px solid rgba(103,226,193,0.22); border-radius: 50%; box-shadow: 0 0 0 60px rgba(103,226,193,0.045); content: ""; }
.article-next > div { position: relative; z-index: 1; }

@media (max-width: 980px) {
  .article-hero { grid-template-columns: 1fr; gap: 2.8rem; }
  .article-hero .article-focus { max-width: 680px; }
  .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 2.5rem; }
}

@media (max-width: 720px) {
  .article-top::before { background-size: 58px 58px; }
  .article-top::after { top: 260px; right: -260px; }
  .article-main .breadcrumbs { padding-top: 1.25rem; }
  .article-hero { gap: 2.4rem; padding-top: 2.8rem; padding-bottom: 3.5rem; }
  .article-hero h1 { font-size: clamp(2.7rem, 13.5vw, 4.1rem); }
  .article-main .article-hero-copy > p:last-of-type { font-size: 1rem; }
  .article-hero-actions { align-items: flex-start; }
  .article-focus li { min-height: 74px; }
  .article-layout { padding-block: 3.5rem 5rem; }
  .article-section { margin-bottom: 1.25rem; padding: 2rem 1.35rem 1.6rem; border-radius: 0.9rem; }
  .article-section::before { top: 0.95rem; right: 1rem; }
  .article-section h2 { padding-right: 1rem; font-size: clamp(2rem, 10vw, 2.55rem); }
  .guide-rail { top: auto; margin-bottom: 2rem; }
  .article-next { border-radius: 0.95rem; }
}

@media (max-width: 420px) {
  .article-hero-actions { display: grid; gap: 1rem; }
  .article-hero-actions .button { width: fit-content; }
  .article-focus-head { align-items: flex-start; }
  .article-focus li { grid-template-columns: 38px 1fr; padding-inline: 1rem; }
  .article-section { padding-inline: 1.2rem; }
}

/* User-supplied ACBuySpread mark. */
.brand img.brand-mark {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}
.home-header .brand img.brand-mark,
.site-header:not(.home-header) .brand img.brand-mark,
.brand-footer img.brand-mark { padding: 0; border-radius: 0; background: transparent; }

@media (max-width: 720px) {
  .brand img.brand-mark { width: 38px; height: 38px; }
}

/* Sprint 1 content tools. */
.article-main .table-wrap {
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-color: #43cdaa #e8f1f2;
}
.article-main .table-wrap table { min-width: 680px; }
.copy-template {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.2rem;
  overflow-x: auto;
  border: 1px solid #cde4df;
  border-radius: 0.75rem;
  color: #eafff9;
  background: #123d58;
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre;
}
.copy-template code { color: inherit; background: transparent; }
.copy-list { display: grid; gap: 0.75rem; margin-top: 1.6rem; }
.copy-list p { margin: 0; padding: 0.9rem 1rem; border: 1px solid #cde4df; border-radius: 0.65rem; background: #f3fbf8; }
.copy-list code { color: #123d58; background: transparent; }
.example-note { margin-top: 1rem; color: #5b707e; font-size: 0.86rem !important; }
.article-section a:not(.button) { font-weight: 750; text-underline-offset: 0.2em; }

@media (max-width: 720px) {
  .article-main .table-wrap {
    margin-inline: -0.35rem;
    padding-bottom: 0.35rem;
  }
  .copy-template { font-size: 0.72rem; }
}
