:root {
  color-scheme: dark;
  --bg: #080b12;
  --panel: #101622;
  --panel-2: #151d2b;
  --ink: #f7f9ff;
  --muted: #a4b0c2;
  --soft: #69778f;
  --blue: #5b8cff;
  --teal: #7cffdf;
  --line: rgba(247, 249, 255, .11);
  --line-strong: rgba(124, 255, 223, .24);
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --radius: 26px;
  --max: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(91, 140, 255, .14), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(124, 255, 223, .10), transparent 24%),
    linear-gradient(180deg, #080b12 0%, #0c111b 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black 0%, transparent 82%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
p { color: var(--muted); line-height: 1.62; font-size: .96rem; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}
.skip-link:focus { transform: translateY(0); }

.cursor-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.cursor-grid span {
  position: absolute;
  width: 180px;
  height: 2px;
  left: -220px;
  background: linear-gradient(90deg, transparent, rgba(124,255,223,.42), transparent);
  animation: driftLine 8s linear infinite;
}
.cursor-grid span:nth-child(1) { top: 18%; }
.cursor-grid span:nth-child(2) { top: 42%; animation-delay: -2s; background: linear-gradient(90deg, transparent, rgba(91,140,255,.45), transparent); }
.cursor-grid span:nth-child(3) { top: 66%; animation-delay: -5s; }
.cursor-grid span:nth-child(4) { top: 82%; animation-delay: -3.4s; background: linear-gradient(90deg, transparent, rgba(91,140,255,.34), transparent); }

.shell,
.policy-shell {
  width: min(100% - 28px, var(--max));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.rail {
  position: sticky;
  top: 18px;
  min-height: calc(100vh - 36px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(16, 22, 34, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.logo-link img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}
.rail-name {
  align-self: start;
  display: grid;
  gap: 8px;
  color: var(--ink);
}
.rail-name strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.02;
  letter-spacing: -.045em;
  word-break: break-word;
}
.rail-name span {
  display: block;
  color: var(--soft);
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.rail-privacy {
  align-self: end;
  justify-self: start;
  writing-mode: vertical-rl;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: .82rem;
  font-weight: 820;
}

.workspace {
  display: grid;
  gap: 18px;
}

.command-board {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .8fr);
  grid-template-rows: auto 1fr;
  gap: 18px;
}
.command-line {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 22, 34, .78);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 24px rgba(124,255,223,.8);
}
.command-line span,
.command-line strong,
.command-line b {
  color: var(--soft);
  font-size: .82rem;
  font-weight: 780;
}
.command-line b {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -.02em;
}
.command-line strong { color: var(--teal); margin-left: auto; }

.nameplate,
.signal-map,
.module,
.contact-strip,
.policy-header,
.policy-document {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 22, 34, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.nameplate {
  padding: clamp(26px, 5vw, 56px);
  display: grid;
  align-content: center;
}
.micro {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.company-title {
  margin: 0 0 16px;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.2vw, 4.35rem);
  line-height: .96;
  letter-spacing: -.085em;
  font-weight: 950;
}
h1 {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -.045em;
}
.lead {
  max-width: 590px;
  font-size: 1.02rem;
}

.signal-map {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 48%, rgba(91,140,255,.18), transparent 28%),
    rgba(16, 22, 34, .72);
}
.signal-map::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(124,255,223,.18);
  border-radius: 20px;
}
.axis {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(124,255,223,.32), transparent);
  animation: axisPulse 5s ease-in-out infinite;
}
.x-one { left: 8%; right: 8%; top: 33%; height: 2px; }
.x-two { left: 8%; right: 8%; bottom: 33%; height: 2px; animation-delay: -1.8s; }
.y-one, .y-two {
  top: 8%;
  bottom: 8%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(91,140,255,.34), transparent);
}
.y-one { left: 34%; animation-delay: -3s; }
.y-two { right: 34%; animation-delay: -1s; }
.core-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(124,255,223,.42);
  background: radial-gradient(circle, rgba(124,255,223,.34), rgba(91,140,255,.14) 58%, transparent 60%);
  box-shadow: 0 0 50px rgba(124,255,223,.2);
  animation: breathe 5s ease-in-out infinite;
}
.chip {
  position: absolute;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(8, 11, 18, .62);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 820;
  animation: chipFloat 5.8s ease-in-out infinite;
}
.chip-a { left: 13%; top: 22%; }
.chip-b { right: 10%; top: 47%; animation-delay: -1.6s; }
.chip-c { left: 28%; bottom: 16%; animation-delay: -3.1s; }

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(16,22,34,.6);
}
.ticker div {
  min-height: 78px;
  padding: 16px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 780;
  display: grid;
  align-content: center;
}
.ticker div + div { border-left: 1px solid var(--line); }
.ticker span {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: .72rem;
  letter-spacing: .12em;
}

.desk {
  display: grid;
  grid-template-columns: 1.15fr .8fr .8fr;
  gap: 18px;
}
.module {
  min-height: 220px;
  padding: 22px;
}
.module-large {
  grid-row: span 2;
  display: grid;
  align-content: space-between;
  min-height: 458px;
  background:
    linear-gradient(145deg, rgba(91,140,255,.12), rgba(124,255,223,.06)),
    rgba(16,22,34,.72);
}
.module-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 40px;
}
.module-head span,
.module-id {
  color: var(--teal);
  font-size: .74rem;
  font-weight: 880;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.module-head button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--ink);
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.email-button {
  display: inline-flex;
  justify-self: start;
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 999px;
  color: #061010;
  background: var(--teal);
  font-weight: 850;
}
.module h2,
.contact-strip h2,
.policy-header h1 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.6vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.module p { margin-bottom: 0; }
.module-id { display: inline-flex; margin-bottom: 48px; }
.company-module {
  grid-column: span 2;
}
dl { margin: 0; display: grid; gap: 12px; }
dt {
  margin-bottom: 4px;
  color: var(--soft);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}
dd a { color: var(--teal); font-weight: 850; }

.contact-strip {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 28px;
  padding: clamp(22px, 4vw, 40px);
}
form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 13px;
  background: rgba(255,255,255,.055);
  color: var(--ink);
  outline: none;
}
textarea { grid-column: 1 / -1; resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: #75839b; }
input:focus, textarea:focus {
  border-color: rgba(124,255,223,.36);
  box-shadow: 0 0 0 4px rgba(124,255,223,.08);
}
form button {
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  background: var(--blue);
  color: white;
  font-weight: 850;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 14px;
  padding: 18px 0 36px;
  color: var(--soft);
  font-size: .86rem;
}
.footer p { margin: 0; color: var(--soft); }
.footer address { font-style: normal; line-height: 1.5; }
.footer a { color: var(--teal); font-weight: 820; }

/* privacy */
.policy-main {
  display: grid;
  gap: 18px;
}
.policy-header {
  padding: clamp(26px, 5vw, 56px);
}
.policy-title-name {
  font-size: clamp(2rem, 4vw, 4rem);
}
.policy-header h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.3vw, 3.3rem);
}
.policy-header span {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--teal);
  font-size: .85rem;
  font-weight: 820;
}
.policy-document {
  padding: clamp(22px, 5vw, 46px);
}
.policy-document section + section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.policy-document h2 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  margin-bottom: 10px;
}
.policy-document address {
  color: var(--muted);
  line-height: 1.72;
  font-style: normal;
}
.policy-document a { color: var(--teal); font-weight: 820; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16,22,34,.88);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: .18s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@keyframes driftLine {
  0% { transform: translateX(0); opacity: 0; }
  12%, 78% { opacity: 1; }
  100% { transform: translateX(calc(100vw + 440px)); opacity: 0; }
}
@keyframes axisPulse {
  0%, 100% { opacity: .3; transform: scaleX(.86); }
  50% { opacity: 1; transform: scaleX(1); }
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(.94); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 980px) {
  .shell, .policy-shell {
    grid-template-columns: 1fr;
  }
  .rail {
    position: static;
    min-height: auto;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-items: center;
  }
  .rail-name, .rail-privacy { writing-mode: initial; }
  .rail-name { align-content: center; }
  .rail-name strong { font-size: 1rem; }
  .rail-privacy { align-self: center; justify-self: end; padding: 10px 12px; }
  .command-board,
  .desk,
  .contact-strip,
  .footer {
    grid-template-columns: 1fr;
  }
  .company-module { grid-column: auto; }
  .ticker { grid-template-columns: repeat(2, 1fr); }
  .ticker div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .ticker div:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .shell, .policy-shell { width: min(100% - 20px, var(--max)); margin-top: 10px; }
  .logo-link img { width: 48px; height: 48px; }
  .rail { border-radius: 22px; }
  .company-title { font-size: clamp(2.05rem, 10vw, 3.15rem); }
  h1 { font-size: clamp(1.2rem, 5.5vw, 1.65rem); }
  .command-board { min-height: auto; }
  .nameplate, .module, .contact-strip, .policy-header, .policy-document { border-radius: 22px; }
  .signal-map { min-height: 330px; }
  .chip { display: none; }
  .ticker { grid-template-columns: 1fr; }
  .ticker div + div { border-left: 0; border-top: 1px solid var(--line); }
  form { grid-template-columns: 1fr; }
  .email-button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
