:root {
  --ink: #0A0908;
  --ink-soft: #1F1D1A;
  --paper: #FAFAF7;
  --paper-warm: #F2EEE5;
  --paper-card: #FFFFFF;
  --rule: rgba(10, 9, 8, 0.10);
  --rule-strong: rgba(10, 9, 8, 0.22);
  --muted: #6B6862;
  --muted-soft: #8A8780;
  --accent: #1B4DA1;
  --accent-soft: #E8EEF7;
  --warn: #B84A2C;
  --warn-soft: #F5E8E3;
  --good: #2F6B3E;
  --good-soft: #E8F0E9;
  --dark-bg: #0A1828;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============== NAV ============== */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-mark-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 400;
}
.nav-links a { color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.cta-nav {
  padding: 9px 16px;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.cta-nav:hover { background: var(--accent); }
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ============== HERO ============== */
section.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(60px, 7vw, 88px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: 72px;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { order: -1; max-width: 280px; margin: 0 auto; }
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--ink);
}
h1.headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
h1.headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.sub {
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.btn {
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-text {
  font-size: 14px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  transition: color 0.2s;
}
.btn-text:hover { color: var(--accent); }
.btn .arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .arrow, .btn-text:hover .arrow { transform: translateX(3px); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-card);
  position: relative;
}
.hero-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.strip-item .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.strip-item .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
@media (max-width: 700px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}

/* ============== MANIFESTO ============== */
section.manifesto {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.manifesto-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 800px) {
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
}
.manifesto-content .section-label {
  margin-bottom: 16px;
  display: block;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.manifesto h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.manifesto h2 em {
  font-style: italic;
  color: var(--accent);
}
.manifesto-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-bg);
}
.manifesto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============== SECTION HEADERS ============== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head .heading h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 640px;
  margin-top: 12px;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head .right {
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
}

/* ============== PLATFORMS ============== */
section.platforms {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .platform-grid { grid-template-columns: 1fr; } }
.platform {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: all 0.25s;
  cursor: pointer;
}
.platform:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.platform:hover .p-arrow { transform: translate(4px, -4px); opacity: 1; }
.p-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.p-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.p-status {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 100px;
}
.status-live { background: var(--good-soft); color: var(--good); }
.status-beta { background: var(--accent-soft); color: var(--accent); }
.status-soon { background: var(--warn-soft); color: var(--warn); }
.platform h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.platform p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.p-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.p-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.p-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  opacity: 0.5;
  transition: all 0.25s;
}

/* ============== INSIDE THE APP ============== */
section.inside-app {
  background: var(--dark-bg);
  color: var(--paper);
  border-top: 1px solid var(--rule);
}
.inside-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.inside-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: 56px;
}
@media (max-width: 800px) {
  .inside-header { grid-template-columns: 1fr; }
}
.inside-header .section-label { color: var(--muted-soft); margin-bottom: 10px; display: block; }
.inside-header h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 16px;
}
.inside-header h2 em { font-style: italic; color: #88B0EE; }
.inside-header .lead {
  font-size: 15px;
  color: #A5A29B;
  line-height: 1.6;
  max-width: 460px;
}
.inside-banner {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.inside-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-callout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  margin-bottom: 16px;
  color: #D5D2CB;
}
.app-callout .dot {
  width: 6px;
  height: 6px;
  background: #88B0EE;
  border-radius: 50%;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--dark-bg);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
  cursor: pointer;
  min-height: 160px;
}
.feature:hover { background: #122236; }
.feature:hover .f-arrow { transform: translateX(4px); opacity: 1; color: #88B0EE; }
.f-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-soft);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.feature .f-icon {
  font-size: 22px;
  color: #88B0EE;
  margin-bottom: 14px;
}
.feature h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 8px;
}
.feature p {
  font-size: 13px;
  line-height: 1.5;
  color: #A5A29B;
  margin-bottom: 16px;
  flex: 1;
}
.f-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-soft);
}
.f-arrow {
  opacity: 0.5;
  transition: all 0.25s;
  font-family: var(--font-mono);
  font-size: 14px;
}
.inside-foot {
  margin-top: 40px;
  text-align: center;
}
.inside-foot a {
  color: #88B0EE;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.inside-foot a:hover .arrow { transform: translateX(3px); }
.inside-foot a .arrow { transition: transform 0.2s; }

/* ============== GPT STRIP ============== */
section.gpt-strip {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.gpt-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
@media (max-width: 700px) {
  .gpt-inner { grid-template-columns: 1fr; }
}
.gpt-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.gpt-pill .dot {
  width: 6px;
  height: 6px;
  background: var(--good);
  border-radius: 50%;
}
.gpt-strip h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.gpt-strip h3 em {
  font-style: italic;
  color: var(--accent);
}
.gpt-strip p {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.5;
}

/* ============== AUDIENCES ============== */
section.audiences {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .audience-grid { grid-template-columns: 1fr; } }
.audience {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper-card);
  transition: all 0.25s;
}
.audience:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.audience .role {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 20px;
}
.audience h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.audience p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 24px;
}
.audience .link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.audience .link .arrow { transition: transform 0.2s; }
.audience:hover .link .arrow { transform: translateX(3px); }

/* ============== ENDORSEMENT ============== */
section.endorsement {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.endorsement-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  text-align: center;
}
.endorsement blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 24px 0 40px;
}
.endorsement blockquote::before { content: '"'; color: var(--accent); margin-right: 4px; }
.endorsement blockquote::after { content: '"'; color: var(--accent); margin-left: 4px; }
.cite-name { font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.cite-role { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* ============== FOOTER ============== */
footer {
  background: var(--dark-bg);
  color: var(--paper);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .brand { color: var(--paper); margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: #A5A29B;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8A8780;
  font-weight: 400;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: #D5D2CB;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--paper); }
.footer-bot {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B6862;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============== ANIMATIONS ============== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.eyebrow, h1.headline, .sub, .hero-actions, .hero-visual {
  animation: fadeUp 0.7s ease-out backwards;
}
.eyebrow { animation-delay: 0.05s; }
h1.headline { animation-delay: 0.15s; }
.sub { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.45s; }
.hero-visual { animation-delay: 0.2s; }
.hero-strip { animation: fadeUp 0.7s ease-out 0.6s backwards; }
/* ============== INNER PAGE STYLES (About, Contact) ============== */
section.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 64px);
}
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 880px;
  margin-bottom: 24px;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.page-hero .lead {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
}

section.content {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(48px, 6vw, 80px);
}
.content-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule);
}
.content-block:first-child { border-top: none; padding-top: 0; }
@media (max-width: 800px) {
  .content-block { grid-template-columns: 1fr; gap: 24px; }
}
.content-block .col-label .section-label {
  display: block;
  margin-bottom: 8px;
}
.content-block .col-label h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.content-block .col-label h2 em { font-style: italic; color: var(--accent); }
.content-block .col-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.content-block .col-body p:last-child { margin-bottom: 0; }
.content-block .col-body p strong {
  font-weight: 500;
  color: var(--ink);
}
.content-block .col-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}
.content-block .col-body li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}
.content-block .col-body li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.content-block .col-body li strong {
  font-weight: 500;
  color: var(--ink);
}

/* Disclaimer card */
.disclaimer-card {
  max-width: var(--max);
  margin: 0 auto clamp(60px, 7vw, 100px);
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--warn-soft);
  border-left: 4px solid var(--warn);
  border-radius: 14px;
  background: var(--paper-warm);
}
.disclaimer-card .disclaimer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.disclaimer-card .disclaimer-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--warn-soft);
  color: var(--warn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.disclaimer-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.disclaimer-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 720px;
}
.disclaimer-card p:last-child { margin-bottom: 0; }
.disclaimer-card .disclaimer-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

section.disclaimer-section {
  background: transparent;
  border: none;
  padding: 0 var(--gutter);
}

/* Creator card */
.creator-section {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.creator-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 800px) {
  .creator-inner { grid-template-columns: 1fr; }
}
.creator-image {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-bg);
  border: 1px solid var(--rule);
}
.creator-image img { width: 100%; height: 100%; object-fit: cover; }
.creator-content .section-label { margin-bottom: 14px; display: block; }
.creator-content h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.creator-content h2 em { font-style: italic; color: var(--accent); }
.creator-content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 600px;
}
.creator-credentials {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 18px;
  line-height: 1.7;
}

/* Contact page specific */
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: 32px 28px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--paper-card);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.contact-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.contact-card .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.contact-card .contact-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  word-break: break-word;
}

.feedback-strip {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.feedback-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
@media (max-width: 700px) { .feedback-inner { grid-template-columns: 1fr; } }
.feedback-inner h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.feedback-inner h2 em { font-style: italic; color: var(--accent); }
.feedback-inner p {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.5;
}

/* ============== SEARCH SECTION (Resources page) ============== */
section.search-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(48px, 6vw, 80px);
}
.search-wrap {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 48px);
}
.search-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.search-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.search-head h2 em { font-style: italic; color: var(--accent); }
.search-head .search-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.5;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  padding: 6px 6px 6px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 24px;
}
.search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(27, 77, 161, 0.08);
}
.search-input-wrap .search-icon {
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
}
.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  padding: 14px 0;
  color: var(--ink);
  min-width: 0;
}
.search-input-wrap input::placeholder { color: var(--muted-soft); }
.search-input-wrap .search-clear {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  font-size: 18px;
  border-radius: 6px;
  display: none;
}
.search-input-wrap.has-value .search-clear { display: inline-flex; }

.search-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}
.search-targets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
@media (max-width: 760px) { .search-targets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .search-targets { grid-template-columns: 1fr; } }

.search-target {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  text-decoration: none;
}
.search-target:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.search-target:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.search-target .t-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.search-target .t-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.search-target .t-name {
  font-weight: 500;
  font-size: 14px;
}
.search-target .t-detail {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.search-target .t-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
}

.search-target.group-foam .t-icon { background: var(--accent-soft); color: var(--accent); }
.search-target.group-research .t-icon { background: var(--good-soft); color: var(--good); }

.search-tip {
  font-size: 12px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.search-tip i { color: var(--muted-soft); font-size: 14px; flex-shrink: 0; margin-top: 2px; }


/* ============== TOPIC GRID (Resources page) ============== */
section.topics {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .topic-grid { grid-template-columns: 1fr; } }

.topic {
  padding: 24px 22px 20px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  font-family: inherit;
}
.topic:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.topic:hover .topic-arrow { transform: translateX(3px); opacity: 1; color: var(--accent); }
.topic .topic-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 16px;
}
.topic h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.topic p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
}
.topic-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topic-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  opacity: 0.4;
  transition: all 0.2s;
}


/* ============== SUBSCRIBE STRIP ============== */
section.subscribe {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.subscribe-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 800px) { .subscribe-inner { grid-template-columns: 1fr; } }
.subscribe-content .section-label {
  display: block;
  margin-bottom: 12px;
}
.subscribe-content h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.subscribe-content h2 em { font-style: italic; color: var(--accent); }
.subscribe-content p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 460px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.subscribe-input-row {
  display: flex;
  gap: 8px;
  background: var(--paper-card);
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  padding: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subscribe-input-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(27, 77, 161, 0.08);
}
.subscribe-input-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  padding: 12px 14px;
  color: var(--ink);
  min-width: 0;
}
.subscribe-input-row input::placeholder { color: var(--muted-soft); }
.subscribe-input-row button {
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.subscribe-input-row button:hover { background: var(--accent); }
.subscribe-fine {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.subscribe-msg {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
}
.subscribe-msg.success { background: var(--good-soft); color: var(--good); border: 1px solid rgba(47, 107, 62, 0.2); display: block; }
.subscribe-msg.error { background: var(--warn-soft); color: var(--warn); border: 1px solid rgba(184, 74, 44, 0.2); display: block; }

/* ============== RESOURCE LIBRARY (Resources page) ============== */
section.library {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(48px, 6vw, 80px);
}
.library-header {
  margin-bottom: 32px;
}
.library-header .section-label { margin-bottom: 10px; display: block; }
.library-header h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.library-header h2 em { font-style: italic; color: var(--accent); }
.library-header p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 580px;
}

.library-topic {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 80px;
}
.library-topic:first-of-type { border-top: none; padding-top: 0; }
@media (max-width: 800px) {
  .library-topic { grid-template-columns: 1fr; gap: 20px; }
}

.library-topic-info {
  display: flex;
  flex-direction: column;
}
.library-topic-info .topic-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.library-topic-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.library-topic-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.library-topic-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  align-content: start;
}
@media (max-width: 1000px) { .library-topic-links { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .library-topic-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .library-topic-links { grid-template-columns: 1fr; } }

.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
  transition: all 0.2s;
  font-family: var(--font-body);
}
.resource-link:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.resource-link .r-name {
  font-weight: 400;
  line-height: 1.3;
}
.resource-link .r-arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.2s;
}
.resource-link:hover .r-arrow { color: var(--accent); }


/* ============== RESEARCH ASSISTANT FEATURE ============== */
section.research-assistant {
  background: var(--dark-bg);
  color: var(--paper);
  border-top: 1px solid var(--rule);
}
.ra-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 800px) {
  .ra-inner { grid-template-columns: 1fr; }
}
.ra-visual {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ra-visual .ra-icon-wrap {
  text-align: center;
  padding: 32px;
}
.ra-visual .ra-icon {
  font-size: 64px;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.ra-visual .ra-icon-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 26px;
  color: var(--paper);
}
.ra-content .section-label { color: var(--muted-soft); display: block; margin-bottom: 12px; }
.ra-content h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.8vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 16px;
}
.ra-content h2 em {
  font-style: italic;
  color: #88B0EE;
}
.ra-databases {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-soft);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.ra-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #B5B2AB;
  margin-bottom: 28px;
  max-width: 460px;
}
.ra-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--accent);
  color: var(--paper);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid var(--accent);
}
.ra-cta:hover {
  background: transparent;
  color: var(--paper);
  transform: translateY(-1px);
}
.ra-status {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warn);
  margin-left: 12px;
  padding: 4px 10px;
  background: var(--warn-soft);
  border-radius: 100px;
}


/* Topic browse cards (small chips at top) — make them anchor-link cards */
.topic[href] {
  text-decoration: none;
  color: inherit;
  display: flex;
}

/* ============== ED BRIEFS ============== */
section.briefs-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(48px, 6vw, 80px);
}
.briefs-intro {
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 36px);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) { .briefs-intro { grid-template-columns: 1fr; } }
.briefs-intro-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.briefs-intro-block .value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
}

.briefs-category {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.briefs-category:last-child { margin-bottom: 0; }
.briefs-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  gap: 16px;
  flex-wrap: wrap;
}
.briefs-category-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.briefs-category-name em { font-style: italic; color: var(--accent); }
.briefs-category-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.briefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 800px) { .briefs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .briefs-grid { grid-template-columns: 1fr; } }

.brief-card {
  padding: 20px 18px 16px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.brief-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.brief-card.coming {
  cursor: default;
  opacity: 0.7;
}
.brief-card.coming:hover {
  border-color: var(--rule);
  transform: none;
}

.brief-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 8px;
}
.brief-type {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.brief-status {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.brief-status.live { background: var(--good-soft); color: var(--good); }
.brief-status.coming { background: var(--warn-soft); color: var(--warn); }
.brief-status.draft { background: var(--accent-soft); color: var(--accent); }

.brief-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.brief-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
}
.brief-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.brief-readtime {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.brief-readtime i { font-size: 13px; }
.brief-arrow {
  opacity: 0.4;
  font-family: var(--font-mono);
  transition: all 0.2s;
}
.brief-card:not(.coming):hover .brief-arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--accent);
}

/* ============== CLINICIAN INSIGHT CAROUSEL ============== */
.endorsement-inner .section-label {
  text-align: center;
  display: block;
  margin-bottom: 40px;
}
.testimonial-carousel {
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}
.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: 0 6px;
}
@media (max-width: 720px) {
  .testimonial { grid-template-columns: 1fr; gap: 20px; }
}

.testimonial-author {
  padding-top: 8px;
}
.testimonial-author .cite-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.015em;
  color: var(--accent);
  line-height: 1.15;
  margin-bottom: 8px;
}
.testimonial-author .cite-role {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.testimonial blockquote {
  position: relative;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  margin: 0;
  padding-left: 36px;
}
.testimonial blockquote::before {
  content: "\201C";
  position: absolute;
  left: -4px;
  top: -12px;
  font-size: 64px;
  color: var(--rule-strong);
  font-family: var(--font-display);
  line-height: 1;
}
@media (max-width: 720px) {
  .testimonial blockquote { padding-left: 0; padding-top: 28px; }
  .testimonial blockquote::before { left: -2px; top: 0; font-size: 48px; }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--rule-strong);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.carousel-dots .dot:hover { background: var(--muted); }
.carousel-dots .dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============== SEARCH ALL SOURCES (primary button) ============== */
.search-all {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
  background: var(--accent);
  color: var(--paper);
  border: 1px solid var(--accent);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.search-all:hover {
  background: var(--accent-deep, #163d80);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 77, 161, 0.25);
}
.search-all i {
  font-size: 24px;
  flex-shrink: 0;
}
.search-all span {
  white-space: nowrap;
}
.search-all .search-all-detail {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.02em;
  margin-left: auto;
  white-space: normal;
  text-align: right;
}
@media (max-width: 600px) {
  .search-all { flex-wrap: wrap; gap: 8px; }
  .search-all .search-all-detail { margin-left: 36px; text-align: left; }
}

/* ============== NAV DROPDOWN ============== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: inherit;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--accent); }
.nav-dropdown-trigger .caret {
  font-size: 10px;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-trigger .caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 210px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 20, 18, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}
/* invisible hover bridge so the menu doesn't close in the gap */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink) !important;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--paper-warm);
  color: var(--accent) !important;
}
.nav-soon {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warn);
  background: var(--warn-soft);
  padding: 2px 7px;
  border-radius: 100px;
}
@media (max-width: 768px) {
  .nav-dropdown { display: none; }
}

/* ============== MOBILE MENU ============== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 70;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper);
  z-index: 65;
  padding: 88px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu a:active { color: var(--accent); }
.mobile-menu .mm-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 24px 0 4px;
  border: none;
}
.mobile-menu a.mm-sub {
  font-size: 22px;
  padding-left: 16px;
  color: var(--ink-soft);
}
.mobile-menu a.mm-sub .nav-soon {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warn);
  background: var(--warn-soft);
  padding: 2px 7px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 8px;
}
.mobile-menu a.mm-cta {
  margin-top: 28px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  border-radius: 100px;
  border-bottom: none;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  padding: 16px;
}
.mobile-menu a.mm-cta:active { background: var(--accent); color: var(--paper); }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
}
