:root {
  color-scheme: dark;
  --ink: #f2f3f2;
  --muted: #a7afb6;
  --gold: #edcd98;
  --gold-strong: #f1d3a4;
  --blue: #99c2dd;
  --page: #101418;
  --surface: #161c22;
  --panel: #1b2229;
  --line: #303943;
  --measure: 80rem;
  --radius: .8rem;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--page);
  color: var(--ink);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 18rem; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
p, ul, ol { margin-top: 0; }
h1, h2, h3 { margin: 0 0 .7em; color: var(--ink); line-height: 1.09; }
h1 { font-size: clamp(2.65rem, 6.1vw, 5.7rem); letter-spacing: -.069em; font-weight: 650; }
h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); letter-spacing: -.059em; font-weight: 620; }
h3 { font-size: 1.2rem; letter-spacing: -.025em; }
p { color: var(--muted); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
:target { scroll-margin-top: 6rem; }
.wrap { width: min(var(--measure), 100% - 7rem); margin-inline: auto; }
.narrow { max-width: var(--measure); }
.skip { position: fixed; z-index: 20; top: .5rem; left: .5rem; padding: .5rem; transform: translateY(-200%); background: var(--gold); color: black; }
.skip:focus { transform: none; }
.site-header { position: relative; z-index: 2; background: #101418; border-bottom: 1px solid #273038; }
.nav-row, .footer-main { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; }
.nav-row { min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: 1.25rem; font-weight: 750; letter-spacing: .055em; line-height: 1; white-space: nowrap; }
.brand-dot { color: var(--gold); font-weight: 580; letter-spacing: -.03em; }
.brand small { display: block; margin-top: .42rem; font-size: .56rem; color: #b3bdc5; letter-spacing: .22em; font-weight: 650; }
.brand-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .55rem; border: 1px solid #755e3f; background: #222019; color: var(--gold); font-size: 1.2rem; font-weight: 650; letter-spacing: -.075em; }
#main-nav { display: flex; align-items: center; gap: clamp(1.15rem, 2.7vw, 2.65rem); }
#main-nav a, .nav-cta { text-decoration: none; font-size: .88rem; font-weight: 600; }
#main-nav a { color: #c0c6cc; }
#main-nav a:hover, #main-nav a:focus-visible, .footer-links a:hover { color: var(--gold); }
.nav-cta { white-space: nowrap; color: var(--gold); border: 1px solid #6e6049; padding: .6rem .9rem; border-radius: .45rem; }
.nav-cta span { margin-left: .45rem; }
.nav-toggle { display: none; }
.hero { position: relative; isolation: isolate; background: #10151a; overflow: hidden; }
.hero-photo, .hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; z-index: -2; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #101418 0%, #101418ef 24%, #10141887 54%, #10141810 100%), linear-gradient(0deg, #0e1318ed, transparent 43%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(17rem, .85fr); align-items: end; gap: 2.7rem; position: relative; padding-block: clamp(4.35rem, 7vw, 6.2rem) 3.2rem; }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 43rem; margin-top: .24em; margin-bottom: .35em; font-size: clamp(2.5rem, 4.9vw, 4.4rem); overflow-wrap: anywhere; hyphens: auto; }
.hero-copy p { font-size: clamp(1rem, 1.6vw, 1.22rem); color: #c1c9cf; max-width: 39rem; margin-bottom: 2rem; }
.kicker { display: inline-flex; align-items: center; gap: .7rem; color: var(--gold); font-size: .72rem; font-weight: 690; letter-spacing: .15em; line-height: 1.45; text-transform: uppercase; }
.kicker.signal { color: #b9cbd7; }
.kicker.signal::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #98c5df; box-shadow: 0 0 .6rem #6dbbfc77; flex: 0 0 auto; }
.action-row { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.btn { display: inline-flex; width: fit-content; align-items: center; gap: .75rem; min-height: 2.85rem; border-radius: .45rem; padding: .61rem 1rem; border: 1px solid var(--gold); background: var(--gold); color: #251c12; text-decoration: none; font-weight: 730; font-size: .91rem; line-height: 1.3; transition: background .17s, border-color .17s; }
.btn:hover, .btn:focus-visible { background: #f9ddb1; border-color: #f9ddb1; }
.btn.secondary { background: #1b222bbc; color: var(--ink); border-color: #4a5460; }
.btn.secondary:hover, .btn.secondary:focus-visible { background: #2a3541; border-color: #8293a3; }
.btn.danger { color: #ffd3ca; border-color: #824a45; background: #442a2a; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold); font-weight: 660; text-decoration-thickness: 1px; }
.hero-board { display: block; min-width: 0; max-width: 26rem; width: 100%; margin-left: auto; text-decoration: none; background: #161e27e8; border: 1px solid #65758775; border-radius: 1rem; padding: 1.2rem; box-shadow: 0 1.8rem 4rem #03070b80; backdrop-filter: blur(14px); transition: transform .22s, border-color .2s; }
.hero-board:hover { transform: translateY(-.25rem); border-color: #97b1c8; }
.board-head { display: flex; align-items: center; gap: .68rem; }
.board-head strong, .board-head small, .board-line strong, .board-line small { display: block; }
.board-head strong { font-size: .96rem; }
.board-head small { color: #abb8c5; font-size: .71rem; }
.board-square { width: 2.2rem; height: 2.2rem; flex: 0 0 2.2rem; display: grid; place-items: center; border-radius: .45rem; color: #b9d7e9; background: #293b4b; border: 1px solid #425b70; font-size: 1rem; }
.board-pill { margin-left: auto; color: #a8ccdb; background: #243844; border: 1px solid #4c6571; border-radius: 2rem; padding: .1rem .44rem; font-size: .57rem; letter-spacing: .12em; font-weight: 720; white-space: nowrap; }
.board-pill i { display: inline-block; width: .31rem; height: .31rem; background: #9ed0dc; border-radius: 50%; margin-right: .17rem; vertical-align: .06em; }
.board-list { margin-top: 1.05rem; display: grid; gap: .4rem; }
.board-label { color: #bac5ce; font-size: .58rem; letter-spacing: .15em; }
.board-line { display: grid; grid-template-columns: 1.7rem 1fr auto; align-items: center; gap: .55rem; border: 1px solid #3e4b586e; background: #26313d88; padding: .38rem .45rem; border-radius: .35rem; }
.board-line strong { font-size: .71rem; line-height: 1.3; }
.board-line small { font-size: .63rem; color: #b1bfcb; }
.board-icon { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: .35rem; color: #aacee9; background: #2d4358; }
.board-icon.gold { color: #ecc88d; background: #463b2f; }
.board-state { color: #9ecbb7; font-size: .59rem; }
.board-state.neutral { color: #c6c0ad; }
.board-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .85rem; color: #acbac6; border-top: 1px solid #43515c70; padding-top: .65rem; font-size: .65rem; }
.board-foot span:last-child { color: var(--gold); }
.hero-bottom { position: relative; display: flex; border-top: 1px solid #77899b4d; align-items: center; justify-content: space-between; color: #bdc9cf; gap: 1rem; padding: .75rem 0 1.05rem; font-size: .78rem; }
.hero-bottom a { width: 2rem; height: 2rem; border: 1px solid #77899b75; border-radius: 50%; display: grid; place-items: center; text-decoration: none; }
.intro-band { background: #181c20; border-bottom: 1px solid var(--line); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.15rem; }
.intro-band p { margin: 0; color: #e9d8bd; font-size: .91rem; }
.intro-band a { color: #dac9af; font-size: .87rem; }
.section { padding-block: clamp(3.2rem, 6.7vw, 6.5rem); }
.section-head { display: flex; gap: 2rem; align-items: end; justify-content: space-between; margin-bottom: 1.75rem; }
.section-head h2, .cta-band h2 { margin: .27em 0 0; max-width: 20ch; }
.section-head > p { width: 25rem; margin-bottom: .15rem; max-width: 100%; }
.product-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .9rem; }
.product-card { grid-column: span 2; display: flex; align-items: flex-start; gap: .85rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-decoration: none; transition: background .2s, border-color .2s; }
.product-card:hover { background: #212a32; border-color: #7d705b; }
.product-card h3 { margin: .12rem 0 .4rem; }
.product-card p { margin: 0; font-size: .86rem; }
.product-card .arrow { color: var(--gold); margin-left: auto; }
.module-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: 0 0 2.2rem; border-radius: .45rem; border: 1px solid #675741; background: #30291f; color: var(--gold); }
.industry-section { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 76% 10%, #253542 0%, #161d24 49%, #14191e 85%); }
.industry-layout, .demo-layout, .challenge-layout { display: grid; grid-template-columns: minmax(15rem, .88fr) minmax(16rem, 1.12fr); gap: clamp(1.1rem,4vw,3rem); align-items: start; }
.industry-links, .tags { display: flex; flex-wrap: wrap; gap: .52rem; margin-top: 1rem; }
.industry-links a, .tags span, .pill { display: inline-flex; color: #cbd2d8; background: #1d2630; padding: .27rem .63rem; border-radius: .45rem; border: 1px solid #3e4d5b; font-size: .77rem; }
.industry-links a { text-decoration: none; }
.industry-links a:hover { border-color: var(--gold); color: var(--gold); }
.industry-preview, .card { background: #1a222bd9; border: 1px solid #495865; border-radius: var(--radius); padding: clamp(1rem,3vw,1.65rem); min-width: 0; }
.industry-preview h3 { font-size: 2rem; margin-top: .28em; }
.industry-preview .text-link { margin-top: 1.05rem; }
.challenge-layout h2 { margin-top: .24em; }
.challenge-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; list-style: none; margin: 0; padding: 0; }
.challenge-list li { background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; padding: .75rem; display: flex; gap: .6rem; align-items: baseline; font-size: .92rem; }
.challenge-list li span { color: var(--gold); }
.safety-section { border-block: 1px solid var(--line); background: #161a1e; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; }
.feature-grid article { display: block; border-top: 1px solid #756346; padding: 1.2rem .1rem .35rem; }
.feature-grid article p { font-size: .95rem; }
.faq-list { max-width: 62rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq-list summary { cursor: pointer; font-weight: 650; }
.faq-list p { padding: .5rem 0 0 1.05rem; margin: 0; }
.cta-band { background: #221e18; border-block: 1px solid #5d4b33; }
.cta-band .band-inner { padding-block: 2.1rem; }
.site-footer { font-size: .82rem; border-top: 1px solid var(--line); }
.footer-main { padding-block: 2rem; align-items: flex-start; }
.footer-main p { margin: .65rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; align-items: center; justify-content: end; }
.footer-links a, .footer-links button { color: var(--muted); text-decoration: underline; }
.footer-links button { background: transparent; border: 0; font-size: inherit; padding: 0; }
.subhero { background: radial-gradient(ellipse at 100% 0%, #293c4a, #171e25 45%, #11161b 80%); border-bottom: 1px solid var(--line); padding-block: clamp(3.45rem,7vw,6.25rem); }
.subhero h1 { margin-top: .16em; margin-bottom: .32em; max-width: 18ch; font-size: clamp(2.75rem,5.4vw,5.15rem); }
.subhero p { max-width: 52rem; font-size: 1.11rem; }
.subhero.compact { padding-block: clamp(2.9rem,5vw,4.6rem); }
.subhero.compact h1 { font-size: clamp(2.4rem,5.3vw,4.65rem); }
.subhero .hero-inner { padding-block: 0; }
.crumb { display: block; width: fit-content; font-size: .86rem; margin-bottom: .85rem; color: #becbd4; }
.example { margin-top: 1.4rem; }
.example p { margin: .45rem 0 0; }
.prose { max-width: 60rem; }
.prose h2 { font-size: clamp(1.5rem,2.6vw,2.35rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose a, .demo-output a { color: var(--gold); }
.demo-layout { grid-template-columns: minmax(14rem,.8fr) minmax(16rem,1.2fr); }
.demo-options .btn { width: 100%; justify-content: space-between; text-align: left; }
.demo-options .btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
#demo-transcript { min-height: 8rem; list-style: none; padding: 0; margin: 1rem 0; }
#demo-transcript li { padding: .7rem .8rem; background: #25323d; border-radius: .48rem; margin-top: .65rem; }
#demo-transcript li strong { color: var(--gold); margin-right: .5rem; }
label, .field-label { display: block; color: var(--ink); font-weight: 640; font-size: .9rem; }
.field-label { margin: 0 0 .38rem; }
#demo-industry { margin-bottom: 1rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea { color: var(--ink); background: #141a20; border: 1px solid #536373; border-radius: .4rem; width: 100%; max-width: 100%; padding: .56rem .67rem; min-height: 2.7rem; }
label input:not([type=checkbox]):not([type=radio]), label select, label textarea { margin-top: .35rem; }
input[type=checkbox], input[type=radio] { accent-color: var(--gold); width: 1rem; height: 1rem; margin: .18rem .5rem 0 0; vertical-align: -.12em; flex: 0 0 auto; }
textarea { min-height: 6rem; resize: vertical; }
.fields, .stack { display: grid; gap: .85rem; }
.fields > p, .stack > p { margin-bottom: 0; }
.muted, .form-status { color: var(--muted); font-size: .88rem; }
.form-status:empty { display: none; }
.error { color: #ffb8ac; }
dialog { width: min(95vw,32rem); border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); background: var(--surface); padding: 0; }
dialog::backdrop { background: #0a0d10d9; }
.dialog-inner { padding: 1.55rem; }
.dialog-inner h2 { font-size: 1.65rem; }
.dialog-inner .action-row { margin-top: 1.25rem; }
.wizard { max-width: 56rem; margin: auto; }
.wizard h2 { font-size: clamp(1.7rem,4vw,2.85rem); }
.wizard progress { width: 100%; height: .65rem; accent-color: var(--gold); margin: 0 0 1rem; }
.wizard fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.wizard legend { padding: 0; margin: 0 0 .38rem; font-weight: 650; }
.wizard .choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.wizard .check-option { padding: .45rem .62rem; border: 1px solid #485866; border-radius: .4rem; background: #151b21; }
.wizard .check-option:has(input:checked) { border-color: var(--gold); }
.score { font-size: clamp(2.4rem,6vw,4rem); color: var(--gold); letter-spacing: -.06em; line-height: 1; }
.results-list { display: grid; gap: .5rem; margin: .4rem 0 1rem; padding-left: 1.1rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; min-width: 40rem; width: 100%; text-align: left; font-size: .86rem; }
th, td { border-bottom: 1px solid var(--line); padding: .6rem .5rem; }
.tabs, .admin-tabs, .admin-actions, .admin-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.admin-heading { justify-content: space-between; }
.admin-metrics, .admin-charts { display: grid; grid-template-columns: repeat(auto-fit,minmax(11rem,1fr)); gap: .8rem; }
.admin-metrics p, .admin-charts p { margin-bottom: 0; }
.admin-heading h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
.admin-heading h2, #admin-dashboard h2 { font-size: clamp(1.7rem,4vw,2.55rem); }
#admin-dashboard { display: grid; gap: 1rem; overflow-wrap: anywhere; }
#admin-dashboard details { margin-block: .65rem; }
#admin-dashboard summary { cursor: pointer; }
#admin-dashboard .card + .card { margin-top: .7rem; }
#admin-dashboard textarea { width: 100%; }

@media (max-width: 68rem) {
  .wrap { width: min(var(--measure), 100% - 4rem); }

  .hero-inner { gap: 1.5rem; }
}
@media (max-width: 51rem) {
  .wrap { width: calc(100% - 2.4rem); }
  .nav-row { gap: .6rem; min-height: 4.2rem; }
  .nav-toggle { display: inline-flex; padding: .45rem .65rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: .45rem; margin-left: auto; }
  #main-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 1rem 1.2rem; background: #171e25; border: 1px solid var(--line); }
  #main-nav[data-open="true"] { display: flex; gap: .9rem 1.3rem; flex-wrap: wrap; }
  .hero-inner { grid-template-columns: minmax(0,1fr); padding-block: 4.2rem 2.2rem; }
  .hero-copy h1 { font-size: clamp(2.15rem,7.9vw,3.8rem); }
  .hero-board { margin-left: 0; }
  .hero-photo { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg,#101418fa 4%,#101418b5 53%,#10141836), linear-gradient(0deg,#101418ef,transparent); }
  .section-head { display: grid; gap: .75rem; }
  .section-head > p { width: auto; }
  .product-card { grid-column: span 3; }
  .challenge-list { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 37rem) {
  .wrap { width: calc(100% - 2rem); }
  .brand { font-size: .97rem; gap: .45rem; }
  .brand-mark { width: 2rem; height: 2rem; }
  .brand small { font-size: .47rem; letter-spacing: .16em; }
  .nav-cta { font-size: .72rem; padding: .45rem .55rem; }
  .nav-cta span { display: none; }
  .nav-toggle { font-size: .73rem; }
  .hero-inner { padding-top: 3.35rem; }
  .hero-copy p { margin-bottom: 1.15rem; }
  .hero-bottom { padding-bottom: .75rem; }
  .product-grid, .feature-grid, .industry-layout, .challenge-layout, .demo-layout { grid-template-columns: minmax(0,1fr); }
  .product-card { grid-column: auto; }
  .footer-main, .band-inner { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .footer-links { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
