/* Hive — public site. Brand: honeycomb hexagon, navy + honey. */
:root {
  --ink: #0f1428;
  --navy: #1b2140;
  --navy-2: #252c52;
  --honey: #f0b429;
  --honey-2: #ffd166;
  --paper: #fbf8f1;
  --tint: #f3eee2;
  --text: #1c2136;
  --muted: #5b6180;
  --line: rgba(27, 33, 64, .12);
  --line-d: rgba(255, 255, 255, .12);
  --radius: 16px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--honey); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-gold { background: var(--honey); color: var(--ink); box-shadow: 0 6px 20px -8px rgba(240, 180, 41, .7); }
.btn-gold:hover { background: var(--honey-2); }
.btn-ghost { color: #fff; opacity: .85; }
.btn-ghost:hover { opacity: 1; }
.btn-line { color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-line:hover { border-color: var(--honey); color: var(--honey); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s; }
.nav.scrolled { background: rgba(15, 20, 40, .82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line-d); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { background: var(--ink); padding: 8px 24px 24px; display: grid; gap: 4px; border-top: 1px solid var(--line-d); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { color: #fff; text-decoration: none; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line-d); }
.mobile-menu .btn { margin-top: 14px; justify-content: center; border: 0; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% 10%, #2a3366 0%, transparent 60%), radial-gradient(900px 500px at 0% 100%, #1f2a5a 0%, transparent 55%), var(--ink); color: #fff; padding: 160px 0 120px; min-height: 92vh; display: flex; align-items: center; }
#comb { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-inner { position: relative; z-index: 2; max-width: 1160px; }
.hero-inner > * { max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, .75); padding: 6px 14px 6px 10px; border: 1px solid var(--line-d); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 0 rgba(240, 180, 41, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(240, 180, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 180, 41, 0); } }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 800; margin: 26px 0 22px; }
.hero h1 em { font-style: normal; color: var(--honey); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--honey); opacity: .25; border-radius: 4px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .78); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-cta.center { justify-content: center; }
.hero-proof { list-style: none; padding: 0; margin: 56px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-proof li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--honey); }
.hero-proof b { font-family: var(--display); font-size: 20px; }
.hero-proof span { font-size: 14px; color: rgba(255, 255, 255, .6); }

.hero-card { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1160px) / 2)); top: 50%; transform: translateY(-38%) rotate(2deg); width: 340px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-41%) rotate(1deg); } }
.hc-head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .06em; }
.hc-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--honey); transform: rotate(45deg); }
.hc-title { font-family: var(--display); font-size: 19px; font-weight: 700; margin: 12px 0 16px; line-height: 1.25; }
.hc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 8px 0; border-top: 1px solid var(--line-d); }
.hc-row span { color: rgba(255, 255, 255, .55); }
.hc-row b { font-weight: 700; text-align: right; }
.hc-row .gold { color: var(--honey); }
.hc-bar { height: 6px; background: rgba(255, 255, 255, .1); border-radius: 6px; margin: 14px 0; overflow: hidden; }
.hc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--honey-2)); border-radius: 6px; }
.hc-smiles { display: block; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- sources strip ---------- */
.sources { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 26px 0; border-top: 1px solid var(--line-d); }
.sources .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.sources p { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--honey); }
.sources ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; font-family: var(--display); font-weight: 600; font-size: 15px; }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.kicker { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #b07d0a; margin-bottom: 14px; }
.section h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 750; }
.sub { font-size: 18px; color: var(--muted); margin-top: 18px; }

/* flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.flow::before { content: ""; position: absolute; top: 30px; left: 30px; right: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--honey) 0 8px, transparent 8px 16px); opacity: .55; }
.flow li { position: relative; padding-right: 8px; }
.hex { display: grid; place-items: center; width: 60px; height: 60px; font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--ink); background: var(--honey); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); margin-bottom: 22px; position: relative; z-index: 1; }
.flow h3 { font-size: 22px; margin-bottom: 10px; }
.flow p { color: var(--muted); font-size: 15.5px; }

/* capabilities */
.section-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16.2v32.4L28 64.8 0 48.6V16.2zM28 97V64.8' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.section-dark .wrap { position: relative; }
.section-dark .kicker { color: var(--honey); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid var(--line-d); transition: border-color .25s, transform .25s, background .25s; }
.card:hover { border-color: rgba(240, 180, 41, .5); transform: translateY(-3px); background: linear-gradient(180deg, rgba(240, 180, 41, .08), rgba(255, 255, 255, .02)); }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(240, 180, 41, .12); margin-bottom: 22px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--honey); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: rgba(255, 255, 255, .66); font-size: 15.5px; }

/* usp */
.usp-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.usp-body { display: grid; gap: 18px; font-size: 18px; color: var(--muted); padding-top: 34px; }
.usp-body b { color: var(--text); }

/* security */
.section-tint { background: var(--tint); }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.sec { padding: 28px 24px 8px 0; }
.sec + .sec { padding-left: 24px; border-left: 1px solid var(--line); }
.sec h3 { font-size: 20px; margin-bottom: 10px; }
.sec p { color: var(--muted); font-size: 15.5px; }

/* cta */
.cta { background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-inner { position: relative; max-width: 720px; }
.cta-hex { width: 520px; height: 520px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(8deg); fill: none; stroke: var(--honey); stroke-opacity: .14; stroke-width: .25; pointer-events: none; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); }
.cta p { color: rgba(255, 255, 255, .74); font-size: 18px; margin-top: 18px; }
.cta .mail { font-size: 15px; margin-top: 22px; }
.cta .mail a { color: var(--honey); }

/* footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 40px 0; font-size: 14px; }
.foot-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer .brand { font-size: 18px; }
.footer .brand small { font-family: var(--body); font-weight: 400; font-size: 13px; color: rgba(255, 255, 255, .5); margin-left: 4px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: #fff; }
.copy { margin-left: auto; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.flow .reveal:nth-child(2), .grid .reveal:nth-child(2), .sec-grid .reveal:nth-child(2) { transition-delay: .08s; }
.flow .reveal:nth-child(3), .grid .reveal:nth-child(3), .sec-grid .reveal:nth-child(3) { transition-delay: .16s; }
.flow .reveal:nth-child(4), .grid .reveal:nth-child(5), .sec-grid .reveal:nth-child(4) { transition-delay: .24s; }
.flow .reveal:nth-child(5), .grid .reveal:nth-child(6) { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-card { display: none; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before { display: none; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .sec:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav { background: rgba(15, 20, 40, .9); backdrop-filter: blur(14px); }
  .grid { grid-template-columns: 1fr 1fr; }
  .usp-inner { grid-template-columns: 1fr; gap: 10px; }
  .usp-body { padding-top: 10px; }
  .section { padding: 88px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding: 128px 0 80px; min-height: auto; }
  .hero h1 em { white-space: normal; }
  .flow, .grid, .sec-grid { grid-template-columns: 1fr; }
  .sec, .sec + .sec { padding: 22px 0 6px; border-left: 0; }
  .sec + .sec { border-top: 1px solid var(--line); }
  .copy { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
