/* Shared layout and UI primitives for every Local Numbers page. Section
   rules live beside their sections; tokens and backgrounds have their own
   files. */

/* -------------------------------------------------------------------------- */
/*  Layout primitives                                                          */
/* -------------------------------------------------------------------------- */

.ln-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ln-section {
  position: relative;
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
}

.ln-section--tight {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.local-numbers-page .ln-title {
  max-width: 24ch;
  margin: 0 0 1rem;
  color: var(--brand-lavender-50);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 820;
  letter-spacing: -0.05em;
  line-height: 1.04;
  text-wrap: balance;
}

.ln-lede {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--ln-text);
}

.local-numbers-page .shared-faq-answer p {
  font-size: 1rem;
}

.ln-highlight {
  padding-inline: 0.06em;
  margin-inline: -0.06em;
  color: transparent;
  background: var(--brand-title-gradient, linear-gradient(96deg, #9a6bff, #c471ff 55%, #ff86c8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Inline product link woven into body copy — the "Téléphonie Cloud" product
   surfaces throughout the prose. Underlined so it reads as a link inside the
   sentence, accent-tinted on hover. */
.ln-inline-link {
  color: var(--ln-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(185, 140, 255, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.ln-inline-link:hover {
  color: #d6c2ff;
  text-decoration-color: var(--ln-accent);
}

.ln-inline-link:focus-visible {
  outline: 2px solid var(--ln-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.ln-section-head {
  max-width: 850px;
}

.ln-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.ln-section-head--center .ln-title {
  margin-right: auto;
  margin-left: auto;
}

/* LED-dot mono eyebrow — the family's section marker (hub grammar). */
.ln-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-family: var(--ln-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ln-text-muted);
}

.ln-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ln-primary);
  box-shadow: 0 0 0 3px var(--ln-primary-soft);
}

.ln-eyebrow--live::before {
  background: var(--ln-live);
  box-shadow: 0 0 0 3px var(--ln-live-soft);
}

/* -------------------------------------------------------------------------- */
/*  Dial-tone primitives                                                       */
/* -------------------------------------------------------------------------- */

/* Area codes are the page's display type: oversized mono numerals. */
.ln-code {
  font-family: var(--ln-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--ln-ink);
}

/* The mint availability LED — reused by dial tiles and number tickets. */
.ln-led {
  display: inline-block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ln-live);
  box-shadow:
    0 0 0 3px var(--ln-live-soft),
    0 0 10px rgba(46, 230, 160, 0.4);
}

/* Naked tinted stroke icon — no chip box, open-composition grammar. */
.ln-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  color: var(--ln-accent);
}

.ln-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* -------------------------------------------------------------------------- */
/*  Checklist                                                                  */
/* -------------------------------------------------------------------------- */

.ln-checklist {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ln-checklist li {
  position: relative;
  padding-left: 1.9rem;
  line-height: 1.5;
  color: var(--ln-text);
}

.ln-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--ln-live-soft);
  box-shadow: inset 0 0 0 1px var(--ln-live-ring);
}

.ln-checklist li::after {
  content: '';
  position: absolute;
  left: 5.5px;
  top: calc(0.12em + 6px);
  width: 7px;
  height: 3.5px;
  border-left: 2px solid var(--ln-live);
  border-bottom: 2px solid var(--ln-live);
  transform: rotate(-45deg);
}

/* -------------------------------------------------------------------------- */
/*  Motion / performance                                                       */
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  /* Hero and closing CTAs replace the obstructive floating CTA on mobile. */
  .local-numbers-page #liquid-glass-button {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .local-numbers-page * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
