.landing {
  --landing-bg: #060d20;
  --landing-text: #eaf3ff;
  --landing-muted: #afc7e2;
  --landing-cyan: #5eead4;
  position: relative;
  isolation: isolate;
  background: var(--landing-bg);
  color: var(--landing-text);
  font-family: 'Segoe UI', sans-serif;
}

.landing *, .landing *::before, .landing *::after { box-sizing: border-box; }
.landing::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 540px;
  background:
    linear-gradient(0deg, #060d20 0%, rgba(6, 13, 32, 0.15) 50%),
    linear-gradient(90deg, rgba(6, 13, 32, 0.7), rgba(6, 13, 32, 0.08)),
    url('../assets/voipdfk-radio-dusk.webp') center 48% / cover no-repeat;
  content: '';
  pointer-events: none;
}

.landing-shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.landing--sans-image::before { background: none; }
.landing-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.landing svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.landing a { color: inherit; text-decoration: none; }
.landing :focus-visible { outline: 3px solid var(--landing-cyan); outline-offset: 4px; }

.landing-hero { padding: 1.9rem 0 0.5rem; }
.landing-eyebrow {
  margin: 0 0 0.75rem;
  color: #96e9eb;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.landing h1 {
  max-width: 780px;
  margin: 0;
  color: #f0f6ff;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.landing-intro { margin: 0.65rem 0 0; color: #c7ddf5; font-size: 1.1rem; line-height: 1.5; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.landing .landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 48px;
  min-width: 230px;
  padding: 0.75rem 1.1rem;
  border: 1px solid #83dfe9;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  transition: border-color 0.18s, background-color 0.18s, transform 0.18s;
}
.landing .landing-button--primary { background: #5eead4; color: #04111f; }
.landing .landing-button--primary:hover { background: #8cf1e2; }
.landing .landing-button--secondary { background: rgba(3, 12, 27, 0.65); }
.landing .landing-button--secondary:hover { background: #102a43; }
.landing-button svg { flex: none; width: 22px; height: 22px; }
.landing-eligibility { margin: 0.7rem 0 0; color: #afc7e2; font-size: 0.8rem; line-height: 1.5; }

.landing-resources { padding-top: 0.4rem; }
.landing-resources h2 { margin: 0 0 0.85rem; font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.landing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.landing-grid > .landing-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.landing-tile {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
  padding: 1rem 1.25rem;
  border: 1px solid #285367;
  border-radius: 7px;
  background: linear-gradient(120deg, rgba(8, 27, 43, 0.92), rgba(6, 21, 38, 0.86));
  transition: background-color 0.18s, border-color 0.18s, transform 0.18s;
}
.landing-tile:hover { transform: translateY(-2px); border-color: #5eead4; background: #0d283f; }
.landing-tile strong { display: block; font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.landing-tile > span > span { display: block; margin-top: 0.25rem; color: var(--landing-muted); font-size: 0.9rem; line-height: 1.4; }
.landing-tile .landing-tile__icon { width: 38px; height: 38px; color: #68e8e7; stroke-width: 1.45; }
.landing-tile .landing-tile__arrow { width: 24px; height: 24px; color: #68e8e7; }
.landing-tile--podcasts { border-color: #356695; background: linear-gradient(120deg, #0c2341, #0b1a32); }
.landing-tile--podcasts .landing-tile__icon { color: #60a5fa; }
.landing-quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.1rem; padding-top: 0.3rem; color: var(--landing-muted); font-size: 0.8rem; }
.landing-quicklinks > span { font-weight: 600; }
.landing-quicklinks a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.landing-quicklinks a:hover { color: var(--landing-cyan); }

.landing-community { padding-top: 0.3rem; text-align: center; }
.landing-community h2 { display: flex; align-items: center; gap: 1rem; margin: 0; color: #b6d3ef; font-size: 0.84rem; line-height: 1.4; font-weight: 500; letter-spacing: 0.04em; }
.landing-community h2::before, .landing-community h2::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #37546e); }
.landing-community h2::after { transform: rotate(180deg); }
.landing-community ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.5rem; margin: 0.15rem 0 0; padding: 0; list-style: none; }
.landing-community a { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; color: #bbd5ee; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.05em; }
.landing-community a > span { font-size: 0.75rem; color: #7da6be; }
.landing-community a:hover, .landing-community a:hover > span { color: var(--landing-cyan); }
.landing-community p { margin: 0; color: #91abc6; font-size: 0.76rem; line-height: 1.5; }
.landing-bottom-links { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-block: 0.2rem; color: #afc7e2; font-size: 0.8rem; }
.landing-bottom-links a { display: inline-flex; align-items: center; min-height: 44px; }
.landing-bottom-links a:hover { color: var(--landing-cyan); text-decoration: underline; }

body:has(.landing) { background: #060d20; }
body:has(.landing) .site-header { background: #060d20; }

@media (min-width: 851px) {
  body:has(.landing) .site-nav-links a { border-color: transparent; background: none; border-radius: 0; }
  body:has(.landing) .site-nav-links a[aria-current='page'] { color: #5eead4; background: none; border-bottom-color: #5eead4; }
}

@media (max-width: 720px) {
  .landing-shell { width: calc(100% - 2rem); }
  .landing::before { height: 420px; background-position: center, center, 72% center; }
  .landing-hero { padding-top: 1.5rem; }
  .landing-eyebrow { font-size: 0.65rem; letter-spacing: 0.16em; }
  .landing h1 { font-size: clamp(1.9rem, 7.8vw, 2.6rem); }
  .landing-intro { max-width: 380px; font-size: 1rem; }
  .landing-actions { gap: 0.6rem; margin-top: 1.1rem; }
  .landing .landing-button { width: 100%; min-width: 0; justify-content: center; gap: 0.8rem; }
  .landing-eligibility { font-size: 0.76rem; }
  .landing-resources { padding-top: 0.5rem; }
  .landing-grid { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .landing-tile { min-height: 82px; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 0.7rem; padding: 0.85rem; }
  .landing-tile .landing-tile__icon { width: 30px; height: 30px; }
  .landing-tile .landing-tile__arrow { width: 20px; height: 20px; }
  .landing-tile strong { font-size: 0.98rem; }
  .landing-tile > span > span { font-size: 0.8rem; }
  .landing-quicklinks { gap: 0 1rem; }
  .landing-community { padding-top: 1rem; }
  .landing-community h2 { gap: 0.6rem; font-size: 0.78rem; letter-spacing: 0; }
  .landing-community ul { gap: 0 1rem; }
  .landing-bottom-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .landing * { transition: none !important; }
}
