/* HILUTRONIX — Coming Soon v0.2
   Monochrome hardware-lab aesthetic, Tokotype-inspired grid.
   Display: Barlow Semi Condensed / Body: Inter / Technical: Space Mono
*/

:root {
  --ink: #0B0C10;
  --paper: #FFFFFF;
  --line-dark: #1F232A;
  --grey: #6b7280;
  --green: #2bff6e;
  --display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", "SF Mono", SFMono-Regular, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 1. HEADER ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--ink);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 10;
}
.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}
.logo sup { font-size: 0.55em; font-weight: 600; }
.status-badge {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--ink);
  padding: 0.5rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  background: var(--ink);
  color: var(--paper);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(43, 255, 110, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 255, 110, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(43, 255, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 255, 110, 0); }
}

/* ---------- 2. HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-bottom: 1px solid var(--ink);
}
.hero__text {
  padding: 2.75rem 1.5rem 2.5rem;
  border-right: 1px solid var(--ink);
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.meta-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-dark);
  padding: 0.3rem 0.6rem;
  color: var(--ink);
}
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 6.5vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
}
.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
@supports not (-webkit-text-stroke: 1px black) {
  .hero__title .outline { color: var(--ink); }
}
.hero__lead {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__sub {
  margin-top: 0.6rem;
  font-size: 0.98rem;
  color: #333a44;
  max-width: 46ch;
}
.hero__coords {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--grey);
}

/* Hero visual — dark telemetry panel */
.hero__visual {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  /* faint wireframe grid */
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.telemetry-head, .telemetry-foot {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
}
.telemetry-head { border-bottom: 1px solid var(--line-dark); }
.telemetry-foot { border-top: 1px solid var(--line-dark); margin-top: auto; }
.circuit { width: 100%; height: auto; padding: 1rem; flex: 1; }
.circuit .pulse { stroke-dasharray: 6 4; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }
.hatch {
  width: 90px; height: 14px; flex-shrink: 0;
  background: repeating-linear-gradient(-45deg, #fff 0 6px, transparent 6px 12px);
  opacity: 0.85;
}

/* ---------- 3. CAPTURE ---------- */
.capture {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--ink);
}
.capture__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 1.2rem 1.25rem;
  border-right: 1px solid var(--ink);
  display: flex;
  align-items: center;
}
.capture__form { display: flex; align-items: stretch; }
.capture__form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1.2rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  background: var(--paper);
  color: var(--ink);
  min-width: 0;
}
.capture__form input::placeholder { color: var(--grey); }
.capture__form input:focus { background: #f4f4f5; }
.capture__form button {
  border: none;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0 1.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.capture__form button:hover { background: #000; letter-spacing: 0.12em; }
.capture__note {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid var(--ink);
  color: #333a44;
  overflow-wrap: anywhere;
}
.capture__note a { font-weight: 700; }

/* ---------- 4. SPEC GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--ink);
  flex: 1;
}
.card {
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 250px;
}
.card:first-child { border-right: 1px solid var(--ink); }
.card:nth-child(even) { background: var(--ink); color: var(--paper); }
.card__meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--grey);
}
.card:nth-child(even) .card__meta { color: #9aa0aa; }
.card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.card__desc { font-size: 0.95rem; max-width: 44ch; color: inherit; opacity: 0.85; }
.card__foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  border-top: 1px solid currentColor;
  padding-top: 0.8rem;
}
.card__foot span {
  background: currentColor;
  filter: invert(1);
  padding: 0.1rem 0.4rem;
}

/* ---------- 5. FOOTER ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.footer__links { display: flex; gap: 1.25rem; }
.footer__links a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.footer__links a:hover { background: var(--ink); color: var(--paper); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { border-right: none; border-bottom: 1px solid var(--ink); }
  .hero__visual { min-height: 300px; }
  .capture { grid-template-columns: 1fr; }
  .capture__label { border-right: none; border-bottom: 1px solid var(--ink); }
  .grid { grid-template-columns: 1fr; }
  .card:first-child { border-right: none; border-bottom: 1px solid var(--ink); }
}
@media (max-width: 560px) {
  .status-badge { font-size: 0.6rem; padding: 0.45rem 0.6rem; }
  .logo { font-size: 1.2rem; }
  .capture__form { flex-direction: column; }
  .capture__form button { border-left: none; border-top: 1px solid var(--ink); padding: 1rem; }
}
