/* ==========================================================================
   VPNVL — home.css
   Page-scoped styles for the marketing home page only.
   Everything here references tokens declared in base.css.
   ========================================================================== */

/* ---------------------------------------------------------------
   1. Flag palette inside inline SVG flags
   (fills are design values, so they live in CSS, not attributes)
   --------------------------------------------------------------- */
.f-white { fill: var(--panel-3); }
.f-red { fill: var(--error); }
.f-blue { fill: var(--accent-dark); }
.f-navy { fill: var(--accent-dark); }
.f-stroke { stroke: var(--panel-3); stroke-width: 0.7; fill: none; }

.route .flag-box,
.flag-pill .flag-box,
.route-table .flag-box {  border-radius: 3px;
  overflow: hidden;
}

/* ---------------------------------------------------------------
   2. Section headers
   --------------------------------------------------------------- */
.sec-head {
  max-width: 780px;
  margin-bottom: 26px;
}
.sec-head h2 {
  margin-top: 10px;
}
.sec-head p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

.sec-note {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.sec-note p + p { margin-top: 12px; }

.sec-more {
  margin-top: 20px;
  font-size: 14px;
}
.sec-more a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  white-space: nowrap;
}
.sec-more a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------
   3. Facts band wrapper (stat strip under the three slabs)
   --------------------------------------------------------------- */
.facts-band {
  margin-top: 26px;
}

/* ---------------------------------------------------------------
   4. Ledger rows — six selling points, ledger style
   --------------------------------------------------------------- */
.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--border);
}
.ledger-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  padding: 22px 16px;
  border-bottom: 1px dashed var(--border);
  border-radius: var(--r-md);
  transition: background-color 0.2s ease;
}
.ledger-row:hover {
  background: var(--panel);
}
.ledger-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.ledger-no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}
.ledger-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  min-width: 0;
}
.ledger-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--mint-18);
}
.ledger-body {
  min-width: 0;
}
.ledger-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-2);
}

/* ---------------------------------------------------------------
   5. Traffic pack note
   --------------------------------------------------------------- */
.pack-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  background: var(--panel-soft);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-rail);
}
.pack-label {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}
.pack-note ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.pack-note li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--text-2);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pack-note li b {
  color: var(--text);
  font-weight: 600;
}

/* ---------------------------------------------------------------
   6. Breakpoints
   --------------------------------------------------------------- */
@media (max-width: 960px) {
  .ledger-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 20px 12px;
  }
  .ledger-dot { display: none; }
}

@media (max-width: 768px) {
  .sec-head { margin-bottom: 20px; }
  .sec-head p { font-size: 14.5px; }
  .ledger-body p { font-size: 14px; }
  .sec-note { font-size: 14px; }
  .facts-band { margin-top: 20px; }
  .pack-note { padding: 12px 14px; }
}

@media (max-width: 640px) {
  .ledger-row { padding: 18px 6px; }
  .ledger-title { font-size: 16px; }
  .pack-note ul { gap: 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ledger-row { transition: none; }
}