/* newsfront.css: news-magazine layout used by bestsoftwarefor3pl.com only.
   Self-contained (no other stylesheet is loaded), system fonts, no external requests.
   Plain white and black. One restrained blue (--blue) for category labels, links and the header button. */
:root {
  --ink: #111111;
  --muted: #595959;
  --rule: #e4e4e4;
  --rule-dark: #111111;
  --bg: #ffffff;
  --panel: #f5f5f5;
  --blue: #1a56b0;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, input:focus-visible + .nf-menu-btn, .nf-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nf-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* top bar: icons left, masthead centre, pill button right */
.nf-top { background: var(--bg); }
.nf-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nf-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 68px; }
.nf-bar-l { display: flex; gap: 8px; align-items: center; }
.nf-bar-r { display: flex; justify-content: flex-end; }
.nf-ico, .nf-menu-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--rule); border-radius: 8px; color: var(--ink); text-decoration: none; background: var(--bg); }
.nf-ico:hover { background: var(--panel); }
.nf-menu-btn { display: none; cursor: pointer; }
.nf-mast { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.025em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nf-btn { display: inline-block; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; line-height: 1; padding: 10px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.nf-btn:hover { background: #134284; }

/* section nav: thin rules above and below, dark bar over the current item */
.nf-nav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.nf-nav-in { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 4px; }
.nf-nav a { display: block; padding: 13px 14px 11px; font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; border-top: 3px solid transparent; margin-top: -1px; }
.nf-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nf-nav a[aria-current="page"] { border-top-color: var(--ink); font-weight: 700; }

/* shared small pieces */
.nf-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); }
.nf-cat { margin: 0 0 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.3; }
.nf-cat, .nf-cat a { color: var(--blue); text-decoration: none; }
.nf-cat a:hover { text-decoration: underline; }
.nf-date, .nf-by { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.nf-ex { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.nf-img, .nf-thumb { display: block; overflow: hidden; border-radius: 6px; background: var(--panel); }
.nf-img img, .nf-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nf-noimg { display: block; width: 100%; height: 100%; background: var(--panel); }
h1, h2, h3 { letter-spacing: -.02em; }
.nf-card h2, .nf-card h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.25; font-weight: 800; }
.nf-card h2 a, .nf-card h3 a, .nf-row h3 a, .nf-feat h2 a { color: var(--ink); text-decoration: none; }
.nf-card h2 a:hover, .nf-card h3 a:hover, .nf-row h3 a:hover, .nf-feat h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* home: three columns, small stories | featured story | Latest list */
.nf-front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.9fr) minmax(0, 1.25fr); grid-template-areas: "side feat latest"; padding: 26px 0 8px; }
.nf-feat { grid-area: feat; padding: 0 26px; text-align: center; }
.nf-side { grid-area: side; padding-right: 26px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.nf-latest { grid-area: latest; padding-left: 26px; border-left: 1px solid var(--rule); }
.nf-feat .nf-img { aspect-ratio: 3 / 2; border-radius: 8px; margin-bottom: 14px; }
.nf-feat .nf-cat { margin-bottom: 6px; }
.nf-feat h2 { margin: 0; font-size: clamp(1.65rem, 1.1rem + 1.3vw, 2.2rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.nf-feat .nf-ex { max-width: 38rem; margin: 12px auto 0; font-size: 15px; }
.nf-feat .nf-by { margin-top: 12px; }
.nf-card-s .nf-img { aspect-ratio: 4 / 3; margin-bottom: 10px; }
.nf-card-s h3 { font-size: 15px; }
.nf-latest .nf-label { padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.nf-rows { list-style: none; margin: 0; padding: 0; }
.nf-row { display: grid; grid-template-columns: minmax(0, 1fr) 68px; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.nf-row:last-child { border-bottom: 0; }
.nf-row h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.28; font-weight: 800; }
.nf-thumb { width: 68px; aspect-ratio: 1 / 1; }

/* category strips: label left, View all right, four equal cards */
.nf-strip { margin-top: 34px; }
.nf-strip-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
.nf-all { font-size: 12px; font-weight: 600; color: var(--blue); text-decoration: none; }
.nf-all:hover { text-decoration: underline; }
.nf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; list-style: none; margin: 0; padding: 0; }
.nf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nf-card .nf-img { aspect-ratio: 5 / 4; margin-bottom: 10px; }

/* home: demo band and intro text */
.nf-demo { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); }
.nf-demo h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.nf-demo .demo-intro { max-width: 46rem; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.nf-demo .shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.nf-demo .shot { margin: 0; }
.nf-demo .shot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--rule); background: var(--panel); }
.nf-demo .shot figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.nf-demo .demo-link { margin: 16px 0 0; font-weight: 600; font-size: 14px; }
.nf-demo .demo-link a { color: var(--blue); }
.nf-intro { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 46rem; }
.nf-intro h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.nf-intro p { margin: 0; color: var(--muted); font-size: 15px; }

/* article: big headline, meta row, wide cover, one reading column */
.nf-article { padding: 28px 0 10px; }
.nf-article .art-head { text-align: center; }
.nf-article .art-head { max-width: 900px; margin: 0 auto 26px; }
.nf-article .nf-cat { font-size: 11.5px; margin-bottom: 10px; }
.nf-article h1 { margin: 0; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); line-height: 1.07; font-weight: 800; letter-spacing: -.03em; }
.nf-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.nf-meta span + span::before { content: "\00b7"; margin: 0 .6em; }
.art-hero { display: block; width: 100%; max-width: 1040px; height: auto; margin: 0 auto 36px; border-radius: 10px; background: var(--panel); }
.nf-col { max-width: 700px; margin: 0 auto; }
.nf-col .prose { font-size: 18px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose a, .sources a { color: var(--blue); text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose h2 { margin: 2em 0 .5em; font-size: 1.65rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.prose h3 { margin: 1.6em 0 .4em; font-size: 1.2rem; line-height: 1.3; font-weight: 800; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prose li { margin: .45em 0; padding-left: .2em; }
.prose blockquote { margin: 1.4em 0; padding: .1em 1.2em; border-left: 3px solid var(--ink); color: var(--muted); }
.prose code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; background: var(--panel); padding: 1px 5px; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--rule); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--panel); color: var(--ink); font-weight: 700; }
tbody th { font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.faq { margin-top: 2.4em; padding-top: 4px; border-top: 1px solid var(--rule); }
.faq h3 { margin: 1.3em 0 .3em; font-size: 1.1rem; }
.faq p { margin: 0 0 .7em; }
.cta-box { margin: 2.4em 0 1.4em; padding: 20px 22px; border: 1px solid var(--rule); border-left: 4px solid var(--ink); border-radius: 8px; background: var(--panel); }
.cta-box a { color: var(--ink); font-weight: 600; font-size: 16px; text-decoration-color: var(--ink); text-underline-offset: 3px; }
.sources { margin-top: 1.6em; padding-top: 4px; border-top: 1px solid var(--rule); }
.sources h2 { margin: 1em 0 .4em; font-size: 15px; font-weight: 800; }
.sources li { font-size: 14.5px; color: var(--muted); margin: .3em 0; }
.shot { margin: 1.6em 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); }
.shot figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.draft-banner { margin: 0 0 16px; padding: 8px 14px; background: #fff8e1; color: #5c4200; border: 1px solid #e8d48b; border-radius: 8px; font-weight: 700; }
.disclosure-note { margin: 0 0 20px; padding: 10px 14px; border: 1px solid var(--rule); background: var(--panel); border-radius: 8px; font-size: 14px; font-weight: 600; }

/* breadcrumbs */
.crumbs { margin: 0 0 18px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 0; }
.nf-page .crumbs ol { justify-content: flex-start; }
.crumbs li { display: inline; }
.crumbs li + li::before { content: "\203A"; margin: 0 .55em; }
.crumbs a { color: var(--muted); text-underline-offset: 2px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* related articles: three cards */
.nf-related { margin-top: 56px; padding: 26px 0 8px; border-top: 1px solid var(--rule); }
.nf-related h2 {  margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
.nf-rel { display: block; text-decoration: none; color: var(--ink); }
.nf-rel .nf-img { aspect-ratio: 5 / 4; margin-bottom: 10px; }
.nf-rel .nf-cat { display: block; color: var(--blue); }
.nf-rel-title { display: block; font-size: 16px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.nf-rel:hover .nf-rel-title { text-decoration: underline; text-underline-offset: 3px; }
.nf-rel .nf-date { display: block; }
.nf-rel .nf-ex { display: block; }
.nf-card .nf-ex, .nf-rel .nf-ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* simple pages and category pages */
.nf-page { max-width: 780px; padding-top: 28px; padding-bottom: 20px; }
.nf-page h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.8rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.nf-page .prose { font-size: 17px; }
.nf-page .prose h2 { font-size: 1.35rem; }
.nf-cat-page { max-width: 1240px; }
.nf-cat-head { padding: 6px 0 26px; border-bottom: 1px solid var(--rule); margin-bottom: 26px; text-align: left; }
.nf-cat-head .nf-label { margin-bottom: 8px; color: var(--blue); }
.nf-blurb { margin: 0 0 6px; max-width: 40rem; color: var(--muted); font-size: 16px; }
.nf-count { margin: 0; font-size: 12.5px; color: var(--muted); }
.nf-links { padding-left: 1.2em; }
.email { font-family: ui-monospace, Menlo, monospace; font-size: .95em; }

/* footer */
.nf-foot { margin-top: 56px; border-top: 1px solid var(--rule); padding: 32px 0 22px; background: var(--bg); }
.nf-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.nf-foot-name { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.nf-foot-name .logo-mark { width: 30px; height: 30px; flex: none; }
.nf-foot-brand p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.nf-foot nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nf-foot nav h2 { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.nf-foot nav a { font-size: 14px; color: var(--ink); text-underline-offset: 3px; }
.footer-disclosure { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--rule); }
.footer-disclosure p { margin: 0; font-size: 13px; color: var(--muted); }
.footer-disclosure a { color: var(--ink); }

/* tablet and phone: one column, nav behind the menu button */
@media (max-width: 1100px) {
  .nf-feat, .nf-side, .nf-latest { padding-left: 18px; padding-right: 18px; }
  .nf-side { padding-left: 0; }
  .nf-latest { padding-right: 0; }
}
@media (max-width: 900px) {
  .nf-wrap { padding: 0 18px; }
  .nf-bar { height: 60px; }
  .nf-mast { font-size: 22px; }
  .nf-bar-l .nf-ico { display: none; }
  .nf-menu-btn { display: inline-grid; }
  .nf-nav { display: none; border-top: 1px solid var(--rule); }
  .nf-toggle:checked ~ .nf-nav { display: block; }
  .nf-nav-in { flex-direction: column; padding: 4px 18px 10px; }
  .nf-nav a { padding: 12px 0; border-top: 0; border-bottom: 1px solid var(--rule); font-size: 15px; margin: 0; }
  .nf-nav a:last-child { border-bottom: 0; }
  .nf-nav a[aria-current="page"] { border-top: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
  .nf-front { grid-template-columns: minmax(0, 1fr); grid-template-areas: "feat" "side" "latest"; padding-top: 18px; }
  .nf-feat { padding: 0; }
  .nf-side { padding: 0; border-right: 0; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .nf-latest { padding: 0; border-left: 0; margin-top: 28px; }
  .nf-grid, .nf-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-foot-grid { grid-template-columns: 1fr 1fr; }
  .nf-foot-brand { grid-column: 1 / -1; }
  .nf-col .prose { font-size: 17px; }
}
@media (max-width: 560px) {
  .nf-grid, .nf-grid-3, .nf-side, .nf-demo .shot-grid { grid-template-columns: minmax(0, 1fr); }
  .nf-btn { padding: 9px 13px; font-size: 12px; }
  .nf-mast { font-size: 18px; white-space: normal; text-align: center; line-height: 1.1; }
  .nf-bar { gap: 8px; }
}
