/* ========================================================================
   OVM PROTOTYPE — sections-v2
   Restores: section-divider rails, à la carte quick cards, newsletter.
   All theme-aware via tokens.css.
   ======================================================================== */

/* ----------------------------------------------------------------------
   RAIL — slim section divider with glowing node + mono label
   ---------------------------------------------------------------------- */
.rail {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 80px);
}
.rail__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 50%, transparent);
}
.rail__node {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 14px var(--cyan-glow);
}
.rail__label {
  flex-shrink: 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------
   À LA CARTE — quick-pick cards (.lq-*)
   ---------------------------------------------------------------------- */
.lq-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 680px)  { .lq-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .lq-grid { grid-template-columns: repeat(4, 1fr); } }

.lq-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .22s var(--ease-quick),
              transform .22s var(--ease-quick),
              box-shadow .22s var(--ease-quick);
}
.lq-card:hover {
  border-color: rgba(15, 230, 255, .42);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.lq-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(15, 230, 255, .1);
  color: var(--cyan-400);
}
[data-theme="light"] .lq-card__icon { color: var(--cyan-700); }
.lq-card__icon svg { width: 20px; height: 20px; }
.lq-card__name {
  flex: 1;
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.lq-card__arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color .2s var(--ease-quick), transform .2s var(--ease-quick);
}
.lq-card:hover .lq-card__arrow {
  color: var(--cyan-400);
  transform: translateX(3px);
}

/* ----------------------------------------------------------------------
   NEWSLETTER / INSIDE TRACK (.news*)
   ---------------------------------------------------------------------- */
.news {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 80px);
}
.news__inner { max-width: 1400px; margin: 0 auto; }
.news__card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 64px);
}
.news__card::before {
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(15, 230, 255, .16), transparent 70%);
  pointer-events: none;
}
.news__grid {
  position: relative;
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .news__grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
}
.news__eyebrow { margin-bottom: 0; }
.news__h {
  margin: 18px 0 0;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.news__sub {
  margin: 18px 0 0;
  max-width: 520px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--text-muted);
}
.news__perks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.news__perks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: var(--text);
}
.news__perks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-grad);
  box-shadow: 0 0 10px rgba(15, 230, 255, .5);
}
.news__perks strong { color: var(--cyan-400); font-weight: 700; }
[data-theme="light"] .news__perks strong { color: var(--cyan-700); }

.news__stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 32px;
}
.news__stat-val {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}
.news__stat-lbl {
  margin-top: 4px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* — Form — */
.news__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.5vw, 32px);
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.news__form-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 18px;
}
.news__input-row { display: flex; flex-direction: column; gap: 10px; }
.news__input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.news__input::placeholder { color: var(--text-dim); }
.news__input:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(15, 230, 255, .12);
}
.news__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A95A3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.news__submit {
  margin-top: 4px;
  padding: 15px 24px;
  border-radius: var(--r-full);
  background: var(--cyan-grad);
  color: #fff;
  font-family: var(--ff-industrial);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 24px rgba(15, 230, 255, .35);
  transition: transform .2s var(--ease-quick), box-shadow .2s var(--ease-quick);
}
.news__submit:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 30px rgba(15, 230, 255, .45);
}
.news__fine {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
