/* EMBEE NEXUS — base layer: tokens, reset, chrome, hero */
:root {
  --ink: #05070f;
  --ink-2: #0a0f1d;
  --ink-3: #131a2c;
  --cyan: #00c2ff;
  --cyan-dark: #0092c4;
  --paper: #ffffff;
  --surface: #f5f8fd;
  --border: #e3e9f4;
  --text: #0f1221;
  --muted: #5a6480;
  --faint: #8892aa;
  --green: #00875a;
  --red: #d92d20;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1140px;
  --shadow: 0 1px 2px rgba(10, 16, 32, .04), 0 14px 34px -18px rgba(10, 16, 32, .28);
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0;
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 15, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.brand img { width: 38px; height: 38px; border-radius: 9px; background: #fff; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.brand__name span { color: var(--cyan); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--cyan);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-sm);
  color: #fff;
  padding: 9px 11px;
  cursor: pointer;
}
.nav__toggle svg { width: 20px; height: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cyan); color: #04121a; }
.btn--primary:hover { background: #2ad0ff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--sm { padding: 11px 17px; font-size: .875rem; }
.btn--block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 20%, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  top: -330px;
  right: -140px;
  background: radial-gradient(circle, rgba(0, 194, 255, .2), transparent 66%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--cyan-dark); }

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  margin: 20px 0 0;
  max-width: 17ch;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero__lead {
  margin-top: 20px;
  max-width: 52ch;
  color: rgba(255, 255, 255, .66);
  font-size: 1.06rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
}
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

/* ---------- estimator card ---------- */
.estimator {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--text);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
  margin-top: 40px;
}
.estimator__title {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.estimator__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: end;
  margin-top: 16px;
}
.estimator__swap {
  align-self: center;
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
}
.estimator__swap svg { width: 16px; height: 16px; }
.estimator__out {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px dashed var(--border);
  padding-top: 18px;
}
.estimator__price {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.estimator__price small {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--faint);
}

/* ---------- section chrome ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: #fff; }

.section__head { max-width: 60ch; }
.section__head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  margin-top: 14px;
}
.section__head p { margin-top: 14px; color: var(--muted); }
.section--dark .section__head p { color: rgba(255, 255, 255, .6); }

@media (max-width: 780px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 8px 24px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav .btn { margin-top: 14px; width: 100%; }
  .nav__toggle { display: inline-flex; }
  .estimator__grid { grid-template-columns: 1fr; }
  .estimator__swap { margin: 0 auto; transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
