/* Shared styles for the landing (/) and /ready. */
:root {
  --navy:        #1E3A8A;
  --navy-deep:   #0F1F4A;
  --navy-ink:    #081530;
  --navy-soft:   #2F4FBF;
  --teal:        #14B8A6;
  --teal-soft:   #5EEAD4;
  --teal-glow:   rgba(20, 184, 166, 0.35);
  --amber:       #F59E0B;
  --amber-soft:  #FCD34D;
  --cream:       #FAF7F2;
  --cream-warm:  #F3EFE7;
  --paper:       #FFFFFF;
  --ink:         #0A1929;
  --ink-soft:    #1E293B;
  --muted:       #64748B;
  --muted-soft:  #94A3B8;
  --line:        #E2E8F0;
  --line-dark:   rgba(255,255,255,0.08);

  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 25, 41, 0.04), 0 1px 3px rgba(10, 25, 41, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 25, 41, 0.06), 0 10px 30px rgba(10, 25, 41, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 25, 41, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.35rem; font-variation-settings: "opsz" 36; }

em.accent {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}

p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--navy);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--teal-soft); }
.eyebrow.on-dark::before { background: var(--teal-soft); }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(250, 247, 242, 0.92); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: grid; place-items: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 -2px 4px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(94, 234, 212, 0.5), transparent 60%);
}
.logo-mark svg { position: relative; z-index: 1; }
.logo strong { font-weight: 600; }

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}
.footer-logo-img { height: 32px; }
@media (max-width: 640px) {
  .logo-img { height: 26px; }
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
/* "For societies & congresses": the long part needs the room it has from 901px up. */
@media (max-width: 900px) {
  .nav-long { display: none; }
}
/* 641–760px: five links, the logo and the button still fit on one row. */
@media (min-width: 641px) and (max-width: 760px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.86rem; }
  .nav-inner > .btn-sm { padding: 8px 12px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-deep);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--navy-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-teal {
  background: var(--teal);
  color: white;
}
.btn-teal:hover {
  background: #0ea693;
  transform: translateY(-1px);
}
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(2px); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(94, 234, 212, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(30, 58, 138, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 580px; }
.hero h1 {
  margin-top: 22px;
  margin-bottom: 24px;
}
.hero h1 .underline-accent {
  position: relative;
  display: inline-block;
}
.hero h1 .underline-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 6px;
  height: 10px;
  background: var(--teal-soft);
  z-index: -1;
  border-radius: 2px;
  transform: skew(-6deg);
  opacity: 0.55;
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 540px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero — choose your path */
.hero .container { position: relative; z-index: 1; }
.hero-head { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-head .eyebrow { justify-content: center; }
.hero-head p.lead { margin: 0 auto; }
.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 48px auto 0;
}
.path-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 58, 138, 0.25);
}
.path-card.is-primary { border-color: rgba(20, 184, 166, 0.5); }
.path-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: rgba(30, 58, 138, 0.07);
  display: grid; place-items: center;
  color: var(--navy);
  margin-bottom: 6px;
}
.path-icon svg { width: 22px; height: 22px; stroke-width: 1.6; }
.path-card h3 { font-size: 1.35rem; }
.path-card p { color: var(--muted); font-size: 0.97rem; }
.path-cta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.path-card:hover .path-cta { gap: 10px; }

/* Hero constellation visual */
.constellation {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
.constellation-grid {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}
.constellation-node {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: nodeFade 0.7s both;
}
.constellation-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.constellation-node.is-link {
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.constellation-node.is-link:hover {
  border-color: rgba(20, 184, 166, 0.55);
}
.constellation-node.is-link .node-name { transition: color 0.2s; }
.constellation-node.is-link:hover .node-name { color: var(--navy); }
/* small arrow that appears on hover to signal "go" */
.constellation-node.is-link::after {
  content: "→";
  position: absolute;
  top: 12px;
  right: 13px;
  font-size: 0.85rem;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 0.2s, transform 0.2s;
}
.constellation-node.is-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}
@keyframes nodeFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.constellation-node .node-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.2;
}
.constellation-node .node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  align-self: flex-end;
}
.constellation-node.live { border-color: rgba(20, 184, 166, 0.35); }
.constellation-node.live .node-dot { background: var(--teal); box-shadow: 0 0 0 4px var(--teal-glow); animation: pulse 2.4s ease-in-out infinite; }
.constellation-node.in-progress .node-dot { background: var(--amber); }
.constellation-node.planned .node-dot { background: var(--muted-soft); }
.constellation-node.planned { opacity: 0.78; }
.constellation-node.center {
  background: var(--navy-deep);
  color: white;
  border: none;
  display: grid;
  place-items: center;
  text-align: center;
}
.constellation-node.center .logo-mark { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 8px; }
.constellation-node.center .node-name { color: white; font-size: 1rem; }
.constellation-node.center .node-sub { font-size: 0.72rem; color: var(--muted-soft); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.node-logo-mark { height: 38px; width: auto; margin: 0 auto 8px; display: block; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--teal-glow); }
  50% { box-shadow: 0 0 0 9px rgba(20, 184, 166, 0.08); }
}

/* ---------- PROBLEM ---------- */
.problem {
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.section-header { max-width: 720px; margin-bottom: 56px; }
.section-header h2 { margin: 18px 0 16px; }
.section-header p { font-size: 1.08rem; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 58, 138, 0.2);
}
.problem-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
}
.problem-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.problem-card p { font-size: 0.97rem; color: var(--muted); }

/* ---------- TOOLS ---------- */
.tools-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--navy-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.tools-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(94, 234, 212, 0.08), transparent 60%);
  pointer-events: none;
}
.tools-section .container { position: relative; z-index: 1; }
.tools-section h2 { color: white; }
.tools-section .section-header p { color: rgba(255,255,255,0.72); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tool-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.05), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.tool-card:hover::before { opacity: 1; }
.tool-card.is-live { border-color: rgba(20, 184, 166, 0.45); }
.tool-card.is-live::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.tool-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.tool-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.18);
  display: grid;
  place-items: center;
  color: var(--teal-soft);
  flex-shrink: 0;
}
.tool-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-badge .status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.status-live {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-soft);
}
.status-live .status-dot { background: var(--teal); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25); animation: pulse 2.4s ease-in-out infinite; }
.status-progress {
  background: rgba(245, 158, 11, 0.13);
  color: var(--amber-soft);
}
.status-progress .status-dot { background: var(--amber); }
.status-planned {
  background: rgba(148, 163, 184, 0.12);
  color: var(--muted-soft);
}
.status-planned .status-dot { background: var(--muted-soft); }

.tool-card h3 {
  color: white;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
}
.tool-tagline {
  font-size: 0.92rem;
  color: var(--teal-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: -8px;
}
.tool-subtitle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
  margin-bottom: 8px;
}
.tool-card p.tool-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.55;
  flex: 1;
}
.tool-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tool-audience {
  font-size: 0.78rem;
  color: var(--muted-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tool-cta {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--teal-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.tool-cta:hover { gap: 10px; color: white; }
.tool-cta.disabled { color: var(--muted-soft); cursor: default; pointer-events: none; }
/* Whole card clickable: the card's own "Use … alone" link stretches over the
   card (one link per card, focus stays on the real link). */
.tool-card .tool-cta:not(.disabled)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
}
.tool-card:hover .tool-cta:not(.disabled) { gap: 10px; color: white; }
.tool-card .tool-cta:not(.disabled):focus-visible::after { box-shadow: inset 0 0 0 2px var(--teal-soft); }
.tool-card:has(.tool-cta:not(.disabled):focus-visible) {
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
/* A tool named in running text links to that tool. */
.tool-mention { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.tool-mention:hover { color: var(--navy-soft); }

/* ---------- JOURNEY ---------- */
.journey {
  padding: clamp(80px, 10vw, 130px) 0;
}
.journey-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.journey-list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy), var(--teal) 50%, transparent);
  opacity: 0.25;
}
.journey-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding: 22px 0;
  align-items: start;
}
.journey-step + .journey-step { border-top: 1px solid var(--line); }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.step-content p {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.step-tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(30, 58, 138, 0.07);
  color: var(--navy);
  border: 1px solid rgba(30, 58, 138, 0.12);
}
.step-tool-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- ABOUT ---------- */
.about {
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--navy-deep);
  line-height: 1.35;
  letter-spacing: -0.01em;
  padding-left: 24px;
  border-left: 2px solid var(--teal);
  margin-bottom: 24px;
}
.about-cite {
  font-size: 0.95rem;
  color: var(--muted);
}
.about-cite strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: white; }
.footer-brand p { color: rgba(255,255,255,0.55); margin-top: 16px; max-width: 320px; font-size: 0.9rem; }
.footer-col h4 {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.62); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-soft); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

/* ---------- MICROCREDENTIAL ---------- */
.microcredential {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--cream);
}
.micro-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
}
.micro-content h2 {
  margin: 16px 0 6px;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}
.micro-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--amber);
  margin-bottom: 18px;
}
.micro-desc {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 24px;
}
.micro-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.micro-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--cream-warm);
  color: var(--navy-deep);
  border: 1px solid var(--line);
}
.micro-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.micro-badge {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--amber) 0%, #E8890B 100%);
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}
.micro-badge svg { width: 52px; height: 52px; }
.micro-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) {
  .micro-card { grid-template-columns: 1fr; gap: 28px; }
  .micro-aside { flex-direction: row; justify-content: flex-start; }
  .micro-badge { width: 72px; height: 72px; border-radius: 16px; }
  .micro-badge svg { width: 34px; height: 34px; }
}

/* ---------- PHASE 1 — provisional styles for the PubFit Ready layout ---------- */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy-deep); color: white; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
.hero-head h1 { margin: 22px 0 24px; }
.hero-actions { justify-content: center; margin-top: 32px; }

.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-list {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 36px; padding: 22px 0; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
}
.trust-list li { display: inline-flex; align-items: center; gap: 10px; }
.trust-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.tool-num {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300;
  font-size: 2rem; line-height: 1; color: var(--teal-soft);
}
.tool-card .tool-tagline { margin-top: 6px; }
.ready-band {
  margin-top: 32px; padding: 28px 32px; border-radius: var(--radius);
  border: 1px solid rgba(94, 234, 212, 0.35); background: rgba(255, 255, 255, 0.05);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.ready-band p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; max-width: 640px; }
.ready-band strong { color: white; }

.journey-list { list-style: none; }

.pricing { padding: clamp(60px, 8vw, 110px) 0; background: var(--cream-warm); border-top: 1px solid var(--line); }
.pricing-grid, .society-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.price-card, .society-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.price-list { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-list li { padding-left: 18px; position: relative; color: var(--ink-soft); }
.price-list li::before { content: "—"; position: absolute; left: 0; color: var(--teal); }

.societies { padding: clamp(60px, 8vw, 110px) 0; }
.society-card p { color: var(--muted); flex: 1; }
.society-cta { font-weight: 500; color: var(--navy); }

.sample { padding: clamp(60px, 8vw, 110px) 0; background: var(--cream-warm); border-top: 1px solid var(--line); }
.sample-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.sample-inner h2 { margin: 18px 0 24px; }
.sample-note { color: var(--muted); margin-bottom: 24px; }
.sample-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-md); }
.sample-frame img { width: 100%; height: auto; display: block; }

.micro-compact { grid-template-columns: 1fr; padding: clamp(28px, 4vw, 40px); }
.micro-compact .micro-desc { margin-bottom: 16px; }

.faq { padding: clamp(60px, 8vw, 110px) 0; }
.faq-inner { max-width: 820px; }
.faq-list details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style-position: outside; }
.faq-list details p { margin-top: 10px; color: var(--muted); }

.closing { padding: clamp(60px, 8vw, 110px) 0; text-align: center; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .pricing-grid, .society-grid, .sample-inner { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .constellation { margin: 0 auto; max-width: 420px; }
  .problem-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .path-cards { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .journey-step { grid-template-columns: 44px 1fr; gap: 18px; }
  .step-num { width: 44px; height: 44px; font-size: 1.05rem; }
  .journey-list::before { left: 21px; }
}

/* ---------- KEYBOARD FOCUS ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
/* Links and buttons on dark surfaces */
.tools-section a:focus-visible,
footer a:focus-visible {
  outline-color: var(--teal-soft);
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-live .status-dot,
  .constellation-node,
  .constellation-node.live .node-dot { animation: none; }
  .nav, .nav-links a, .btn, .btn svg, .path-card, .path-cta, .constellation-node,
  .constellation-node.is-link::after, .problem-card, .tool-card, .tool-card::before,
  .tool-cta, .footer-col a { transition: none; }
  .btn-primary:hover, .btn-teal:hover, .btn:hover svg, .path-card:hover,
  .constellation-node:hover, .problem-card:hover, .tool-card:hover { transform: none; }
}
