/* MYW Radar — anonymous 4D imaging radar chip concept site */
/* Design DNA: radar-scope instrumentation. Deep marine-ink base + phosphor-amber signal
   readout + a single sweep-green. Range–Doppler grid motif. IBM Plex Sans/Mono.
   Hard gate: distinct from gpuvera (warm-white industrial) AND inra (near-black terminal).
   Anti-slop: NOT charcoal+electric-cyan+Space Grotesk+3-cards (that direction was rejected). */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Marine-ink base — a deep blue-teal instrument panel, not pure black */
  --bg:        #071016;   /* deep marine ink */
  --bg-raised: #0C1A22;   /* raised panel */
  --bg-scope:  #08141B;   /* scope well */
  --grid:      rgba(93, 214, 176, 0.07);  /* faint range–doppler grid lines */
  --grid-hi:   rgba(93, 214, 176, 0.16);
  --border:    #143039;
  --border-hi: #1E4451;
  --text:      #DCEBEC;   /* cool off-white */
  --text-dim:  #7E96A0;
  --text-mute: #4C6068;
  /* Signal readout: phosphor amber (the "return" on a scope) */
  --signal:    #F5A623;   /* amber signal / warning readout */
  --signal-hi: #FFC15A;
  --signal-dim: rgba(245, 166, 35, 0.12);
  /* Sweep: radar phosphor green (secondary, used sparingly) */
  --sweep:     #4FE0A6;
  --sweep-dim: rgba(79, 224, 166, 0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Range–Doppler grid wash: two thin line-sets over the marine ink */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  background-position: -1px -1px, -1px -1px;
}

code, pre, .mono {
  font-family: 'IBM Plex Mono', 'SF Mono', ui-monospace, Menlo, monospace;
}

a { color: var(--signal); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--signal-hi); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(7, 16, 22, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 100%;
}
.logo {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 17px; font-weight: 600; color: var(--text);
  letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px;
}
.logo .mark {
  width: 20px; height: 20px; flex: none;
}
.logo .name b { color: var(--text); font-weight: 700; }
.logo .name span { color: var(--signal); font-weight: 500; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 13px; color: var(--bg); background: var(--signal);
  padding: 8px 15px; border-radius: 7px; font-weight: 600;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--signal-hi); color: var(--bg); transform: translateY(-1px); }

/* ---- HERO ---- */
.hero { padding: 150px 0 84px; position: relative; overflow: hidden; }
/* radar sweep glow anchored top-right */
.hero::before {
  content: ""; position: absolute; top: -140px; right: -180px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at center, var(--sweep-dim) 0%, transparent 62%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--signal); border: 1px solid var(--border-hi);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero-eyebrow .blip {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sweep);
  box-shadow: 0 0 0 0 var(--sweep); animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(79,224,166,0.45); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(79,224,166,0); }
}
.hero-title {
  font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600;
  color: var(--text); margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--signal); }
.hero-sub { color: var(--text-dim); font-size: 18px; max-width: 520px; margin-bottom: 30px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 14px; font-weight: 600;
  color: var(--bg); background: var(--signal); padding: 12px 22px; border-radius: 8px;
  transition: background .15s ease, transform .15s ease;
}
.btn-primary:hover { background: var(--signal-hi); color: var(--bg); transform: translateY(-1px); }
.btn-ghost {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 14px;
  color: var(--text); border: 1px solid var(--border-hi); padding: 12px 22px; border-radius: 8px;
  transition: border-color .15s ease, color .15s ease;
}
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }

/* ---- SCOPE VISUAL (hero right) — a stylised PPI radar display, pure CSS/SVG ---- */
.scope {
  aspect-ratio: 1 / 1; width: 100%; max-width: 400px; margin-left: auto;
  border-radius: 14px; background: var(--bg-scope);
  border: 1px solid var(--border); padding: 20px; position: relative;
}
.scope svg { width: 100%; height: 100%; display: block; }
.scope-caption {
  position: absolute; bottom: 12px; left: 20px; right: 20px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10.5px;
  color: var(--text-mute); letter-spacing: 0.02em;
  display: flex; justify-content: space-between;
}

/* ---- BAND (stat / spec strip) ---- */
.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-raised); }
.band-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.band-item { padding: 26px 24px; border-left: 1px solid var(--border); }
.band-item:first-child { border-left: none; }
.band-num {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 26px; font-weight: 600; color: var(--signal); letter-spacing: -0.01em;
}
.band-label { color: var(--text-dim); font-size: 13px; margin-top: 6px; }
.band-note { color: var(--text-mute); font-size: 11.5px; margin-top: 3px; }

/* ---- SECTIONS ---- */
.sec { padding: 76px 0; border-top: 1px solid var(--border); }
.sec-kicker {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sweep); margin-bottom: 14px;
}
.sec h2 { font-size: 32px; letter-spacing: -0.025em; margin-bottom: 16px; font-weight: 600; }
.sec .lede { color: var(--text-dim); font-size: 17px; max-width: 660px; margin-bottom: 10px; }

/* dimension grid (4D pillars) */
.dim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.dim {
  background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; position: relative; overflow: hidden;
}
.dim::after {
  content: attr(data-axis); position: absolute; top: 16px; right: 18px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px;
  color: var(--text-mute); letter-spacing: 0.08em;
}
.dim .dim-ord {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px;
  color: var(--signal); margin-bottom: 12px; letter-spacing: 0.04em;
}
.dim h4 { font-size: 18px; margin-bottom: 8px; color: var(--text); }
.dim p { color: var(--text-dim); font-size: 14.5px; }

/* application chips */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.app {
  background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px; padding: 22px;
  transition: border-color .18s ease, transform .18s ease;
}
.app:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.app .app-ic {
  width: 34px; height: 34px; border-radius: 8px; background: var(--signal-dim);
  display: grid; place-items: center; margin-bottom: 14px;
}
.app .app-ic svg { width: 18px; height: 18px; stroke: var(--signal); }
.app h4 { font-size: 15.5px; margin-bottom: 6px; color: var(--text); }
.app p { color: var(--text-dim); font-size: 13.5px; }

/* concept product placeholder */
.concept {
  margin-top: 34px; background: var(--bg-scope); border: 1px dashed var(--border-hi);
  border-radius: 12px; padding: 30px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.concept .c-tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11.5px;
  color: var(--signal); border: 1px solid var(--border-hi); border-radius: 6px;
  padding: 3px 9px; display: inline-block; margin-bottom: 12px; letter-spacing: 0.04em;
}
.concept h4 { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.concept p { color: var(--text-dim); font-size: 14px; max-width: 520px; }
.concept .c-note { color: var(--text-mute); font-size: 12px; margin-top: 10px; font-family: 'IBM Plex Mono', monospace; }

/* prose (technology / about) */
.prose { max-width: 720px; }
.prose p { color: var(--text-dim); font-size: 16px; margin-bottom: 18px; }
.prose h3 {
  font-size: 21px; color: var(--text); margin: 40px 0 12px; letter-spacing: -0.02em; font-weight: 600;
}
.prose ul { margin: 0 0 18px 0; padding-left: 0; list-style: none; }
.prose li {
  color: var(--text-dim); font-size: 15.5px; margin-bottom: 12px; padding-left: 26px; position: relative;
}
.prose li::before {
  content: "▸"; position: absolute; left: 4px; top: 0; color: var(--signal); font-size: 13px;
}
.prose .concept-mark {
  color: var(--signal); font-family: 'IBM Plex Mono', monospace; font-size: 0.86em;
  border: 1px solid var(--border-hi); border-radius: 4px; padding: 1px 6px; white-space: nowrap;
}
.callout {
  background: var(--signal-dim); border-left: 3px solid var(--signal); border-radius: 0 8px 8px 0;
  padding: 18px 22px; margin: 26px 0; color: var(--text-dim); font-size: 14.5px;
}
.callout strong { color: var(--text); }

/* ---- FOOTER ---- */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 20px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-legal { color: var(--text-mute); font-size: 13px; }
.footer-legal a { color: var(--text-dim); }
.footer-legal a:hover { color: var(--signal); }
.footer-disclaimer {
  color: var(--text-mute); font-size: 12px; margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace; max-width: 640px; line-height: 1.7;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .scope { margin: 0 auto; }
  .band-inner { grid-template-columns: repeat(2, 1fr); }
  .band-item:nth-child(3) { border-left: none; }
  .dim-grid, .app-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 128px 0 64px; }
  .hero-title { font-size: 38px; }
  .nav-links { display: none; }
  .band-inner { grid-template-columns: 1fr; }
  .band-item { border-left: none; border-top: 1px solid var(--border); }
  .band-item:first-child { border-top: none; }
  .sec h2 { font-size: 26px; }
}
