/* ===== Declaros — design tokens ===== */
:root {
  --bg:        #06090f;
  --bg-2:      #0a0f18;
  --surface:   #0e1422;
  --surface-2: #131b2c;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --text:      #e8eef7;
  --muted:     #93a0b4;
  --muted-2:   #6c7a90;
  --accent:    #3fe0c6;   /* meridian teal */
  --accent-2:  #5b8cff;   /* longitude blue */
  --accent-ink:#04221d;
  --radius:    14px;
  --maxw:      1160px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, canvas, svg { display: block; max-width: 100%; }
sup { font-size: .6em; color: var(--accent); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow--quiet { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  --p: 12px 22px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--p);
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { --p: 9px 18px; font-size: .88rem; }
.btn--primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 8px 30px -10px rgba(63,224,198,.5);
}
.btn--primary:hover { box-shadow: 0 12px 36px -10px rgba(63,224,198,.65); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(6,9,15,0.55);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled { background: rgba(6,9,15,0.9); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand__mark { color: var(--accent); display: grid; place-items: center; }
.brand__name { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--muted); font-size: .94rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__quiet { color: var(--muted-2) !important; }

/* ===== Hero ===== */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle at 70% 30%, rgba(63,224,198,.16), transparent 60%),
              radial-gradient(circle at 30% 70%, rgba(91,140,255,.14), transparent 60%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 22px; }
.hero__lede { font-size: 1.15rem; color: var(--muted); max-width: 30em; margin: 0 0 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 28px; font-size: .85rem; color: var(--muted-2); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 520px; }
#globe { width: 520px; height: 520px; max-width: 100%; filter: drop-shadow(0 20px 60px rgba(91,140,255,.18)); }

/* Live clearance card floating over globe */
.clearcard {
  position: absolute; bottom: 14px; left: -8px;
  width: 290px;
  background: rgba(14,20,34,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.7);
  padding: 14px 16px;
  animation: floatcard 7s ease-in-out infinite;
}
@keyframes floatcard { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
.clearcard__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.clearcard__title { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.clearcard__count { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; font-size: .95rem; color: var(--accent); }
.clearcard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.clearcard__list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center;
  font-size: .78rem; color: var(--muted);
  animation: rowin .5s var(--ease);
}
.clearcard__list .lane { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.clearcard__list .ok { color: var(--accent); font-weight: 600; }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot--live { background: var(--accent); box-shadow: 0 0 0 0 rgba(63,224,198,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(63,224,198,.5);} 70%{ box-shadow: 0 0 0 8px rgba(63,224,198,0);} 100%{ box-shadow: 0 0 0 0 rgba(63,224,198,0);} }

/* ===== Stats ===== */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat__num { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 40em; margin-bottom: 48px; }
.section__lede { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--surface-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ===== Platform ===== */
.platform__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.featurelist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.featurelist li { position: relative; padding-left: 26px; color: var(--muted); font-size: .98rem; }
.featurelist li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}
.featurelist strong { color: var(--text); font-weight: 600; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.panel__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.panel__tab { font-size: .82rem; color: var(--muted); padding: 5px 11px; border-radius: 8px; }
.panel__tab.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.panel__live { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: .76rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.panel__table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.panel__table th { text-align: left; font-weight: 500; color: var(--muted-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 14px 16px 8px; }
.panel__table td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; }
.panel__table .lane { color: var(--text); font-weight: 600; }
.panel__table .status { display: inline-flex; align-items: center; gap: 7px; }
.panel__table .status .dot { width: 7px; height: 7px; }
.status--cleared { color: var(--accent); }
.status--filed   { color: var(--accent-2); }
.status--query   { color: #f0b94d; }
.status--cleared .dot { background: var(--accent); }
.status--filed .dot   { background: var(--accent-2); }
.status--query .dot   { background: #f0b94d; }
.panel__table tbody tr { animation: rowin .5s var(--ease); }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step__n { font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--accent); font-weight: 500; }
.step h3 { margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ===== Owners (deal-flow) ===== */
.owners { padding: 96px 0; background:
  radial-gradient(circle at 85% 15%, rgba(91,140,255,.08), transparent 55%), var(--bg); }
.owners__inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.owners__copy h2 { margin-bottom: 22px; font-family: "Fraunces", serif; font-weight: 500; letter-spacing: -0.01em; }
.owners__copy p { color: var(--muted); max-width: 38em; margin: 0 0 18px; }
.owners__copy .btn { margin-top: 12px; }
.owners__aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.owners__aside h3 { margin-bottom: 16px; }
.owners__aside ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.owners__aside li { position: relative; padding-left: 22px; color: var(--muted); font-size: .92rem; }
.owners__aside li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.owners__note { font-size: .82rem; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.contact__form .btn { grid-column: 1 / -1; justify-self: start; }
.contact__status { grid-column: 1/-1; font-size: .9rem; color: var(--accent); margin: 0; min-height: 1.2em; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0; }
.footer__inner { display: grid; gap: 18px; }
.footer__brand { display: flex; align-items: baseline; gap: 14px; }
.footer__brand p { color: var(--muted); margin: 0; font-size: .92rem; }
.footer__note { color: var(--muted-2); font-size: .8rem; max-width: 62em; margin: 0; line-height: 1.7; }
.footer__legal { color: var(--muted-2); font-size: .8rem; margin: 0; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero__grid, .platform__grid, .owners__inner, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 420px; order: -1; }
  #globe { width: 400px; height: 400px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .steps, .stats__grid, .contact__form { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .clearcard { left: 0; right: 0; margin: 0 auto; width: 88%; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Honeypot — visually removed but present in the DOM for bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
