/* ─────────────────────────────────────────────────────────────────
   landing.css — shared layout for topical landing pages
   (/gpu-cloud-europe, /edge-gpu, /datacenter-belgium, …).

   Loaded AFTER tokens/base/nav/home.css: home.css supplies the
   normal-scroll override plus the shared .block / .pillar /
   .price-* / .faq-* / .cta-band primitives; this file adds the
   compact page hero, breadcrumbs, long-form prose, spec tables
   and the related-pages grid.
   ─────────────────────────────────────────────────────────── */

/* ─── Compact page hero ──────────────────────────────────────── */
.l-hero {
  position: relative;
  padding: calc(var(--nav-height) + 84px) 80px 64px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(16, 185, 129, 0.14), transparent 65%),
    radial-gradient(700px 380px at 12% 8%, rgba(59, 130, 246, 0.12), transparent 60%),
    var(--dark-body);
  overflow: hidden;
}

.l-hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.l-hero .crumbs { margin-bottom: 26px; }

.l-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  max-width: 820px;
}

.l-hero h1 em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.l-hero-sub {
  margin-top: 18px;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-on-dark-soft);
}

.l-hero .btn-row { margin-top: 30px; }

/* Key-fact strip (mirrors .hero-strip on the homepage) */
.l-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}
.l-strip li {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.l-strip li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-light);
  flex: none;
}

/* ─── Breadcrumbs ────────────────────────────────────────────── */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}
.crumbs a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.crumbs a:hover { color: var(--primary-light); }
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-on-dark-faint);
}
.crumbs [aria-current="page"] { color: var(--text-on-dark-soft); }

/* ─── Long-form prose on dark ────────────────────────────────── */
.prose {
  max-width: 760px;
  color: var(--text-on-dark-soft);
  font-size: 16px;
  line-height: 1.75;
}
.prose p + p { margin-top: 16px; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--text-on-dark);
  margin: 34px 0 12px;
  letter-spacing: -0.01em;
}
.prose ul {
  margin: 16px 0 16px 2px;
  padding-left: 22px;
}
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--primary-light); }
.prose a {
  color: var(--primary-light);
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.4);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--primary-light); }
.prose strong { color: var(--text-on-dark); font-weight: 600; }

/* ─── Spec / fact table ──────────────────────────────────────── */
.spec-wrap { overflow-x: auto; }
.spec-table {
  width: 100%;
  max-width: 860px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.55;
}
.spec-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--text-on-dark-muted);
  padding-bottom: 10px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-on-dark);
  color: var(--text-on-dark-soft);
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.spec-table tbody th {
  color: var(--text-on-dark);
  font-weight: 600;
  white-space: nowrap;
}
.spec-table tbody tr:hover td,
.spec-table tbody tr:hover th { background: rgba(255, 255, 255, 0.02); }

/* ─── Related-pages grid (internal linking) ──────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.related-card {
  display: block;
  padding: 22px 24px;
  background: var(--graphite);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.35);
}
.related-card h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  color: var(--text-on-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-card h3 iconify-icon { color: var(--primary-light); flex: none; }
.related-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

/* ─── Two-column split (text + aside card) ───────────────────── */
.l-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}
.l-aside {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 26px 28px;
  background: var(--graphite);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
}
.l-aside h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-on-dark);
  margin-bottom: 14px;
}
.l-aside .points { margin-bottom: 20px; }
.l-aside .btn-primary,
.l-aside .btn-ghost {
  width: 100%;
  justify-content: center;
}
.l-aside .btn-primary + .btn-ghost { margin-top: 10px; }

/* Landing pages have denser section rhythm than the homepage. */
main.landing .block { padding: 72px 80px; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .l-split { grid-template-columns: 1fr; }
  .l-aside { position: static; }
}

@media (max-width: 900px) {
  .l-hero { padding: calc(var(--nav-height-mobile) + 64px) 24px 48px; }
  main.landing .block { padding: 56px 24px; }
}

@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
  .l-hero h1 { font-size: clamp(30px, 8vw, 38px); }
}
