/* ============================================================
   Progress Pill — landing page styles
   Palette: Azure Radiance #007BFF accent on white paper with
            black editorial ink. Accessible contrast throughout.
   Typography: Fraunces (display, editorial) + Satoshi (UI/body)
   ============================================================ */

:root {
  /* Brand colors */
  --azure: #007BFF;          /* Azure Radiance — primary accent */
  --azure-deep: #0061CC;     /* hover / pressed */
  --azure-100: #E6F1FF;      /* tint backgrounds */
  --azure-200: #C7E0FF;

  /* Neutrals */
  --ink: #0A0A0A;            /* primary text / black */
  --ink-soft: #1B1B1B;
  --paper: #FFFFFF;          /* surfaces */
  --paper-2: #F7F8FA;        /* subtle surface */
  --paper-3: #EEF0F4;
  --line: #E4E7EC;
  --line-strong: #C7CDD6;
  --muted: #4A4F5A;
  --faint: #7A808C;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --fs-eyebrow: 0.78rem;
  --fs-body: 1.0625rem;      /* 17px */
  --fs-lede:  1.1875rem;     /* 19px */
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);

  /* Space */
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;

  --radius-pill: 999px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --max-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  /* Soft, off-white background with a faint blue corner glow for atmosphere */
  background:
    radial-gradient(80vw 60vw at 100% -20%, rgba(0, 123, 255, 0.10), transparent 55%),
    radial-gradient(60vw 50vw at -10% 10%, rgba(0, 123, 255, 0.05), transparent 60%),
    var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 100; }

/* ──────────────── HEADER ──────────────── */
.site-header {
  display: flex; align-items: center; gap: var(--sp-6);
  padding: var(--sp-6) clamp(1rem, 4vw, 2.5rem);
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); }
.brand-mark {
  width: 40px; height: 48px;
  object-fit: contain;
  flex: none;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--ink);
}

.site-nav {
  margin-left: auto;
  display: flex; gap: 1.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-nav a {
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--azure); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform .15s ease, background .2s;
}
.header-cta:hover { background: var(--azure); transform: translateY(-1px); }
.header-cta svg { transition: transform .2s; }
.header-cta:hover svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-header { padding-block: var(--sp-4); gap: var(--sp-4); }
  .brand-word { white-space: nowrap; font-size: 1.1rem; }
  .header-cta { padding: 9px 14px; font-size: 0.85rem; }
}
@media (max-width: 420px) {
  .header-cta span { display: none; }
  .header-cta { padding: 9px 11px; }
}

/* ──────────────── BUTTONS ──────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
}
.btn--primary {
  background: var(--azure);
  color: #fff;
}
.btn--primary:hover { background: var(--azure-deep); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--on-blue {
  background: #fff;
  color: var(--azure);
}
.btn--on-blue:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.btn--ghost-on-blue {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn--ghost-on-blue:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ──────────────── HERO ──────────────── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--paper);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 0 0 rgba(0, 123, 255, .55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 123, 255, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 1.25rem 0 1.5rem;
  color: var(--ink);
  max-width: 14ch;
}
.hero__heading em {
  font-style: italic;
  font-weight: 500;
  color: var(--azure);
}

.hero__lede {
  font-size: var(--fs-lede);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 0;
}

.hero__mark {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  margin-left: auto;
}
.hero__mark-img {
  position: relative;
  z-index: 2;
  width: 78%;
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 123, 255, 0.18));
}
.hero__mark-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(closest-side, rgba(0, 123, 255, 0.20), transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
@media (max-width: 860px) {
  .hero__mark { max-width: 220px; margin: 0 auto; }
}

.hero__pillars {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.hero__pillars li {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}
.hero__pillars strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

/* ──────────────── PLATFORM STRIP ──────────────── */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-6) clamp(1rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
}
.strip__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.strip__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.strip__list a {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.strip__list a:hover {
  background: var(--azure);
  color: #fff;
  border-color: var(--azure);
  transform: translateY(-1px);
}

/* ──────────────── SHARED SECTIONS ──────────────── */
.kicker {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azure);
  font-weight: 700;
  margin-bottom: 1rem;
}
.kicker--on-blue { color: #fff; opacity: 0.85; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 1rem;
  max-width: 22ch;
}
.section-heading em { font-style: italic; color: var(--azure); font-weight: 500; }
.section-heading--on-blue { color: #fff; }
.section-heading--on-blue em { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); text-underline-offset: 6px; }

.section-sub {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 60ch;
  margin: 0 0 2rem;
  line-height: 1.55;
}
.section-sub--on-blue { color: rgba(255,255,255,0.92); }
.section-sub--on-blue code {
  font-family: ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
}

/* ──────────────── ABOUT ──────────────── */
.about {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.about__col--body p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 1.1em;
  max-width: 62ch;
}
.about__col--body p:last-child { margin-bottom: 0; }
.about__col--label { padding-top: 0.4rem; }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
}

/* ──────────────── COVERAGE / BEATS ──────────────── */
.coverage {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.coverage__head { margin-bottom: 2.5rem; }
.beats {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.beat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.beat:hover {
  border-color: var(--azure);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 123, 255, 0.08);
}
.beat__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--azure);
  padding: 4px 10px;
  border: 1px solid var(--azure);
  background: var(--azure-100);
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.beat h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.beat p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

/* ──────────────── FOLLOW / PLATFORMS ──────────────── */
.follow {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.follow__head { max-width: 720px; margin-bottom: 2.5rem; }

.platforms {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.platforms__substack { grid-column: 1 / -1; }

.platform {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  color: var(--ink);
}
.platform:hover {
  border-color: var(--azure);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.10);
}
.platform__icon {
  flex: none;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  transition: background .2s;
}
.platform:hover .platform__icon { background: var(--azure); }
.platform__icon svg { display: block; width: 22px; height: 22px; }
.platform__icon .threads-glyph {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.platform__meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.platform__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.platform__handle {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.platform__arrow {
  color: var(--faint);
  font-size: 1.1rem;
  transition: color .2s, transform .2s;
}
.platform:hover .platform__arrow { color: var(--azure); transform: translate(2px, -2px); }

.platform--feature {
  background: linear-gradient(180deg, var(--azure-100), #fff);
  border-color: var(--azure);
}
.platform--feature:hover { background: linear-gradient(180deg, var(--azure-200), var(--azure-100)); }
.platform--feature .platform__icon { background: var(--azure); color: #fff; }
.platform__cta {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--azure);
}

/* ──────────────── LAUNCH / TIMELINE ──────────────── */
.launch {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.timeline {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  position: relative;
}
.timeline__step {
  position: relative;
  padding: 1.5rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.timeline__step.is-active {
  border-color: var(--azure);
  background: var(--azure-100);
}
.timeline__dot {
  position: absolute;
  top: -7px; left: 1.25rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-strong);
}
.timeline__step.is-active .timeline__dot {
  background: var(--azure);
  border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.18);
}
.timeline__label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.45rem;
  font-weight: 700;
}
.timeline__step.is-active .timeline__label { color: var(--azure); }
.timeline__step strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.timeline__step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

/* ──────────────── CONTACT ──────────────── */
.contact {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}
.contact__inner {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255,255,255,0.18), transparent 60%),
    var(--azure);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 1000px;
  color: #fff;
  box-shadow: 0 30px 80px -30px rgba(0, 123, 255, 0.45);
}
.contact__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 1.5rem;
}

/* ──────────────── FOOTER ──────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #E7E9ED;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem) 2rem;
  margin-top: clamp(2rem, 6vw, 5rem);
}
.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__lockup { display: inline-flex; align-items: center; gap: 0.7rem; }
.footer__mark { width: 32px; height: 38px; object-fit: contain; }
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  color: #fff;
}
.footer__tag { color: #B0B5BF; font-size: 0.95rem; }

.footer__col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9097A1;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col a { color: #F1F2F4; font-size: 0.95rem; transition: color .2s; }
.footer__col a:hover { color: var(--azure); }
.footer__muted { color: #8B919C; font-size: 0.92rem; }

.footer__base {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #8B919C;
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}
