  :root {
    --bg: #f7f8fa;
    --bg-alt: #ffffff;
    --surface: #ffffff;
    --border: #e3e6eb;
    --text: #0f172a;
    --muted: #5b6474;
    --accent: #0284c7;
    --accent-soft: #e0f2fe;
    --net: #0284c7;
    --retail: #16a34a;
    --flow: #7c3aed;
    --unirad: #0f766e;
    --m365: #c2410c;
    --term-bg: #0b1220;
    --term-text: #cbd5e1;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --radius: 14px;
    --max: 1120px;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0a0f1a;
      --bg-alt: #0e1422;
      --surface: #121a2b;
      --border: #1f2a3f;
      --text: #e6ebf3;
      --muted: #94a0b4;
      --accent: #38bdf8;
      --accent-soft: rgba(56, 189, 248, .12);
      --net: #38bdf8;
      --retail: #4ade80;
      --flow: #a78bfa;
      --unirad: #2dd4bf;
      --m365: #fb923c;
      --term-bg: #060a13;
      --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0a0f1a;
    --bg-alt: #0e1422;
    --surface: #121a2b;
    --border: #1f2a3f;
    --text: #e6ebf3;
    --muted: #94a0b4;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, .12);
    --net: #38bdf8;
    --retail: #4ade80;
    --flow: #a78bfa;
    --unirad: #2dd4bf;
    --m365: #fb923c;
    --term-bg: #060a13;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 72px; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  a { color: var(--accent); text-decoration: none; }
  a:hover { text-decoration: underline; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  .mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }

  /* Header */
  .site-head { position: sticky; top: 0; z-index: 20; display: flex; justify-content: center; padding: 12px 16px; pointer-events: none; }
  .site-head > * { pointer-events: auto; }
  .mtop { display: none; }
  .pill {
    position: relative; display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid var(--border); box-shadow: 0 12px 30px -14px rgba(0,0,0,.28); transition: box-shadow .3s ease;
  }
  .site-head.scrolled .pill { box-shadow: 0 18px 44px -12px rgba(0,0,0,.42); }
  .pill-logo { display: grid; place-items: center; width: 36px; height: 36px; margin-right: 4px; border-radius: 50%; transition: transform .3s cubic-bezier(.3,1.8,.5,1); }
  .pill-logo:hover { transform: rotate(-12deg) scale(1.08); }
  .pill-logo svg { width: 28px; height: 28px; }
  .pl {
    position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px;
    font-weight: 500; font-size: 15px; color: var(--muted); transition: color .2s ease;
  }
  .pl:hover, .pl[aria-current] { color: var(--text); text-decoration: none; }
  .pl .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--accent)); }
  .pill-ind {
    position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; opacity: 0;
    background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  }
  .pill.ready .pill-ind { transition: left .35s cubic-bezier(.3,1.4,.5,1), width .35s cubic-bezier(.3,1.4,.5,1), opacity .2s ease; }
  .pill .theme-btn { width: 34px; height: 34px; border-radius: 999px; margin-left: 4px; }
  .tabbar { display: none; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -.01em; }
  .brand:hover { text-decoration: none; }
  .brand svg { width: 30px; height: 30px; flex: none; }
  .brand b { font-weight: inherit; }
  .brand span { color: var(--accent); }
  .theme-btn {
    border: 1px solid var(--border); background: var(--surface); color: var(--muted);
    width: 36px; height: 36px; border-radius: 9px; cursor: pointer; display: grid; place-items: center; margin-left: 6px;
  }
  .theme-btn:hover { color: var(--text); }
  .theme-btn svg { width: 18px; height: 18px; }

  /* Hero */
  .hero { position: relative; overflow: hidden; padding: 56px 0 76px; }
  .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(color-mix(in srgb, var(--text) 14%, transparent) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 70%);
  }
  .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .26; pointer-events: none; animation: float 18s ease-in-out infinite alternate; }
  .blob.b1 { width: 380px; height: 380px; background: var(--net); top: -140px; right: -60px; }
  .blob.b2 { width: 340px; height: 340px; background: var(--m365); bottom: -180px; left: -120px; animation-delay: -6s; opacity: .2; }
  .blob.b3 { width: 260px; height: 260px; background: var(--flow); top: 35%; left: 48%; animation-delay: -12s; opacity: .16; }
  @keyframes float { to { transform: translate(40px, 30px) scale(1.12); } }
  .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 800; }
  h1 .w { text-decoration: underline wavy; text-decoration-thickness: 3px; text-underline-offset: .2em; text-decoration-skip-ink: none; }
  h1 .w-net { color: var(--net); }
  h1 .w-sec { color: var(--unirad); }
  h1 .w-biz { color: var(--retail); }
  .wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out 1s 2; }
  @keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
  .lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 32px; }
  .btns { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
    border: 1px solid transparent; cursor: pointer; font-family: inherit;
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .btn:hover { text-decoration: none; }
  .btn-primary { --b: var(--accent); background: var(--b); color: #fff; box-shadow: 0 4px 0 color-mix(in srgb, var(--b) 55%, #000); }
  :root[data-theme="dark"] .btn-primary { color: #04121d; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #04121d; } }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 color-mix(in srgb, var(--b) 55%, #000); }
  .btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--b) 55%, #000); }
  .btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); box-shadow: 0 4px 0 var(--border); }
  .btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--border); }
  .btn-ghost:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--border); }

  .terminal {
    background: var(--term-bg); color: var(--term-text);
    border-radius: 16px; border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--net) 55%, transparent), 0 18px 40px -28px color-mix(in srgb, var(--flow) 70%, transparent), var(--shadow);
    font-size: 13.5px; line-height: 1.75; overflow: hidden;
    transform: rotate(1.2deg); transition: transform .35s ease;
  }
  .terminal:hover, .terminal:focus-within { transform: rotate(0); }
  .term-bar { position: relative; display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .term-title { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: #64748b; pointer-events: none; }
  .term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
  .term-bar i:nth-child(1) { background: #f87171; }
  .term-bar i:nth-child(2) { background: #fbbf24; }
  .term-bar i:nth-child(3) { background: #4ade80; }
  .term-body {
    padding: 18px 20px 20px; white-space: pre-wrap; word-break: break-word;
    height: 340px; overflow-y: auto; cursor: text; scrollbar-width: thin; scrollbar-color: #334155 transparent;
  }
  .t-line { min-height: 1.75em; }
  .t-input-line { display: flex; cursor: text; }
  .t-input {
    flex: 1; min-width: 0; margin-left: .6ch; padding: 0; border: 0; outline: 0; background: transparent;
    color: var(--term-text); font: inherit; caret-color: #38bdf8;
  }
  .terminal .t-input:focus { outline: none; border: 0; }
  .t-link { color: var(--term-text); text-decoration: none; }
  .t-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  .t-p { color: #38bdf8; }
  .t-d { color: #64748b; }
  .t-n { color: #38bdf8; }
  .t-r { color: #4ade80; }
  .t-f { color: #a78bfa; }
  .t-u { color: #2dd4bf; }
  .t-m { color: #fb923c; }
  .cursor { display: inline-block; width: 8px; height: 1.1em; background: #cbd5e1; vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }

  /* Ticker */
  .ticker { overflow: hidden; border-block: 1px solid var(--border); background: var(--surface); padding: 13px 0; }
  .ticker-track { display: flex; width: max-content; animation: tick 45s linear infinite; }
  .ticker span { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13.5px; color: var(--muted); padding: 0 20px; white-space: nowrap; }
  .ticker span::before { content: "●"; margin-right: 10px; font-size: 10px; vertical-align: 2px; }
  .ticker span:nth-child(5n+1)::before { color: var(--net); }
  .ticker span:nth-child(5n+2)::before { color: var(--unirad); }
  .ticker span:nth-child(5n+3)::before { color: var(--m365); }
  .ticker span:nth-child(5n+4)::before { color: var(--retail); }
  .ticker span:nth-child(5n+5)::before { color: var(--flow); }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes tick { to { transform: translateX(-50%); } }

  /* Sections */
  section { padding: 88px 0; }
  section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .sec-head { max-width: 640px; margin-bottom: 48px; }
  .sec-label { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 14px; font-weight: 500; color: var(--accent); margin: 0 0 12px; }
  .sec-label::before { content: "$ "; color: var(--muted); }
  h2 { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 14px; }
  .sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

  /* Bio */
  .bio-grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
  .avatar-wrap { position: relative; }
  .avatar {
    aspect-ratio: 1; border-radius: 32px;
    background:
      radial-gradient(circle at 15% 15%, var(--net) 0, transparent 60%),
      radial-gradient(circle at 90% 10%, var(--flow) 0, transparent 55%),
      radial-gradient(circle at 10% 95%, var(--unirad) 0, transparent 55%),
      radial-gradient(circle at 95% 90%, var(--m365) 0, transparent 55%),
      var(--net);
    display: grid; place-items: center; color: #fff; font-size: 84px; font-weight: 800; letter-spacing: -.04em;
    text-shadow: 0 2px 12px rgba(0,0,0,.25); box-shadow: var(--shadow);
    transform: rotate(-3deg); transition: transform .35s cubic-bezier(.3,1.6,.5,1);
  }
  .avatar:hover { transform: rotate(3deg) scale(1.04); }
  .status {
    position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow);
    padding: 4px 12px; font-size: 12.5px; color: var(--muted); white-space: nowrap;
  }
  .status::before { content: "●"; color: #22c55e; margin-right: 6px; animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .3; } }
  .bio-text p { margin: 0 0 18px; font-size: 17px; }
  .bio-text p.muted { color: var(--muted); }
  .certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
  .cert {
    display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted);
    border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 5px 12px;
  }
  .cert b { color: var(--text); font-size: 13.5px; }
  .cert { transition: transform .2s ease; }
  .cert:hover { transform: rotate(-2deg) scale(1.05); }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
  .fact { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 16px 18px; }
  .fact b { display: block; font-size: 15px; margin-bottom: 2px; }
  .fact span { color: var(--muted); font-size: 14px; }

  /* Software */
  .products { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
  .products .card { flex: 0 1 calc((100% - 48px) / 3); }
  .card {
    --c: var(--accent);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow);
    position: relative; overflow: hidden; transition: transform .25s cubic-bezier(.3,1.5,.5,1), border-color .2s ease, box-shadow .25s ease;
  }
  .card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); }
  .card:hover { transform: translateY(-6px) rotate(-.8deg); border-color: color-mix(in srgb, var(--c) 50%, var(--border)); box-shadow: 8px 10px 0 color-mix(in srgb, var(--c) 28%, transparent); }
  .products .card:nth-child(even):hover { transform: translateY(-6px) rotate(.8deg); }
  .p-icon { transition: transform .3s cubic-bezier(.3,1.8,.5,1); }
  .card:hover .p-icon { transform: rotate(-12deg) scale(1.1); }
  .card.net { --c: var(--net); }
  .card.retail { --c: var(--retail); }
  .card.flow { --c: var(--flow); }
  .card.unirad { --c: var(--unirad); }
  .card.m365 { --c: var(--m365); }
  .p-icon {
    width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
    background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c);
  }
  .p-icon svg { width: 28px; height: 28px; }
  .card h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.015em; }
  .tagline { color: var(--c); font-weight: 600; font-size: 14px; margin: 0 0 14px; }
  .card > p { color: var(--muted); margin: 0 0 18px; font-size: 15.5px; }
  .card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 15px; }
  .card li { display: flex; gap: 10px; align-items: flex-start; }
  .card li::before {
    content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%;
    background: color-mix(in srgb, var(--c) 18%, transparent)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  }
  .platforms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
  .chip {
    font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px;
    border: 1px solid var(--border); color: var(--muted); background: var(--bg);
  }
  .card .more { margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--c); }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
  .contact-info p { color: var(--muted); font-size: 17px; margin: 0 0 28px; }
  .c-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
  .c-line:last-child { border-bottom: 1px solid var(--border); }
  .c-line svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
  .c-line small { display: block; color: var(--muted); font-size: 13px; }
  form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
  input, select, textarea {
    font: inherit; font-size: 15px; color: var(--text); background: var(--bg);
    border: 1px solid var(--border); border-radius: 9px; padding: 11px 13px; width: 100%;
  }
  textarea { min-height: 130px; resize: vertical; }
  input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 1px; border-color: var(--accent); }
  .form-note { font-size: 13px; color: var(--muted); margin: 0; }

  /* Product detail sections */
  .pd-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; margin-bottom: 44px; }
  .pd-head .sec-label { color: var(--c, var(--accent)); }
  .pd-intro { color: var(--muted); font-size: 17px; margin: 0; }
  .pd-cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
  .pd-cta .btn { width: 100%; justify-content: center; }
  .req { font-size: 14px; color: var(--muted); margin: 14px 0 0; line-height: 1.55; }
  #netbuddy { --c: var(--net); }
  #retailbuddy { --c: var(--retail); }
  #retailbuddy .btn-primary { --b: var(--retail); }
  #unirad { --c: var(--unirad); }
  #m365 { --c: var(--m365); }
  #unirad .btn-primary, #m365 .btn-primary { --b: var(--c); }

  .checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
  .checks li { position: relative; padding-left: 26px; color: var(--muted); }
  .checks li b { color: var(--text); font-weight: 600; }
  .checks li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
    background: color-mix(in srgb, var(--c) 18%, transparent)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  }
  .checkgrid { grid-template-columns: 1fr 1fr; gap: 12px 40px; }
  .sub-h { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; margin: 88px 0 12px; }
  .sub-intro { color: var(--muted); font-size: 17px; max-width: 760px; margin: 0 0 28px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 36px; }
  .duo { display: grid; grid-template-columns: 1fr 230px; gap: 28px; align-items: end; }
  .phone { border-radius: 26px; }
  .phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 460px; margin: 0 auto; align-items: start; }
  .phones figcaption, .flow-steps figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }
  .phones figure, .flow-steps figure { margin: 0; }
  .phones img { aspect-ratio: 640 / 1385; object-fit: cover; object-position: top; }
  .flow-steps figure { display: flex; flex-direction: column; height: 100%; }
  .flow-steps figcaption { margin-top: auto; padding-top: 10px; }
  .mini-h { font-size: 17px; margin: 0 0 18px; }
  .flow-steps { display: grid; grid-template-columns: 1fr 1.9fr 1fr 1fr; gap: 20px; align-items: stretch; margin-bottom: 44px; }
  .step-n {
    display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-right: 6px;
    background: var(--c); color: #fff; font-size: 12px; font-weight: 700;
  }
  .feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 56px 0 20px; }
  .feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
  .feat h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
  .feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
  .feat .benefit { color: var(--c); font-weight: 600; font-size: 14.5px; margin-top: 12px; }

  .zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
  .shot {
    display: block; width: 100%; height: auto; border-radius: 12px;
    border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff;
  }
  .gallery { max-width: 900px; margin: 0 auto; }
  .gallery figure { margin: 0; }
  .gallery figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 14px; min-height: 1.6em; }
  .g-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; margin-top: 18px; }
  .g-thumbs button {
    padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden;
    background: none; cursor: pointer; opacity: .6; transition: opacity .15s, border-color .15s;
  }
  .g-thumbs button:hover { opacity: .9; }
  .g-thumbs button[aria-current="true"] { border-color: var(--c); opacity: 1; }
  .g-thumbs img { display: block; width: 100%; height: auto; }

  .highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 48px; }
  .hl h3, .fgroup h3, .frow h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
  .hl p { margin: 0; color: var(--muted); font-size: 15.5px; }
  .hl::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--c); margin-bottom: 14px; }

  .fgroups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .fgroup { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
  .fgroup h3 { color: var(--c); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
  .fgroup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .fgroup li { font-size: 15px; color: var(--muted); }
  .fgroup li b { color: var(--text); font-weight: 600; }

  .frow { display: grid; grid-template-columns: 1fr 1.45fr; gap: 56px; align-items: center; margin-top: 72px; }
  .frow:nth-of-type(even) .frow-text { order: 2; }
  .frow p { color: var(--muted); font-size: 16px; margin: 0 0 12px; }
  .frow .shot-small { max-width: 300px; margin: 20px auto 0; }
  .roles { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 6px 0 14px; }
  .roles th, .roles td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
  .roles th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
  .roles td:first-child { font-weight: 600; padding-right: 16px; }
  .roles td:last-child { color: var(--muted); }
  .note { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }

  dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
  dialog.lightbox::backdrop { background: rgba(5, 8, 15, .86); }
  dialog.lightbox img { display: block; max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: 10px; }
  dialog.lightbox p { color: #e2e8f0; text-align: center; margin: 12px 0 0; font-size: 15px; }
  dialog.lightbox .close {
    position: fixed; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
  }

  footer { padding: 36px 0; color: var(--muted); font-size: 14px; }
  .foot-bye { font-size: 13px; line-height: 1.7; }
  .foot-bye .t-p { color: var(--accent); }
  .foot-links a { color: var(--muted); }
  .foot-links a:hover { color: var(--text); }
  .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

  @media (max-width: 1100px) {
    .t-desc { display: none; }
  }
  @media (max-width: 960px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .products { max-width: 560px; margin: 0 auto; }
    .products .card { flex-basis: 100%; }
    .bio-grid { grid-template-columns: 1fr; gap: 32px; }
    .avatar-wrap { width: 140px; }
    .avatar { font-size: 48px; border-radius: 24px; }
    .pd-head, .frow { grid-template-columns: 1fr; gap: 28px; }
    .frow:nth-of-type(even) .frow-text { order: 0; }
    .frow { margin-top: 56px; }
    .highlights { grid-template-columns: 1fr; gap: 24px; }
    .fgroups { grid-template-columns: 1fr; }
    .g-thumbs { display: flex; overflow-x: auto; padding-bottom: 6px; }
    .g-thumbs button { flex: 0 0 110px; }
    .split, .checkgrid, .feat-grid { grid-template-columns: 1fr; }
    .duo { grid-template-columns: 1fr; }
    .duo > :last-child { max-width: 230px; margin: 0 auto; }
    .flow-steps { display: flex; overflow-x: auto; padding-bottom: 8px; }
    .flow-steps figure { flex: 0 0 170px; }
    .flow-steps figure.wide { flex-basis: 300px; }
    .sub-h { margin-top: 64px; }
  }
  @media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .hero { padding: 56px 0 48px; }
    section { padding: 64px 0; }
    .facts, .row { grid-template-columns: 1fr; }
    .terminal { font-size: 12px; }
    form, .card { padding: 22px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .cursor, .blob, .ticker-track, .status::before, .wave, .soft-panel, .soft-sheet { animation: none; }
    .card, .avatar, .terminal, .btn, .p-icon, .cert { transition: none; }
    .terminal { transform: none; }
  }

  /* ---------- Multi-page additions ---------- */
  section.page { padding-top: 28px; }
  .page-h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; }
  #flowbuddy { --c: var(--flow); }
  #flowbuddy .btn-primary { --b: var(--c); }
  section.page .btn-primary { --b: var(--c, var(--accent)); }

  /* Product switcher on product pages: a terminal-style path with the current product underlined */
  .ptabs {
    display: flex; align-items: baseline; gap: 6px 22px; flex-wrap: wrap; margin: 0 0 44px; padding-bottom: 12px;
    border-bottom: 1px dashed var(--border); font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 13.5px;
  }
  .ptabs::before { content: "~/software/"; color: var(--muted); margin-right: -10px; }
  .ptabs a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
  .ptabs a::before { content: "● "; color: var(--dot); }
  .ptabs a:hover { color: var(--text); }
  .ptabs a[aria-current="page"] { color: var(--text); text-decoration: underline wavy var(--dot); text-decoration-thickness: 2px; text-underline-offset: 7px; }

  /* Software menu: an app grid that drops down from the pill, or sits above the tab bar on phones */
  .pl .chev { width: 13px; height: 13px; margin-left: -2px; transition: transform .2s ease; }
  .pl[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .sw { position: relative; display: flex; }
  .soft-grid {
    width: 340px; padding: 14px 14px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.38);
  }
  .soft-grid[hidden] { display: none; }
  .soft-panel { position: absolute; z-index: 30; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); animation: panel-pop .22s cubic-bezier(.3,1.5,.5,1); }
  .soft-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }  /* lets the pointer cross the gap */
  @keyframes panel-pop { from { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(.97); } }
  .soft-sheet {
    position: fixed; z-index: 21; left: 12px; right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); width: auto;
    padding: 12px 10px 8px; animation: sheet-up .25s cubic-bezier(.3,1.4,.5,1);
  }
  @keyframes sheet-up { from { opacity: 0; transform: translateY(16px); } }
  .soft-grid a {
    display: grid; justify-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: 16px;
    color: var(--text); font-size: 12.5px; font-weight: 600; text-align: center; transition: background .15s ease;
  }
  .soft-grid a:hover { text-decoration: none; background: var(--bg); }
  .soft-grid .ic {
    position: relative; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--dot);
    background: color-mix(in srgb, var(--dot) 16%, transparent); transition: transform .35s cubic-bezier(.3,1.9,.5,1);
  }
  .soft-grid .ic svg { width: 28px; height: 28px; }
  .soft-grid a:hover .ic, .soft-grid a:focus-visible .ic { transform: rotate(-10deg) scale(1.12); }
  .soft-grid a:nth-child(even):hover .ic, .soft-grid a:nth-child(even):focus-visible .ic { transform: rotate(10deg) scale(1.12); }
  .soft-grid a[aria-current] .ic { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--dot); }
  .soft-grid a[aria-current] .ic::after {
    content: ""; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--dot); border: 2px solid var(--surface);
  }
  .soft-grid .cap { grid-column: 1 / -1; margin: 6px 0 0; padding-top: 10px; border-top: 1px solid var(--border); text-align: center; font-size: 13px; color: var(--muted); min-height: 1.6em; }
  .soft-sheet .ic { width: 48px; height: 48px; }
  .tabbar a[aria-expanded="true"] { color: var(--text); background: var(--accent-soft); }
  .d-net { --dot: var(--net); } .d-unirad { --dot: var(--unirad); } .d-m365 { --dot: var(--m365); }
  .d-retail { --dot: var(--retail); } .d-flow { --dot: var(--flow); }

  .teaser { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: center; }
  .teaser .avatar { font-size: 60px; }
  a.avatar-wrap { display: block; text-decoration: none; }
  .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
  .cta-inner .sub-intro { margin-bottom: 0; }
  .cta-prod .btn-primary { --b: var(--dot); }

  .foot-right { display: grid; gap: 6px; justify-items: end; }
  .foot-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-end; }
  .foot-nav a { color: var(--muted); }
  .foot-nav a:hover { color: var(--text); }

  /* FlowBuddy page */
  code { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .88em; background: var(--accent-soft); padding: .1em .4em; border-radius: 5px; }
  .img-dark { display: none; }
  :root[data-theme="dark"] .img-light { display: none; }
  :root[data-theme="dark"] .img-dark { display: block; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .img-light { display: none; }
    :root:not([data-theme="light"]) .img-dark { display: block; }
  }
  .hero-shot, .wide-shot { margin: 0; }
  .hero-shot figcaption, .wide-shot figcaption, .two-up figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 14px; }
  .feat-grid.three { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
  .media-split { grid-template-columns: 1.5fr 1fr; align-items: center; margin-top: 88px; }
  .media-split figure { margin: 0; }
  .sub-h.flush { margin-top: 0; }
  .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 56px 0 28px; }
  .two-up figure { margin: 0; }
  .wide-shot { margin-bottom: 72px; }
  ol.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
  ol.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 22px 66px; position: relative; }
  ol.steps li::before {
    content: counter(s); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%;
    background: var(--c); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px;
    box-shadow: 0 3px 0 color-mix(in srgb, var(--c) 55%, #000);
  }
  ol.steps b { display: block; margin-bottom: 4px; }
  ol.steps span { color: var(--muted); font-size: 15.5px; }
  table.specs { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
  table.specs th, table.specs td { text-align: left; padding: 11px 16px; border-top: 1px solid var(--border); vertical-align: top; }
  table.specs tr:first-child th, table.specs tr:first-child td { border-top: 0; }
  table.specs th { width: 120px; font-weight: 600; }
  table.specs td { color: var(--muted); }
  .faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 12px; }
  .faq summary { cursor: pointer; font-weight: 600; }
  .faq summary::marker { color: var(--c); }
  .faq details p { color: var(--muted); margin: 10px 0 2px; font-size: 15.5px; }

  @media (max-width: 960px) {
    .teaser { grid-template-columns: 1fr; gap: 32px; }
    .feat-grid.three, ol.steps, .two-up, .media-split { grid-template-columns: 1fr; }
    .media-split { margin-top: 64px; }
    .foot-right { justify-items: start; }
    .foot-nav { justify-content: flex-start; }
  }
  @media (max-width: 640px) {
    .ptabs { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding-bottom: 12px; margin-bottom: 32px; gap: 18px; scrollbar-width: none; }
    .ptabs::-webkit-scrollbar { display: none; }
    .ptabs a { flex: none; }
    .soft-panel { display: none !important; }
  }

  /* Phones: brand on top, app-style tab bar at the bottom */
  @media (max-width: 640px) {
    .site-head { position: static; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
    .pill { display: none; }
    .mtop { display: flex; width: 100%; align-items: center; justify-content: space-between; }
    .mtop .theme-btn { margin: 0; }
    .tabbar {
      display: grid; position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
      grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 22px;
      background: color-mix(in srgb, var(--surface) 88%, transparent);
      backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
      border: 1px solid var(--border); box-shadow: 0 12px 30px -10px rgba(0,0,0,.3);
    }
    .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 16px; color: var(--muted); font-size: 11px; font-weight: 600; }
    .tabbar a:hover { text-decoration: none; color: var(--text); }
    .tabbar a svg { width: 21px; height: 21px; }
    .tabbar a[aria-current] { color: var(--accent); background: var(--accent-soft); }
    body { padding-bottom: 92px; }
    .hero { padding-top: 40px; }
    section.page { padding-top: 32px; }
  }
