:root {
  --bg: #ffffff;
  --bg-2: #f7f7f8;
  --text: #111113;
  --muted: #6b6b73;
  --faint: #9a9aa3;
  --line: #ececef;
  --line-strong: #e2e2e6;
  --accent: #c026d3;
  --blue: #2563eb;
  --blue-hot: #1d4ed8;
  --blue-dim: rgba(37, 99, 235, 0.1);
  --btn: #111113;
  --btn-hover: #2a2a2e;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--btn);
  border: 0;
  font-size: 13px;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
}

.nav-cta:hover { background: var(--btn-hover); }

.nav-end { display: flex; align-items: center; gap: 10px; }

.soc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--muted);
}

.soc:hover { color: var(--text); border-color: #ccc; }
.soc svg { width: 15px; height: 15px; fill: currentColor; }

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: live 1.8s ease-out infinite;
}

@keyframes live {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); border-color: #c4c4ca; }

.btn .chev {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--accent);
}

.btn-pay {
  background: var(--btn);
  color: #fff;
  border-color: var(--btn);
}

.kicker {
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

h1, h2, .display {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 44px); }

.lede {
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  margin: 16px auto 0;
}

.hero {
  position: relative;
  padding: 28px 0 72px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 640px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12), transparent 68%);
  pointer-events: none;
}

.orb-stage {
  position: relative;
  width: min(440px, 78vw);
  margin: -12px auto -28px;
}

.orb-rings {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 78%;
  height: 28%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orb-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 50%;
  animation: ring-spin 18s linear infinite;
}

.orb-rings i:nth-child(2) { inset: 12% 8%; animation-duration: 26s; animation-direction: reverse; }
.orb-rings i:nth-child(3) { inset: 24% 16%; animation-duration: 14s; }

@keyframes ring-spin { to { transform: rotate(360deg); } }

.orb-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  animation: float 7s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 40%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 46%, #000 40%, transparent 72%);
}

@keyframes float {
  50% { transform: translateY(-12px); }
}

.line { display: block; overflow: hidden; }
.line span { display: block; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 64px;
  text-align: left;
}

.feature .icon { width: 22px; height: 22px; color: var(--text); margin-bottom: 14px; }
.feature h3 { margin: 0 0 8px; font-size: 15px; font-weight: 650; }
.feature p { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; min-height: 62px; }
.feature:hover { transform: translateY(-3px); }
.feature { transition: transform 0.3s ease; }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 72px 0 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px 14px 0;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee { to { transform: translateX(-50%); } }

.page { padding: 56px 0 100px; }
.page-head { max-width: 640px; margin-bottom: 48px; }
.page-head .lede { margin-left: 0; }

.prose { max-width: 720px; color: #3f3f46; }
.prose h2 { font-size: 32px; margin: 40px 0 14px; color: var(--text); }
.prose h3 { font-size: 16px; margin: 24px 0 8px; color: var(--text); }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; }
.prose a { color: var(--blue); }
.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--blue-hot);
  background: var(--blue-dim);
  padding: 1px 6px;
  border-radius: 5px;
}
.prose pre {
  background: #f4f4f6;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  overflow: auto;
  color: #27272a;
  font-family: var(--mono);
  font-size: 13px;
}
.prose pre code { background: none; padding: 0; color: inherit; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.card h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.card .price { font-size: 28px; letter-spacing: -0.03em; }
.card p { color: var(--muted); font-size: 14px; }
.card ul { margin: 18px 0 22px; padding-left: 16px; color: #3f3f46; font-size: 14px; }

.badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid #f0abfc;
  background: #fdf4ff;
  padding: 3px 8px;
  border-radius: 999px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 80px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--faint); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Orynth-style footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  background: #fff;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 32px;
}

.foot-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.powered {
  display: flex;
  align-items: center;
  gap: 6px;
}

.copy-addr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.copy-addr svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

.copy-addr:hover { color: var(--text); }

.sys-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
}

.sys-pill svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

.ory-badge {
  display: inline-block;
  margin-top: 16px;
}

.ory-badge img {
  width: 260px;
  height: 80px;
}

.ory-badge-row {
  display: flex;
  justify-content: center;
  padding: 8px 0 56px;
}

.foot-col a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  margin-right: 8px;
  vertical-align: -2px;
}

.foot-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.foot-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.foot-col a:hover { color: var(--text); }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-in { opacity: 1; transform: none; }

.hero .orb-stage,
.hero h1 .line span,
.hero .lede,
.hero .feature {
  opacity: 0;
  transform: translateY(24px);
}

.hero.is-live .orb-stage { animation: enter 1s ease 0.1s forwards; }
.hero.is-live h1 .line:nth-child(1) span { animation: enter 0.9s ease 0.3s forwards; }
.hero.is-live h1 .line:nth-child(2) span { animation: enter 0.9s ease 0.42s forwards; }
.hero.is-live .lede { animation: enter 0.85s ease 0.55s forwards; }
.hero.is-live .feature:nth-child(1) { animation: enter 0.8s ease 0.7s forwards; }
.hero.is-live .feature:nth-child(2) { animation: enter 0.8s ease 0.8s forwards; }
.hero.is-live .feature:nth-child(3) { animation: enter 0.8s ease 0.9s forwards; }
.hero.is-live .feature:nth-child(4) { animation: enter 0.8s ease 1s forwards; }

@keyframes enter { to { opacity: 1; transform: none; } }

.studio { min-height: calc(100vh - 72px); padding: 36px 0 80px; }
.studio-head { max-width: 640px; margin-bottom: 28px; }
.studio-head .lede { margin-left: 0; }

.studio-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.resume {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  background: #fdf4ff;
  border-bottom: 1px solid #f0abfc;
  font-size: 13px;
}

.tabs { display: flex; gap: 8px; margin-bottom: 22px; }

.tab {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.tab.is-on { background: var(--btn); color: #fff; border-color: var(--btn); }

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 12px 14px;
}

.field textarea { min-height: 260px; resize: vertical; }

.field.two { display: grid; grid-template-columns: 1fr 90px; gap: 10px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.history-col h3 { font-weight: 700; margin: 8px 0 16px; }

.hist-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-align: left;
  padding: 10px 0;
  cursor: pointer;
  font: inherit;
}

.hist-item span { color: var(--muted); font-size: 12px; }

.report-slot { min-height: 420px; }

.rcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.rcard-empty, .rcard-wait {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rcard-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.rcard-id {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.mono { font-family: var(--mono); font-size: 12px; }
.rcard-sum { color: var(--muted); max-width: 46em; margin: 8px 0 24px; }
.scoreline { font-size: 22px; margin: 8px 0 0; }
.scoreline span { color: var(--faint); font-size: 14px; }

.verdict { font-weight: 800; letter-spacing: -0.04em; }
.verdict.EXPOSED { color: #dc2626; }
.verdict.HARDENED { color: #d97706; }
.verdict.FORTIFIED { color: #16a34a; }

.rcard-h {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 24px 0 12px;
}

.fcard {
  display: grid;
  grid-template-columns: 4px 1fr;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.fcard-rail { background: var(--blue); }
.fcard.sev-critical .fcard-rail { background: #dc2626; }
.fcard.sev-high .fcard-rail { background: #ea580c; }
.fcard.sev-medium .fcard-rail { background: #d97706; }
.fcard.sev-low .fcard-rail, .fcard.sev-info .fcard-rail { background: #a1a1aa; }

.fcard-body { padding: 14px 16px 16px; }
.fcard-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.fcard-body h4 { margin: 0 0 8px; font-size: 16px; }
.fcard-body p { margin: 0 0 8px; color: #52525b; font-size: 14px; }

.fcard-ev {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #f4f4f5;
  border-radius: 8px;
  color: #52525b;
  font-size: 12px;
  white-space: pre-wrap;
  overflow: auto;
  font-family: var(--mono);
}

.pill {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.pill.critical { color: #dc2626; border-color: #fecaca; }
.pill.high { color: #ea580c; border-color: #fed7aa; }
.pill.medium { color: #d97706; border-color: #fde68a; }

.sig { display: grid; grid-template-columns: 10px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.sig-mark { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: var(--faint); }
.sig.triggered .sig-mark { background: #ea580c; }
.sig.clean .sig-mark { background: #16a34a; }
.sig p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.muted { color: var(--muted); }
.err { color: #dc2626; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .orb-stage, .hero h1 .line span, .hero .lede, .hero .feature, [data-reveal] {
    opacity: 1; transform: none;
  }
}

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .features, .grid-3, .split, .studio-grid, .studio-shell { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { padding: 0 16px; }
  .feature p { min-height: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
