@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--f-sans);
  line-height: 1.6;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--bg-2); }
.skip-link:focus { top: 12px; }
.page-grid {
  min-height: 100vh;
  background:
    radial-gradient(circle at 13% 17%, rgba(34,211,238,.11), transparent 26rem),
    radial-gradient(circle at 86% 9%, rgba(139,92,246,.1), transparent 24rem),
    linear-gradient(rgba(89,115,158,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,115,158,.055) 1px, transparent 1px),
    var(--bg-0);
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
}
.shell { width: min(100% - 48px, 1280px); margin: 0 auto; }
.site-nav {
  border-bottom: 1px solid var(--border);
  background: rgba(4,6,15,.88);
  backdrop-filter: blur(18px);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 700; }
.brand-chip { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--accent-cyan); border-radius: 9px; background: #0b1830; color: var(--accent-cyan); box-shadow: 0 0 18px rgba(34,211,238,.13); font: 600 10px/1 var(--f-mono); letter-spacing: -.05em; }
.brand-chip::before, .brand-chip::after { content: ''; position: absolute; width: 10px; height: 3px; background: var(--accent-cyan); top: 17px; }
.brand-chip::before { left: -10px; }.brand-chip::after { right: -10px; }
.brand small { display: block; color: var(--text-2); font: 500 10px/1.4 var(--f-mono); letter-spacing: .12em; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions a { border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 13px; text-decoration: none; font-size: 13px; white-space: nowrap; }
.nav-actions a:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 350px); align-items: center; gap: 48px; padding: 72px 0 54px; }
.eyebrow { margin: 0 0 16px; color: var(--accent-teal); font: 500 11px/1.5 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 13em; font-size: clamp(36px, 5vw, 66px); line-height: 1.13; letter-spacing: -.055em; }
.gradient { background: var(--gradient-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 650px; margin: 22px 0 0; color: var(--text-1); font-size: clamp(15px, 1.5vw, 18px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-meta span { border: 1px solid var(--border-strong); border-radius: 999px; padding: 5px 10px; color: var(--text-1); font: 11px/1.5 var(--f-mono); }
.pcb { position: relative; display: grid; place-items: center; height: 260px; overflow: hidden; border: 1px solid rgba(34,211,238,.3); border-radius: 22px; background: linear-gradient(145deg,#102346,#071125); box-shadow: inset 0 0 0 8px rgba(0,0,0,.08), 0 30px 80px rgba(0,0,0,.3); }
.pcb::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0 3px, rgba(34,211,238,.2) 3px 4px, transparent 4px) 0 0/32px 32px; opacity: .35; }
.pcb::after { content: ''; position: absolute; inset: 18px; border: 1px dashed rgba(34,211,238,.22); border-radius: 14px; }
.pcb-trace { position: absolute; width: 75%; height: 2px; background: linear-gradient(90deg,transparent,var(--accent-cyan),var(--accent-violet),transparent); box-shadow: 0 0 12px rgba(34,211,238,.5); }
.pcb-trace.a { top: 28%; transform: rotate(15deg); }.pcb-trace.b { bottom: 29%; transform: rotate(-15deg); }
.pcb-core { position: relative; z-index: 1; display: grid; place-items: center; width: 132px; height: 132px; border: 1px solid var(--accent-cyan); border-radius: 16px; background: #070d1c; box-shadow: 0 0 0 9px #0a1831, 0 0 0 10px rgba(34,211,238,.4), 0 0 35px rgba(34,211,238,.25); font: 600 17px/1 var(--f-mono); letter-spacing: .12em; }
.pcb-core::before, .pcb-core::after { content: ''; position: absolute; top: 16px; bottom: 16px; width: 5px; background: repeating-linear-gradient(to bottom,var(--accent-cyan) 0 5px,transparent 5px 11px); }
.pcb-core::before { left: -15px; }.pcb-core::after { right: -15px; }
.pcb-node { position: absolute; z-index: 1; width: 12px; height: 12px; border: 2px solid var(--accent-cyan); border-radius: 50%; background: #0a1831; box-shadow: 0 0 12px rgba(34,211,238,.55); }
.pcb-node.a { top: 24%; left: 12%; }.pcb-node.b { top: 17%; right: 18%; }.pcb-node.c { bottom: 18%; left: 20%; }.pcb-node.d { bottom: 20%; right: 11%; }
.section-head { margin: 16px 0 24px; }
.section-head h2 { margin: 0; font-size: clamp(25px,3vw,36px); letter-spacing: -.04em; }
.section-head p { margin: 8px 0 0; color: var(--text-2); }
.modules { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.module { display: flex; flex-direction: column; min-height: 166px; padding: 19px; border: 1px solid var(--border); border-radius: 17px; background: rgba(12,17,36,.76); color: var(--text-0); text-align: left; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.module:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.55); }
.module[aria-pressed='true'] { border-color: var(--accent-cyan); background: linear-gradient(145deg,rgba(34,211,238,.16),rgba(139,92,246,.09)); box-shadow: inset 0 0 0 1px rgba(34,211,238,.13); }
.module-no { color: var(--accent-cyan); font: 500 11px/1 var(--f-mono); }
.module strong { display: block; margin: 17px 0 5px; font-size: 17px; letter-spacing: -.03em; }
.module span:last-child { color: var(--text-2); font-size: 13px; line-height: 1.45; }
.window { margin: 26px 0 0; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 19px; background: var(--bg-2); box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.window-bar { display: flex; align-items: center; gap: 10px; min-height: 55px; padding: 10px 18px; border-bottom: 1px solid var(--border); background: #0a1020; }
.window-dots { display: inline-flex; gap: 6px; flex: none; }.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #596076; }.window-dots i:nth-child(1) { background: #fa7299; }.window-dots i:nth-child(2) { background: var(--accent-amber); }.window-dots i:nth-child(3) { background: var(--accent-teal); }
.window-title { overflow: hidden; color: var(--text-1); font: 12px/1.4 var(--f-mono); text-overflow: ellipsis; white-space: nowrap; }
.open-app { margin-left: auto; flex: none; color: var(--accent-cyan); font-size: 12px; text-decoration: none; white-space: nowrap; }
.open-app:hover { text-decoration: underline; }
.app-frame { display: block; width: 100%; height: min(78vh, 900px); min-height: 620px; border: 0; background: #04060f; }
.frame-note { margin: 12px 2px 0; color: var(--text-2); font-size: 13px; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 52px 0 28px; color: var(--text-2); font-size: 13px; }
.footer a:hover { color: var(--accent-cyan); }
@media (max-width: 1000px) { .modules { grid-template-columns: repeat(3,minmax(0,1fr)); }.hero { gap: 24px; } }
@media (max-width: 700px) { .shell { width: min(100% - 28px, 1280px); }.nav-inner { min-height: 68px; }.brand small { display: none; }.nav-actions { gap: 6px; }.nav-actions a { padding: 7px 9px; font-size: 12px; }.hero { grid-template-columns: 1fr; gap: 28px; padding: 50px 0 34px; }.pcb { height: 190px; }.pcb-core { width: 100px; height: 100px; font-size: 14px; }.modules { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.module { min-height: 137px; padding: 14px; }.module strong { margin-top: 12px; font-size: 15px; }.window-bar { padding: 10px 12px; }.window-dots { display: none; }.app-frame { height: 72dvh; min-height: 520px; }.footer { flex-direction: column; gap: 6px; padding-top: 34px; } }
@media (max-width: 380px) { .nav-actions a:first-child { display: none; }.module { min-height: 155px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: 0s !important; } }
