/* GAVEL Sandbox — tokens copied from the live GenXis design system (https://genxis.com/assets/site.css). */
:root {
  --ink: #030715; --ink-2: #071024;
  --panel: rgba(12, 24, 50, .66); --panel-2: rgba(6, 13, 31, .92);
  --text: #f7f8ff; --muted: #a9aec2; --dim: #7f879f;
  --line: rgba(137, 161, 209, .18); --line-2: rgba(137, 161, 209, .34);
  --cyan: #2ad8ff; --cyan-deep: #0e7490; --orange: #ff7a12; --orange-2: #ff8b3d;
  --success: #7be8c2; --blue: #004ed5; --sky: #54b4fa; --eyebrow: #8dbaff;
  /* alarm red: sandbox addition, sits between the logo's magenta and orange */
  --alarm: #ff2d55; --alarm-deep: #8a0620;
  --fs-xs: 12px; --fs-sm: 14px; --fs-base: 16px; --fs-lg: 20px;
  --fs-h2: clamp(28px, 3.2vw, 36px); --fs-h1: clamp(40px, 6vw, 64px);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --shell: 1240px; --gutter: clamp(16px, 4vw, 32px);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  min-width: 320px; margin: 0; color: var(--text);
  background: radial-gradient(circle at 54% 0, rgba(56, 78, 174, .12), transparent 34rem),
              linear-gradient(135deg, #020611 0%, #050919 52%, #030715 100%);
  background-attachment: fixed;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: var(--fs-base); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
code, .mono, pre, textarea { font-family: Consolas, "SFMono-Regular", monospace; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 12px; color: var(--ink); background: var(--cyan); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .small { font-size: var(--fs-sm); }

/* header */
.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); background: rgba(3, 7, 21, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 108px; }
.primary-nav { display: none; align-items: center; gap: var(--s6); }
.primary-nav a { color: var(--muted); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: .08em; }
.primary-nav a:hover, .primary-nav a.active { color: var(--text); }
@media (min-width: 900px) { .primary-nav { display: flex; } }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.demo-badge { display: inline-block; white-space: nowrap; border: 1px dashed var(--orange-2); color: var(--orange-2); border-radius: 999px; padding: 4px 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 639px) { .header-actions .header-cta { display: none; } }

/* buttons (live site .btn / .header-cta) */
.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 var(--s5); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: rgba(4, 20, 40, .5); color: var(--text); font: inherit; font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.header-cta:hover, .btn:hover { transform: translateY(-1px); border-color: var(--cyan); }
.btn.primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--orange-2); border-color: var(--orange-2); color: #1b0901; box-shadow: 0 6px 18px rgba(255, 139, 61, .5); }
.btn.danger { border-color: rgba(255, 45, 85, .55); color: #ffb3c1; }
.btn.danger:hover { border-color: var(--alarm); background: rgba(255, 45, 85, .14); }
.btn.small { min-height: 38px; padding: 0 var(--s4); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.arrow { width: 18px; height: 18px; }

/* hero */
.hero { display: grid; gap: var(--s6); align-items: center; padding: var(--s8) 0 var(--s6); }
@media (min-width: 900px) { .hero { grid-template-columns: 1.25fr .75fr; } }
.eyebrow { color: var(--eyebrow); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: var(--s4); }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
h1 .accent { color: var(--sky); }
h2 { font-size: var(--fs-h2); letter-spacing: -.02em; line-height: 1.15; margin-bottom: var(--s3); }
h3 { font-size: var(--fs-lg); letter-spacing: -.01em; }
.hero-subline { margin-top: var(--s5); font-size: var(--fs-lg); }
.lede { margin-top: var(--s3); color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-art img { width: min(420px, 80%); margin-inline: auto; filter: drop-shadow(0 0 48px rgba(42, 216, 255, .22)); }
.section { padding: var(--s8) 0 0; }
.section-lede { color: var(--muted); max-width: 70ch; margin-bottom: var(--s6); }

/* cards */
.grid-3, .grid-2, .result-grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; } .result-grid { grid-template-columns: 1.05fr .95fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); background: linear-gradient(150deg, var(--panel), var(--panel-2)); min-width: 0; }
.card h3 { margin-bottom: var(--s3); }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); flex-wrap: wrap; }
.card .row h3 { margin: 0; }
.preset { display: flex; flex-direction: column; gap: var(--s4); }
.preset .styled { color: var(--cyan); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.preset p { color: var(--muted); font-size: var(--fs-sm); }
.preset dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: var(--fs-xs); color: var(--dim); }
.preset dd { margin: 0; color: var(--muted); font-family: Consolas, "SFMono-Regular", monospace; word-break: break-all; }
.preset .btns { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: auto; }
.preset .btns .btn { flex: 1 1 auto; }
.preset .api-link { font-size: var(--fs-xs); color: var(--dim); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; text-decoration: underline; font: inherit; font-size: var(--fs-xs); }
.tag, .pill { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.pill { color: var(--cyan); border-color: rgba(42, 216, 255, .4); font-family: Consolas, "SFMono-Regular", monospace; margin-bottom: var(--s3); }
.pill.red { color: #fff; background: var(--alarm); border-color: var(--alarm); }
code { color: var(--cyan); font-size: .92em; }

/* THE MOMENT: verdict banner */
.verdict { border-radius: var(--r-lg); padding: var(--s6) var(--s5); margin-bottom: var(--s5); text-align: center; border: 2px solid; }
.verdict .big { font-size: clamp(56px, 13vw, 152px); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.verdict .sub { margin-top: var(--s3); font-size: clamp(17px, 2.2vw, 24px); font-weight: 600; }
.verdict .why { margin: var(--s4) auto 0; max-width: 80ch; font-size: var(--fs-sm); }
.verdict .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-top: var(--s4); }
.verdict.fail { border-color: var(--alarm); color: #fff; background: radial-gradient(circle at 50% 0, rgba(255, 45, 85, .55), transparent 70%), linear-gradient(160deg, #3a0010, #12030a); box-shadow: 0 0 0 6px rgba(255, 45, 85, .18), 0 24px 80px rgba(255, 45, 85, .35); animation: shake .5s cubic-bezier(.36,.07,.19,.97) both, alarm 1.2s ease-in-out 3; }
.verdict.fail .big { color: #fff; text-shadow: 0 0 32px rgba(255, 45, 85, .9); }
.verdict.fail .why { color: #ffd0d9; }
.verdict.pass { border-color: var(--success); background: radial-gradient(circle at 50% 0, rgba(123, 232, 194, .28), transparent 70%), linear-gradient(160deg, #04261d, #031510); }
.verdict.pass .big { color: var(--success); }
.verdict.pass .why { color: var(--muted); }
.verdict.error { border-color: var(--orange); }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-8px); } 40%, 60% { transform: translateX(8px); } }
@keyframes alarm { 50% { box-shadow: 0 0 0 14px rgba(255, 45, 85, .30), 0 24px 100px rgba(255, 45, 85, .6); } }
@media (prefers-reduced-motion: reduce) { .verdict.fail { animation: none; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.timeline li { border: 1px solid var(--line); border-left: 4px solid var(--success); border-radius: var(--r-sm); padding: var(--s3) var(--s4); background: rgba(4, 20, 40, .45); cursor: pointer; }
.timeline li:hover, .timeline li.sel { border-color: var(--cyan); }
.timeline li.deny { border-left-color: var(--alarm); background: rgba(255, 45, 85, .09); }
.timeline .top { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.timeline .dec { font-weight: 800; font-size: var(--fs-xs); letter-spacing: .12em; padding: 2px 8px; border-radius: 6px; color: #04261d; background: var(--success); }
.timeline li.deny .dec { color: #fff; background: var(--alarm); }
.timeline .tool { font-family: Consolas, "SFMono-Regular", monospace; font-weight: 700; }
.timeline .detail { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; word-break: break-word; }
.timeline .note { color: var(--orange-2); font-size: var(--fs-xs); margin-top: 4px; }
.timeline .hash { color: var(--dim); font-size: var(--fs-xs); font-family: Consolas, "SFMono-Regular", monospace; margin-top: 4px; }
.timeline .run-row { border-left-color: var(--cyan); }

/* receipts + verify */
.receipt-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0; }
.receipt { margin: 0; max-height: 460px; overflow: auto; font-size: 12px; line-height: 1.5; color: #d9ddef; background: rgba(2, 6, 17, .8); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s4); white-space: pre-wrap; word-break: break-all; }
.small-pre { max-height: none; margin: var(--s3) 0; }
textarea { width: 100%; color: var(--text); background: rgba(2, 6, 17, .8); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: var(--s3); font-size: 12px; margin-top: var(--s3); }
.verify-out { border-radius: var(--r); padding: var(--s4); margin: var(--s3) 0; border: 2px solid; }
.verify-out .vbig { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.verify-out ul { margin: var(--s2) 0 0; padding-left: var(--s5); font-size: var(--fs-sm); }
.verify-out.ok { border-color: var(--success); background: rgba(123, 232, 194, .08); }
.verify-out.ok .vbig { color: var(--success); }
.verify-out.bad { border-color: var(--alarm); background: rgba(255, 45, 85, .12); animation: shake .45s both; }
.verify-out.bad .vbig { color: var(--alarm); }
.policy-src { margin-top: var(--s5); }
.policy-src summary { cursor: pointer; font-weight: 600; }
.policy-src h4 { margin: var(--s4) 0 var(--s2); color: var(--muted); font-size: var(--fs-sm); }

/* footer (live site) */
.site-footer { margin-top: var(--s9); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: var(--s6); padding: var(--s7) 0 var(--s6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { width: 112px; margin-bottom: var(--s4); }
.footer-brand p { color: var(--dim); font-size: var(--fs-sm); max-width: 42ch; }
.footer-col h4 { margin: 0 0 var(--s4); color: var(--text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: var(--fs-sm); padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--line); color: var(--dim); font-size: var(--fs-xs); }
.footer-bar .disclaimer { max-width: 90ch; }
.pill.flat { margin: 0; }
.verdict .big.errbig { font-size: 48px; }
.timeline .dec.run { background: var(--cyan); color: #031018; }
.verify-out .errs { margin-top: 8px; }
.notfound { padding: var(--s9) 0; min-height: 60vh; }
/* small screens */
@media (max-width: 520px) {
  .hero { padding-top: var(--s6); }
  .header-cta { padding: 0 var(--s3); }
  .verdict { padding: var(--s5) var(--s3); }
  .verdict .why { text-align: left; }
  .card { padding: var(--s4); }
  .receipt { max-height: 340px; font-size: 11px; }
  .hero-art img { width: 55%; }
}

/* intro video (hero, right column) */
.intro-video { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.intro-video video {
  display: block; width: auto; height: min(360px, 52vh); aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(42, 216, 255, .08), 0 18px 60px rgba(42, 216, 255, .16); object-fit: cover;
}
.intro-video figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; max-width: 300px; }
.intro-video figcaption .eyebrow { margin: 0; }
.transcript { margin-top: 0; font-size: var(--fs-sm); text-align: left; }
.transcript summary { cursor: pointer; color: var(--cyan); text-align: center; font-weight: 600; }
.transcript p { color: var(--muted); margin-top: var(--s2); }
@media (max-width: 899px) {
  .intro-video video { height: auto; width: min(220px, 60vw); }
}
@media (min-width: 900px) { .hero { padding: var(--s7) 0 var(--s4); } .transcript[open] { max-width: 340px; } }

/* production GAVEL status */
.prod-status{margin-top:14px;padding:10px 14px;border-radius:10px;font-size:.92rem;line-height:1.45;text-align:left}
.prod-status.ok{background:rgba(22,163,74,.10);border:1px solid rgba(22,163,74,.35)}
.prod-status.bad{background:rgba(220,38,38,.10);border:1px solid rgba(220,38,38,.40)}
.timeline li.prod-row{border-left-width:4px}

/* partner copy: separate agent verdict vs GAVEL attestation */
.block-label{font-size:var(--fs-xs,.75rem);font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.85;margin-bottom:6px}
.gavel-att{margin:14px 0 0}
.gavel-att p{margin:4px 0}
.verify-note{margin:8px 0 0;line-height:1.45}
.value-line{font-size:1.08rem;line-height:1.5;margin:0 0 12px;max-width:62ch}
.next-step{margin-top:18px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.next-step h3{margin:0 0 4px}
