/* BlueAtlasAI — homepage only. Loaded after style.css, which holds the tokens. */

.page { display: flex; flex-direction: column; min-height: 100vh; }

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

.head {
  border-bottom: 1px solid var(--line);
  background: var(--veil);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.head__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.head__nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.head .themetoggle { margin-left: 2px; }

.head__link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 7px;
}

.head__link:hover { color: var(--ink); background: var(--wash); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--btn-ink);
  background: var(--btn-bg);
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

.btn:hover { background: var(--btn-bg-hover); transform: translateY(-1px); }

.btn--big { font-size: 17px; padding: 15px 26px; border-radius: 12px; }

.btn--ghost {
  color: var(--ghost-ink);
  background: transparent;
  border: 1px solid var(--line);
}

.btn--ghost:hover { background: var(--wash); color: var(--ghost-ink); }

/* --------------------------------------------------------------------- hero
   The signature: a bathymetric depth field. Two contour centres and a
   graticule, drawn entirely with repeating gradients. */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 18% 28%, var(--contour) 0 1px, transparent 1px 27px),
    repeating-radial-gradient(circle at 84% 72%, var(--contour-2) 0 1px, transparent 1px 21px),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(90% 70% at 20% 25%, var(--glow) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 84px 24px 76px;
}

.hero__eyebrow {
  margin: 0 0 20px;
  display: inline-block;
  max-width: 100%;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--mid);
  background: var(--veil);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
}

.hero__title {
  margin: 0 0 20px;
  max-width: 16ch;
  font-size: clamp(38px, 7.5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero__title em {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--mid);
}

.hero__lede {
  margin: 0 0 32px;
  max-width: 52ch;
  font-size: 18.5px;
  color: var(--slate);
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.hero__fine {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--slate);
}

/* -------------------------------------------------------------------- stats */

.stats { background: var(--band-bg); color: var(--band-ink); position: relative; overflow: hidden; }

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 78% 20%, var(--band-contour) 0 1px, transparent 1px 24px),
    linear-gradient(90deg, var(--band-grid) 1px, transparent 1px) 0 0 / 46px 46px;
  pointer-events: none;
}

.stats__inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stat__value {
  font-size: clamp(32px, 5.5vw, 50px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--band-ink);
}

.stat__label {
  margin-top: 9px;
  font-size: 14px;
  color: var(--band-muted);
}

.stats__note {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px 34px;
  font-size: 13px;
  color: var(--band-muted);
}

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

.band { border-bottom: 1px solid var(--line); }

.band--tint { background: var(--soft); }

.band__inner { max-width: 1040px; margin: 0 auto; padding: 72px 24px; }

.band__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mid);
}

.band__title {
  margin: 0 0 14px;
  max-width: 22ch;
  font-size: clamp(27px, 4.2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.038em;
}

.band__lede {
  margin: 0 0 44px;
  max-width: 56ch;
  font-size: 17px;
  color: var(--slate);
}

/* --------------------------------------------------------------------- cards */

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
}

.card__icon { color: var(--mid); margin-bottom: 14px; display: block; }

.card h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p { margin: 0; color: var(--slate); font-size: 15px; }

/* ------------------------------------------------------------------ compare */

.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.compare th, .compare td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  vertical-align: top;
}

.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

.compare thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--table-head);
}

.compare thead th:nth-child(2) { color: var(--mid); }

.compare tbody th { font-weight: 600; width: 30%; }

.compare td:nth-child(2) { font-weight: 600; color: var(--deep); }

.compare td:last-child { color: var(--slate); }

.compare__note { margin: 16px 0 0; font-size: 13.5px; color: var(--slate); }

/* -------------------------------------------------------------------- steps */

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

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 13px;
}

.step h3 { margin: 0 0 7px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--slate); font-size: 15px; }

/* --------------------------------------------------------------------- close */

.close { text-align: center; }
.close .band__title { margin-inline: auto; }
.close .band__lede { margin-inline: auto; }

.foot {
  background: var(--band-bg);
  color: rgba(220, 233, 241, .75);
  font-size: 14px;
}

.foot__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.foot a { color: var(--band-muted); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__links { margin-left: auto; display: flex; gap: 18px; }

.foot__legal {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px 36px;
  border-top: 1px solid var(--band-rule);
  padding-top: 24px;
}

.foot__legal p {
  margin: 0 0 11px;
  max-width: 78ch;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(220, 233, 241, .6);
}

.foot__legal p:last-child { margin-bottom: 0; }
.foot__legal strong { color: rgba(220, 233, 241, .85); font-weight: 600; }

/* -------------------------------------------------------------------- mobile */

@media (max-width: 720px) {
  .hero__inner { padding: 56px 20px 52px; }
  .band__inner { padding: 52px 20px; }
  .stats__inner { grid-template-columns: 1fr; gap: 22px; padding: 34px 20px; text-align: left; }
  .stats__note { padding: 0 20px 28px; }
  .head__inner { padding: 12px 20px; }
  .head__link { display: none; }
  .compare thead th:first-child { width: 34%; }
  .compare th, .compare td { padding: 12px 13px; font-size: 14px; }
  .foot__inner { padding: 28px 20px 20px; }
  .foot__links { margin-left: 0; width: 100%; }
  .foot__legal { padding: 20px 20px 30px; }
}
