/* Base6 Inc. — base6.biz */

:root {
  --bg: #0a0b0e;
  --bg-raised: #101218;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eaf0;
  --text-muted: #8b93a4;
  --text-faint: #5c6373;
  --accent: #5b7cfa;
  --accent-soft: rgba(91, 124, 250, 0.12);
  --radius: 14px;
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand svg {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 20px;
  border-radius: 10px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 16px;
  padding: 14px 28px;
}

.btn-ghost {
  display: inline-block;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 27px;
  border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 130px 0 110px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(91, 124, 250, 0.16) 0%, transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(91, 124, 250, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 24px;
}

h1 .accent {
  color: var(--accent);
}

.hero p {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* ---------- Capability grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.section-alt .card {
  background: var(--bg);
}

.card:hover {
  border-color: rgba(91, 124, 250, 0.4);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(91, 124, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.card h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- Principles ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 44px;
}

.principle .num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.principle h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.principle p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ---------- Company ---------- */

.company-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.company-grid > div:first-child p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 18px;
}

.fact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.fact {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.fact:first-child {
  padding-top: 0;
}

.fact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
}

.fact .value {
  font-size: 15.5px;
  color: var(--text);
}

.fact .value a {
  color: var(--accent);
  text-decoration: none;
}

.fact .value a:hover {
  text-decoration: underline;
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
}

.cta-box {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 80px 40px;
}

.cta-box::before {
  content: "";
  position: absolute;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(91, 124, 250, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
}

.cta-box h2 {
  margin-bottom: 14px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col address {
  font-style: normal;
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px 100px;
}

.legal h1 {
  font-size: 38px;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 22px;
  margin: 44px 0 14px;
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 14px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--accent);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding: 90px 0 80px;
  }

  section {
    padding: 72px 0;
  }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
