@import './tokens/fonts.css';
@import './tokens/colors.css';
@import './tokens/typography.css';
@import './tokens/spacing.css';
@import './tokens/effects.css';

:root {
  --gh-font-heading: var(--font-family);
  --gh-font-body: var(--font-family);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--gh-font-body); }
h1, h2, h3, h4, h5, h6 { font-family: var(--gh-font-heading); }

/* ---------- Nav ---------- */
nav.tsh-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  gap: 24px;
  background: var(--navy-950);
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 28px; display: block; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-shrink: 1; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--mist-100);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-actions a.signin { font-size: 14px; font-weight: 500; color: var(--mist-300); text-decoration: none; white-space: nowrap; }

.btn {
  font-family: var(--font-family);
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity var(--duration-fast) var(--ease-standard);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--navy-950); color: var(--white); padding: 10px 22px; font-size: 14px; }
.btn-primary.inverse { background: var(--white); color: var(--navy-950); }

.eyebrow {
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.eyebrow.on-dark { color: var(--mist-300); }

/* ---------- Subscribe form ---------- */
.subscribe-form { display: flex; gap: 10px; }
.subscribe-form input {
  font-family: var(--font-family);
  font-size: 15px;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  width: 280px;
  color: var(--navy-950);
}
.subscribe-form input::placeholder { color: var(--navy-300); }
.subscribe-form.on-dark input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.subscribe-form.on-dark input::placeholder { color: var(--mist-300); }
.subscribe-form button { padding: 13px 26px; font-size: 15px; }
.subscribe-form .form-message { flex-basis: 100%; font-size: 13px; margin-top: 8px; }
.subscribe-form .form-message[hidden] { display: none; }

/* ---------- Hero (dark briefing) ---------- */
.heroA { background: var(--navy-950); padding: 100px 56px 110px; position: relative; }
.heroA .hero-inner { max-width: 720px; }
.heroA h1 { font-size: var(--text-display-lg); line-height: var(--leading-tight); color: var(--white); margin: 16px 0 24px; font-weight: 700; }
.heroA p.sub { font-size: var(--text-body-lg); color: var(--mist-300); max-width: 560px; margin: 0 0 36px; line-height: var(--leading-normal); }
.hero-secondary-cta { margin-top: 18px; font-size: 14px; color: var(--mist-300); }
.hero-secondary-cta a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.hero-secondary-cta a:hover { border-color: var(--white); }

/* ---------- Pillars ---------- */
.pillars-section { padding: 96px 56px; background: var(--white); }
.pillars-head { max-width: 640px; margin-bottom: 56px; }
.pillars-head h2 { font-size: var(--text-h1); line-height: var(--leading-tight); margin: 10px 0 0; color: var(--navy-950); font-weight: 700; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 36px 32px; background: var(--mist-50); }
.pillar-card img { width: 40px; height: 40px; margin-bottom: 24px; display: block; }
.pillar-card .pname { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; margin-bottom: 10px; }
.pillar-card h3 { font-size: var(--text-h3); margin: 0 0 12px; color: var(--navy-950); font-weight: 700; }
.pillar-card p { font-size: 15px; line-height: var(--leading-normal); color: var(--navy-500); margin: 0; }
.pillar-card.alert .pname { color: var(--alert-500); }
.pillar-card.radar .pname { color: var(--radar-500); }
.pillar-card.forecast .pname { color: var(--forecast-500); }

/* ---------- Statement band ---------- */
.statement-band { background: var(--navy-950); padding: 96px 56px; text-align: center; }
.statement-band p { max-width: 780px; margin: 0 auto; font-size: var(--text-h1); line-height: var(--leading-tight); font-weight: 700; color: var(--white); }

/* ---------- Newsletter / Latest ---------- */
.latest-section { padding: 96px 56px; background: var(--mist-50); }
.latest-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.latest-head h2 { font-size: var(--text-h1); margin: 10px 0 0; color: var(--navy-950); font-weight: 700; }
.latest-head a { font-size: 14px; font-weight: 600; color: var(--forecast-500); text-decoration: none; }
.post-list { counter-reset: post-num; }
.post-list-row { display: flex; align-items: center; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--color-border); counter-increment: post-num; }
.post-list-row:first-child { padding-top: 0; }
.post-list-num { font-size: 14px; font-weight: 700; color: var(--navy-200); width: 28px; flex-shrink: 0; }
.post-list-num::before { content: counter(post-num, decimal-leading-zero); }
.post-list-body { flex-grow: 1; }
.post-list-body h3 { font-size: 20px; margin: 0 0 8px; color: var(--navy-950); font-weight: 700; }
.post-list-body h3 a { color: inherit; text-decoration: none; }
.post-list-body h3 a:hover { text-decoration: underline; }
.post-list-body p { font-size: 14px; color: var(--navy-500); margin: 0; line-height: var(--leading-normal); }
.post-list-date { font-size: 13px; color: var(--navy-300); font-weight: 500; width: 90px; text-align: right; flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: 88px 56px; background: var(--navy-950); text-align: center; }
.cta-band .eyebrow { justify-content: center; display: flex; }
.cta-band h2 { font-size: var(--text-h1); color: var(--white); margin: 14px 0 28px; font-weight: 700; }
.cta-band .subscribe-form { justify-content: center; }
.cta-band .secondary-link { display: block; margin-top: 20px; font-size: 14px; color: var(--mist-300); }
.cta-band .secondary-link a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.cta-band .secondary-link a:hover { border-color: var(--white); }

/* ---------- Footer ---------- */
footer.tsh-footer { background: var(--navy-900); padding: 64px 56px 32px; color: var(--mist-300); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; font-size: 14px; line-height: var(--leading-normal); color: var(--mist-300); margin: 0; }
.footer-social { display: flex; gap: 16px; align-items: flex-start; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; font-size: 13px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: var(--mist-400); }
.footer-bottom a { color: var(--mist-400); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; gap: 24px; }

/* ---------- Post / Page template ---------- */
.post-template { max-width: 720px; margin: 0 auto; padding: 96px 56px; }
.post-header { margin-bottom: 40px; }
.post-header h1 { font-size: var(--text-display-lg); line-height: var(--leading-tight); color: var(--navy-950); font-weight: 700; margin: 12px 0; }
.post-meta { font-size: 14px; color: var(--navy-300); }
.post-feature-image { margin: 0 0 40px; }
.post-feature-image img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.post-content { font-size: 16px; line-height: var(--leading-normal); color: var(--navy-700); }
.post-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }

/* Koenig editor card widths — required by Ghost so wide/full-bleed
   content cards aren't left unstyled inside the constrained post column. */
.kg-width-wide { width: 1200px; max-width: 1200px; margin-left: calc(50% - 600px); }
.kg-width-full { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
@media (max-width: 1300px) {
  .kg-width-wide, .kg-width-full { width: 100%; max-width: 100%; margin-left: 0; }
}

/* ---------- Nav active state ---------- */
.nav-links a.active { color: var(--white); }

/* ---------- Secondary button ---------- */
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); padding: 10px 22px; font-size: 14px; }

/* ---------- What We Do: page hero ---------- */
.page-hero-wwd {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,19,32,0.72) 0%, rgba(11,19,32,0.88) 100%),
    repeating-linear-gradient(135deg, var(--navy-800), var(--navy-800) 14px, var(--navy-700) 14px, var(--navy-700) 28px);
  padding: 88px 56px 96px;
}
.page-hero-wwd .hero-inner { max-width: 700px; position: relative; }
.page-hero-wwd h1 { font-size: var(--text-display-lg); line-height: var(--leading-tight); color: var(--white); margin: 16px 0 20px; font-weight: 700; }
.page-hero-wwd p.sub { font-size: var(--text-body-lg); color: var(--mist-300); max-width: 560px; margin: 0; line-height: var(--leading-normal); }

/* ---------- Section shells ---------- */
.section { padding: 96px 56px; }
.section.tinted { background: var(--mist-50); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: var(--text-h1); line-height: var(--leading-tight); margin: 10px 0 0; color: var(--navy-950); font-weight: 700; }
.section-head p { font-size: var(--text-body-lg); color: var(--navy-500); margin: 16px 0 0; line-height: var(--leading-normal); max-width: 620px; }

/* ---------- Pricing tiers (power of three) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.pricing-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  background: var(--mist-50);
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  background: var(--navy-950);
  border-color: var(--navy-950);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-12px);
}
.pricing-badge {
  position: absolute;
  top: -13px; left: 32px;
  background: var(--radar-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.pricing-label {
  font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--alert-500);
  margin-bottom: 14px;
}
.pricing-card.featured .pricing-label { color: var(--radar-500); }
.pricing-card.enterprise .pricing-label { color: var(--forecast-500); }
.pricing-card h3 { font-size: 22px; color: var(--navy-950); font-weight: 700; margin: 0 0 10px; }
.pricing-card.featured h3, .pricing-card.featured .price-note { color: var(--white); }
.pricing-card p.tagline { font-size: 14px; color: var(--navy-500); margin: 0 0 24px; line-height: var(--leading-normal); }
.pricing-card.featured p.tagline { color: var(--mist-300); }
.price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; }
.price-num { font-size: 44px; font-weight: 700; color: var(--navy-950); line-height: 1; }
.pricing-card.featured .price-num { color: var(--white); }
.price-note { font-size: 15px; color: var(--navy-400); font-weight: 500; }
.pricing-card ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.pricing-card li { font-size: 14px; color: var(--navy-700); padding-left: 26px; position: relative; line-height: var(--leading-normal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 2a10 10 0 0 1 10 10'/%3E%3Cpath d='M12 6a6 6 0 0 1 6 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 0 2px; background-size: 16px 16px; }
.pricing-card.featured li { color: var(--mist-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DBE3EC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 2a10 10 0 0 1 10 10'/%3E%3Cpath d='M12 6a6 6 0 0 1 6 6'/%3E%3C/svg%3E"); }
.pricing-card .btn { width: 100%; }

/* ---------- Beyond Signal Radar services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
}
.service-label { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--navy-400); margin-bottom: 12px; }
.service-card h3 { font-size: 20px; color: var(--navy-950); font-weight: 700; margin: 0 0 10px; }
.service-card p { font-size: 15px; color: var(--navy-500); margin: 0 0 18px; line-height: var(--leading-normal); }
.service-card a.cta { font-size: 14px; font-weight: 600; color: var(--forecast-500); text-decoration: none; }
.service-card a.cta:hover { text-decoration: underline; }

/* ---------- Closing statement / subscribe band (What We Do) ---------- */
.closing-band { background: var(--navy-950); padding: 88px 56px; text-align: center; }
.closing-band .eyebrow { justify-content: center; display: flex; }
.closing-band h2 { max-width: 700px; margin: 14px auto 12px; font-size: var(--text-h1); line-height: var(--leading-tight); font-weight: 700; color: var(--white); }
.closing-band p.note { color: var(--mist-300); font-size: 15px; margin: 0 0 32px; }
.closing-band .subscribe-form { justify-content: center; }

/* ---------- Register Interest: page hero ---------- */
.page-hero-ri {
  background: var(--navy-950);
  padding: 88px 56px 96px;
  text-align: center;
}
.page-hero-ri .hero-inner { max-width: 620px; margin: 0 auto; }
.page-hero-ri h1 { font-size: var(--text-display-lg); line-height: var(--leading-tight); color: var(--white); margin: 16px 0 20px; font-weight: 700; }
.page-hero-ri p.sub { font-size: var(--text-body-lg); color: var(--mist-300); margin: 0; line-height: var(--leading-normal); }

/* ---------- Register Interest: form ---------- */
.form-section { padding: 80px 56px 100px; display: flex; justify-content: center; }
.form-card {
  width: 100%;
  max-width: 560px;
  background: var(--mist-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-card .label-tag {
  font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--radar-500);
  margin-bottom: 12px;
}
.form-card h2 { font-size: 26px; color: var(--navy-950); font-weight: 700; margin: 0 0 12px; }
.form-card p.desc { font-size: 15px; color: var(--navy-500); line-height: var(--leading-normal); margin: 0 0 32px; }

.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy-700); }
.field input, .field select {
  font-family: var(--font-family);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  color: var(--navy-950);
  background: var(--white);
}
.field input::placeholder { color: var(--navy-300); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-card button.btn { width: 100%; padding: 14px 22px; font-size: 15px; margin-top: 8px; }
.form-fine-print { font-size: 12px; color: var(--navy-400); margin-top: 16px; text-align: center; line-height: var(--leading-normal); }

/* ---------- Request a Demo: opt-out checkbox ---------- */
.field-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
.field-checkbox input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy-950); }
.field-checkbox label { font-size: 13px; color: var(--navy-500); line-height: var(--leading-normal); font-weight: 500; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- Accent button ("Get Signal Radar free" everywhere it appears) ---------- */
.btn-accent { background: var(--alert-500); color: var(--white); padding: 10px 22px; font-size: 14px; }

/* ---------- What We Do / About: shared dark page-hero background ---------- */
.page-hero-about {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,19,32,0.72) 0%, rgba(11,19,32,0.88) 100%),
    repeating-linear-gradient(135deg, var(--navy-800), var(--navy-800) 14px, var(--navy-700) 14px, var(--navy-700) 28px);
  padding: 88px 56px 96px;
}
.page-hero-about .hero-inner { max-width: 700px; position: relative; }
.page-hero-about h1 { font-size: var(--text-display-lg); line-height: var(--leading-tight); color: var(--white); margin: 16px 0 20px; font-weight: 700; }
.page-hero-about p.sub { font-size: var(--text-body-lg); color: var(--mist-300); max-width: 560px; margin: 0; line-height: var(--leading-normal); }

.page-hero-resources {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,19,32,0.72) 0%, rgba(11,19,32,0.88) 100%),
    repeating-linear-gradient(135deg, var(--navy-800), var(--navy-800) 14px, var(--navy-700) 14px, var(--navy-700) 28px);
  padding: 88px 56px 72px;
}
.page-hero-resources .hero-inner { max-width: 700px; position: relative; }
.page-hero-resources h1 { font-size: var(--text-display-lg); line-height: var(--leading-tight); color: var(--white); margin: 16px 0 20px; font-weight: 700; }
.page-hero-resources p.sub { font-size: var(--text-body-lg); color: var(--mist-300); max-width: 560px; margin: 0; line-height: var(--leading-normal); }

/* ---------- About: origin story ---------- */
.story-section { padding: 96px 56px; display: grid; grid-template-columns: 320px 1fr; gap: 64px; }
.story-aside { position: sticky; top: 96px; align-self: start; }
.story-aside h2 { font-size: var(--text-h1); line-height: var(--leading-tight); margin: 10px 0 0; color: var(--navy-950); font-weight: 700; }
.story-body { max-width: 640px; display: flex; flex-direction: column; gap: 24px; }
.story-body p { font-size: var(--text-body-lg); line-height: var(--leading-normal); color: var(--navy-700); margin: 0; }
.story-body p.pull { font-size: 26px; font-weight: 700; color: var(--navy-950); line-height: 1.4; border-left: 3px solid var(--radar-500); padding-left: 24px; margin: 8px 0; }

/* ---------- About: "from noise to signal" chart band ---------- */
.signal-band { background: var(--navy-950); padding: 88px 56px; }
.signal-band-inner { max-width: 1040px; margin: 0 auto; }
.signal-band .eyebrow { justify-content: center; display: flex; margin-bottom: 12px; }
.signal-band h2 { text-align: center; font-size: var(--text-h1); color: var(--white); font-weight: 700; margin: 0 0 56px; line-height: var(--leading-tight); }
.signal-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.signal-chart-col { text-align: center; }
.signal-chart-col svg { width: 100%; height: auto; display: block; }
.signal-chart-label { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--white); }
.signal-chart-sub { margin-top: 6px; font-size: 13px; color: var(--mist-300); }

/* ---------- About: founders ---------- */
.section-founders { padding: 96px 56px; display: flex; flex-direction: column; align-items: center; gap: 64px; }
.section-founders .section-head { max-width: 680px; text-align: center; margin-bottom: 0; }
.founder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1040px; width: 100%; }
.founder-card { text-align: center; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 36px 28px; }
.founder-card h3 { font-size: 19px; color: var(--navy-950); font-weight: 700; margin: 0 0 6px; }
.founder-card p { font-size: 14px; color: var(--navy-500); margin: 0 0 16px; line-height: var(--leading-normal); }
.founder-link { font-size: 14px; font-weight: 600; color: var(--forecast-500); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.founder-link svg { width: 15px; height: 15px; }
.founder-link:hover { text-decoration: underline; }
.stat-row { display: flex; justify-content: center; gap: 12px; align-items: baseline; }
.stat-row .num { font-size: var(--text-display-xl); font-weight: 700; color: var(--navy-950); line-height: 1; }
.stat-row .label { font-size: 16px; color: var(--navy-500); max-width: 220px; line-height: var(--leading-normal); }

/* ---------- About: closing CTA band (light bg, distinct from dark .cta-band) ---------- */
.cta-band-about { padding: 96px 56px; background: var(--mist-50); text-align: center; }
.cta-band-about .eyebrow { justify-content: center; display: flex; }
.cta-band-about h2 { font-size: var(--text-h1); color: var(--navy-950); margin: 14px auto 32px; font-weight: 700; max-width: 620px; }
.cta-band-about .cross-link { margin-top: 20px; font-size: 14px; color: var(--navy-500); }

/* Scoped link color override for the About page's plain in-copy links only */
.page-about .story-section a,
.page-about .cta-band-about a { color: var(--forecast-500); }
.page-about .story-section a:hover,
.page-about .cta-band-about a:hover { color: var(--forecast-700); }

@media (max-width: 900px) {
  .story-section { grid-template-columns: 1fr; }
  .story-aside { position: static; }
  .signal-chart, .founder-grid { grid-template-columns: 1fr; }
}

/* ---------- Resources: archive toolbar ---------- */
.archive-toolbar { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--color-border); padding: 24px 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.search-field { position: relative; flex-shrink: 0; width: 340px; max-width: 100%; }
.search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--navy-300); }
.search-field input { width: 100%; font-family: var(--font-family); font-size: 15px; padding: 12px 16px 12px 42px; border-radius: var(--radius-pill); border: 1px solid var(--color-border-strong); color: var(--navy-950); background: var(--mist-50); }
.search-field input::placeholder { color: var(--navy-300); }
.search-field input:focus { outline: none; border-color: var(--navy-500); background: var(--white); }

/* ---------- Resources: archive grid ---------- */
.archive-section { padding: 56px 56px 96px; }
.archive-count { font-size: 13px; color: var(--navy-400); margin: 0 0 28px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); text-decoration: none; }
.post-tag { display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 18px; }
.post-tag.radar { background: var(--radar-100); color: var(--radar-700); }
.post-card h3 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; color: var(--navy-950); font-weight: 700; }
.post-card p { font-size: 14px; line-height: var(--leading-normal); color: var(--navy-500); margin: 0 0 20px; flex-grow: 1; }
.post-date { font-size: 12px; color: var(--navy-300); font-weight: 500; }
.archive-empty { display: none; text-align: center; padding: 64px 24px; color: var(--navy-400); }
.archive-empty h3 { font-size: 18px; color: var(--navy-950); margin: 0 0 8px; }
.archive-empty p { font-size: 14px; margin: 0; }
.load-more { text-align: center; margin-top: 48px; }
.load-more .btn-secondary { background: transparent; color: var(--navy-950); border: 1px solid var(--color-border-strong); padding: 12px 28px; font-size: 14px; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
  .archive-toolbar { position: static; }
}
