@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-500.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-600.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-700.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-800.ttf') format('truetype'); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-700-italic.ttf') format('truetype'); font-style: italic; font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-400.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-500.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-600.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-700.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --black: #08090b;
  --black-soft: #0d0f12;
  --panel: #121418;
  --panel-light: #171a1f;
  --line: #282c32;
  --line-soft: #1c2025;
  --white: #f6f6f3;
  --muted: #9ba0a8;
  --orange: #ff6a00;
  --orange-hot: #ff821f;
  --orange-dark: #a84400;
  --green: #72e3a2;
  --max: 1320px;
  --display: 'Barlow Condensed', Impact, sans-serif;
  --body: Inter, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% -10%, rgba(255,106,0,.13), transparent 30%),
    radial-gradient(circle at -10% 60%, rgba(255,106,0,.06), transparent 26%),
    var(--black);
  content: '';
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }

.site-shell { min-height: 100vh; overflow: hidden; }
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 88px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(8,9,11,.72);
  backdrop-filter: blur(16px);
  transition: height .2s ease, background .2s ease;
}
.site-header.is-scrolled { height: 72px; background: rgba(8,9,11,.94); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 190px; }
.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
}
.brand-mark::before {
  position: absolute;
  inset: 1px;
  border: 2px solid var(--orange);
  content: '';
  transform: rotate(45deg);
}
.brand-mark b { position: relative; letter-spacing: -.05em; }
.brand-copy { display: flex; flex-direction: column; line-height: .95; text-transform: uppercase; }
.brand-copy strong { font: 800 24px/1 var(--display); letter-spacing: .05em; }
.brand-copy span { color: var(--muted); font: 600 11px/1 var(--body); letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); }
.site-nav > a:not(.button) { color: #c7c9cd; font-size: 13px; font-weight: 600; }
.site-nav > a:not(.button):hover { color: #fff; }
.nav-toggle { display: none; border: 0; background: transparent; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .035em;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding-inline: 19px; }
.button-primary { border-color: var(--orange); background: var(--orange); color: #111; box-shadow: 0 12px 32px rgba(255,106,0,.18); }
.button-primary:hover { border-color: var(--orange-hot); background: var(--orange-hot); }
.button[aria-disabled="true"] { pointer-events: none; cursor: not-allowed; opacity: .58; box-shadow: none; }
.button:disabled { cursor: wait; opacity: .72; transform: none; }
.checkout-feedback { margin: 0 0 14px; padding: 11px 13px; border: 1px solid #9e292e; color: #ffb0b3; background: rgba(158,41,46,.1); font-size: 12px; }
.checkout-consent { max-width: 720px; margin: 0 0 16px; font-size: 12px; line-height: 1.55; }
.checkout-terms { max-width: 720px; margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.checkout-terms a, .legal-copy a { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.button-ghost { border-color: #3a3e44; background: rgba(15,17,20,.65); color: #fff; }
.button-ghost:hover { border-color: #6a6f77; }
.button-block { width: 100%; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: #b5b8bd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow span { width: 27px; height: 2px; background: var(--orange); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .96; text-transform: uppercase; }
h1 { font-size: clamp(54px, 7vw, 106px); letter-spacing: -.035em; }
h2 { font-size: clamp(42px, 5vw, 70px); letter-spacing: -.025em; }
h3 { font-size: 29px; letter-spacing: -.01em; }
p { margin: 0; }

.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  padding: 160px max(28px, calc((100vw - var(--max)) / 2)) 82px;
  isolation: isolate;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
}
.hero-glow { position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: 30px; border-radius: 50%; background: rgba(255,106,0,.12); filter: blur(100px); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 8px; }
.hero h1 em { color: var(--orange); font-style: italic; }
.hero-lead { max-width: 620px; margin: 30px 0 34px; color: #b6bac0; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; gap: clamp(25px, 3vw, 46px); margin-top: 55px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { font: 700 28px/1 var(--display); text-transform: uppercase; }
.hero-facts span { margin-top: 7px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }

.logger-visual {
  position: relative;
  z-index: 2;
  width: min(790px, 58vw);
  justify-self: start;
  border: 1px solid #343840;
  border-radius: 7px;
  background: #0d0f12;
  box-shadow: -35px 40px 90px rgba(0,0,0,.58), 0 0 0 8px rgba(255,255,255,.018);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.logger-visual::after { position: absolute; inset: -28px -28px auto auto; z-index: -1; width: 46%; height: 48%; border: 1px solid rgba(255,106,0,.35); content: ''; }
.visual-topbar { display: flex; height: 57px; align-items: center; justify-content: space-between; padding: 0 19px; border-bottom: 1px solid #292d33; background: #13161a; }
.visual-brand { font: 700 18px/1 var(--display); letter-spacing: .02em; }
.visual-brand b { color: var(--orange); }
.status-pill { display: flex; align-items: center; gap: 7px; color: #b7bbc1; font-size: 8px; letter-spacing: .11em; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 11px var(--green); }
.visual-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 13px; }
.metric-card, .trace-card { border: 1px solid #252930; background: linear-gradient(145deg, #15181d, #101216); }
.metric-card { position: relative; min-height: 105px; padding: 15px; overflow: hidden; }
.metric-card span { display: block; color: #777d85; font-size: 7px; font-weight: 700; letter-spacing: .14em; }
.metric-card strong { display: inline-block; margin-top: 11px; font: 600 27px/1 var(--body); letter-spacing: -.06em; }
.metric-card small { margin-left: 5px; color: #838891; font-size: 8px; }
.metric-card i { position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--orange) var(--fill), #252a30 var(--fill)); }
.fill-66 { --fill: 66%; }
.fill-58 { --fill: 58%; }
.fill-76 { --fill: 76%; }
.metric-rpm { border-color: rgba(255,106,0,.45); }
.trace-card { grid-column: 1 / -1; padding: 16px 16px 6px; }
.trace-labels { display: flex; justify-content: space-between; color: #81868e; font-size: 7px; font-weight: 700; letter-spacing: .12em; }
.trace-card svg { width: 100%; height: auto; margin-top: 5px; }
.grid-lines path { fill: none; stroke: #262b31; stroke-width: 1; }
.trace-fill { fill: url(#traceFill); }
.trace-accent, .trace-white { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trace-accent { stroke: var(--orange); stroke-width: 3; filter: drop-shadow(0 0 5px rgba(255,106,0,.5)); }
.trace-white { stroke: #d7d9dc; stroke-width: 1.5; opacity: .65; }

.trust-strip { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 70px); min-height: 98px; padding: 20px 28px; border-block: 1px solid var(--line-soft); background: #0b0d0f; color: #72777f; font: 600 12px/1 var(--display); letter-spacing: .08em; text-align: center; }
.section { width: min(calc(100% - 56px), var(--max)); margin: 0 auto; padding: 120px 0; }
.section-heading { margin-bottom: 54px; }
.split-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 80px; }
.split-heading > p { max-width: 510px; padding-bottom: 6px; color: var(--muted); font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-card { position: relative; display: flex; min-height: 285px; flex-direction: column; justify-content: space-between; padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, #13161a, #0e1013); overflow: hidden; }
.feature-card::after { position: absolute; right: -55px; bottom: -70px; width: 190px; height: 190px; border: 1px solid #292d32; content: ''; transform: rotate(45deg); }
.feature-wide { grid-column: span 2; min-height: 330px; }
.feature-number { color: var(--orange); font: 700 12px/1 var(--body); letter-spacing: .1em; }
.feature-card h3 { margin-bottom: 13px; }
.feature-card p { max-width: 640px; color: var(--muted); }
.feature-accent { border-color: rgba(255,106,0,.55); background: linear-gradient(145deg, rgba(255,106,0,.13), #101216 55%); }
.mini-gauges { position: absolute; right: 45px; bottom: 38px; display: flex; align-items: end; gap: 13px; height: 145px; }
.mini-gauges i { width: 30px; height: var(--v); background: linear-gradient(to top, var(--orange), #ff9a3d); box-shadow: 0 0 22px rgba(255,106,0,.17); }
.height-82 { --v: 82%; }
.height-61 { --v: 61%; }
.height-74 { --v: 74%; }
.height-43 { --v: 43%; }

.interfaces { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 120px); align-items: center; border-top: 1px solid var(--line-soft); }
.interface-copy > p:not(.eyebrow) { margin: 28px 0; color: var(--muted); font-size: 16px; }
.check-list { display: grid; gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: #d1d3d6; }
.check-list li::before { position: absolute; left: 0; top: .56em; width: 12px; height: 6px; border-bottom: 2px solid var(--orange); border-left: 2px solid var(--orange); content: ''; transform: rotate(-45deg); }
.protocol-stack { display: grid; gap: 9px; }
.protocol-stack div { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 18px; min-height: 88px; padding: 15px 24px; border: 1px solid var(--line); background: #101216; }
.protocol-stack span { color: var(--orange); font: 600 12px/1 var(--body); }
.protocol-stack strong { font: 700 24px/1 var(--display); text-transform: uppercase; }
.protocol-stack small { color: var(--muted); font-size: 12px; }

.pricing-callout { display: grid; grid-template-columns: 1.25fr .45fr .65fr; gap: 50px; align-items: center; margin-bottom: 100px; padding: 70px; border: 1px solid rgba(255,106,0,.55); background: linear-gradient(115deg, rgba(255,106,0,.12), #111317 48%, #0d0f12); }
.pricing-callout h2 { font-size: clamp(36px, 4vw, 58px); }
.price-lockup { display: flex; align-items: flex-start; color: #fff; }
.price-lockup > span { margin-top: 10px; color: var(--orange); font: 700 28px/1 var(--display); }
.price-lockup strong { font: 700 88px/.8 var(--display); letter-spacing: -.06em; }
.price-lockup small { margin: 8px 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; text-transform: uppercase; }
.pricing-action p { margin-bottom: 22px; color: var(--muted); font-size: 13px; }

.page-hero { width: min(calc(100% - 56px), var(--max)); margin: 0 auto; padding: 190px 0 80px; text-align: center; }
.compact-hero h1 { max-width: 960px; margin: 0 auto; font-size: clamp(52px, 7vw, 88px); }
.compact-hero > p:not(.eyebrow) { max-width: 650px; margin: 26px auto 0; color: var(--muted); font-size: 17px; }
.compact-hero .eyebrow { justify-content: center; }
.compact-hero .button { margin-top: 30px; }
.pricing-page { max-width: 900px; padding-top: 30px; }
.pricing-card { padding: clamp(30px, 5vw, 60px); border: 1px solid #3c4148; background: linear-gradient(145deg, #15181c, #0e1013); box-shadow: 0 35px 80px rgba(0,0,0,.34); }
.pricing-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.pricing-card h2 { font-size: 56px; }
.plan-tag { color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.two-column { grid-template-columns: repeat(2, 1fr); gap: 15px 40px; margin: 38px 0; }
.fine-print { margin: 17px 0 0; color: #797e86; font-size: 11px; text-align: center; }

.auth-shell { display: grid; width: min(calc(100% - 56px), 1120px); min-height: 830px; grid-template-columns: 1fr 500px; align-items: center; gap: 90px; margin: 0 auto; padding: 150px 0 80px; }
.auth-copy h1 { font-size: clamp(56px, 7vw, 86px); }
.auth-copy > p:not(.eyebrow) { max-width: 520px; margin-top: 24px; color: var(--muted); font-size: 17px; }
.auth-card { display: grid; gap: 18px; padding: 38px; border: 1px solid var(--line); background: linear-gradient(145deg, #15181c, #0f1114); box-shadow: 0 30px 70px rgba(0,0,0,.36); }
.auth-card > label { display: grid; gap: 7px; color: #d9dbde; font-size: 12px; font-weight: 600; }
.auth-card input:not([type='checkbox']) { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #343941; border-radius: 2px; outline: none; background: #0c0e11; color: #fff; }
.auth-card input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,0,.1); }
.auth-card label small, .optional { color: #777c84; font-size: 10px; font-weight: 400; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; }
.form-row a, .form-foot a, .checkbox a { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.checkbox { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 9px !important; color: var(--muted) !important; font-weight: 400 !important; }
.checkbox input { margin: 4px 0 0; accent-color: var(--orange); }
.form-foot { color: var(--muted); font-size: 12px; text-align: center; }
.account-hero { display: flex; width: min(calc(100% - 56px), var(--max)); align-items: end; justify-content: space-between; gap: 30px; margin: 0 auto; padding: 175px 0 55px; }
.account-hero h1 { font-size: clamp(58px, 7vw, 90px); }
.account-actions, .admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.account-actions form { margin: 0; }
.account-grid { display: grid; width: min(calc(100% - 56px), var(--max)); grid-template-columns: 1.15fr .85fr; gap: 14px; margin: 0 auto; padding-bottom: 110px; }
.account-panel { padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, #14171b, #0e1013); }
.account-panel h2 { margin: 5px 0 22px; font-size: 38px; }
.account-panel > p { max-width: 620px; margin-bottom: 25px; color: var(--muted); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.panel-label { color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.account-status { display: inline-flex; min-height: 27px; align-items: center; padding: 0 11px; border: 1px solid; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.account-status.is-active { border-color: #3e8d62; color: #8eebaf; background: rgba(63,141,98,.09); }
.account-status.is-inactive { border-color: #884149; color: #ef9ba0; }
.account-data { margin: 8px 0 27px; }
.account-data div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.account-data dt { color: var(--muted); }
.account-data dd { margin: 0; color: #e6e7e9; font-weight: 600; text-align: right; }
.download-panel small { display: block; margin-top: 17px; color: #666c74; font: 9px/1.5 monospace; overflow-wrap: anywhere; }
.download-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.beta-download-panel { border-top: 3px solid #ff7900; }
.beta-release-notes summary { cursor: pointer; color: #ff7900; font-weight: 700; padding: 8px 0; }
.beta-download-panel .beta-release-caution { font-size: 13px; margin-top: 18px; }
.release-notes { margin: 0 0 25px; padding: 20px 21px; border: 1px solid var(--line); border-left: 3px solid var(--orange); background: rgba(8,9,11,.46); }
.release-notes-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.release-notes h3 { font-size: 21px; letter-spacing: .01em; }
.release-notes time { flex: 0 0 auto; color: #777d85; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.release-notes ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.release-notes li { position: relative; padding-left: 17px; color: #b6bac0; font-size: 12px; line-height: 1.55; }
.release-notes li::before { position: absolute; left: 0; top: .68em; width: 6px; height: 2px; background: var(--orange); content: ''; }
.devices-panel { grid-column: 1 / -1; }
.device-count { font: 700 25px/1 var(--display); }
.device-list { border-top: 1px solid var(--line); }
.device-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.device-row strong, .device-row span { display: block; }
.device-row span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.device-icon { width: 30px; height: 24px; border: 2px solid #626871; border-radius: 2px; }
.device-icon::after { display: block; width: 15px; height: 2px; margin: 25px auto 0; background: #626871; content: ''; }
.text-button { padding: 4px 0; border: 0; border-bottom: 1px solid var(--orange); background: transparent; cursor: pointer; color: #d8dade; font-size: 11px; }
.text-button:disabled { border-bottom-color: var(--line); cursor: not-allowed; color: #6f757d; }
.device-transfer-note { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.legal-page { width: min(calc(100% - 56px), 980px); margin: 0 auto; padding: 180px 0 110px; }
.legal-page > h1 { margin-bottom: 55px; }
.legal-copy { display: grid; gap: 18px; color: #b3b7bd; }
.legal-copy h2 { margin-top: 26px; color: #fff; font-size: 29px; }
.legal-notice { padding: 15px 18px; border: 1px solid #8c6d2f; background: rgba(140,109,47,.1); color: #e7ca8d; }
.admin-shell { width: min(calc(100% - 56px), var(--max)); margin: 0 auto; padding: 165px 0 100px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.admin-heading h1 { font-size: clamp(55px, 7vw, 88px); }
.admin-intro { max-width: 680px; margin-top: 14px; color: var(--muted); }
.admin-heading-badges { margin-top: 16px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.metric-grid article { padding: 25px; border: 1px solid var(--line); background: #111418; }
.metric-grid span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.metric-grid strong { display: block; margin-top: 14px; font: 700 44px/1 var(--display); }
.metric-grid .metric-warning { border-color: #8b3c42; }
.admin-panel { padding: 30px; border: 1px solid var(--line); background: #101216; }
.admin-panel h2 { margin: 5px 0 22px; font-size: 35px; }
.admin-panel > p { color: var(--muted); }
.admin-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.admin-link, .table-action { color: #fff; font-size: 11px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.admin-link:hover, .table-action:hover { color: var(--orange); }
.admin-toolbar { display: flex; align-items: end; gap: 10px; margin-bottom: 22px; }
.admin-toolbar label { display: grid; min-width: 190px; gap: 7px; color: #aeb2b8; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-toolbar .admin-search { flex: 1 1 360px; }
.admin-toolbar input, .admin-toolbar select, .admin-form input:not([type='checkbox']), .admin-form select {
  width: 100%; height: 45px; padding: 0 13px; border: 1px solid #353a42; border-radius: 2px; outline: none; background: #0a0c0f; color: #fff;
}
.admin-toolbar input:focus, .admin-toolbar select:focus, .admin-form input:focus, .admin-form select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,0,.1); }
.admin-result-summary { display: flex; align-items: baseline; gap: 7px; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.admin-result-summary strong { color: #fff; font-size: 15px; }
.admin-result-summary span { margin-left: auto; color: #777d85; }
.badge-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.admin-badge { display: inline-flex; min-height: 21px; align-items: center; padding: 0 7px; border: 1px solid #42474f; color: #aeb2b8; background: rgba(255,255,255,.025); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-badge.is-active { border-color: #3e8d62; color: #8eebaf; background: rgba(63,141,98,.09); }
.admin-badge.is-warning { border-color: #8c6d2f; color: #e7ca8d; background: rgba(140,109,47,.09); }
.admin-badge.is-admin, .admin-badge.is-current { border-color: #b9530a; color: #ffb077; background: rgba(255,106,0,.08); }
.admin-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-section { margin-top: 14px; }
.admin-form { display: grid; gap: 18px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.admin-form label { display: grid; gap: 7px; color: #aeb2b8; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-form .admin-field-wide { grid-column: 1 / -1; }
.admin-checkbox { display: flex !important; align-items: center; align-self: end; min-height: 45px; grid-template-columns: auto 1fr; gap: 9px !important; letter-spacing: 0 !important; text-transform: none !important; }
.admin-checkbox input { margin: 0; accent-color: var(--orange); }
.admin-note { margin: -5px 0 0; color: #858b93 !important; font-size: 11px; line-height: 1.55; }
.admin-form .button { justify-self: start; }
.button-danger { border-color: #84353b; background: rgba(132,53,59,.12); color: #f0a3a7; }
.button-danger:hover { border-color: #b94c54; background: rgba(185,76,84,.2); }
.admin-machine-list { border-top: 1px solid var(--line); }
.admin-machine-row { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.admin-machine-row strong, .admin-machine-row span { display: block; }
.admin-machine-row > div > span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.admin-machine-row form { margin: 0; }
.admin-audit-list strong { text-transform: capitalize; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 11px 12px; border-bottom: 1px solid #343941; color: #888e96; font-size: 9px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); color: #c9ccd0; }
td strong, td small { display: block; }
td small { color: var(--muted); }
.empty-state { padding: 35px 12px; color: var(--muted); text-align: center; }
.table-status { color: #fff; text-transform: capitalize; }
.compact-list > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.compact-list strong { font-size: 12px; }
.compact-list span { color: var(--muted); font-size: 10px; text-align: right; }
.flash { position: fixed; z-index: 30; top: 98px; left: 50%; width: min(calc(100% - 40px), 680px); padding: 13px 18px; border: 1px solid; background: #121519; transform: translateX(-50%); }
.flash-success { border-color: #2f8958; color: #a7efc3; }
.flash-error { border-color: #9e292e; color: #ffb0b3; }

.site-footer { display: grid; width: min(calc(100% - 56px), var(--max)); grid-template-columns: 1fr auto; gap: 30px 70px; align-items: end; margin: 0 auto; padding: 55px 0 35px; border-top: 1px solid var(--line); color: var(--muted); }
.brand-footer { margin-bottom: 20px; }
.site-footer > div > p { font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line-soft); font-size: 10px; }

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 165px; }
  .hero-copy { max-width: 850px; }
  .logger-visual { width: 100%; max-width: 850px; justify-self: center; transform: none; }
  .trust-strip { flex-wrap: wrap; }
  .pricing-callout { grid-template-columns: 1fr .5fr; }
  .pricing-action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
  .pricing-action p { margin: 0; }
  .auth-shell { grid-template-columns: 1fr 470px; gap: 50px; }
}

@media (max-width: 820px) {
  .site-header { height: 74px; padding-inline: 22px; }
  .nav-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; }
  .site-nav { position: absolute; inset: 74px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 18px 22px 25px; border-bottom: 1px solid var(--line); background: #0b0d10; }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 14px 2px; border-bottom: 1px solid var(--line-soft); }
  .site-nav .button { margin-top: 16px; }
  .hero { padding: 135px 22px 70px; }
  .hero-facts { flex-wrap: wrap; }
  .section { width: min(calc(100% - 44px), var(--max)); padding: 85px 0; }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .mini-gauges { opacity: .42; }
  .interfaces { grid-template-columns: 1fr; }
  .pricing-callout { width: calc(100% - 44px); grid-template-columns: 1fr; margin-bottom: 70px; padding: 38px 28px; }
  .pricing-action { grid-column: auto; align-items: stretch; flex-direction: column; }
  .page-hero { width: calc(100% - 44px); padding-top: 145px; }
  .auth-shell { width: calc(100% - 44px); grid-template-columns: 1fr; gap: 45px; padding-top: 135px; }
  .auth-copy { text-align: center; }
  .auth-copy .eyebrow { justify-content: center; }
  .auth-copy > p:not(.eyebrow) { margin-inline: auto; }
  .account-grid { width: calc(100% - 44px); grid-template-columns: 1fr; }
  .account-hero { width: calc(100% - 44px); align-items: flex-start; flex-direction: column; padding-top: 135px; }
  .devices-panel { grid-column: auto; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-columns { grid-template-columns: 1fr; }
  .admin-shell { width: calc(100% - 44px); padding-top: 135px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-toolbar label, .admin-toolbar .admin-search { flex: auto; min-width: 0; }
  .admin-toolbar .button { justify-content: center; }
}

@media (max-width: 560px) {
  .brand { min-width: auto; }
  .hero h1 { font-size: 53px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-facts strong { font-size: 24px; }
  .hero-facts span { font-size: 9px; }
  .logger-visual::after { display: none; }
  .visual-topbar { height: 48px; }
  .status-pill { display: none; }
  .visual-body { grid-template-columns: 1fr; }
  .metric-card { min-height: 84px; }
  .trace-card { grid-column: auto; }
  .feature-card { min-height: 265px; padding: 27px; }
  .mini-gauges { right: 25px; bottom: 25px; }
  .protocol-stack div { grid-template-columns: 35px 1fr; }
  .protocol-stack small { display: none; }
  .two-column { grid-template-columns: 1fr; }
  .pricing-card-head { flex-direction: column; }
  .auth-card { padding: 27px 22px; }
  .admin-panel { padding: 23px 20px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form .admin-field-wide { grid-column: auto; }
  .admin-machine-row { grid-template-columns: 1fr auto; }
  .admin-machine-row form { grid-column: 1 / -1; }
  .admin-machine-row .button { width: 100%; justify-content: center; }
  .account-actions, .admin-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .account-actions .button, .admin-actions .button { width: 100%; justify-content: center; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: auto; }
}

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