/* ============================================================
   NewsFlow — /nettavis/, the page for buyers comparing providers.
   Layered on flow.css and site.css; only what that page adds.
   ============================================================ */

/* ---------- Hero ---------- */
.nv-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; font-size: var(--step--1); color: var(--muted); }
.nv-crumbs a { color: var(--ink-soft); }
.nv-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.nv-hero__content { display: grid; gap: 24px; }
.nv-hero__content h1 { font-size: var(--step-5); }
.nv-hero__content .lead { max-width: 56ch; }
.nv-hero__customers { padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: var(--step--1); color: var(--ink-soft); }
.nv-hero__customers strong { color: var(--ink); font-weight: 600; }
.nv-hero__customers a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.nv-hero__shot { display: grid; gap: 12px; margin: 0; }
.nv-hero__shot figcaption { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 960px) { .nv-hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The whole paper ---------- */
.nv-suite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.nv-suite__card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.nv-suite__card svg { box-sizing: content-box; width: 24px; height: 24px; padding: 10px; border-radius: var(--radius-sm); background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nv-suite__card h3 { font-size: var(--step-1); }
.nv-suite__card p { flex: 1; color: var(--ink-soft); }
.nv-suite__card a { color: var(--accent); }
.nv-suite__note { max-width: 70ch; margin-top: clamp(20px, 3vw, 32px); color: var(--ink-soft); }
@media (max-width: 1000px) { .nv-suite { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .nv-suite { grid-template-columns: minmax(0, 1fr); } }

/* ---------- How the newsroom works ---------- */
.nv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); margin: 0; padding: 0; list-style: none; }
.nv-step { display: flex; flex-direction: column; gap: 18px; }
.nv-step__text { display: grid; gap: 8px; }
.nv-step__num {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--accent); color: var(--white);
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500;
}
.nv-step h3 { font-size: var(--step-1); }
.nv-step p { color: var(--ink-soft); }
@media (max-width: 860px) { .nv-steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Comparison ---------- */
.nv-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 18px; padding: 0; list-style: none; font-size: var(--step--1); color: var(--ink-soft); }
.nv-legend li { display: inline-flex; align-items: center; gap: 8px; }
.nv-mark { flex: none; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.nv-mark--y { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5'/%3E%3C/svg%3E"); }
.nv-mark--p { background-color: var(--white); border: 2px solid var(--accent); background-image: linear-gradient(90deg, var(--accent) 50%, transparent 50%); background-size: 100% 100%; }
.nv-mark--u { background-color: var(--paper-3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236F6E79' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 10h8'/%3E%3C/svg%3E"); }

.nv-compare {
  overflow-x: auto; overscroll-behavior-x: contain;
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-hard);
}
.nv-compare:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.nv-table { width: 100%; min-width: 1060px; border-collapse: separate; border-spacing: 0; font-size: 0.88rem; line-height: 1.35; }
.nv-table th, .nv-table td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.nv-table thead th { position: sticky; top: 0; z-index: 2; background: var(--paper-2); border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.nv-table__brand { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.nv-table thead small { display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.nv-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; width: 150px; min-width: 140px; background: var(--white); font-weight: 600; color: var(--ink); box-shadow: 1px 0 0 var(--line); }
.nv-table .nv-table__corner { left: 0; z-index: 3; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); box-shadow: 1px 0 0 var(--line); }
.nv-table td { color: var(--ink-soft); }
.nv-table td { position: relative; padding-left: 36px; }
.nv-table td.is-i { padding-left: 12px; }
.nv-table td .nv-mark { position: absolute; left: 12px; top: 12px; }
.nv-table td.nv-table__nf { min-width: 180px; }
.nv-table td.is-u { color: var(--muted); }
.nv-table__lead { display: block; }
.nv-table__also { display: block; margin: 8px 0 4px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.nv-table__list { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.nv-table__list li { position: relative; padding-left: 12px; }
.nv-table__list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.nv-table .nv-table__nf { background: #FFF4EC; color: var(--ink); font-weight: 600; }
.nv-table thead .nv-table__nf { background: var(--accent); }
.nv-table thead .nv-table__nf .nv-table__brand, .nv-table thead .nv-table__nf small { color: var(--white); }
.nv-table__group th { padding-top: 18px; background: var(--paper); font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.nv-table__group th span { position: sticky; left: 12px; }
.nv-table tbody:last-child tr:last-child > * { border-bottom: 0; }

.nv-compare__hint { display: none; margin: -6px 0 12px; font-size: var(--step--1); font-weight: 600; color: var(--accent); }
.nv-compare__hint::after { content: ' \2192'; }
@media (max-width: 1100px) { .nv-compare__hint { display: block; } }
@media (max-width: 620px) {
  .nv-table tbody th[scope="row"], .nv-table .nv-table__corner { width: 112px; min-width: 112px; }
  .nv-table td.nv-table__nf { min-width: 170px; }
  .nv-table tbody th[scope="row"] { hyphens: auto; -webkit-hyphens: auto; }
}
.nv-compare__notes { display: grid; gap: 12px; max-width: 80ch; margin-top: 20px; font-size: var(--step--1); color: var(--muted); }
.nv-compare__notes a { color: var(--ink-soft); }
.nv-sources summary { cursor: pointer; font-weight: 600; color: var(--ink-soft); }
.nv-sources ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }

/* ---------- Prices ---------- */
.nv-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.nv-price { display: flex; flex-direction: column; gap: 10px; }
.nv-price .sticker { position: absolute; top: -14px; right: 22px; }
.nv-price h3 { font-family: var(--font-display); font-size: var(--step-2); }
.nv-price__amount { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; }
.nv-price__amount small { font-size: 0.45em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.nv-price p:last-child { color: var(--ink-soft); }
.nv-prices__fine { max-width: 80ch; margin-top: 20px; font-size: var(--step--1); color: var(--muted); }
.nv-prices__fine a { color: var(--ink-soft); }
@media (max-width: 960px) { .nv-prices { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Switching ---------- */
.nv-move { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.nv-move__item { display: grid; align-content: start; gap: 8px; padding-top: 16px; border-top: 2px solid var(--rule); }
.nv-move__item h3 { font-size: var(--step-1); }
.nv-move__item p { color: var(--ink-soft); }
@media (max-width: 860px) { .nv-move { grid-template-columns: minmax(0, 1fr); max-width: 620px; } }
.nv-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(32px, 5vw, 56px); }
.nv-cta > div { display: grid; gap: 8px; max-width: 60ch; }
.nv-cta h3 { font-family: var(--font-display); font-size: var(--step-2); }
.nv-cta p { color: var(--ink-soft); }
