:root {
      --ice: #f2f7fb;
      --snow: #ffffff;
      --ink: #0a1628;
      --slate: #3d4f66;
      --line: #c5d4e3;
      --signal: #00a8a0;
      --signal-deep: #007a74;
      --scan: rgba(0, 168, 160, 0.08);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Space Grotesk", system-ui, sans-serif;
      background: var(--ice);
      color: var(--ink);
      min-height: 100vh;
      overflow-x: hidden;
      line-height: 1.5;
    }
    .field {
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
      background:
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(0,168,160,.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 10% 80%, rgba(10,22,40,.06), transparent 50%),
        linear-gradient(165deg, #eef5fa 0%, var(--ice) 45%, #e8f0f6 100%);
    }
    .field::before {
      content: "";
      position: absolute; inset: 0;
      background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
      background-size: 64px 64px;
      opacity: .35;
      mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
      animation: gridDrift 40s linear infinite;
    }
    .field::after {
      content: "";
      position: absolute; top: 0; left: -20%; right: -20%; height: 2px;
      background: linear-gradient(90deg, transparent, var(--signal), transparent);
      opacity: .45;
      animation: scan 7s ease-in-out infinite;
    }
    @keyframes gridDrift {
      from { background-position: 0 0, 0 0; }
      to { background-position: 64px 64px, 64px 64px; }
    }
    @keyframes scan {
      0%, 100% { transform: translateY(8vh); opacity: 0; }
      15% { opacity: .5; }
      50% { transform: translateY(70vh); opacity: .35; }
      85% { opacity: 0; }
    }
    @keyframes rise {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: none; }
    }
    @keyframes draw {
      from { stroke-dashoffset: 240; }
      to { stroke-dashoffset: 0; }
    }
    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.15); opacity: .7; }
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    .shell {
      position: relative; z-index: 1;
      max-width: 1100px;
      margin: 0 auto;
      padding: 28px 28px 48px;
    }
    .bar {
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; flex-wrap: wrap;
      animation: rise .6s ease both;
    }
    .mark {
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px; font-weight: 500; letter-spacing: .14em;
      text-transform: uppercase; color: var(--slate);
    }
    .mark span { color: var(--signal-deep); }
    .nav { display: flex; gap: 8px; flex-wrap: wrap; }
    .nav a {
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
      color: var(--slate); text-decoration: none;
      padding: 8px 12px; border: 1px solid transparent;
      transition: color .2s, border-color .2s, background .2s;
    }
    .nav a:hover {
      color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.6);
    }

    .hero {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 40px; align-items: center;
      padding: 48px 0 36px;
      min-height: min(52vh, 480px);
    }
    @media (max-width: 860px) {
      .hero { grid-template-columns: 1fr; padding: 36px 0 28px; gap: 28px; }
      .viz { order: -1; max-width: 280px; margin: 0 auto; }
    }
    .hero-copy { animation: rise .7s .1s ease both; }
    .status {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
      color: var(--signal-deep); margin-bottom: 20px;
    }
    .status i {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--signal);
      box-shadow: 0 0 0 3px var(--scan);
      animation: pulse 2.2s ease-in-out infinite;
    }
    h1 {
      font-size: clamp(2.6rem, 6vw, 4.4rem);
      font-weight: 700; line-height: .95;
      letter-spacing: -.04em; margin-bottom: 14px;
    }
    h1 em {
      font-style: normal;
      background: linear-gradient(120deg, var(--ink) 40%, var(--signal-deep));
      -webkit-background-clip: text; background-clip: text; color: transparent;
    }
    .headline {
      font-size: clamp(1.05rem, 2.2vw, 1.35rem);
      font-weight: 500; color: var(--ink);
      line-height: 1.35; max-width: 34ch; margin-bottom: 14px;
    }
    .lede {
      font-size: 1rem; color: var(--slate);
      line-height: 1.6; max-width: 44ch; margin-bottom: 28px;
    }
    .cta { display: flex; flex-wrap: wrap; gap: 10px; }
    .cta a {
      display: inline-flex; align-items: center; gap: 8px;
      text-decoration: none; font-weight: 600; font-size: 14px;
      padding: 12px 18px; border: 1px solid var(--ink);
      transition: background .2s, color .2s, transform .2s, border-color .2s;
    }
    .cta a.primary { background: var(--ink); color: var(--snow); }
    .cta a.primary:hover {
      background: var(--signal-deep); border-color: var(--signal-deep);
      transform: translateY(-1px);
    }
    .cta a.ghost { background: transparent; color: var(--ink); }
    .cta a.ghost:hover {
      border-color: var(--signal); color: var(--signal-deep); background: var(--scan);
    }

    .viz { position: relative; aspect-ratio: 1; animation: rise .8s .2s ease both; }
    .viz svg { width: 100%; height: 100%; display: block; }
    .viz .ring { fill: none; stroke: var(--line); stroke-width: 1; }
    .viz .ring-live {
      stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 240;
      animation: draw 2.4s ease forwards, spin 28s linear infinite;
      transform-origin: center;
    }
    .viz .node { fill: var(--snow); stroke: var(--signal); stroke-width: 1.5; }
    .viz .beam { stroke: var(--signal); stroke-width: 1; opacity: .5; }
    .photo {
      position: absolute; width: 38%; height: 38%; left: 31%; top: 31%;
      border-radius: 50%; object-fit: cover;
      border: 2px solid var(--snow); box-shadow: 0 0 0 1px var(--signal); z-index: 2;
    }

    .specs {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 1px; background: var(--line); border: 1px solid var(--line);
      animation: rise .7s .25s ease both; margin-bottom: 56px;
    }
    @media (max-width: 700px) { .specs { grid-template-columns: 1fr 1fr; } }
    .spec {
      background: rgba(255,255,255,.72); backdrop-filter: blur(8px);
      padding: 16px 18px;
    }
    .spec label {
      display: block; font-family: "IBM Plex Mono", monospace;
      font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
      color: var(--slate); margin-bottom: 6px;
    }
    .spec strong { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }

    /* SEO / GEO content — one job per section */
    .panel {
      background: rgba(255,255,255,.78);
      border: 1px solid var(--line);
      padding: 32px 28px;
      margin-bottom: 20px;
      animation: rise .6s .3s ease both;
    }
    .panel h2 {
      font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em;
      margin-bottom: 10px;
    }
    .panel > p {
      color: var(--slate); font-size: .98rem; max-width: 62ch;
      margin-bottom: 0; line-height: 1.65;
    }
    .panel > p + p { margin-top: 12px; }
    .panel a { color: var(--signal-deep); font-weight: 600; text-decoration: none; }
    .panel a:hover { text-decoration: underline; }

    .tech {
      list-style: none; margin-top: 8px;
      display: flex; flex-direction: column; gap: 14px;
    }
    .tech li {
      color: var(--slate); font-size: .95rem; line-height: 1.6;
      padding-left: 14px; border-left: 2px solid var(--signal);
    }
    .tech strong { color: var(--ink); font-weight: 600; }

    .faq details {
      border-top: 1px solid var(--line);
      padding: 14px 0;
    }
    .faq details:first-of-type { border-top: 0; padding-top: 4px; }
    .faq summary {
      cursor: pointer; font-weight: 600; font-size: .98rem;
      list-style: none; display: flex; justify-content: space-between; gap: 12px;
    }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after {
      content: "+"; font-family: "IBM Plex Mono", monospace;
      color: var(--signal-deep); font-weight: 500;
    }
    .faq details[open] summary::after { content: "−"; }
    .faq details p {
      margin-top: 10px; color: var(--slate); font-size: .95rem;
      line-height: 1.65; max-width: 68ch;
    }

    footer {
      margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
      display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px; color: var(--slate); letter-spacing: .04em;
    }
    footer a { color: var(--signal-deep); text-decoration: none; }
    footer a:hover { text-decoration: underline; }

/* Blog */
.mark-link { text-decoration: none; color: inherit; }
.mark-link:hover { color: var(--signal-deep); }
.page-hero { padding: 36px 0 20px; animation: rise .6s ease both; max-width: 46rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero .lede { max-width: 50ch; margin-bottom: 0; }
.post-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:first-child { border-top: 0; }
.post-list a {
  display: block; padding: 22px 0; text-decoration: none; color: inherit;
}
.post-list a:hover .post-title { color: var(--signal-deep); }
.post-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 8px;
}
.post-title {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px;
}
.post-excerpt { color: var(--slate); font-size: .95rem; line-height: 1.6; max-width: 58ch; }
.article { max-width: 42rem; animation: rise .6s ease both; }
.article .post-meta { margin-bottom: 14px; }
.article h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.15; margin-bottom: 20px;
}
.article .body p {
  color: var(--slate); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.1em;
}
.article .body h2 {
  font-size: 1.2rem; margin: 1.8em 0 .7em; color: var(--ink); letter-spacing: -.01em;
}
.article .body ul { margin: 0 0 1.2em 1.2em; color: var(--slate); line-height: 1.7; }
.article .body li { margin-bottom: .45em; }
.back {
  display: inline-block; margin-bottom: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--signal-deep); text-decoration: none;
}
.back:hover { text-decoration: underline; }

