:root {
  color-scheme: dark;
  --black: #080c0c;
  --graphite: #111717;
  --paper: #f2f4ef;
  --ink: #18201e;
  --muted: #9da9a4;
  --mint: #48e0ad;
  --mint-deep: #159c72;
  --acid: #e2f875;
  --coral: #ff8064;
  --line-dark: rgba(211, 233, 224, .19);
  --line-light: rgba(22, 48, 40, .18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100%; margin: 0; color: #f4f7f5; background: var(--black); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1380px, calc(100% - 64px));
  height: 78px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-dark);
}
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(72, 224, 173, .58);
  border-radius: 6px;
  color: var(--mint);
  background: rgba(8, 15, 14, .7);
  font-size: 11px;
}
.brand-mark i { position: absolute; width: 22px; height: 1px; background: var(--coral); transform: rotate(-42deg); }
.brand-mark b { position: relative; z-index: 1; }
.brand-name { font-size: 15px; }
.brand-name span { color: var(--mint); }
.site-header nav { display: flex; align-items: center; gap: 30px; color: #c7d0cc; font-size: 13px; }
.site-header nav > a:not(.header-action):hover { color: #fff; }
.header-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid rgba(226, 248, 117, .58);
  border-radius: 5px;
  color: var(--acid);
  background: rgba(8, 12, 12, .42);
  font-weight: 700;
}

.hero {
  position: relative;
  height: calc(100svh - 56px);
  min-height: 610px;
  max-height: 860px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  isolation: isolate;
}
.hero-media { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 9, 9, .98) 0%, rgba(5, 9, 9, .92) 33%, rgba(5, 9, 9, .5) 63%, rgba(5, 9, 9, .16) 100%), linear-gradient(0deg, rgba(5, 9, 9, .72), transparent 42%);
}
.hero-sweep { position: absolute; z-index: -1; top: 0; bottom: 0; left: 67%; width: 1px; background: rgba(226, 248, 117, .45); box-shadow: 0 0 18px rgba(226, 248, 117, .35); animation: sweep 8s ease-in-out infinite alternate; }
.hero-content {
  width: min(1380px, calc(100% - 64px));
  height: 100%;
  margin: auto;
  padding-top: 138px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero-kicker { margin: 0 0 21px; display: flex; align-items: center; gap: 10px; color: #b6c2bd; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 700; }
.hero-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px rgba(72, 224, 173, .85); }
.hero h1 { margin: 0; font-size: 82px; line-height: .96; font-weight: 880; }
.hero h1 span { color: var(--mint); }
.hero-statement { max-width: 720px; margin: 28px 0 0; color: #f5f8f6; font-size: 28px; line-height: 1.36; font-weight: 650; }
.hero-intro { max-width: 620px; margin: 15px 0 0; color: #aab6b1; font-size: 15px; line-height: 1.85; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 12px; }
.hero-actions a { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 21px; border-radius: 5px; font-size: 13px; font-weight: 750; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.hero-actions a:hover { transform: translateY(-2px); }
.primary-action { color: #07110d; background: var(--mint); }
.primary-action:hover { background: #72efc5; }
.secondary-action { color: #e6ece9; border: 1px solid var(--line-dark); background: rgba(10, 16, 15, .5); }
.secondary-action:hover { border-color: rgba(226, 248, 117, .55); }
.hero-facts { margin: 34px 0 0; display: flex; gap: 42px; }
.hero-facts div { min-width: 100px; }
.hero-facts dt { color: #7d8b85; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.hero-facts dd { margin: 5px 0 0; color: #dfe6e2; font-size: 12px; }

.signal-panel {
  position: absolute;
  right: max(32px, calc((100% - 1380px) / 2));
  bottom: 42px;
  width: 286px;
  padding: 18px;
  border: 1px solid rgba(211, 233, 224, .26);
  border-radius: 6px;
  background: rgba(7, 12, 11, .77);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .32);
  backdrop-filter: blur(14px);
}
.signal-head { display: flex; align-items: center; justify-content: space-between; color: #9ba8a2; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.signal-head i { color: var(--acid); font-style: normal; }
.signal-panel ul { margin: 16px 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.signal-panel li { min-height: 39px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); color: #9da9a4; font-size: 10px; }
.signal-panel li b { color: var(--mint); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.signal-panel p { margin: 0; color: #68766f; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }

.signal-strip { height: 56px; padding: 0 32px; display: flex; align-items: center; justify-content: center; gap: 38px; overflow: hidden; color: #8f9d97; border-bottom: 1px solid var(--line-dark); background: #0a0f0f; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; white-space: nowrap; }
.signal-strip i { width: 4px; height: 4px; background: var(--coral); transform: rotate(45deg); }

.capabilities { padding: 116px max(32px, calc((100% - 1280px) / 2)); display: grid; grid-template-columns: .84fr 1.16fr; gap: 90px; color: var(--ink); background: var(--paper); }
.section-heading p { margin: 0 0 20px; color: var(--mint-deep); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; font-weight: 800; }
.section-heading h2 { max-width: 500px; margin: 0; font-size: 46px; line-height: 1.18; }
.capability-list { border-top: 1px solid var(--line-light); }
.capability-list article { min-height: 112px; display: grid; grid-template-columns: 58px 150px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--line-light); }
.capability-list article > span { color: var(--coral); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.capability-list h3 { margin: 0; font-size: 17px; }
.capability-list p { margin: 0; color: #66716d; font-size: 14px; line-height: 1.7; }

.closing-band { min-height: 300px; padding: 72px max(32px, calc((100% - 1280px) / 2)); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: center; color: #f4f7f5; background: var(--graphite); }
.closing-band p { grid-column: 1 / -1; margin: 0; color: var(--acid); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.closing-band h2 { margin: 24px 0 0; font-size: 50px; }
.closing-band a { align-self: end; min-height: 46px; display: inline-flex; align-items: center; gap: 18px; padding: 0 20px; border: 1px solid rgba(72, 224, 173, .62); border-radius: 5px; color: var(--mint); font-size: 13px; font-weight: 750; }
footer { min-height: 82px; padding: 0 max(32px, calc((100% - 1280px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #71807a; border-top: 1px solid var(--line-dark); background: var(--black); font-size: 11px; }
.footer-brand { color: #d7e0dc; font-weight: 800; }
footer a:last-child { justify-self: end; color: #a5b1ac; }

/* Sub2API authentication pages. */
body.brand-auth { color-scheme: light; overflow-x: hidden; color: var(--ink) !important; background: #f4f6f1 !important; }
body.brand-auth #domain-brand-panel {
  position: fixed;
  z-index: 3;
  inset: 0 44% 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 42px 38px;
  overflow: hidden;
  color: #f4f7f5;
  background: var(--black) url('/__brand/hero-network.webp?v=20260816') center / cover no-repeat;
}
body.brand-auth #domain-brand-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 10, 10, .93), rgba(6, 10, 10, .54)), linear-gradient(0deg, rgba(6, 10, 10, .86), transparent 58%); }
.auth-brandbar { display: flex; align-items: center; justify-content: space-between; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.auth-brandbar b { color: var(--mint); font-size: 14px; }
.auth-brandbar span { color: #91a099; }
.auth-story { max-width: 580px; }
.auth-story > span { color: var(--acid); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.auth-story h1 { margin: 17px 0 18px; font-size: 54px; line-height: 1.08; }
.auth-story p { max-width: 490px; margin: 0; color: #b0bbb6; font-size: 14px; line-height: 1.8; }
.auth-facts { margin-top: 30px; display: flex; gap: 12px; }
.auth-facts span { padding: 8px 10px; border: 1px solid var(--line-dark); border-radius: 4px; color: #a9b5b0; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; background: rgba(7, 12, 11, .48); }
.auth-foot { display: flex; justify-content: space-between; color: #71807a; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }

body.brand-auth #app { position: relative; z-index: 2; width: 44%; min-height: 100svh; margin-left: 56%; background: #f4f6f1; }
body.brand-auth #app > div { min-height: 100svh !important; padding: 34px !important; }
body.brand-auth #app > div > div.absolute { display: none !important; }
body.brand-auth #app .max-w-md { max-width: 410px !important; }
body.brand-auth #app .mb-8.text-center > div { display: none !important; }
body.brand-auth #app .mb-8.text-center { margin-bottom: 25px !important; }
body.brand-auth #app .mb-8.text-center h1 { margin-bottom: 7px !important; color: var(--ink) !important; background: none !important; -webkit-text-fill-color: currentColor !important; font-size: 25px !important; }
body.brand-auth #app .mb-8.text-center p { color: #74807b !important; font-size: 12px !important; }
body.brand-auth #app .card-glass { padding: 28px !important; border: 1px solid var(--line-light) !important; border-radius: 8px !important; color: var(--ink) !important; background: rgba(255, 255, 253, .96) !important; box-shadow: 0 20px 56px rgba(24, 42, 36, .11) !important; backdrop-filter: none !important; }
body.brand-auth #app .card-glass h2 { color: var(--ink) !important; font-size: 22px !important; }
body.brand-auth #app .card-glass p,
body.brand-auth #app .mt-6 p,
body.brand-auth #app .mt-8 { color: #74807b !important; }
body.brand-auth #app .input-label { color: #36433e !important; font-size: 12px !important; }
body.brand-auth #app input { height: 44px !important; border: 1px solid #cbd4d0 !important; border-radius: 5px !important; color: var(--ink) !important; background: #fbfcfa !important; box-shadow: none !important; }
body.brand-auth #app input:focus { border-color: var(--mint-deep) !important; box-shadow: 0 0 0 3px rgba(21, 156, 114, .12) !important; }
body.brand-auth #app button[type="submit"] { min-height: 44px !important; border: 0 !important; border-radius: 5px !important; color: #06110d !important; background: var(--mint) !important; box-shadow: none !important; }
body.brand-auth #app button[type="submit"]:hover { background: #72efc5 !important; }
body.brand-auth #app a { color: var(--mint-deep) !important; }
body.brand-auth #app svg { flex: 0 0 auto; }

@keyframes sweep { from { transform: translateX(-24px); opacity: .25; } to { transform: translateX(24px); opacity: .75; } }

@media (max-height: 720px) and (min-width: 821px) {
  .hero { min-height: 0; }
  .hero-content { padding-top: 100px; }
  .hero h1 { font-size: 64px; }
  .hero-statement { margin-top: 20px; font-size: 23px; }
  .hero-intro { line-height: 1.65; }
  .hero-actions { margin-top: 21px; }
  .hero-facts { margin-top: 23px; }
}

@media (max-width: 980px) {
  .site-header { width: calc(100% - 40px); }
  .site-header nav > a:first-child { display: none; }
  .hero-content { width: calc(100% - 40px); }
  .hero h1 { font-size: 66px; }
  .signal-panel { display: none; }
  .capabilities { grid-template-columns: 1fr; gap: 56px; }
  .capability-list article { grid-template-columns: 50px 140px 1fr; }
  body.brand-auth #domain-brand-panel { inset-right: 50%; padding: 28px; }
  body.brand-auth #app { width: 50%; margin-left: 50%; }
}

@media (max-width: 720px) {
  .site-header { height: 66px; width: calc(100% - 32px); }
  .site-header nav { gap: 16px; }
  .site-header nav > a:not(.header-action) { display: none; }
  .brand-name { font-size: 13px; }
  .header-action { min-height: 34px; padding: 0 12px; font-size: 11px; }
  .hero { height: calc(100svh - 48px); min-height: 0; max-height: none; }
  .hero-media { object-position: 66% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5, 9, 9, .96), rgba(5, 9, 9, .62)), linear-gradient(0deg, rgba(5, 9, 9, .84), transparent 48%); }
  .hero-sweep { display: none; }
  .hero-content { width: calc(100% - 32px); padding-top: 82px; justify-content: center; }
  .hero-kicker { margin-bottom: 16px; font-size: 9px; }
  .hero h1 { font-size: 46px; }
  .hero-statement { margin-top: 20px; font-size: 22px; }
  .hero-intro { margin-top: 12px; font-size: 13px; line-height: 1.7; }
  .hero-actions { width: 100%; margin-top: 22px; }
  .hero-actions a { min-height: 43px; padding: 0 15px; }
  .hero-facts { width: 100%; margin-top: 25px; gap: 12px; justify-content: space-between; }
  .hero-facts div { min-width: 0; }
  .signal-strip { height: 48px; justify-content: flex-start; gap: 24px; overflow-x: hidden; }
  .capabilities { padding: 78px 20px; gap: 44px; }
  .section-heading h2 { font-size: 34px; }
  .capability-list article { min-height: 132px; grid-template-columns: 34px 1fr; gap: 8px; }
  .capability-list article p { grid-column: 2; padding-bottom: 20px; }
  .closing-band { min-height: 280px; padding: 58px 20px; grid-template-columns: 1fr; }
  .closing-band h2 { font-size: 38px; }
  .closing-band a { justify-self: start; margin-top: 34px; }
  footer { min-height: 110px; padding: 22px 20px; grid-template-columns: 1fr auto; }
  footer > span { grid-column: 1 / -1; grid-row: 2; }

  body.brand-auth #domain-brand-panel { position: relative; inset: auto; width: 100%; height: 116px; padding: 19px 20px; }
  body.brand-auth #domain-brand-panel::before { background: linear-gradient(90deg, rgba(6, 10, 10, .94), rgba(6, 10, 10, .48)); }
  .auth-story { margin-top: auto; }
  .auth-story > span, .auth-story p, .auth-facts, .auth-foot { display: none; }
  .auth-story h1 { margin: 0; font-size: 22px; }
  body.brand-auth #app { width: 100%; min-height: calc(100svh - 116px); margin-left: 0; }
  body.brand-auth #app > div { min-height: calc(100svh - 116px) !important; padding: 24px 16px 30px !important; overflow: visible !important; }
  body.brand-auth #app .max-w-md { max-width: 420px !important; }
  body.brand-auth #app .card-glass { padding: 23px !important; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 39px; }
  .hero-statement { font-size: 19px; }
  .hero-actions { gap: 8px; }
  .hero-actions a { font-size: 11px; }
  .hero-facts dt { font-size: 8px; }
  .hero-facts dd { font-size: 10px; }
}

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