/* ==========================================================================
   Luther Rice OIT — site styles
   ========================================================================== */

:root {
  --navy: #1c234b;
  --navy-700: #263063;
  --navy-900: #0f1430;
  --gold: #c9a95c;
  --gold-600: #7d6226; /* text-safe gold: 5:1+ on light surfaces */
  --gold-100: #f6efdc;

  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f7;
  --ink: #141a36;
  --ink-2: #444b6b;
  --muted: #5d6384;
  --line: #e1e4ef;
  --accent: var(--navy);
  --accent-ink: #fff;
  --link: #2a3a9c;
  --ok: #1d8a5a;
  --warn: #b4560f;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 48, .06), 0 2px 8px rgba(15, 20, 48, .05);
  --shadow: 0 10px 30px -10px rgba(15, 20, 48, .18), 0 2px 6px rgba(15, 20, 48, .06);
  --shadow-lg: 0 30px 60px -20px rgba(15, 20, 48, .35);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --util-h: 38px;
  --main-h: 78px;
  --header-h: 116px; /* util + main */
  --space: clamp(48px, 6vw, 84px);     /* standard section padding */
  --space-sm: clamp(32px, 4vw, 52px);  /* tight sections, gaps between blocks */
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f24; --surface: #131937; --surface-2: #1a2147; --ink: #eef0fa; --ink-2: #c3c7dd;
    --muted: #9298b8; --line: #262e5a; --link: #a9b5ff; --accent: var(--gold); --accent-ink: #141a36;
    --gold-100: #2a2a33; --gold-600: #d8ba6e; --shadow: 0 10px 30px -10px rgba(0,0,0,.6); --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0f24; --surface: #131937; --surface-2: #1a2147; --ink: #eef0fa; --ink-2: #c3c7dd;
  --muted: #9298b8; --line: #262e5a; --link: #a9b5ff; --accent: var(--gold); --accent-ink: #141a36;
  --gold-100: #2a2a33; --gold-600: #d8ba6e; --shadow: 0 10px 30px -10px rgba(0,0,0,.6); --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.serif { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
kbd {
  font: 600 .72rem/1 var(--font); padding: .25em .5em; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--muted);
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container-narrow { width: min(880px, 100% - 32px); margin-inline: auto; }
.section { padding: var(--space) 0; }
.section-tight { padding: var(--space-sm) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 8px 24px -8px rgba(201,169,92,.7); }
.btn-gold:hover { background: #d8ba6e; }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: .55rem 1.05rem; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--link); }
.link-arrow .icon { transition: transform .2s; width: 1.1em; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
body:not(.has-overlay) { padding-top: var(--header-h); }
/* Soft top shade keeps white text readable over any hero photo */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -60px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8,11,30,.7), rgba(8,11,30,0)); transition: opacity .35s;
}
.site-header.is-scrolled { transform: translateY(calc(-1 * var(--util-h))); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

/* Utility bar */
.util-bar { height: var(--util-h); font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.1); }
body:not(.has-overlay) .util-bar { background: var(--navy-900); }
.util-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.util-status, .util-links a { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.75); text-decoration: none; font-weight: 500; transition: color .2s; }
.util-status:hover, .util-links a:hover { color: #fff; }
.util-links { display: flex; align-items: center; gap: 1.4rem; }
.util-links .icon { width: .95em; height: .95em; }
.util-sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
.util-theme {
  display: grid; place-items: center; width: 30px; height: 30px; margin: 0 -6px 0 -.4rem; border: 0; border-radius: 50%;
  background: transparent; color: rgba(255,255,255,.75); cursor: pointer; transition: background .2s, color .2s;
}
.util-theme:hover { background: rgba(255,255,255,.12); color: #fff; }
.util-theme .icon { width: 15px; height: 15px; }
[data-theme-toggle] .i-sun { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .i-sun { display: block; }
:root[data-theme="dark"] [data-theme-toggle] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-theme-toggle] .i-sun { display: block; }
  :root:not([data-theme="light"]) [data-theme-toggle] .i-moon { display: none; }
}

/* Main bar */
.main-bar { position: relative; height: var(--main-h); border-bottom: 1px solid transparent; transition: height .35s, background .35s, box-shadow .35s, border-color .35s; }
body:not(.has-overlay) .main-bar,
.site-header.is-scrolled .main-bar {
  background: rgba(17,22,52,.94); border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.site-header.is-scrolled .main-bar { height: 66px; box-shadow: 0 12px 32px -14px rgba(0,0,0,.55); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2.25rem; }

.brand { display: flex; align-items: center; gap: 1.1rem; text-decoration: none; color: #fff; flex: none; }
.brand-logo { height: 46px; width: auto; transition: height .35s; }
.site-header.is-scrolled .brand-logo { height: 40px; }
.brand-dept {
  padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
}

.primary-nav { margin-left: auto; height: 100%; }
.primary-nav > ul { display: flex; align-items: center; gap: 2.1rem; height: 100%; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .6rem 0; border: 0; background: none;
  font: 600 .97rem var(--font); color: rgba(255,255,255,.88); text-decoration: none; cursor: pointer; transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.nav-link:hover, .nav-link[aria-current], .nav-link[data-active], .nav-link[aria-expanded="true"] { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current]::after, .nav-link[data-active]::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link .chev { width: 1em; height: 1em; opacity: .75; transition: transform .25s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Mega menu */
.has-mega { height: 100%; display: flex; align-items: center; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .25s, visibility .2s;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  width: min(1040px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1fr 300px; gap: 12px; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 40px 80px -24px rgba(8,11,30,.55);
}
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-links a { display: flex; align-items: center; gap: .9rem; padding: .85rem; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background .2s; }
.mega-links a:hover, .mega-links a[aria-current] { background: var(--surface-2); }
.mega-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; background: var(--gold-100); color: var(--gold-600); transition: background .2s, color .2s; }
.mega-links a:hover .mega-icon { background: var(--navy); color: var(--gold); }
.mega-links strong { display: block; font-size: .98rem; }
.mega-links small { color: var(--muted); font-size: .85rem; }
.mega-feature {
  display: flex; flex-direction: column; gap: .45rem; padding: 1.5rem; border-radius: 16px; color: #fff; text-decoration: none;
  background: radial-gradient(circle at 100% 0, rgba(201,169,92,.38), transparent 55%), linear-gradient(150deg, var(--navy), var(--navy-900));
}
.mega-feature strong { font-size: 1.2rem; line-height: 1.25; }
.mega-feature > span:not(.badge):not(.link-arrow) { color: rgba(255,255,255,.78); font-size: .92rem; }
.mega-feature .link-arrow { color: var(--gold); margin-top: auto; padding-top: .75rem; }
.mega-feature:hover .link-arrow .icon { transform: translateX(4px); }

/* Actions */
.header-actions { display: flex; align-items: center; gap: .75rem; }
.search-trigger {
  display: flex; align-items: center; gap: .55rem; height: 42px; padding: 0 .55rem 0 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font: 600 .92rem var(--font);
  transition: background .2s, border-color .2s;
}
.search-trigger:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }
.search-trigger .icon { width: 1.05em; }
.search-trigger kbd { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; }
.header-cta { height: 42px; padding-block: 0; }
.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08);
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .2s, top .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  position: fixed; inset: 0; z-index: 49; overflow-y: auto; color: #fff;
  background: radial-gradient(circle at 100% 0, rgba(201,169,92,.18), transparent 45%), var(--navy-900);
  padding: calc(var(--header-h) + 12px) 0 32px; animation: fade .25s ease;
}
.m-links { display: grid; }
.m-links a {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; animation: mIn .45s both;
}
.m-links a:nth-child(2) { animation-delay: .03s; } .m-links a:nth-child(3) { animation-delay: .06s; }
.m-links a:nth-child(4) { animation-delay: .09s; } .m-links a:nth-child(5) { animation-delay: .12s; }
.m-links a:nth-child(6) { animation-delay: .15s; } .m-links a:nth-child(7) { animation-delay: .18s; }
.m-links a:nth-child(8) { animation-delay: .21s; }
.m-links .icon { color: var(--gold); }
.m-links .go { margin-left: auto; color: rgba(255,255,255,.35); width: 1.1em; }
.m-links a[aria-current] { color: var(--gold); }
@keyframes mIn { from { opacity: 0; transform: translateY(10px); } }
.m-label { margin: 1.75rem 0 .75rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.m-systems { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-systems a {
  display: flex; align-items: center; gap: .6rem; padding: 1rem; border-radius: 14px; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.m-systems .icon { color: var(--gold); }
.m-cta { width: 100%; margin-top: 1.25rem; padding: 1rem; }
.m-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.m-foot a { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.8); font-weight: 600; text-decoration: none; }
.m-foot .util-theme { margin: 0; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); }
.m-foot .util-theme .icon { width: 18px; height: 18px; }
.menu-open .site-header { transform: none !important; }
.menu-open .site-header::before { opacity: 0; }

@media (max-width: 1240px) {
  .brand-dept { display: none; }
  .primary-nav > ul { gap: 1.6rem; }
}
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .util-bar { display: none; }
  .main-bar { height: 68px; }
  .site-header.is-scrolled { transform: none; }
  .site-header.is-scrolled .main-bar { height: 68px; }
  .site-header.is-hidden { transform: translateY(-100%); }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .search-trigger { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 12px; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 34px; }
}

/* ---------- Search dialog ---------- */
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.search-dialog { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 10vh 16px 16px; }
.search-dialog[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 36, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s; }
.search-panel {
  position: relative; width: min(640px, 100%); background: var(--surface); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .22s cubic-bezier(.2,.9,.3,1.2);
}
.search-field { display: flex; align-items: center; gap: .75rem; padding: .75rem .75rem .75rem 1.25rem; border-bottom: 1px solid var(--line); }
.search-field > .icon { color: var(--muted); }
.search-field input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 1.1rem var(--font); color: var(--ink); padding: .6rem 0; min-width: 0; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: min(55vh, 460px); overflow-y: auto; }
.search-results a {
  display: flex; gap: .9rem; align-items: center; padding: .8rem; border-radius: 12px; text-decoration: none; color: var(--ink);
}
.search-results a[aria-selected="true"], .search-results a:hover { background: var(--surface-2); }
.search-results .r-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); flex: none; }
.search-results .r-title { font-weight: 700; display: block; }
.search-results .r-desc { font-size: .88rem; color: var(--muted); display: block; }
.search-results mark { background: color-mix(in srgb, var(--gold) 35%, transparent); color: inherit; border-radius: 3px; }
.search-results .r-empty { padding: 1.5rem; text-align: center; color: var(--muted); }
.search-results .r-group { padding: .6rem .8rem .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.search-foot { margin: 0; padding: .7rem 1.25rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(92svh, 860px); display: flex; align-items: center; isolation: isolate;
  color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 112px;
}
.parallax-bg { position: absolute; inset: -12% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.hero .parallax-bg { background-image: url("../img/hero.webp"); background-position: 70% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(28,35,75,.55), transparent 60%),
    linear-gradient(100deg, rgba(10,14,36,.96) 0%, rgba(20,26,62,.88) 42%, rgba(28,35,75,.45) 75%, rgba(28,35,75,.25) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 140px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-content { max-width: 720px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-family: var(--font-display); font-style: normal; color: var(--gold); font-weight: 700; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 2rem; }

.hero-search {
  display: flex; align-items: center; gap: .75rem; width: 100%; max-width: 620px; padding: .5rem .5rem .5rem 1.3rem;
  background: rgba(255,255,255,.97); border-radius: 999px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.55); cursor: text;
  border: 0; font: inherit; color: #6b7190; text-align: left; transition: transform .2s, box-shadow .2s;
}
.hero-search:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -15px rgba(0,0,0,.6); }
.hero-search .icon { color: var(--navy); width: 1.4em; height: 1.4em; }
.hero-search span { flex: 1; font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-search b { background: var(--navy); color: #fff; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; }

.quick-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; align-items: center; }
.quick-chips small { color: rgba(255,255,255,.7); font-weight: 600; margin-right: .25rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, border-color .2s;
}
.chip:hover { background: rgba(255,255,255,.2); border-color: var(--gold); }
.chip .icon { width: 1em; }

.hero-scroll { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); color: var(--ink-2); display: grid; justify-items: center; gap: 4px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.hero-scroll .icon { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Platform launcher (overlapping hero) */
.launcher { position: relative; z-index: 2; margin-top: -84px; }
.launcher-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.launch {
  display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.4rem; background: var(--surface); color: var(--ink);
  text-decoration: none; transition: background .2s;
}
.launch:hover { background: var(--surface-2); }
.launch-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--gold); flex: none; transition: transform .25s; }
.launch:hover .launch-icon { transform: rotate(-6deg) scale(1.06); }
.launch strong { display: block; font-size: 1.05rem; }
.launch small { color: var(--muted); font-size: .85rem; }
.launch .ext { margin-left: auto; color: var(--muted); width: 1em; opacity: 0; transition: opacity .2s; }
.launch:hover .ext { opacity: 1; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 1.75rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--navy-700));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
a.card:hover::after { transform: scaleX(1); }
.card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gold-100); color: var(--gold-600); margin-bottom: 1.25rem; }
.card-icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.card .link-arrow { margin-top: .5rem; }
.card-feature { grid-row: span 2; padding: 0; background: var(--navy); color: #fff; border: 0; }
.card-feature .card-media { aspect-ratio: 16/10; overflow: hidden; }
.card-feature .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-feature:hover .card-media img { transform: scale(1.05); }
.card-feature .card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card-feature h3 { color: #fff; font-size: 1.5rem; }
.card-feature p { color: rgba(255,255,255,.8); }
.card-feature .link-arrow { color: var(--gold); }
.badge { display: inline-block; align-self: flex-start; padding: .25rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: var(--navy-900); margin-bottom: .9rem; }

/* ---------- Checklist ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media-stack { position: relative; }
.media-stack img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.media-float {
  position: absolute; right: -20px; bottom: -28px; background: var(--surface); padding: 1.1rem 1.3rem; border-radius: 16px;
  box-shadow: var(--shadow-lg); display: flex; gap: .9rem; align-items: center; max-width: 290px; border: 1px solid var(--line);
}
.media-float .ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--surface-2) 0); position: relative; }
.media-float .ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); }
.media-float .ring span { position: relative; }
.media-float strong { display: block; line-height: 1.2; }
.media-float small { color: var(--muted); }

.checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 10px; }
.check-item {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.check-item label { display: flex; gap: 1rem; align-items: flex-start; cursor: pointer; flex: 1; }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.check-box {
  width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; flex: none;
  transition: background .2s, border-color .2s; color: transparent; margin-top: 2px;
}
.check-box .icon { width: 16px; height: 16px; stroke-width: 3; }
.check-item input:checked + .check-box { background: var(--ok); border-color: var(--ok); color: #fff; }
.check-item input:focus-visible + .check-box { outline: 3px solid var(--gold); outline-offset: 2px; }
.check-item:has(input:checked) { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); background: color-mix(in srgb, var(--ok) 6%, var(--surface)); }
.check-item:has(input:checked) strong { text-decoration: line-through; text-decoration-color: var(--muted); color: var(--muted); }
.check-item strong { display: block; }
.check-item small { color: var(--muted); font-size: .9rem; }
.check-item a { font-size: .9rem; font-weight: 700; white-space: nowrap; align-self: center; }

/* ---------- Parallax stats band ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(64px, 8vw, 108px) 0;
}
.band .parallax-bg { background-image: url("../img/datacenter.webp"); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,14,36,.88), rgba(28,35,75,.82)); }
.band h2, .band h3 { color: #fff; }
.band .lead { color: rgba(255,255,255,.8); }
.band .eyebrow { color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 1.75rem 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; color: var(--gold); display: block; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.stat strong { display: block; margin-bottom: .25rem; }
.stat p { color: rgba(255,255,255,.72); font-size: .93rem; margin: 0; }

/* ---------- Support channels ---------- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.channel { padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.channel .card-icon { background: var(--navy); color: var(--gold); }
.channel h3 { margin-bottom: .25rem; }
.channel .who { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .75rem; }
.channel p { color: var(--ink-2); flex: 1; }
.channel .btn { align-self: flex-start; }
.channel.primary { background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.channel.primary h3 { color: #fff; }
.channel.primary p { color: rgba(255,255,255,.8); }
.channel.primary .card-icon { background: var(--gold); color: var(--navy); }
.channel.primary .who { color: var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(44px, 6vw, 76px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(10,14,36,.95) 10%, rgba(28,35,75,.8) 60%, rgba(28,35,75,.55)); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 820px; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: var(--gold); }
.breadcrumb { display: flex; gap: .5rem; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Tabs ---------- */
.tabs-nav {
  display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); margin-bottom: 2rem; max-width: 100%; overflow-x: auto;
}
.tabs-nav button {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 999px; border: 0; background: transparent;
  font: 700 .98rem var(--font); color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; white-space: nowrap;
}
.tabs-nav button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.tab-panel { animation: panelIn .35s ease; }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.step {
  counter-increment: s; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--navy); color: var(--gold); font-weight: 800; font-family: var(--font-display); font-size: 1.2rem;
}
.step h3 { margin-bottom: .35rem; }
.step p, .step li { color: var(--ink-2); }
.step p:last-child, .step ul:last-child { margin-bottom: 0; }
.step ul { padding-left: 1.1rem; margin: .25rem 0 .75rem; }
.step li { margin-bottom: .3rem; }
.step .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.step img { border-radius: 12px; border: 1px solid var(--line); margin-top: 1rem; box-shadow: var(--shadow-sm); }

.callout {
  display: flex; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: var(--radius-sm);
  background: var(--gold-100); border-left: 4px solid var(--gold); color: var(--ink); margin: 1.25rem 0;
}
.callout .icon { color: var(--gold-600); margin-top: 3px; }
.callout p:last-child { margin: 0; }
.callout.warn { background: color-mix(in srgb, var(--warn) 10%, var(--surface)); border-color: var(--warn); }
.callout.warn .icon { color: var(--warn); }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.5rem 0; }
.spec { padding: 1.4rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.spec .icon { color: var(--gold-600); width: 28px; height: 28px; margin-bottom: .75rem; }
.spec small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec strong { display: block; font-size: 1.15rem; margin: .15rem 0 .25rem; }
.spec p { margin: 0; font-size: .92rem; color: var(--ink-2); }

.layout-aside { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.05rem; }
.aside-card ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.aside-card li a { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; color: var(--ink-2); padding: .4rem 0; }
.aside-card li a:hover { color: var(--link); }
.aside-card li .icon { color: var(--gold-600); width: 1.1em; }

/* ---------- FAQ ---------- */
.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 1.75rem; }
.faq-search { flex: 1 1 320px; display: flex; align-items: center; gap: .6rem; padding: .2rem 1.1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent); }
.faq-search .icon { color: var(--muted); }
.faq-search input { flex: 1; border: 0; outline: 0; background: transparent; padding: .8rem 0; font: 500 1rem var(--font); color: var(--ink); min-width: 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips button { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 .9rem var(--font); color: var(--ink-2); cursor: pointer; }
.filter-chips button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.accordion { display: grid; gap: 12px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .25s, border-color .25s; }
.acc[open] { box-shadow: var(--shadow); border-color: transparent; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 700; font-size: 1.05rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .q-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-100); color: var(--gold-600); flex: none; }
.acc summary .q-icon .icon { width: 20px; }
.acc summary .chev { margin-left: auto; color: var(--muted); transition: transform .3s; }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc-body { padding: 0 1.4rem 1.4rem calc(1.4rem + 38px + 1rem); color: var(--ink-2); }
.acc-body h3 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.acc-q { font-size: inherit; font-weight: inherit; margin: 0; letter-spacing: normal; line-height: 1.35; }
.acc-body ul, .acc-body ol { padding-left: 1.2rem; }
.acc-body li { margin-bottom: .3rem; }
.acc-body code { background: var(--surface-2); padding: .1em .4em; border-radius: 6px; font-size: .92em; }
.acc-body .browser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: .75rem; }
.acc-body .browser-grid > div { padding: 1rem 1.1rem; border-radius: 12px; background: var(--surface-2); }
.acc-body .browser-grid ol { margin: .3rem 0 0; font-size: .95rem; }
.faq-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.faq-empty[hidden] { display: none; }

/* ---------- About ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member { text-align: left; }
.member-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; margin-bottom: 1.1rem; box-shadow: var(--shadow); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.member:hover .member-photo img { transform: scale(1.05); }
.member-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(15,20,48,.45)); }
.member h3 { margin-bottom: .15rem; }
.member p { color: var(--gold-600); font-weight: 600; font-size: .95rem; margin: 0; }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.75rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.feature .card-icon { background: var(--gold); color: var(--navy); margin: 0; }
.feature p { color: rgba(255,255,255,.78); font-size: .96rem; margin: 0; }

.photo-wide { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-wide figcaption { padding: 1rem 1.25rem; background: var(--surface); color: var(--muted); font-size: .92rem; }

/* ---------- CTA + Footer ---------- */
.cta-band { padding: var(--space-sm) 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 90% 10%, rgba(201,169,92,.35), transparent 40%), linear-gradient(135deg, var(--navy), var(--navy-900));
  box-shadow: var(--shadow-lg);
}
.cta-inner h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-inner p { color: rgba(255,255,255,.8); margin: 0; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer h3.mt { margin-top: 1.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.brand-light, .brand-light:hover { color: #fff !important; margin-bottom: 1.25rem; }
.social { display: flex; gap: 8px; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.social a:hover { background: var(--gold); color: var(--navy) !important; transform: translateY(-2px); }
.social .icon { width: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .launcher-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .card-grid, .channels, .team { grid-template-columns: 1fr 1fr; }
  .card-feature { grid-row: auto; grid-column: 1 / -1; }
  .split, .layout-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .spec-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .media-float { right: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .card-grid, .channels, .team, .launcher-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 110px; }
  .hero-search b { display: none; }
  .hero-search { padding: 1rem 1.2rem; }
  .step { grid-template-columns: 1fr; gap: .75rem; }
  .acc-body { padding-left: 1.4rem; }
  .acc-body .browser-grid { grid-template-columns: 1fr; }
  .check-item { flex-wrap: wrap; }
  .tabs-nav { display: flex; }
  .tabs-nav button { flex: 1; justify-content: center; padding: .7rem .8rem; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}

.doc-date { opacity: .65; font-size: .8em; white-space: nowrap; }

/* ---------- Status ---------- */
.status-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .75rem; border-radius: 999px; margin-bottom: 1.4rem;
  font-size: .85rem; font-weight: 600; color: #fff; text-decoration: none; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.status-pill:hover { border-color: var(--gold); }
.dot { --c: #34d399; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); animation: pulse 2s infinite; flex: none; }
.status-degraded .dot, .dot.status-degraded, .status-maintenance .dot, .dot.status-maintenance { --c: #fbbf24; }
.status-outage .dot, .dot.status-outage { --c: #f87171; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.status-banner { background: #fbbf24; color: #1c1a10; font-weight: 600; font-size: .95rem; position: relative; z-index: 51; }
.status-banner.status-outage { background: #b91c1c; color: #fff; }
.status-banner .container { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; }
.status-banner a { margin-left: auto; color: inherit; font-weight: 700; }
.has-overlay .status-banner { position: fixed; top: var(--header-h); left: 0; right: 0; }

/* Beacon: solid core + two ripple rings */
.beacon { --c: #22c55e; position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; }
.beacon.sm { width: 14px; height: 14px; }
.beacon span { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.beacon.sm span { width: 8px; height: 8px; box-shadow: 0 0 8px var(--c); }
.beacon::before, .beacon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); opacity: 0;
  animation: ripple 2.6s cubic-bezier(0, .55, .45, 1) infinite;
}
.beacon::after { animation-delay: 1.3s; }
.beacon.status-degraded, .beacon.status-maintenance { --c: #f59e0b; }
.beacon.status-outage { --c: #ef4444; }
.beacon.status-outage::before, .beacon.status-outage::after { animation-duration: 1.4s; }
@keyframes ripple { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

/* Status board */
.status-board { --hb: #22c55e; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.status-board.state-degraded, .status-board.state-maintenance { --hb: #f59e0b; }
.status-board.state-outage { --hb: #ef4444; }
.sb-head {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 1.4rem 1.5rem 2.2rem; color: #fff;
  background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--hb) 28%, transparent), transparent 55%), linear-gradient(135deg, var(--navy), var(--navy-900));
}
.sb-title { position: relative; z-index: 1; display: flex; align-items: center; gap: 1rem; }
.sb-title strong { display: block; font-size: 1.15rem; line-height: 1.3; }
.sb-title small { color: rgba(255,255,255,.7); }
.sb-next { position: relative; z-index: 1; display: flex; align-items: center; gap: .65rem; }
.sb-next small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.sb-next b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.sb-ring {
  --p: 0; width: 34px; height: 34px; border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255,255,255,.15) 0);
  -webkit-mask: radial-gradient(circle, transparent 11px, #000 12px); mask: radial-gradient(circle, transparent 11px, #000 12px);
}
.ekg { position: absolute; left: 0; right: 0; bottom: 2px; width: 100%; height: 34px; }
.ekg path { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ekg .ekg-glow {
  stroke: var(--hb); stroke-width: 2.5; stroke-dasharray: 90 510; stroke-dashoffset: 600;
  filter: drop-shadow(0 0 5px var(--hb)); animation: ekg 3.4s linear infinite;
}
.state-outage .ekg .ekg-glow { animation-duration: 1.8s; }
@keyframes ekg { to { stroke-dashoffset: 0; } }

.sb-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .9rem 1.5rem; padding: 1.15rem 1.5rem; border-top: 1px solid var(--line); transition: background .2s; }
.sb-row:hover { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.sb-name { display: flex; align-items: center; gap: .85rem; }
.sb-name strong { display: block; line-height: 1.3; }
.tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tag-live { color: var(--ok); }
.tag-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.sb-metrics { display: flex; align-items: center; gap: 1rem; justify-self: end; }
.spark { width: 110px; height: 30px; overflow: visible; }
.spark-line { fill: none; stroke: var(--ok); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.6s ease .2s forwards; }
.spark-fill { fill: color-mix(in srgb, var(--ok) 14%, transparent); opacity: 0; animation: fadeIn .8s ease 1.2s forwards; }
.spark-dot { fill: var(--ok); animation: blink 1.6s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.sb-ms { min-width: 4.6em; text-align: right; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sb-ms b { color: var(--ink); }
.sb-state { padding: .3rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 700; white-space: nowrap; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.sb-state.st-degraded, .sb-state.st-maintenance { color: #b45309; background: rgba(245,158,11,.14); }
.sb-state.st-outage { color: #dc2626; background: rgba(239,68,68,.13); }
.sb-uptime { grid-column: 1 / -1; }
.bars { display: grid; grid-template-columns: repeat(48, 1fr); gap: 3px; height: 26px; }
.bars i { display: block; border-radius: 3px; background: #22c55e; transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 12ms), filter .2s; }
.js .reveal:not(.is-in) .bars i { transform: scaleY(0); }
.bars i:hover { filter: brightness(1.2); transform: scaleY(1.18); transition-delay: 0s; }
.bars .b-degraded, .bars .b-maintenance { background: #f59e0b; }
.bars .b-outage { background: #ef4444; }
.bars .b-none { background: var(--surface-2); }
.bars-legend { display: flex; justify-content: space-between; margin-top: .4rem; font-size: .74rem; color: var(--muted); }
.bars-legend span:nth-child(2) { font-weight: 700; color: var(--ink); }
.sb-note { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--ink-2); }

/* Homepage status strip */
.status-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 14px; padding: .8rem 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
  color: var(--ink-2); font-size: .88rem; text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.status-strip:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.ss-label { display: inline-flex; align-items: center; gap: .55rem; padding-right: 1.2rem; border-right: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.ss-item { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.ss-item .dot { width: 8px; height: 8px; }
.ss-item em { font-style: normal; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.ss-more { display: inline-flex; align-items: center; gap: .3rem; margin-left: auto; font-weight: 700; color: var(--link); }
.ss-more .icon { width: 1em; transition: transform .2s; }
.status-strip:hover .ss-more .icon { transform: translateX(3px); }

@media (max-width: 640px) {
  .sb-row { grid-template-columns: 1fr; }
  .sb-metrics { justify-self: start; }
  .spark { width: 80px; }
  .bars { gap: 2px; }
  .ss-label { width: 100%; padding: 0; border: 0; }
  .ss-more { margin-left: 0; }
}

/* ---------- Security / guides ---------- */
.flag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.flag { display: flex; gap: .9rem; padding: 1.2rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.flag .icon { color: #dc2626; margin-top: 3px; }
.flag strong { display: block; margin-bottom: .15rem; }
.flag p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.email-mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .95rem; }
.email-mock .bar { display: flex; gap: 6px; padding: .8rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.email-mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.email-mock .meta { padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); display: grid; gap: .2rem; }
.email-mock .meta span { color: var(--muted); }
.email-mock .body { padding: 1.3rem; }
.email-mock .body p { margin-bottom: .8rem; }
.email-mock .fake-btn { display: inline-block; padding: .6rem 1.1rem; background: #2563eb; color: #fff; border-radius: 6px; font-weight: 700; }
.redflag { position: relative; background: color-mix(in srgb, #dc2626 12%, transparent); border-bottom: 2px dashed #dc2626; padding: 0 .15em; border-radius: 3px; }
.redflag sup { font-weight: 800; color: #dc2626; margin-left: 2px; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.do-dont > div { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.do-dont h3 { display: flex; align-items: center; gap: .5rem; }
.do-dont .do h3 { color: var(--ok); }
.do-dont .dont h3 { color: #dc2626; }
.do-dont ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); }
.do-dont li { margin-bottom: .4rem; }
.guide-block { padding-top: var(--space-sm); }
.guide-block + .guide-block { border-top: 1px solid var(--line); margin-top: var(--space-sm); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.75rem; }
.toc a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.toc a:hover { border-color: var(--gold); }
.toc .icon { width: 1em; }
.speed-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); font-size: .96rem; }
.speed-table th, .speed-table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.speed-table th { background: var(--surface-2); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.speed-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }

/* Ticket helper */
.ticket { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ticket label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.ticket .full { grid-column: 1 / -1; }
.ticket input, .ticket select, .ticket textarea {
  font: 500 1rem var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; width: 100%;
}
.ticket textarea { min-height: 110px; resize: vertical; }
.ticket input:focus, .ticket select:focus, .ticket textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent); }
.ticket .tried { display: flex; flex-wrap: wrap; gap: 8px; }
.ticket .tried label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--bg); }
.ticket .tried input { width: auto; }
.ticket .actions { display: flex; gap: .6rem; flex-wrap: wrap; }

@media (max-width: 640px) {
  .flag-grid, .do-dont, .ticket { grid-template-columns: 1fr; }
}
@media (min-width: 1081px) { .hero .status-pill { display: none; } }

/* ---------- Utilities ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.aside-card h2 { font-size: 1.05rem; margin-bottom: .6rem; }

/* ---------- Print: clean, ink-friendly guides ---------- */
@media print {
  .site-header, .mobile-nav, .search-dialog, .cta-band, .site-footer, .status-banner, .aside-card, .toc, .hero-scroll,
  .parallax-bg, .launcher, .status-strip, .feedback, .tabs-nav, .actions, .faq-tools, .ekg, .sb-next { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; padding: 0 !important; }
  .page-hero, .hero, .band { color: #000; padding: 0 0 12pt; min-height: 0; }
  .page-hero::before, .hero::before, .hero::after, .band::before { display: none; }
  .page-hero h1, .hero h1, .band h2, .band h3, .page-hero .lead, .breadcrumb, .breadcrumb a { color: #000 !important; }
  .tab-panel[hidden] { display: block !important; }
  .acc:not([open]) > .acc-body { display: block; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .step, .card, .check-item, .acc, .spec { break-inside: avoid; box-shadow: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .section, .section-tight { padding: 12pt 0; }
}

/* ---------- Device check ---------- */
.overlap { position: relative; z-index: 2; margin-top: -64px; }
.devcheck { --p: 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dc-intro { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center; }
.dc-intro h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.dc-intro p { color: var(--ink-2); }
.dc-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
.dc-summary { margin: 1rem 0 0; min-height: 1.6em; }
.dc-score { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.dc-score svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dc-track { fill: none; stroke: var(--surface-2); stroke-width: 10; }
.dc-meter { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; stroke-dasharray: var(--p) 100; transition: stroke-dasharray .6s cubic-bezier(.2,.8,.2,1), stroke .3s; }
.dc-pass .dc-meter { stroke: #22c55e; } .dc-warn .dc-meter { stroke: #f59e0b; } .dc-fail .dc-meter { stroke: #ef4444; }
.dc-score [data-dc-score-label] { position: relative; display: grid; justify-items: center; line-height: 1.1; color: var(--ink); }
.dc-score [data-dc-score-label] .icon { width: 44px; height: 44px; color: var(--gold-600); }
.dc-score b { font-family: var(--font-display); font-size: 2.4rem; }
.dc-score small { font-size: .78rem; color: var(--muted); }
.is-running .dc-score svg { animation: spinSlow 2.4s linear infinite; }
@keyframes spinSlow { to { transform: rotate(270deg); } }

.dc-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 8px; }
.dc-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: start; padding: .9rem 1rem;
  border-radius: 14px; border: 1px solid var(--line); background: var(--bg); transition: border-color .3s, background .3s, opacity .3s;
  animation: mIn .35s both;
}
.dc-item.is-pending { opacity: .5; }
.dc-status { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: #fff; }
.dc-status svg { width: 16px; height: 16px; }
.dc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--gold); }
.is-running .dc-spin { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dc-item.is-pass .dc-status { background: #16a34a; animation: pop .3s; }
.dc-item.is-warn .dc-status { background: #d97706; animation: pop .3s; }
.dc-item.is-fail .dc-status { background: #dc2626; animation: pop .3s; }
.dc-item.is-info .dc-status { background: var(--navy-700); animation: pop .3s; }
.dc-item.is-warn { border-color: rgba(217,119,6,.35); background: color-mix(in srgb, #f59e0b 6%, var(--surface)); }
.dc-item.is-fail { border-color: rgba(220,38,38,.35); background: color-mix(in srgb, #ef4444 6%, var(--surface)); }
.dc-main strong { display: block; }
.dc-advice { display: block; font-size: .9rem; color: var(--ink-2); }
.dc-advice:empty { display: none; }
.dc-value { font-weight: 700; font-size: .92rem; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: .2rem; }
.devcheck.dc-pass .dc-summary strong { color: var(--ok); }
.devcheck.dc-fail .dc-summary strong { color: #dc2626; }
.devcheck.dc-warn .dc-summary strong { color: #b45309; }
@media (max-width: 640px) {
  .dc-intro { grid-template-columns: 1fr; justify-items: start; }
  .dc-score { width: 120px; height: 120px; }
  .dc-item { grid-template-columns: auto 1fr; }
  .dc-value { grid-column: 2; text-align: left; padding: 0; }
}

/* ---------- Page feedback ---------- */
.feedback-wrap { padding: 0; }
.feedback-wrap:last-child { padding-bottom: var(--space-sm); }
.feedback { padding: 1.25rem 1.5rem; border-radius: 16px; background: var(--surface); border: 1px dashed var(--line); }
.fb-ask { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.fb-votes { display: flex; gap: .5rem; }
.fb-btn { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 600 .95rem var(--font); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.fb-btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.fb-btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.fb-more { display: grid; gap: .6rem; margin-top: 1rem; }
.fb-more label { font-weight: 600; font-size: .95rem; }
.fb-more small { font-weight: 400; color: var(--muted); }
.fb-more textarea { font: 500 1rem var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; resize: vertical; }
.fb-more textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent); }
.fb-more .btn { justify-self: start; }
.fb-thanks { margin: 0; font-weight: 600; color: var(--ok); }

.faq-bulk { display: flex; align-items: center; gap: .5rem; color: var(--muted); order: 3; width: 100%; justify-content: flex-end; font-size: .9rem; }
.link-btn { border: 0; background: none; padding: 0; font: 600 .9rem var(--font); color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.filter-chips .count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; margin-left: .2rem; padding: 0 .35em; border-radius: 999px; font-size: .75em; background: var(--surface-2); color: var(--muted); }
.filter-chips button[aria-pressed="true"] .count { background: rgba(255,255,255,.2); color: inherit; }

/* ---------- About: scope of support ---------- */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scope { padding: 1.75rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.scope ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.scope li { margin-bottom: .45rem; }
.scope-tag { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.scope-tag .icon { width: 1em; height: 1em; }
.scope-tag.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.scope-tag.mid { background: rgba(245,158,11,.15); color: #b45309; }
.scope-tag.info { background: var(--surface-2); color: var(--ink); }
@media (max-width: 900px) { .scope-grid { grid-template-columns: 1fr; } }

/* ---------- Homepage news & alerts ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news { display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
a.news:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news p { margin: 0; color: var(--ink-2); font-size: .95rem; flex: 1; }
.news .link-arrow { margin-top: .5rem; font-size: .92rem; }
.news-meta { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--muted); }
.news-type { padding: .15rem .55rem; border-radius: 999px; font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: var(--gold-100); color: var(--gold-600); }
.news-alert { border-top-color: #dc2626; }
.news-alert .news-type { background: rgba(220,38,38,.12); color: #dc2626; }
.news-notice { border-top-color: #f59e0b; }
.news-notice .news-type { background: rgba(245,158,11,.15); color: #b45309; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

/* Amber/red text stays readable in dark mode */
:root[data-theme="dark"] .sb-state.st-degraded, :root[data-theme="dark"] .sb-state.st-maintenance,
:root[data-theme="dark"] .scope-tag.mid, :root[data-theme="dark"] .news-notice .news-type,
:root[data-theme="dark"] .devcheck.dc-warn .dc-summary strong { color: #fbbf24; }
:root[data-theme="dark"] .sb-state.st-outage, :root[data-theme="dark"] .news-alert .news-type,
:root[data-theme="dark"] .devcheck.dc-fail .dc-summary strong { color: #f87171; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sb-state.st-degraded, :root:not([data-theme="light"]) .sb-state.st-maintenance,
  :root:not([data-theme="light"]) .scope-tag.mid, :root:not([data-theme="light"]) .news-notice .news-type,
  :root:not([data-theme="light"]) .devcheck.dc-warn .dc-summary strong { color: #fbbf24; }
  :root:not([data-theme="light"]) .sb-state.st-outage, :root:not([data-theme="light"]) .news-alert .news-type,
  :root:not([data-theme="light"]) .devcheck.dc-fail .dc-summary strong { color: #f87171; }
}

/* ---------- Support hours badge ---------- */
.hours-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--ok); white-space: nowrap; }
.hours-badge .dot { width: 8px; height: 8px; }
.hours-badge.is-closed { color: var(--muted); }
.hours-badge.is-closed .dot { --c: #9ca3af; animation: none; }
.hours-badge.on-dark { color: #6ee7a8; }
.hours-badge.on-dark.is-closed { color: rgba(255,255,255,.65); }
.hours-line { margin: 0 0 .75rem; line-height: 1.5; }
.hours-line small { color: var(--muted); }
.channel.primary .hours-line small { color: rgba(255,255,255,.7); }
.footer-hours { font-size: .9rem; line-height: 1.6; }
.m-call { display: grid; gap: .25rem; }
@media (max-width: 1240px) { .util-links .hours-badge { display: none; } }
