/* Lynceus landing — dark, Linear-inspired: near-black canvas, whisper-thin
   translucent borders, one blue accent, depth via luminance steps. */

:root {
  --bg: #08090a;
  --panel: rgba(255, 255, 255, 0.02);
  --panel-2: rgba(255, 255, 255, 0.04);
  --panel-3: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.05);
  --line-std: rgba(255, 255, 255, 0.08);
  --text: #f7f8f8;
  --text-2: #d0d6e0;
  --muted: #8a8f98;
  --faint: #62666d;
  --accent: #4f8cff;
  --accent-2: #7db0ff;
  --radius: 8px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-2);
  font: 16px/1.6 ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; color: var(--accent-2); }

h1, h2, h3, h4 { color: var(--text); font-weight: 590; }

/* ---------- header ---------- */

.head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.head-in { display: flex; align-items: center; gap: 28px; height: 60px; }

.logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 590; color: var(--text); letter-spacing: 0.2px;
}
.logo:hover { text-decoration: none; }

.logo-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background:
    radial-gradient(circle 6px at 9px 10px, transparent 4.6px, var(--accent) 4.6px, var(--accent) 6.2px, transparent 6.2px);
  background-color: var(--panel-2);
  border: 1px solid var(--line-std);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; right: 3px; bottom: 3px;
  width: 7px; height: 2px; background: var(--accent); border-radius: 2px;
  transform: rotate(45deg);
}

.head-nav { display: flex; gap: 22px; margin-left: 12px; }
.head-nav a { color: var(--muted); font-size: 14px; font-weight: 510; }
.head-nav a:hover { color: var(--text); text-decoration: none; }

.head-cta { margin-left: auto; display: flex; gap: 10px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 6px;
  font-size: 14px; font-weight: 510;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-2); }

.btn-ghost {
  background: var(--panel);
  color: var(--text);
  border-color: var(--line-std);
}
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255,255,255,0.14); }

.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 8px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(900px 420px at 70% -10%, rgba(79, 140, 255, 0.13), transparent 65%),
    radial-gradient(600px 300px at 15% 0%, rgba(79, 140, 255, 0.05), transparent 60%);
}

.hero-in { max-width: 780px; }

.hero h1 {
  font-size: clamp(38px, 6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 18px; line-height: 1.65; color: var(--muted);
  max-width: 620px; margin-bottom: 30px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }

.hero-note { font-size: 14px; color: var(--faint); }

/* ---------- terminal ---------- */

.terminal {
  margin-top: 48px;
  background: var(--panel);
  border: 1px solid var(--line-std);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px;
}

.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.term-bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.term-bar b { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--faint); }

.terminal pre {
  padding: 20px 22px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px; line-height: 1.7;
  color: var(--text-2);
}
.terminal .c1 { color: var(--faint); }
.terminal .s2 { color: var(--accent-2); }

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section.alt { background: #0b0c0e; }

.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }

.sec-num {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; color: var(--accent);
  letter-spacing: 0.06em;
}

.sec-head h2 {
  font-size: 30px; letter-spacing: -0.014em; font-weight: 590;
}

.sec-sub { color: var(--muted); max-width: 640px; margin-bottom: 40px; }

.fine { font-size: 13px; color: var(--faint); margin-top: 22px; }

/* ---------- ladder ---------- */

.ladder { display: grid; gap: 10px; }

.rung {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: background .15s, border-color .15s;
}
.rung:hover { background: var(--panel-2); border-color: var(--line-std); }

.rung-tag {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: var(--accent-2);
  padding-top: 3px;
}

.rung-body h3 { font-size: 17px; margin-bottom: 5px; font-weight: 590; }
.rung-body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- endpoints ---------- */

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }

.col {
  background: var(--panel);
  border: 1px solid var(--line-std);
  border-radius: var(--radius);
  padding: 24px;
}
.col h3 {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px; color: var(--accent-2); font-weight: 500;
  margin-bottom: 10px;
}
.col p { font-size: 14.5px; color: var(--muted); }

/* ---------- features ---------- */

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feat h4 { font-size: 15.5px; margin-bottom: 7px; font-weight: 590; }
.feat p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  transition: border-color .15s;
}
.plan:hover { border-color: var(--line-std); }

.plan-hl { border-color: rgba(79, 140, 255, 0.4); background: rgba(79, 140, 255, 0.04); }

.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 510;
  padding: 3px 10px; border-radius: 9999px;
  white-space: nowrap;
}

.plan-name { font-size: 14px; font-weight: 590; color: var(--muted); }

.plan-price { font-size: 26px; font-weight: 590; color: var(--text); letter-spacing: -0.02em; }

.plan-cr { font-size: 13px; color: var(--faint); }

.plan ul { list-style: none; margin: 10px 0 16px; display: grid; gap: 7px; flex: 1; }
.plan li {
  font-size: 13.5px; color: var(--muted);
  padding-left: 16px; position: relative;
}
.plan li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.plan .btn { width: 100%; }

/* ---------- footer ---------- */

.foot { padding: 56px 0 48px; border-top: 1px solid var(--line); }

.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.foot-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 590; color: var(--text);
}

.foot-links { font-size: 13px; color: var(--faint); }

.foot-copy { margin-left: auto; font-size: 13px; color: var(--faint); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan-hl { order: -1; }
  .cols, .feat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .head-nav { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .rung { grid-template-columns: 1fr; gap: 6px; }
  .plans { grid-template-columns: 1fr; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-copy { margin-left: 0; }
}
