/* Linro marketing site — dark, technical, dense */

@font-face {
  font-family: 'Neue Machina';
  src: url('fonts/NeueMachina-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Machina';
  src: url('fonts/NeueMachina-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Machina';
  src: url('fonts/NeueMachina-Ultrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090b;
  --bg-2: #0d0f12;
  --bg-3: #12151a;
  --panel: #0f1115;
  --border: #1c2026;
  --border-2: #262b33;
  --text: #e8eaed;
  --text-2: #a8afbb;
  --text-3: #6b7280;
  --text-4: #4a5159;
  --accent: #7dd3fc;      /* sky, cool technical */
  --accent-2: #38bdf8;
  --accent-3: #0ea5e9;
  --warn: #f59e0b;
  --bad: #ef4444;
  --good: #22c55e;
  --violet: #a78bfa;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.mono { font-family: var(--mono); font-feature-settings: "zero"; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--text-2);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 72px;
  align-items: start;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}
h1.hero-title {
  font-family: 'Helvetica Neue', var(--sans);
  font-size: clamp(44px, 9.5vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--text);
  text-wrap: balance;
  max-width: 100%;
}
h1.hero-title .mute { color: var(--text-3); }

.hero-kicker {
  font-family: 'Neue Machina', var(--sans);
  font-size: clamp(20px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-3);
  font-weight: 300;
  margin: 0 0 28px;
  max-width: 100%;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-1);
  margin: 0 0 40px;
  max-width: 880px;
  text-wrap: pretty;
  font-weight: 400;
  position: relative;
  text-shadow:
    0 0 24px rgba(8, 9, 11, 0.95),
    0 0 12px rgba(8, 9, 11, 0.9),
    0 0 4px rgba(8, 9, 11, 0.85);
}
.hero-ctas { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}
.btn-ghost:hover { color: var(--text); border-color: #373d46; }
.btn .arrow { font-size: 12px; opacity: 0.7; }

/* ---- Section scaffolding ---- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: '';
  width: 18px; height: 1px; background: var(--text-4);
}
.section-title {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 500;
  margin: 0;
  max-width: 640px;
  text-wrap: balance;
}
.section-title .mute { color: var(--text-3); }
.section-aside {
  max-width: 340px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ---- Panel (bordered card) ---- */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.panel-head .tag {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-2);
}
.panel-body { padding: 20px; }

/* ---- Footer ---- */
footer.footer {
  padding: 56px 0 40px;
  background: var(--bg);
  color: var(--text-3);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 400;
}
.footer a { color: var(--text-2); display: block; padding: 4px 0; }
.footer a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-4);
}

/* ---- Background grid ---- */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

/* selection */
::selection { background: var(--accent); color: var(--bg); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c2026; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #262b33; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .container { padding: 0 20px; }
}
