/* Zeelink.space — Internet of AI connectivity (HNN licensing) */
:root {
  --bg: #07090f;
  --bg-2: #0d1120;
  --panel: #111729;
  --panel-2: #161e36;
  --line: #243052;
  --text: #e8ecf8;
  --muted: #9aa6c7;
  --accent: #6ee7ff;
  --accent-2: #a78bfa;
  --gold: #f5c86b;
  --ok: #6ef2b0;
  --radius: 14px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; display: block;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 48, 82, .6);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand small { font-weight: 500; color: var(--muted); font-size: .72rem; display: block; letter-spacing: .08em; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel); text-decoration: none; }
.nav a.btn { color: #051018; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font-size: 1rem; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
         background: var(--bg-2); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #051018; border: 0; cursor: pointer;
  font-size: 1rem; font-family: inherit;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 760px; }
.prose { max-width: 800px; }
.prose p { color: #cfd6ec; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 120%;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(110, 231, 255, .16), transparent 70%),
    radial-gradient(500px 280px at 80% 20%, rgba(167, 139, 250, .16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 980px; }
.hero .lead { margin-bottom: 2rem; }
.hero-quote {
  margin-top: 56px; padding: 18px 22px; border-left: 3px solid var(--gold);
  background: rgba(245, 200, 107, .06); max-width: 760px; border-radius: 0 10px 10px 0;
  font-size: 1.15rem; font-style: italic;
}

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .kicker { font-family: var(--mono); font-size: .75rem; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }

/* Two components */
.component {
  display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 36px;
  border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--panel), var(--bg-2));
  margin-bottom: 26px;
}
.component .num {
  font-size: 4.2rem; font-weight: 900; line-height: 1; font-family: Georgia, serif;
  background: linear-gradient(180deg, var(--gold), #b98a2e); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.component.jewel { border-color: rgba(245, 200, 107, .45); }
@media (max-width: 680px) { .component { grid-template-columns: 1fr; padding: 24px; gap: 8px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.stat b { display: block; font-size: 1.6rem; font-family: var(--mono); color: var(--accent); }
.stat span { font-size: .9rem; color: var(--muted); }

/* Timeline */
.timeline { position: relative; margin: 36px 0 0; padding-left: 26px; border-left: 2px solid var(--line); }
.tl-item { position: relative; padding: 0 0 26px 14px; }
.tl-item::before {
  content: ""; position: absolute; left: -35px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent-2);
}
.tl-item.first::before { border-color: var(--gold); background: var(--gold); }
.tl-item .when { font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.tl-item h4 { margin: .2em 0 .3em; font-size: 1.08rem; }

/* Tag clouds */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { font-size: .85rem; padding: 5px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: #cbd3ee; }

/* Callouts */
.callout {
  border: 1px solid rgba(110, 231, 255, .35); background: rgba(110, 231, 255, .05);
  border-radius: 12px; padding: 20px 22px; margin: 24px 0;
}
.callout.gold { border-color: rgba(245, 200, 107, .45); background: rgba(245, 200, 107, .06); }
.callout strong { color: var(--text); }

/* Pricing table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--panel-2); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.price { font-family: var(--mono); color: var(--ok); font-weight: 700; white-space: nowrap; }
td .bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* Dialogue */
.dialogue { max-width: 820px; margin: 0 auto; }
.line { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed rgba(36, 48, 82, .7); }
.line .who { font-weight: 800; font-size: .95rem; }
.line.sophia .who { color: var(--accent); }
.line.plato .who { color: var(--gold); }
.line p { margin: 0; color: #d3d9ee; }
@media (max-width: 560px) { .line { grid-template-columns: 1fr; gap: 2px; } }

/* Forms */
form.card { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; }
.field .hint { font-size: .8rem; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-family: inherit; font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--muted); font-size: .9rem; background: var(--bg-2); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--text); font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted); }
.disclaimer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8rem; line-height: 1.55; }

/* Physics visual */
.lightcone { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.formula { font-family: var(--mono); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; color: var(--accent); }
ol.steps { padding-left: 1.2em; }
ol.steps li { margin-bottom: .6em; }
