/* ============================================================
   NewsFlow — site theme
   The newspaper: white newsprint, hairline rules, a masthead header and
   a dateline. Newsreader for display, Instrument Sans for text, and the
   orange from the paper-plane logo as the only accent.
   ============================================================ */
:root {
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --accent: #E86C2A;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(232, 108, 42, 0.14);
  --accent-2: #3A7BD5;
  --brand-ink: #1A1A2E;
  --brand-ink-2: #24243C;
  --paper: #FBFAF8;
  --paper-2: #F1F0EC;
  --paper-3: #E4E2DC;
  --rule: #1A1A2E;
}
h1, h2, h3, h4 { font-variation-settings: 'opsz' 72; letter-spacing: -0.01em; }
h1 { font-weight: 600; line-height: 1.02; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }
.card h3, .card h4 { font-family: var(--font-body); letter-spacing: -0.01em; }
.wordmark__mark { width: 30px; height: 30px; object-fit: contain; }
.sticker { background: var(--accent); color: var(--white); }
.sticker--accent { background: var(--pf); color: var(--ink); }
.section--ink .section__head h2 { color: var(--on-ink); }

/* ---------- Masthead ---------- */
.masthead { border-bottom: 1px solid var(--line); }
.masthead::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--line);
}

/* ---------- Hero ---------- */
.hero { padding: 12px 0 clamp(48px, 7vw, 96px); background: var(--paper); }
.dateline {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  margin-bottom: clamp(32px, 5vw, 64px);
  border-top: 2px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dateline span:nth-child(2) { color: var(--accent); font-weight: 500; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__content h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5rem); }
.hero__content .lead { max-width: 52ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__stats { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.hero__stats .stat__value { font-weight: 500; }
.hero__stats .stat__value small { font-size: 0.55em; font-weight: 500; }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; height: auto; transform: scale(1.1); }
.hero__sticker { position: absolute; right: 2%; bottom: 10%; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .dateline span:nth-child(3) { display: none; }
}
@media (max-width: 520px) { .dateline { font-size: 0.64rem; } .dateline span:nth-child(2) { display: none; } }

/* ---------- Manifesto ---------- */
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.manifesto__text { display: grid; gap: 18px; font-size: var(--step-1); line-height: 1.55; color: var(--on-ink-muted); }
.manifesto__text p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4.4em;
  line-height: 0.8;
  padding: 0.08em 0.12em 0 0;
  color: var(--accent);
  font-weight: 500;
}
.manifesto__punch {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--on-ink);
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
@media (max-width: 860px) { .manifesto__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Modules ---------- */
.base-package { margin-bottom: clamp(36px, 5vw, 56px); padding: clamp(24px, 4vw, 40px); background: var(--white); }
.base-package__head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.base-package__head h3 { font-family: var(--font-display); font-size: var(--step-3); margin: 0; }
.base-package > p { max-width: 80ch; font-size: var(--step-0); color: var(--ink-soft); }
.base-package__sub { margin-top: 12px; font-weight: 600; color: var(--ink) !important; }
.module-group { margin-top: clamp(36px, 5vw, 56px); }
.module-group__title {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.module-group__title::after { content: ''; flex: 1; height: 1px; background: var(--rule); opacity: 0.5; }
.module { padding: 22px 22px 24px; }
.module .card__icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px; }
.module .card__icon svg { width: 20px; height: 20px; }
.module h4 { font-size: 1.08rem; margin-bottom: 6px; }
.module p { font-size: 0.95rem; line-height: 1.55; }
.module .card__badge { top: 14px; right: 14px; font-size: 0.68rem; padding: 0.25em 0.6em; }
.uptime {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.uptime strong { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); font-weight: 500; line-height: 1; color: var(--accent); white-space: nowrap; }
.uptime p { color: var(--ink-soft); }
@media (max-width: 560px) { .uptime { flex-direction: column; align-items: flex-start; } }

/* ---------- Statistics ---------- */
.stats-points { margin-bottom: clamp(32px, 5vw, 56px); }
.stats-points .point svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 12px; }
.stats-points .point h3 { font-family: var(--font-body); font-size: var(--step-0); margin-bottom: 6px; }
.stats-points .point p { font-size: var(--step--1); color: var(--ink-soft); }
.stats-frame figcaption { padding: 12px 16px; font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); background: var(--paper-2); }
.stats-tiers-head { margin-top: clamp(40px, 6vw, 72px); }
.stats-tiers-head h3 { font-size: var(--step-3); margin-bottom: 12px; }
.tier { display: flex; flex-direction: column; }
.tier__eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.tier h4 { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: 8px; }
.tier > p { color: var(--ink-soft); margin-bottom: 16px; font-size: var(--step--1); }
.tier .checks { font-size: var(--step--1); }
.tier .checks li.is-no::before { 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.2' stroke-linecap='round'%3E%3Cpath d='M6 6l8 8M14 6l-8 8'/%3E%3C/svg%3E"); }
.tier--featured { background: var(--white); }
.fine-print { margin-top: clamp(28px, 4vw, 40px); padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.fine-print summary { cursor: pointer; font-weight: 600; font-size: var(--step--1); }
.fine-print p { margin-top: 12px; font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Customers ---------- */
.customers .marquee { padding: 8px 0; }
.customers .marquee__item { width: 128px; height: 128px; display: grid; place-items: center; padding: 14px; background: var(--white); border-radius: 18px; }
.customers .marquee__item--wide { width: 200px; }
.customers .marquee__item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
@media (max-width: 640px) { .customers .marquee__item { width: 96px; height: 96px; } .customers .marquee__item--wide { width: 150px; } }

/* ---------- Why ---------- */
.chapter { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--rule); }
.chapter__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 24px; }
.chapter__num { font-family: var(--font-display); font-size: var(--step-4); font-weight: 500; color: var(--accent); line-height: 1; }
.chapter__head h3 { font-size: var(--step-3); }
.chapter__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.chapter__points .point { padding-top: 14px; border-top: 2px solid var(--accent-soft); }
.chapter__points h4 { font-family: var(--font-body); font-size: var(--step-0); margin-bottom: 6px; }
.chapter__points p { font-size: var(--step--1); color: var(--ink-soft); }
.footnotes { margin-top: 28px; font-size: var(--step--1); color: var(--muted); display: grid; gap: 4px; }
@media (max-width: 960px) { .chapter__points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .chapter__points { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing ---------- */
.price-card h3 { font-family: var(--font-display); font-size: var(--step-2); }
.price-card__price { font-weight: 500; }
.pricing-note { max-width: 760px; margin: clamp(28px, 4vw, 40px) auto 0; text-align: center; display: grid; gap: 10px; color: var(--ink-soft); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about__logo { padding-top: 8px; }
.about__logo img { width: 160px; height: auto; }
.about__grid h2 { margin-bottom: 18px; }
.about__grid .lead { margin-bottom: 14px; }
.about__grid p + p { margin-top: 12px; }
.timeline { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.timeline div { display: grid; gap: 2px; }
.timeline strong { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; color: var(--accent); line-height: 1; }
.timeline span { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 700px) { .about__grid { grid-template-columns: minmax(0, 1fr); } .about__logo img { width: 110px; } }
