/* landing.css — the landing page (`/`) only. Linked from index.html after
 * brand.css, which owns the tokens, fonts, header, footer, buttons and the
 * other shared components. Everything here is the page's own sections: hero
 * and diagram, how it works, offers, why, apps, FAQ.
 */

/* ------------------------------------------------------------------ base */

.lp h1,
.lp h2,
.lp h3 {
  margin: 0;
}

.lp h1 {
  font-size: clamp(2.125rem, 5.2vw, 3.75rem);
  line-height: 1.06;
}

.lp h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.12;
}

.lp h3 {
  line-height: 1.3;
}

/* zero specificity: shared classes (.eyebrow, .cta-row ...) keep their margins */
:where(.lp) :where(p, ul, ol, li) {
  margin: 0;
}

.lp :where(ul, ol) {
  padding: 0;
  list-style: none;
}

/* ----------------------------------------------------------------- hero */

.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 88px;
}

.lp-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -240px;
  left: 50%;
  width: 900px;
  max-width: 100%;
  height: 620px;
  background: radial-gradient(ellipse at center, var(--haze) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.lp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.lp-hero__inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.lp-hero h1 {
  margin-bottom: 20px;
}

.lp-lede {
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.lp-lede--hero {
  max-width: 52ch;
  margin-bottom: 32px;
  font-size: 1.1875rem;
}

.lp-offer .eyebrow {
  margin: 0;
}

.lp-hero .cta-row {
  margin-top: 0;
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

/* hero diagram: device -> mesh -> internet, top to bottom */

.lp-diagram {
  justify-self: center;
  width: 100%;
  max-width: 400px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.lp-diagram__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-node {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 280px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.lp-node svg {
  flex-shrink: 0;
  color: var(--accent);
}

.lp-node span {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-mesh line {
  stroke: var(--text-faint);
  stroke-width: 1.4;
}

.lp-mesh circle {
  fill: var(--accent);
}

.lp-link {
  position: relative;
  width: 2px;
  height: 52px;
}

.lp-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px);
}

.lp-link span {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateY(-50%);
}

@media (min-width: 960px) {
  .lp-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 64px;
  }

  .lp-diagram {
    justify-self: end;
  }
}

/* -------------------------------------------------------------- sections */

.lp-section {
  padding: 96px 0;
}

.lp-section--band {
  background: linear-gradient(180deg, transparent 0%, var(--band) 50%, transparent 100%);
}

.lp-section__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.lp-section__head h2 {
  margin-bottom: 12px;
}

.lp-tile {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--accent-dim);
  color: var(--accent);
}

/* how it works */

.lp-steps {
  display: grid;
  gap: 16px;
}

.lp-step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--ease);
}

.lp-step:hover {
  border-color: var(--accent-border);
}

.lp-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.lp-step__num {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
}

.lp-step h3 {
  margin-bottom: 8px;
}

.lp-step p {
  color: var(--text-muted);
}

@media (min-width: 860px) {
  .lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* offers */

.lp-offers {
  display: grid;
  gap: 20px;
}

.lp-offer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--ease);
}

.lp-offer:hover {
  border-color: var(--border-strong);
}

.lp-offer h3 {
  font-size: 1.5rem;
}

.lp-offer .eyebrow + h3 {
  margin-top: -8px;
}

.lp-offer__desc {
  color: var(--text-muted);
}

.lp-price-block {
  display: grid;
  gap: 6px;
}

.lp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.lp-price__from {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-price__amount {
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 2.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lp-price--request .lp-price__amount {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.lp-price__unit {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.lp-price__note {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.lp-specs {
  display: grid;
  gap: 10px;
  font-size: 0.9375rem;
}

.lp-specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-specs svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--ok);
}

.lp-countries {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.lp-countries__label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-countries__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lp-offer__cta {
  margin-top: auto;
  padding-top: 8px;
}

.lp-empty {
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .lp-offers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* what makes it different */

.lp-why {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
}

.lp-why__item {
  display: flex;
  gap: 18px;
  padding: 32px;
  background: var(--surface);
}

.lp-why__item h3 {
  margin-bottom: 8px;
}

.lp-why__item p {
  color: var(--text-muted);
}

@media (min-width: 760px) {
  .lp-why {
    grid-template-columns: 1fr 1fr;
  }
}

/* apps */

.lp-apps {
  display: grid;
  gap: 16px;
}

.lp-app {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-app h3 {
  font-size: 1.125rem;
}

.lp-app__kind {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.lp-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}

@media (min-width: 720px) {
  .lp-apps {
    grid-template-columns: 1fr 1fr;
  }
}

/* faq */

.lp-faq {
  display: grid;
  gap: 8px;
  max-width: 820px;
}

.lp-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-faq__item[open] {
  border-color: var(--border-strong);
}

.lp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: var(--text-strong);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.lp-faq__item summary::-webkit-details-marker {
  display: none;
}

.lp-faq__item summary svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--ease);
}

.lp-faq__item[open] summary svg {
  transform: rotate(180deg);
}

.lp-faq__a {
  padding: 0 20px 18px;
  color: var(--text-muted);
}


.lp-noscript {
  padding: 24px;
  color: var(--text-muted);
  text-align: center;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 639px) {
  .lp-hero {
    padding: 48px 0 64px;
  }

  .lp-section {
    padding: 64px 0;
  }

  .lp-section__head {
    margin-bottom: 32px;
  }

  .lp-step,
  .lp-offer {
    padding: 24px;
  }

  .lp-why__item {
    padding: 24px;
  }

  .lp-app {
    padding: 16px;
    gap: 12px;
  }
}

/* Motion is opt-in: nothing moves for a visitor who asked for less. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .lp-step,
  .lp-offer {
    transition: border-color var(--ease), transform var(--ease);
  }

  .lp-step:hover,
  .lp-offer:hover {
    transform: translateY(-3px);
  }

  .lp-link::before {
    animation: lp-flow 1.2s linear infinite;
  }
}

@keyframes lp-flow {
  to {
    background-position: 0 12px;
  }
}
