/* wiseshark.com. Tokens follow the console (apps/panel/src/design/tokens.css): Geist, amber accent, fin mark. */
:root {
  --bg: #0b0d12;
  --bg-2: #0f1218;
  --surface: #141820;
  --surface-2: #1a1f29;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f5;
  --text-2: #a9b0bf;
  --text-3: #727a8b;
  --accent: #f5b53d;
  --accent-ink: #1a1200;
  --accent-soft: rgba(245, 181, 61, 0.12);
  --ok: #4ccf8f;
  --brand-tile: #f5b53d;
  --brand-ink: #1a1200;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f6f5f1;
    --bg-2: #efede6;
    --surface: #ffffff;
    --surface-2: #f4f2ec;
    --line: rgba(15, 18, 32, 0.08);
    --line-2: rgba(15, 18, 32, 0.16);
    --text: #0f1220;
    --text-2: #4a5164;
    --text-3: #7a8090;
    --accent: #d48806;
    --accent-ink: #1a1200;
    --accent-soft: rgba(212, 136, 6, 0.1);
    --ok: #12945a;
    --shadow: 0 30px 70px -35px rgba(30, 25, 10, 0.35), 0 0 0 1px var(--line);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
.mono { font-family: var(--font-mono); }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 12px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 600 15px/1 var(--font-sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn:active { transform: translateY(0); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand.sm { font-size: 15px; gap: 8px; }
.mark { border-radius: 8px; flex: none; }
.mark .waves { animation: drift 7s linear infinite; }
.mark .fin { transform-origin: 18px 20px; animation: bob 5s ease-in-out infinite; }
@keyframes drift { to { transform: translateX(-8px); } }
@keyframes bob { 50% { transform: translateY(0.8px) rotate(-2deg); } }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.glow { position: absolute; inset: -30% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(520px 320px at 72% 38%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(640px 400px at 15% 0%, color-mix(in srgb, #3b6cff 10%, transparent), transparent 70%); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.01em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1 { margin-top: 22px; font-size: clamp(38px, 4.6vw, 58px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 36em; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.hero-facts li { padding: 18px 18px 0 0; display: grid; gap: 4px; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts strong { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.hero-facts span { color: var(--text-3); font-size: 13.5px; line-height: 1.45; }

/* Hero illustration */
.hero-art { margin: 0; position: relative; }
.panel { background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), var(--surface)); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.hero-art:hover .panel { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.panel-top { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); }
.pt-dots { display: flex; gap: 6px; }
.pt-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.pt-title { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); }
.pt-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); font-family: var(--font-mono); }
.pt-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: ping 2.4s ease-out infinite; }
.flow { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; counter-reset: f; }
.flow li { position: relative; display: grid; grid-template-columns: 26px 92px 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; font-size: 14px; color: var(--text-3); counter-increment: f; }
.flow li::before { content: counter(f); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 500 11px var(--font-mono); box-shadow: inset 0 0 0 1px var(--line-2); }
.flow .st { font-weight: 500; color: var(--text-2); }
.flow .sub { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow li.done::before { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); box-shadow: none; }
.flow li.done .st { color: var(--text); }
.flow .ok { color: var(--ok); font-size: 13px; }
.flow li.now { background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.flow li.now::before { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.flow li.now .st { color: var(--text); }
.flow .gate { font-size: 11.5px; font-weight: 600; color: var(--accent); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.flow .gate::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.spark { margin-top: 12px; padding: 14px 14px 6px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.spark-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); }
.spark .up { color: var(--ok); font-size: 12px; }
.spark svg { width: 100%; height: 74px; margin-top: 6px; }
.spark .band { fill: var(--text); opacity: 0.05; }
.spark .line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 2.2s 0.4s cubic-bezier(.4,.1,.2,1) forwards; vector-effect: non-scaling-stroke; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-art figcaption { margin-top: 14px; text-align: right; font-size: 12px; color: var(--text-3); font-family: var(--font-mono); }

/* Sections */
.section { padding: 112px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.kicker { font: 500 12.5px var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 16px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.04em; line-height: 1.08; text-wrap: balance; }
.sec-head > p:not(.kicker) { margin-top: 18px; color: var(--text-2); font-size: 17.5px; text-wrap: pretty; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { position: relative; padding: 26px 22px 28px; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: transform 0.25s, box-shadow 0.25s; }
.step:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -24px rgba(0,0,0,.5); }
.step .num { font: 500 12.5px var(--font-mono); color: var(--accent); }
.step h3 { margin-top: 26px; font-size: 20px; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 34px; right: -14px; width: 14px; height: 1px; background: var(--line-2); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.split .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { padding: 26px; border-radius: var(--r); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.card .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.card .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 22px; font-size: 18.5px; }
.card p { margin-top: 10px; color: var(--text-2); font-size: 15px; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pr { padding: 30px 28px 0 0; }
.pr + .pr { padding-left: 28px; border-left: 1px solid var(--line); }
.pr h3 { font-size: 18.5px; line-height: 1.25; }
.pr p { margin-top: 12px; color: var(--text-2); font-size: 15px; }

/* Waitlist */
.wl { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px; border-radius: 24px; background: radial-gradient(600px 300px at 0% 0%, var(--accent-soft), transparent 70%), var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.wl-copy > p:not(.kicker) { margin-top: 18px; color: var(--text-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; color: var(--text-2); font-size: 15px; }
.ticks li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23f5b53d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.wl-form { display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 500; }
.field em { font-style: normal; color: var(--text-3); font-weight: 400; }
.field input, .field select {
  height: 50px; padding: 0 16px; border-radius: 12px; border: 0; width: 100%;
  background: var(--bg-2); color: var(--text); font: 400 16px var(--font-sans);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.15s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.field input[aria-invalid='true'] { box-shadow: inset 0 0 0 1.5px #ef5b5b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.ts:empty { display: none; }
.form-msg { min-height: 1.5em; font-size: 14.5px; color: var(--text-2); }
.form-msg.err { color: #ef6b6b; }
.form-msg.ok { color: var(--ok); }
.fine { font-size: 13px; color: var(--text-3); }
.fine a { color: var(--text-2); }
.wl-done { display: grid; gap: 12px; align-content: center; justify-items: start; padding: 28px; border-radius: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); animation: pop 0.4s cubic-bezier(.2,.8,.2,1.2); }
.wl-done .big { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); font-size: 22px; }
.wl-done h3 { font-size: 22px; }
.wl-done p { color: var(--text-2); }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 17.5px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.6px solid var(--text-3); border-bottom: 1.6px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--text-2); font-size: 16px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-note { color: var(--text-3); font-size: 13.5px; }
.foot-links { margin-left: auto; display: flex; gap: 22px; }
.foot-links a { color: var(--text-2); font-size: 14px; text-decoration: none; }
.foot-links a:hover { color: var(--text); }

/* Legal page */
.legal { padding: 72px 0 112px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); margin-top: 0; }
.legal .updated { margin-top: 12px; color: var(--text-3); font: 13px var(--font-mono); }
.legal h2 { font-size: 22px; margin-top: 44px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--text-2); font-size: 16.5px; margin-top: 14px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--text); }

/* Reveal on scroll (only when JS has run, so the page never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spark .line { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .principles { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 0; }
  .pr, .pr + .pr { padding: 26px 24px 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .pr:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-in .btn-sm { margin-left: auto; }
  .hero { padding: 48px 0 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 52px; }
  .panel { transform: none; }
  .hero-art:hover .panel { transform: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .sec-head { position: static; }
  .wl { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
  .section { padding: 84px 0; }
}
@media (max-width: 640px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .nav-in { height: 60px; gap: 12px; }
  .brand { font-size: 17px; }
  .btn-sm { --h: 36px; padding: 0 13px; font-size: 13.5px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li, .hero-facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 130px 1fr; align-items: baseline; gap: 12px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .flow li { grid-template-columns: 22px 70px 1fr; gap: 8px; padding: 10px; font-size: 13.5px; }
  .flow li::before { width: 20px; height: 20px; }
  .flow .ok { display: none; }
  .flow .gate { grid-column: 2 / -1; }
  .steps, .cards { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .pr:nth-child(even) { padding-left: 0; border-left: 0; }
  .pr, .pr + .pr { padding: 24px 0; }
  .wl { padding: 26px 20px; border-radius: 20px; }
  .section { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }
  .foot-links { margin-left: 0; }
  .hide-xs { display: none; }
}
.legal a.btn { color: var(--accent-ink); text-decoration: none; }
.legal .back { margin-top: 28px; }
