/* Agent-BV (Agent Bot Verifier) landing page.
   Base: brand/bot-verifier/mockups/homepage-1-dark.html (full-black), polished to match the
   Base Ecosystem Fund deck: Poppins, ink + glow, hex motifs, rounded cards, fedora mascot. */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Medium.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Bold.ttf") format("truetype"); }

:root {
  --ink: #0B0B0F; --ink-2: #16161C; --ink-3: #1D1D25; --line-dark: #26262E;
  --paper: #F4F4F2; --white: #FFFFFF; --gray: #8A8A93; --gray-2: #B5B5BD;
  --sand: #EFE6D6;
  --max: 1200px; --pad: clamp(20px, 5vw, 120px);
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--ink); color: var(--white); font-family: "Poppins", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,15,.92); border-bottom: 1px solid var(--ink-2); }
@supports (backdrop-filter: blur(8px)) { .header { backdrop-filter: blur(8px); } }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 40px; filter: drop-shadow(0 0 7px rgba(255,255,255,.28)); }
.brand .txt { display: flex; align-items: baseline; gap: 8px; }
.brand .name { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand .desc { font-weight: 500; font-size: 15px; color: var(--gray-2); }
.navlinks { display: flex; align-items: center; gap: 32px; list-style: none; }
.navlinks a { color: var(--gray-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.navlinks a:hover { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap; text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--paper); }
.btn-ghost { color: var(--white); border: 1px solid var(--line-dark); }
.btn-ghost:hover { border-color: var(--gray); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* Hero */
.hero { position: relative; text-align: center; padding: 64px 0 112px; overflow: hidden; }
.hex-field { position: absolute; inset: 0; pointer-events: none; }
.hex-field svg { position: absolute; width: 360px; height: 360px; }
.hex-field polygon { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
.hex-field .l { left: -80px; top: 120px; } .hex-field .r { right: -90px; top: 40px; }
.stage { position: relative; width: min(400px, 72vw); margin: 0 auto; }
.glow { position: absolute; left: 50%; top: 50%; width: 225%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.20) 0%, rgba(255,255,255,.09) 38%, rgba(255,255,255,.03) 66%, rgba(255,255,255,0) 100%); }
.stage img { position: relative; width: 100%; height: auto; aspect-ratio: 1022 / 1079; filter: drop-shadow(0 0 28px rgba(255,255,255,.10)); }
.hero h1 { margin-top: 48px; font-weight: 700; font-size: clamp(56px, 9vw, 104px); line-height: 1.02; letter-spacing: -0.025em; }
.hero .desc-lg { margin-top: 10px; font-weight: 600; font-size: clamp(22px, 3vw, 32px); line-height: 1.2; }
.rule { width: 48px; height: 1px; background: var(--line-dark); margin: 30px auto 0; }
.tagline { margin-top: 26px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: var(--gray-2); }
.lede { max-width: 720px; margin: 22px auto 0; font-size: 18px; color: var(--gray-2); }
.lede strong { color: var(--white); font-weight: 600; }
.chips { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--gray-2); background: var(--ink-2); white-space: nowrap; }
.chip.live { background: var(--white); color: var(--ink); border-color: var(--white); }
.chip.road { background: transparent; color: var(--white); border: 1.5px dashed #6a6a74; }
.chip.exp { background: var(--sand); color: #4a3c20; border-color: var(--sand); }
.ctas { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--gray); }

/* Sections */
.section { border-top: 1px solid var(--ink-2); padding: 112px 0; }
.sec-head { max-width: 820px; margin-bottom: 52px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-2); }
h2 { margin-top: 14px; font-weight: 600; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
h2 .soft { color: var(--gray-2); }
.sec-head p { margin-top: 18px; font-size: 18px; color: var(--gray-2); }

.cards { display: grid; gap: 20px; list-style: none; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px 30px 34px; }
.card .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.hex { width: 52px; height: 58px; flex: none; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--line-dark); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 17px; color: var(--white); }
.hex.on { background: var(--white); color: var(--ink); }
.card h3 { font-weight: 600; font-size: 23px; line-height: 1.25; }
.card p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--gray-2); }
.note { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px 28px; }
.note p { font-size: 16px; color: var(--gray-2); }
.note strong { color: var(--white); font-weight: 600; }

/* Contracts table */
.chain { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.tbl-wrap { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption { text-align: left; padding: 20px 26px 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-2); }
th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); padding: 16px 26px 12px; border-bottom: 1px solid var(--line-dark); }
td { font-size: 15px; padding: 15px 26px; border-bottom: 1px solid var(--ink-3); color: var(--gray-2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.c { color: var(--white); font-weight: 600; white-space: nowrap; }
td.a { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13.5px; color: var(--white); white-space: nowrap; }
.side { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px 28px; }
.side h3 { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-2); }
.side dl { margin-top: 14px; }
.side dt { margin-top: 14px; font-weight: 600; font-size: 15px; }
.side dd { font-size: 15px; color: var(--gray-2); }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }
.fine { margin-top: 18px; font-size: 14px; color: var(--gray); }

/* Status */
.status ul.list { list-style: none; margin-top: 6px; }
.status ul.list li { position: relative; padding-left: 26px; margin-top: 10px; font-size: 16px; color: var(--gray-2); }
.status ul.list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 12px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--gray); }
.status .card.built ul.list li::before { background: var(--white); }
.status .card .top { margin-bottom: 26px; }

/* CTA band */
.band { position: relative; overflow: hidden; background: var(--paper); color: var(--ink); border-radius: 28px; padding: 56px 64px; display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: center; }
.band p.big { font-weight: 600; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.3; letter-spacing: -0.01em; }
.band p.sub { margin-top: 8px; font-size: 16px; color: #55555c; }
.band .btn-dark { background: var(--ink); color: var(--white); }
.band .btn-dark:hover { background: #24242c; }
.band img { width: 96px; height: auto; }
.band .act { display: flex; align-items: center; gap: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--ink-2); padding: 64px 0 56px; }
.footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .lockup { display: flex; align-items: center; gap: 14px; }
.footer .lockup img { width: 38px; height: 40px; }
.footer .lockup .t1 { font-weight: 600; font-size: 18px; }
.footlinks { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; }
.footlinks a { color: var(--gray-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.footlinks a:hover { color: var(--white); }
.footer hr { border: 0; height: 1px; background: var(--line-dark); margin: 36px 0 26px; }
.legal { font-size: 14px; line-height: 1.6; color: var(--gray-2); }
.legal a { color: var(--white); }

/* Responsive */
@media (max-width: 1100px) {
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .chain { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .navlinks li.opt { display: none; }
  .cards.c3 { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .brand { gap: 10px; }
  .brand img { width: 32px; height: 34px; }
  .brand .txt { flex-direction: column; align-items: flex-start; gap: 0; }
  .brand .name { font-size: 17px; line-height: 1.15; }
  .brand .desc { font-size: 12px; line-height: 1.3; }
  .navlinks li.mid { display: none; }
  .hero { padding: 40px 0 80px; }
  .hero h1 { margin-top: 36px; }
  .section { padding: 80px 0; }
  .cards.c4 { grid-template-columns: 1fr; }
  .card .top { margin-bottom: 26px; }
  .hex-field { display: none; }
  .band .act { flex-direction: column; align-items: flex-start; gap: 20px; }
  .band img { width: 72px; }
  .ctas .btn { width: 100%; justify-content: center; }
}
.navlinks a.btn-white, .navlinks a.btn-white:hover { color: var(--ink); }
.section.cta { border-top: 0; padding-top: 0; }
@media (max-width: 640px) {
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { display: block; padding: 14px 20px; border-bottom: 1px solid var(--ink-3); }
  tr:last-child { border-bottom: 0; }
  td { display: block; padding: 2px 0; border: 0; }
  caption { padding: 18px 20px 4px; }
}

.status ul.list li .aside { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--gray); }
.powers { margin-top: 20px; background: var(--ink-2); border: 1px solid var(--line-dark); border-left: 3px solid var(--gray-2); border-radius: 14px; padding: 18px 24px; font-size: 15px; line-height: 1.65; color: var(--gray-2); }
.powers strong { color: var(--white); font-weight: 600; }
