/* ==========================================================================
   NewsPrint — one-page marketing site
   Black-and-white editorial foundation. System fonts only, no frameworks,
   no third-party assets beyond assets/newsprint-icon.png.
   ========================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --ink: #111111;
  --muted: #595959;
  --muted-on-dark: #b9b9b9;
  --border: #e2e2e2;
  --border-on-dark: rgba(255, 255, 255, 0.22);
  --surface: #fafafa;
  --surface-card: #ffffff;

  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --content-width: 1120px;
  --gutter: 1.25rem;
}

/* ---- Reset / base ---------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* Visible, consistent focus ring for keyboard users on every interactive
   element, regardless of which section's background it sits on. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Single shared content container used by every section (header, hero,
   about, features, company, footer): same max-width, same left/right
   gutter, on both mobile and desktop. Sections with a narrower readable
   block (hero, company) constrain an element INSIDE .wrap, never .wrap
   itself, so every section's content shares the same left/right grid
   edge regardless of how wide its own text measure is. */
.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Skip link — hidden until keyboard-focused, then jumps straight to <main>. */
.skip-link {
  position: absolute;
  left: 0;
  top: -100%;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ---- Header ------------------------------------------------------------ */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--black);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--black);
}

/* ---- Hero --------------------------------------------------------------- */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}

/* .hero-inner carries no width rule of its own — it inherits .wrap's
   shared 1120px grid, so the hero's left edge lines up with every other
   section instead of being re-centered on its own narrower box. The
   readable-width cap now lives directly on the text elements below,
   which stay left-aligned (no auto margins) at that same grid edge. */

.hero h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.25rem);
  color: var(--white);
  letter-spacing: -0.01em;
  max-width: 46rem;
}

.hero-subtext {
  font-size: 1.125rem;
  color: var(--muted-on-dark);
  max-width: 40rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-on-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .status-dot {
    animation: pulse 2.4s ease-in-out infinite;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---- About --------------------------------------------------------------- */

.about {
  padding: 4rem 0;
  background: var(--white);
}

.about h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
}

.lede {
  font-size: 1.05rem;
  max-width: 42rem;
}

.about-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem 2rem;
  max-width: 42rem;
  margin: 1.5rem 0;
}

.about-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
}

.about-list li::before {
  content: "\2014"; /* em dash, plain text marker rather than an icon */
  position: absolute;
  left: 0;
  color: var(--muted);
}

.disclaimer {
  max-width: 42rem;
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 1rem;
  margin-top: 1.75rem;
}

/* ---- Features ------------------------------------------------------------- */

.features {
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}

.feature-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--border);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* ---- Company --------------------------------------------------------------- */

.company {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

/* .company .wrap also inherits the shared 1120px grid now — the narrower
   centered block below is nested inside it (via its own max-width +
   auto margins) rather than replacing the grid container's width. */

.company h2 {
  color: var(--white);
  font-size: clamp(1.35rem, 2vw + 1rem, 1.75rem);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.company p {
  color: var(--muted-on-dark);
  margin-bottom: 0;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Footer ------------------------------------------------------------------ */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-nav a {
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-color: var(--border);
}

.footer-nav a:hover {
  text-decoration-color: currentColor;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ---- Responsive breakpoints --------------------------------------------------- */

@media (min-width: 560px) {
  .about-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 680px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    gap: 1rem;
  }
}
