:root {
  --bg: #080c10;
  --bg-2: #0d1318;
  --surface: #121a21;
  --surface-2: #17212a;
  --border: #22303b;
  --text: #e9f0f3;
  --muted: #95a6b0;
  --accent: #38e8b0;
  --accent-ink: #062117;
  --copper: #f0914a;
  --radius: 14px;
  --max: 1180px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .logo span { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
svg { display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.accent {
  background: linear-gradient(90deg, var(--accent), #9af5d6 55%, var(--copper));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(56,232,176,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(56,232,176,0); } 100% { box-shadow: 0 0 0 0 rgba(56,232,176,0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px -12px rgba(56,232,176,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(56,232,176,.85); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,12,16,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.logo svg { width: 34px; height: 34px; }
.logo span { font-weight: 500; }
.logo strong { color: var(--accent); font-weight: 700; }
.logo-bg { fill: var(--surface); stroke: var(--border); }
.logo-wire { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.logo-node { fill: var(--copper); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .25s; }

/* Hero */
.hero { position: relative; padding: 90px 0 100px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,232,176,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,232,176,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin-bottom: 22px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li {
  font-family: var(--mono); font-size: .78rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; background: rgba(18,26,33,.6);
}

/* Rack visual */
.rack {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 18px; padding: 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(56,232,176,.04) inset;
  font-family: var(--mono); font-size: .72rem;
}
.rack-head { display: flex; justify-content: space-between; color: var(--muted); letter-spacing: .08em; margin-bottom: 14px; }
.rack-head .ok { color: var(--accent); }
.ru {
  background: #0a1015; border: 1px solid var(--border); border-radius: 6px;
  padding: 10px 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px;
}
.ru b { font-weight: 500; color: var(--muted); white-space: nowrap; min-width: 78px; }
.patch { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.patch i { height: 14px; border-radius: 2px; background: #1b262e; border: 1px solid #2a3944; position: relative; }
.patch i::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -1px; height: 3px; background: #3a4c58; }
.cables { padding: 0 12px; height: 38px; background: transparent; border: 0; margin: -6px 0 2px; }
.cables svg { width: 100%; height: 100%; }
.cables path { fill: none; stroke: #3b82f6; stroke-width: 3; stroke-linecap: round; opacity: .85; }
.cables .c2 { stroke: var(--accent); }
.cables .c3 { stroke: var(--copper); }
.ports { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; flex: 1; }
.ports i { height: 12px; border-radius: 2px; background: #1b262e; border: 1px solid #2a3944; }
.ports i.on { background: rgba(56,232,176,.15); border-color: rgba(56,232,176,.5); animation: blink 2.4s infinite; }
.ports i.on:nth-child(3n) { animation-delay: .7s; }
.ports i.on:nth-child(4n) { animation-delay: 1.3s; }
@keyframes blink { 50% { background: rgba(56,232,176,.55); } }
.lc { display: flex; gap: 8px; }
.lc i { width: 16px; height: 12px; border-radius: 2px; background: rgba(240,145,74,.2); border: 1px solid rgba(240,145,74,.6); }
.server { justify-content: space-between; }
.bars { display: flex; gap: 4px; align-items: flex-end; height: 16px; }
.bars i { width: 5px; background: var(--accent); border-radius: 1px; animation: eq 1.6s ease-in-out infinite; }
.bars i:nth-child(1) { height: 60%; }
.bars i:nth-child(2) { height: 100%; animation-delay: .3s; }
.bars i:nth-child(3) { height: 40%; animation-delay: .6s; }
@keyframes eq { 50% { transform: scaleY(.45); } }
.bars i { transform-origin: bottom; }
.rack-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.rack-foot div { display: flex; flex-direction: column; }
.rack-foot strong { font-family: "Sora", sans-serif; font-size: 1.35rem; color: var(--text); }
.rack-foot span { color: var(--muted); font-size: .7rem; }

/* Strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-inner div { padding: 28px 22px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.strip-inner div:first-child { border-left: 0; padding-left: 0; }
.strip strong { font-family: "Sora", sans-serif; font-weight: 600; }
.strip span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head .muted { margin-bottom: 26px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px; transition: border-color .25s, transform .25s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--copper)); transition: width .4s;
}
.card:hover { border-color: #2f4250; transform: translateY(-4px); }
.card:hover::before { width: 100%; }
.card-code { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: .75rem; color: #4b5d68; }
.icon {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(56,232,176,.08); border: 1px solid rgba(56,232,176,.2); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .93rem; }

/* Standards */
.standards-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.spec-table th {
  text-align: left; font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.spec-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 600; white-space: nowrap; }
.spec-table small { color: var(--muted); font-size: .78rem; }
.spec-table tr.rec td { background: rgba(56,232,176,.06); }
.spec-table tr.rec td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.spec-table tr.rec td:first-child::after {
  content: "Recommended"; display: block; font-family: var(--mono); font-size: .64rem; font-weight: 500;
  color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px;
}
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 10px; }
.s-5e { background: #60a5fa; }
.s-6 { background: #a78bfa; }
.s-6a { background: var(--accent); }
.s-mm { background: #22d3ee; }
.s-sm { background: #facc15; }
.table-note { color: var(--muted); font-size: .78rem; padding: 12px 16px 8px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 22px; left: 5%; right: 5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px);
}
.process li { position: relative; }
.step {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent);
  font-family: var(--mono); font-size: .85rem; margin-bottom: 18px;
}
.process h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: .92rem; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry-grid li {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s;
}
.industry-grid li:hover { border-color: rgba(240,145,74,.5); }
.industry-grid svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.check-list { display: grid; gap: 14px; }
.check-list li {
  position: relative; padding: 18px 20px 18px 56px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; gap: 2px;
}
.check-list li::before {
  content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 6px;
  background: rgba(56,232,176,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338e8b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.check-list span { color: var(--muted); font-size: .93rem; }

/* CTA */
.cta { background: linear-gradient(110deg, var(--accent), #7af0c9 55%, var(--copper)); color: var(--accent-ink); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 24px; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.cta p { opacity: .8; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-grid h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.contact-info { margin-top: 30px; display: grid; gap: 12px; }
.contact-info li { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.ci-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-info a { font-weight: 600; }
.contact-info a:hover { color: var(--accent); }
.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 30px;
  display: grid; gap: 16px; position: relative;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .87rem; font-weight: 500; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: .95rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; width: 100%; transition: border-color .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .invalid { border-color: #f87171; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: .87rem; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.chips label { display: block; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px;
  font-size: .85rem; color: var(--text); background: var(--bg); transition: all .15s;
}
.chips input:checked + span { background: rgba(56,232,176,.12); border-color: var(--accent); color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-status { font-size: .9rem; min-height: 1.2em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #f87171; }
.form-status a { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 50px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; }
.footer-inner .muted { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; padding-bottom: 28px; color: var(--muted); font-size: .85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .standards-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process::before { display: none; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-inner div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-inner div:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 16px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .card-grid, .industry-grid, .field-row, .process { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-inner div { border-left: 0; padding: 18px 0; }
  .strip-inner div + div { border-top: 1px solid var(--border); }
  .contact-form { padding: 22px 18px; }
  .rack { padding: 14px; }
  .ru b { min-width: 0; }
  .patch, .ports { gap: 4px; }
  .cta-inner { padding: 44px 16px; }
}

/* ---- Inner pages & new home sections ---- */
.page-hero { position: relative; padding: 80px 0 60px; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 16px; max-width: 820px; }
.card-link { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: .92rem; }
.card-link:hover { text-decoration: underline; }
.form-note { font-size: .8rem; color: var(--muted); } .form-note a { text-decoration: underline; }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }
.center { text-align: center; margin-top: 30px; }
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.prose h2 { font-size: 1.35rem; margin: 30px 0 12px; }
.prose ul { list-style: disc; padding-left: 22px; color: var(--muted); display: grid; gap: 8px; margin-bottom: 18px; }
.prose a { color: var(--accent); text-decoration: underline; }
.narrow { max-width: 780px; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cred { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.cred h3 { margin-bottom: 12px; color: var(--accent); font-size: 1rem; }
.cred ul { display: grid; gap: 8px; } .cred p, .cred li { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.project { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.project img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.project-body { padding: 20px 22px 24px; } .project h3 { margin: 6px 0 8px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { font-size: 1.02rem; line-height: 1.6; }
.review figcaption { color: var(--muted); font-size: .9rem; }
.state-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.state-chips li { font-family: var(--mono); border: 1px solid var(--accent); color: var(--accent); border-radius: 8px; padding: 6px 14px; }
.city-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.city-links a { display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); }
.city-links a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 600px) { .page-hero { padding: 56px 0 40px; } }
