:root {
  --bg: #ffffff;
  --panel: #f7f7f8;
  --card: #ffffff;
  --surface: #ffffff;
  --line: #ececee;
  --line-2: #e4e4e7;
  --fg: #0a0a0a;
  --fg-2: #3f3f46;
  --fg-3: #52525b;
  --muted: #71717a;
  --faint: #a1a1aa;
  --blue: #4f6ff5;
  --blue-text: #3b5bdb;
  --blue-soft: #eef2ff;
  --cyan: #0ea5e9;
  --high: #c2410c;
  --high-bg: #fff1e6;
  --med: #a16207;
  --med-bg: #fef9c3;
  --ok: #15803d;
  --ok-bg: #dcfce7;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.07);
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1280px; margin: 0 auto; }
.section { padding: 140px 16px 0; }
.h2 { margin: 0; font-size: clamp(32px, 3.6vw, 50px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 26px; border-radius: 99px;
  font-size: 15px; font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: #0a0a0a; color: #ffffff; }
.btn-primary:hover { background: #27272a; }
.btn-secondary { border: 1px solid var(--line-2); background: #ffffff; box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #d4d4d8; background: #fafafa; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* Nav */
.nav-shell { position: relative; z-index: 5; padding: 12px 16px 0; }
.nav {
  max-width: 1360px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px;
  min-height: 58px; padding: 8px 10px 8px 22px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark { flex: none; display: block; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 30px; margin: 0 auto; font-size: 14px; color: var(--fg-3); }
.nav-links a:hover, .lnk:hover { color: var(--fg); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--fg-3); }

/* Hero */
.hero { position: relative; padding: 104px 16px 0; }
.hero-copy { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(46px, 6.6vw, 92px); line-height: 1; font-weight: 400; letter-spacing: -0.045em; }
.hero-sub { max-width: 600px; margin: 26px auto 0; font-size: 18.5px; line-height: 1.6; color: var(--fg-3); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* Iris */
.iris-stage { position: relative; max-width: 820px; margin: 40px auto 0; aspect-ratio: 1 / 0.82; }
.iris-glow { position: absolute; left: 50%; top: 50%; width: 120%; height: 120%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(79, 111, 245, 0.14), rgba(79, 111, 245, 0.04) 55%, transparent); }
.iris { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.iris span { position: absolute; border-radius: 50%; }
.r0 { inset: 0; border: 1px solid rgba(10, 10, 10, 0.05); }
.r1 { inset: 9%; border: 1px solid rgba(10, 10, 10, 0.07); }
.r2 { inset: 18%; border: 1px dashed rgba(10, 10, 10, 0.12); }
.r3 { inset: 27%; border: 1px solid rgba(10, 10, 10, 0.09); }
.r4 { inset: 35%; border: 1px solid rgba(10, 10, 10, 0.11); }
.arc-blue { inset: 9%; border: 2px solid transparent; border-top-color: var(--blue); filter: drop-shadow(0 0 8px rgba(79, 111, 245, 0.55)); animation: spin 22s linear infinite; }
.arc-cyan { inset: 27%; border: 2px solid transparent; border-right-color: var(--cyan); border-bottom-color: rgba(14, 165, 233, 0.3); filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.45)); animation: spinr 16s linear infinite; }
.core { inset: 40%; background: #ffffff; border: 1px solid rgba(79, 111, 245, 0.3); box-shadow: 0 0 0 10px rgba(79, 111, 245, 0.05), 0 24px 60px rgba(79, 111, 245, 0.25); }
.iris-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.iris-center .file { margin-top: 6px; font-size: 13px; color: var(--fg); }
.iris-center .clock { margin-top: 2px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.os-badge { position: absolute; transform: translate(-50%, -50%); padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 99px; background: #ffffff; box-shadow: var(--shadow-sm); font-size: 12px; color: var(--fg-2); white-space: nowrap; }
.chip-pos { position: absolute; transform: translate(-50%, -50%); }
.chip {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px;
  background: #ffffff; border: 1px solid var(--line-2); box-shadow: var(--shadow-md); font-size: 15px; white-space: nowrap;
  animation: drift 7s ease-in-out infinite;
}
.chip i { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #f4f4f5; border: 1px solid var(--line-2); font-style: normal; font-size: 11px; color: var(--faint); }
.chip-main { padding: 18px 26px; font-size: 22px; border-color: rgba(79, 111, 245, 0.4); box-shadow: 0 0 0 4px rgba(79, 111, 245, 0.08), 0 16px 40px rgba(79, 111, 245, 0.22); }
.chip-main i { width: 34px; height: 34px; background: var(--blue-soft); border-color: rgba(79, 111, 245, 0.25); color: var(--blue); }
.chip-hot { border-color: rgba(234, 88, 12, 0.35); box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.06), 0 12px 30px rgba(234, 88, 12, 0.14); }
.chip-hot i { background: var(--high-bg); border-color: rgba(234, 88, 12, 0.25); color: #ea580c; }
.iris-fade { position: absolute; left: -20%; right: -20%; bottom: -2px; height: 30%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 0; }
.stat { padding: 4px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-2); }
.stat b { display: block; font-size: 34px; font-weight: 400; letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Compare */
.compare { margin-top: 40px; border-top: 1px solid var(--line); }
.compare-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.compare-row .who { flex: 1 1 220px; font-size: 19px; }
.compare-row .what { flex: 2 1 320px; font-size: 15.5px; color: var(--muted); }
.result { flex: none; padding: 7px 16px; border-radius: 99px; font-size: 14px; }
.result-none { background: #f4f4f5; border: 1px solid var(--line-2); color: var(--muted); }
.result-high { background: var(--high-bg); border: 1px solid #fed7aa; color: var(--high); }

/* Rail */
.rail { position: relative; margin-top: 64px; }
.rail-line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, rgba(79, 111, 245, 0), rgba(79, 111, 245, 0.85) 20%, rgba(14, 165, 233, 0.85) 80%, rgba(14, 165, 233, 0)); box-shadow: 0 0 12px rgba(79, 111, 245, 0.35); }
.rail-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.rail-steps > div { text-align: center; }
.rail-pill { position: relative; display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border-radius: 99px; background: #ffffff; border: 1px solid rgba(79, 111, 245, 0.35); box-shadow: 0 6px 18px rgba(79, 111, 245, 0.14); font-size: 14px; font-weight: 500; }
.rail-pill.on { background: #0a0a0a; color: #ffffff; border-color: #0a0a0a; box-shadow: 0 10px 30px rgba(79, 111, 245, 0.35); }
.rail-steps h3 { margin: 22px 0 0; font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.rail-steps p { max-width: 280px; margin: 8px auto 0; font-size: 14.5px; color: var(--muted); }

/* Product */
.product { position: relative; max-width: 1360px; margin: 0 auto; padding: 72px 40px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); overflow: hidden; }
.deco { position: absolute; aspect-ratio: 1; }
.deco span { position: absolute; border-radius: 50%; }
.deco-a { left: -260px; bottom: -380px; width: 760px; }
.deco-b { right: -300px; top: -360px; width: 700px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 36px auto 0; padding: 5px; border: 1px solid var(--line-2); border-radius: 99px; background: #ffffff; box-shadow: var(--shadow-sm); }
.tab { height: 38px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; color: var(--fg-3); font-size: 14px; font-weight: 500; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: #0a0a0a; color: #ffffff; }
.window { position: relative; max-width: 1040px; margin: 36px auto 0; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 40px 100px -40px rgba(79, 111, 245, 0.4); overflow: hidden; }
.window-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 46px; padding: 8px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; }
.badge-blue { background: var(--blue-soft); color: var(--blue-text); }
.badge-gray { background: #f4f4f5; color: var(--fg-3); }
.badge-high { background: var(--high-bg); color: var(--high); }
.badge-med { background: var(--med-bg); color: var(--med); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pulse { animation: pulse 2s infinite; }
.window-bar .clock { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.panel[hidden] { display: none; }
.desk-wrap { padding: 14px; background: #fafafa; }
.desk { position: relative; aspect-ratio: 16 / 8; border-radius: 8px; background: radial-gradient(70% 90% at 50% 35%, #c7d4ff 0%, #e3e9ff 50%, #f4f6fc 100%); border: 1px solid var(--line-2); overflow: hidden; }
.dialog { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 48%; min-width: 220px; border-radius: 10px; background: #ffffff; border: 1px solid var(--line-2); color: var(--fg); font-size: 12px; box-shadow: 0 20px 50px rgba(16, 24, 40, 0.18); overflow: hidden; }
.dialog-title { padding: 9px 14px; background: #f7f7f8; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.dialog-body { padding: 16px 14px; color: var(--fg-3); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 0 14px 14px; }
.dialog-actions span { padding: 4px 14px; border-radius: 99px; }
.dialog-actions .ghost { border: 1px solid #d4d4d8; color: var(--fg-2); }
.dialog-actions .primary { background: var(--blue); color: #ffffff; font-weight: 500; }
.cursor { position: absolute; left: 66%; top: 62%; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 7%; display: flex; align-items: center; justify-content: center; gap: 7px; background: rgba(255, 255, 255, 0.78); border-top: 1px solid var(--line-2); }
.taskbar span { width: 11px; height: 11px; border-radius: 3px; background: #d4d4d8; }
.taskbar span.on { background: var(--blue); box-shadow: 0 0 8px rgba(79, 111, 245, 0.6); }
.controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 12.5px; }
.controls span { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: #ffffff; color: var(--fg-2); }
.controls span.on { background: #0a0a0a; color: #ffffff; border-color: #0a0a0a; font-weight: 500; }
.rows { padding: 6px 0; }
.prow { position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 18px; border-bottom: 1px solid var(--line); }
.prow .elbow { position: absolute; top: -1px; width: 12px; height: 28px; border-left: 1px solid #d4d4d8; border-bottom: 1px solid #d4d4d8; border-bottom-left-radius: 6px; }
.picon { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: #f4f4f5; color: var(--fg-3); font-size: 11.5px; font-weight: 600; }
.picon.brand { background: var(--blue); color: #ffffff; }
.picon.high { background: var(--high-bg); color: var(--high); }
.picon.med { background: var(--med-bg); color: var(--med); }
.prow .name { flex: 1; min-width: 0; font-size: 14px; }
.prow .pid { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.nrow { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kind { justify-self: start; min-width: 48px; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 6px; background: #fafafa; font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--fg-2); text-align: center; }
.nrow .what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report { display: flex; flex-wrap: wrap; }
.report > div { flex: 1 1 260px; padding: 22px; }
.report > div:first-child { border-right: 1px solid var(--line); }
.score { display: flex; align-items: center; gap: 16px; }
.ring { position: relative; width: 64px; height: 64px; }
.ring svg { transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; }
.irow, .crow { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.irow .sev { flex: none; width: 16px; font-family: var(--mono); }
.crow { justify-content: space-between; }
.code { margin: 0; padding: 22px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--fg-2); background: #fafafa; }
.code .c { color: var(--faint); }
.code .s { color: #0369a1; }
.code .v { color: var(--blue-text); }
.tab-copy { max-width: 1040px; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 10px 48px; }
.tab-copy h3 { flex: 1 1 280px; margin: 0; font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.tab-copy p { flex: 2 1 420px; margin: 0; font-size: 15.5px; color: var(--fg-3); }

/* Cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 44px; }
.card { position: relative; padding: 26px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.card:hover { border-color: #d4d4d8; box-shadow: var(--shadow-md); }
.card h3 { margin: 18px 0 0; font-size: 19px; font-weight: 400; letter-spacing: -0.015em; }
.card p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.env { display: flex; flex-direction: column; min-height: 250px; }
.env .code-name { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 4px; }
.env h3 { margin: auto 0 0; padding-top: 60px; font-size: 26px; }
.types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.types span { padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 12px; color: var(--fg-2); }
.emblem { position: absolute; right: 22px; top: 20px; width: 64px; aspect-ratio: 1; }
.emblem span { position: absolute; border-radius: 50%; }
.emblem .e0 { inset: 0; border: 1px solid rgba(10, 10, 10, 0.08); }
.emblem .e1 { inset: 0; border: 1.5px solid transparent; border-top-color: var(--ring); filter: drop-shadow(0 0 4px var(--ring)); animation: spin 14s linear infinite; }
.emblem .e2 { inset: 20%; border: 1px solid rgba(10, 10, 10, 0.1); }
.emblem .e3 { inset: 38%; background: var(--ring); box-shadow: 0 0 12px var(--ring); }
.feat-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(79, 111, 245, 0.2); background: var(--blue-soft); color: var(--blue); transition: border-color 0.2s ease; }
.feat-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .feat-icon { border-color: rgba(79, 111, 245, 0.45); }

/* CTA */
.cta { position: relative; max-width: 1360px; margin: 0 auto; padding: 120px 40px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); text-align: center; overflow: hidden; }
.cta-rings { position: absolute; left: 50%; top: 100%; width: 1100px; aspect-ratio: 1; transform: translate(-50%, -50%); }
.cta-rings span { position: absolute; border-radius: 50%; }
.cta h2 { position: relative; margin: 0; font-size: clamp(36px, 4.8vw, 68px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.04; }
.cta .hero-ctas { position: relative; }

/* Footer */
.footer { padding: 100px 16px 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 14px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols span { color: var(--faint); }
.footer-cols a { color: var(--fg-2); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes spinr { from { transform: rotate(360deg); } to { transform: rotate(0); } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (max-width: 900px) {
  .hide-sm { display: none !important; }
  .product { padding: 56px 16px; }
  .report > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats, .rail-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat + .stat { border-left: 0; }
}
@media (max-width: 560px) {
  .stats, .rail-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
