:root {
  /* Brand — aligned with the post-login hub design system (aqua + ink). */
  --fm-primary: #0A6E82;
  --fm-primary-dark: #0E1A24;
  --fm-primary-light: #E3F2F5;
  --fm-secondary: #0E8FA8;
  --fm-accent: #D07C3E;
  --fm-accent-warm: #D07C3E;

  /* Neutrals */
  --fm-bg: #ffffff;
  --fm-surface-1: #FAFBFC;
  --fm-surface-2: #F3F6F8;
  --fm-border-subtle: #EAEEF1;
  --fm-border-default: #DEE4E8;
  --fm-border-strong: #C3CDD4;

  /* Text */
  --fm-text: #0E1A24;
  --fm-text-secondary: #33454F;
  --fm-text-muted: #64757F;
  --fm-text-disabled: #93A3AC;
  --fm-text-on-dark: #ffffff;
  --fm-text-on-dark-muted: rgba(255,255,255,0.72);

  /* Semantic */
  --fm-success: #159A6B;
  --fm-warning: #B4832F;
  --fm-error: #a8281c;
  --fm-info: #0A6E82;

  /* SST map gradient stops */
  --fm-sst-cold: #123a52;
  --fm-sst-cool: #2a7c90;
  --fm-sst-mid: #5f9c86;
  --fm-sst-transition: #8db085;
  --fm-sst-warm: #c98a3f;
  --fm-sst-warmer: #ab5c33;
  --fm-sst-hot: #82412d;

  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --max-w: 1160px;
  --shadow: 0 1px 3px rgba(14,26,36,.05), 0 6px 20px rgba(14,26,36,.08);
  --shadow-lg: 0 4px 10px rgba(14,26,36,.07), 0 16px 40px rgba(14,26,36,.12);

  /* Compatibility tokens used by generated briefing pages. */
  --ink: var(--fm-text);
  --muted: var(--fm-text-muted);
  --paper: var(--fm-bg);
  --paper-strong: var(--fm-bg);
  --line: var(--fm-border-default);
  --deep: var(--fm-primary);
  --deep-2: var(--fm-primary-dark);
  --water: var(--fm-secondary);
  --current: var(--fm-success);
  --gold: var(--fm-sst-warm);
  --white: var(--fm-bg);
  --navy: var(--fm-primary-dark);
  --navy-2: var(--fm-primary);
  --gray: var(--fm-text-muted);
  --mahi-dk: var(--fm-success);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fm-text);
  background: var(--fm-bg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

.container {
  width: min(100% - 40px, var(--max-w));
  margin: 0 auto;
}

.centered {
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--fm-text-muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--fm-text);
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 6.8vw, 6.2rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.45rem);
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
}

h4 {
  font-size: 1.08rem;
  line-height: 1.18;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.nav-cta {
  background: var(--fm-primary);
  color: var(--fm-text-on-dark);
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--fm-primary-dark);
  box-shadow: 0 12px 28px rgba(14, 26, 36, 0.20);
}

.btn-secondary {
  border-color: var(--fm-primary);
  background: transparent;
  color: var(--fm-primary);
}

.btn-secondary:hover {
  background: var(--fm-primary-light);
}

.btn-large {
  min-height: 52px;
  padding: 14px 22px;
}

.text-link {
  color: var(--fm-primary);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 20px;
  background: var(--fm-primary-dark);
  color: var(--fm-text-on-dark);
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
}

#nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid var(--fm-border-subtle);
  background: var(--fm-bg);
}

.nav-logo {
  color: var(--fm-primary);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 800;
}

.nav-logo span {
  color: var(--fm-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--fm-text-secondary);
  font-size: 0.83rem;
  font-weight: 800;
}

.nav-links a:not(.btn):hover {
  color: var(--fm-primary);
}

.nav-login {
  border-color: var(--fm-border-default);
  background: var(--fm-bg);
  color: var(--fm-primary);
}

.nav-login:hover {
  border-color: var(--fm-primary);
  background: var(--fm-primary-light);
}

.nav-cta {
  color: var(--fm-text-on-dark);
}

.hero-section {
  padding: 44px 0 76px;
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.12fr) minmax(360px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid #cfe6ea;
  border-radius: 999px;
  background: var(--fm-primary-light);
  color: var(--fm-primary);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 6px 12px;
}

.hero-copy h1 {
  margin-top: 16px;
  max-width: 620px;
  font-size: clamp(2.45rem, 4.5vw, 4.75rem);
}

.hero-copy h1 span {
  color: var(--fm-primary);
}

.hero-sub {
  max-width: 620px;
  margin-top: 18px;
  color: var(--fm-text-secondary);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  font-weight: 600;
}

.hero-cta-card {
  max-width: 590px;
  margin-top: 26px;
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-surface-1);
  padding: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fineprint {
  margin-top: 12px;
  color: var(--fm-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.first-run-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.first-run-list li {
  display: grid;
  grid-template-columns: minmax(104px, auto) minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--fm-border-subtle);
  padding-top: 10px;
}

.first-run-list strong {
  color: var(--fm-primary-dark);
  font-size: 0.9rem;
}

.first-run-list span {
  color: var(--fm-text-secondary);
  font-size: 0.9rem;
}

.hero-map-embed {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--fm-border-default);
  border-radius: 8px;
  background: #f5f3ed;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 708 / 470;
}

.hero-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f5f3ed;
}

.daily-read-section {
  border-top: 1px solid var(--fm-border-subtle);
  border-bottom: 1px solid var(--fm-border-subtle);
  background: var(--fm-surface-1);
}

.daily-read-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.88fr));
  gap: 18px;
  margin-top: 28px;
}

.daily-read-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-bg);
  padding: 24px;
}

.daily-read-card h3 {
  font-size: clamp(1.32rem, 2vw, 1.9rem);
}

.daily-read-card p:not(.read-label) {
  color: var(--fm-text-secondary);
  font-size: 0.98rem;
  font-weight: 650;
}

.chlorophyll-card {
  border-color: rgba(28, 71, 105, 0.26);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.read-label {
  color: var(--fm-primary);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.read-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.read-actions.compact {
  flex-direction: column;
  gap: 8px;
}

.chart-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--fm-border-default);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #1c4769 0%, #3a6d8c 22%, #6a98ad 38%, #8db085 52%, #c8b450 66%, #c47a3a 82%, #a8281c 100%);
  box-shadow: var(--shadow);
}

.chart-map::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
}

.chart-map::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: 48%;
  height: 2px;
  background: rgba(255,255,255,0.76);
  transform: rotate(-13deg);
  box-shadow: 0 68px 0 rgba(255,255,255,0.38), 0 -82px 0 rgba(255,255,255,0.28);
}

.map-label,
.map-callout {
  position: absolute;
  z-index: 2;
  border-radius: 4px;
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.15;
}

.map-label {
  background: rgba(255,255,255,0.84);
  color: var(--fm-primary-dark);
  font-size: 0.9rem;
  padding: 6px 9px;
}

.map-callout {
  right: 15%;
  top: 38%;
  background: var(--fm-accent);
  color: var(--fm-text-on-dark);
  font-size: 0.95rem;
  padding: 9px 12px;
}

.map-mc { left: 12%; top: 26%; }
.map-ds { right: 12%; top: 28%; }
.map-spur { left: 42%; bottom: 30%; }

.temp-scale {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.56);
  border-radius: 6px;
  background: rgba(255,255,255,0.78);
  color: var(--fm-primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 10px 12px;
}

.section {
  padding: 88px 0;
}

.pillars-section,
.onboarding-section,
.gulf-focus-section,
.founding-section,
.map-promise-section,
.layers-feature-section,
.difference-section,
.science-section {
  border-top: 1px solid var(--fm-border-subtle);
  background: var(--fm-bg);
}

.map-promise-section,
.science-section,
.education-section,
.feature-inventory-section,
.briefing-snippet-section {
  background: var(--fm-surface-1);
}

.promise-grid,
.science-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: start;
}

.promise-copy {
  display: grid;
  gap: 16px;
  color: var(--fm-text-secondary);
  font-size: 1.08rem;
  font-weight: 600;
}

.layer-category {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--fm-border-subtle);
  padding-top: 28px;
  margin-top: 28px;
}

.layer-category > div:first-child span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--fm-primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.layer-category > div:first-child h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
}

.layer-category > div:first-child p,
.science-grid p {
  margin-top: 12px;
  color: var(--fm-text-secondary);
  font-size: 1rem;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.intelligence-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card-grid article,
.science-card {
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-bg);
  padding: 20px;
}

.feature-card-grid p {
  margin-top: 9px;
  color: var(--fm-text-secondary);
  font-size: 0.95rem;
  line-height: 1.48;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.education-feature-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.98)),
    linear-gradient(135deg, rgba(28,71,105,0.16), rgba(46,125,79,0.14) 42%, rgba(196,122,58,0.14));
  padding: 24px;
}

.education-feature-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  border: 18px solid rgba(28, 71, 105, 0.08);
  border-radius: 50%;
}

.education-feature-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--fm-primary);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.education-feature-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.education-feature-card p {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--fm-text-secondary);
  font-size: 0.98rem;
  font-weight: 650;
}

.feature-inventory-section {
  border-top: 1px solid var(--fm-border-subtle);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.inventory-grid article {
  min-height: 260px;
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-bg);
  padding: 22px;
}

.inventory-grid span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(28, 71, 105, 0.18);
  border-radius: 999px;
  background: var(--fm-primary-light);
  color: var(--fm-primary-dark);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.inventory-grid h3 {
  margin-top: 18px;
  font-size: clamp(1.16rem, 1.8vw, 1.55rem);
}

.inventory-grid p {
  margin-top: 12px;
  color: var(--fm-text-secondary);
  font-size: 0.96rem;
  font-weight: 650;
}

.science-guide-link {
  margin-top: 24px;
}

.science-card h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
}

.science-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--fm-text-secondary);
  font-weight: 700;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.pillar-grid article,
.briefing-card,
.trust-cards article {
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-bg);
}

.pillar-grid article {
  min-height: 260px;
  padding: 30px;
}

.pillar-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--fm-primary);
  font-weight: 900;
}

.pillar-grid h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}

.pillar-grid p,
.gulf-focus-section p,
.trust-intro p,
.founding-copy p {
  margin-top: 16px;
  color: var(--fm-text-secondary);
  font-size: 1.02rem;
}

.trust-section,
.onboarding-section {
  background: var(--fm-surface-1);
}

.onboarding-grid-home {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: start;
}

.onboarding-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--fm-text-secondary);
  font-size: 1.04rem;
}

.onboarding-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.onboarding-path article {
  min-height: 150px;
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-bg);
  padding: 20px;
}

.onboarding-path span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--fm-primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.onboarding-path strong {
  display: block;
  color: var(--fm-text);
  font-size: 1.05rem;
}

.onboarding-path p {
  margin-top: 8px;
  color: var(--fm-text-secondary);
  font-size: 0.94rem;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.briefing-card {
  padding: 32px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}

.briefing-card h3 {
  max-width: 880px;
  color: var(--fm-primary);
}

.briefing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
  color: var(--fm-text-muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.status-pill {
  border-radius: 999px;
  padding: 4px 10px;
}

.status-pill.ready {
  background: rgba(46, 125, 79, 0.12);
  color: var(--fm-success);
}

.briefing-card p:not(.eyebrow) {
  max-width: 820px;
  color: var(--fm-text-secondary);
  font-size: 1rem;
}

.briefing-card p + p {
  margin-top: 12px;
}

.focus-grid,
.founding-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1fr);
  gap: 56px;
  align-items: center;
}

.focus-map {
  min-height: 430px;
}

.trust-intro {
  max-width: 840px;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.trust-cards article {
  padding: 24px;
  border-left-width: 5px;
}

.trust-cards h3 {
  font-size: 1.45rem;
}

.trust-cards p {
  margin-top: 10px;
  color: var(--fm-text-secondary);
}

.trust-ready {
  border-left-color: var(--fm-success);
}

.trust-ready h3 {
  color: var(--fm-success);
}

.trust-degraded {
  border-left-color: var(--fm-warning);
}

.trust-degraded h3 {
  color: var(--fm-warning);
}

.trust-blocked {
  border-left-color: var(--fm-accent);
}

.trust-blocked h3 {
  color: var(--fm-accent);
}

.founding-grid {
  align-items: start;
}

.founding-note {
  border-top: 1px solid var(--fm-border-subtle);
  margin-top: 24px !important;
  padding-top: 18px;
  color: var(--fm-text-muted) !important;
  font-size: 0.94rem !important;
}

.access-box {
  border-radius: 8px;
  background: var(--fm-primary);
  color: var(--fm-text-on-dark);
  padding: 32px;
}

.access-box .eyebrow,
.access-box p,
.access-box li {
  color: var(--fm-text-on-dark-muted);
}

.access-box h3 {
  color: var(--fm-text-on-dark);
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.access-button {
  width: 100%;
  margin-top: 24px;
  background: var(--fm-bg);
  color: var(--fm-primary);
}

.access-email-form,
.access-profile-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.access-email-form label,
.access-profile-form label {
  display: grid;
  gap: 6px;
  color: var(--fm-text-on-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.access-email-form input,
.access-profile-form input,
.access-profile-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 6px;
  background: rgba(255,255,255,0.96);
  color: var(--fm-text);
  font: inherit;
  padding: 10px 12px;
}

.access-profile-form textarea {
  min-height: 84px;
  resize: vertical;
}

.access-email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.access-email-row .access-button,
.access-profile-form .access-button {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.access-google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  width: 100%;
}

.access-login-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 6px;
  color: var(--fm-text-on-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.access-login-link:hover {
  background: rgba(255,255,255,0.12);
}

.access-fineprint {
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.access-divider {
  height: 1px;
  margin: 26px 0;
  background: rgba(255,255,255,0.22);
}

.access-label {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-box ul {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.article-page {
  background: var(--fm-bg);
}

.article-hero {
  padding: 76px 0 66px;
  border-bottom: 1px solid var(--fm-border-subtle);
  background:
    linear-gradient(180deg, rgba(247,250,252,0.96), rgba(255,255,255,0.98)),
    url("/images/blue-marlin-hero.jpg") center/cover;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 42px;
  align-items: end;
}

.article-hero h1 {
  max-width: 860px;
  font-size: clamp(2.75rem, 5vw, 5.4rem);
}

.article-lede {
  max-width: 760px;
  margin-top: 20px;
  color: var(--fm-text-secondary);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  font-weight: 650;
}

.article-summary-box {
  border: 1px solid rgba(28, 71, 105, 0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
  padding: 24px;
  box-shadow: var(--shadow);
}

.article-summary-box h2 {
  font-family: var(--sans);
  font-size: 1.08rem;
}

.article-summary-box ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--fm-text-secondary);
  font-weight: 750;
}

.article-body {
  padding: 70px 0 90px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-surface-1);
  padding: 18px;
}

.article-toc a {
  color: var(--fm-text-secondary);
  font-size: 0.9rem;
  font-weight: 850;
}

.article-toc a:hover {
  color: var(--fm-primary);
}

.article-content {
  display: grid;
  gap: 22px;
}

.water-guide-section {
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-bg);
  padding: 32px;
}

.water-guide-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.water-guide-section h3 {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
}

.water-guide-section p,
.water-guide-section li {
  color: var(--fm-text-secondary);
  font-size: 1rem;
  font-weight: 620;
}

.water-guide-section p {
  margin-top: 12px;
}

.water-guide-section ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.map-note {
  margin-top: 24px;
  border-left: 4px solid var(--fm-primary);
  background: var(--fm-surface-1);
  padding: 16px 18px;
}

.map-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--fm-primary-dark);
}

.sources-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.captain-share-page {
  background: var(--fm-bg);
}

.share-hero {
  padding: 84px 0 74px;
  border-bottom: 1px solid var(--fm-border-subtle);
  background: var(--fm-bg);
}

.share-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.55fr);
  gap: 48px;
  align-items: start;
}

.share-lede {
  max-width: 760px;
  margin: 22px 0 28px;
  color: var(--fm-text-secondary);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  font-weight: 650;
}

.share-card {
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-surface-1);
  padding: 26px;
}

.share-card h2 {
  font-family: var(--sans);
  font-size: 1.2rem;
}

.share-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--fm-text-secondary);
  font-weight: 700;
}

.share-steps {
  background: var(--fm-surface-1);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--fm-border-subtle);
  background: var(--fm-bg);
  color: var(--fm-text-secondary);
  padding: 28px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 800;
}

footer a:hover {
  color: var(--fm-primary);
}

.dock-page,
.auth-page {
  background: var(--fm-bg);
}

.dock-hero,
.waitlist-section {
  background: var(--fm-primary-dark);
  color: var(--fm-text-on-dark);
}

.dock-hero {
  padding: 120px 0 80px;
}

.dock-hero-grid,
.waitlist-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 40px;
}

.dock-brief-card,
.waitlist-inner,
.waitlist-card {
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-bg);
  color: var(--fm-text);
  padding: 28px;
  box-shadow: var(--shadow);
}

#waitlist {
  min-height: calc(100vh - 72px);
  padding: 118px 0 80px;
  background: var(--fm-surface-1);
}

.section-header p,
.dock-brief-card p {
  color: var(--fm-text-secondary);
}

.signup-form,
.profile-form,
.form-submit {
  display: grid;
  gap: 12px;
}

.access-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.access-paths article {
  border: 1px solid var(--fm-border-subtle);
  border-radius: 8px;
  background: var(--fm-surface-1);
  padding: 18px;
}

.access-paths span {
  color: var(--fm-primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-paths h3 {
  margin-top: 8px;
  font-size: 1.25rem;
}

.access-paths p {
  margin-top: 8px;
  color: var(--fm-text-secondary);
  font-size: 0.92rem;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.signup-form label,
.profile-form label {
  color: var(--fm-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup-form input,
.profile-form input,
.profile-form textarea {
  width: 100%;
  border: 1px solid var(--fm-border-default);
  border-radius: 6px;
  background: var(--fm-bg);
  color: var(--fm-text);
  font: inherit;
  padding: 13px 14px;
}

.profile-form textarea {
  resize: vertical;
}

.form-message,
.form-note {
  color: var(--fm-text-muted);
  font-size: 0.92rem;
}

.form-message.error,
.form-note.error,
.error {
  color: var(--fm-error);
}

.form-message.success,
.success {
  color: var(--fm-success);
}

@media (max-width: 940px) {
  .hero-grid,
  .pillar-grid,
  .onboarding-grid-home,
  .share-grid,
  .promise-grid,
  .science-grid,
  .article-hero-grid,
  .article-layout,
  .layer-category,
  .focus-grid,
  .founding-grid,
  .trust-cards,
  .dock-hero-grid,
  .waitlist-card {
    grid-template-columns: 1fr;
  }

  .hero-map-embed {
    max-width: 760px;
    margin: 0 auto;
  }

  .chart-map {
    min-height: 420px;
  }

  .feature-card-grid,
  .intelligence-grid,
  .education-grid,
  .inventory-grid,
  .daily-read-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max-w));
  }

  .announcement-bar {
    min-height: 38px;
    font-size: 12.5px;
  }

  #nav {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    min-height: 62px;
    padding: 14px;
  }

  .nav-links {
    width: auto;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
  }

  .nav-links a:not(.nav-cta):not(.nav-login) {
    display: none;
  }

  .nav-login,
  .nav-cta {
    width: auto;
    min-height: 38px;
    padding: 9px 12px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .hero-section {
    padding: 18px 0 58px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-map-embed {
    width: calc(100vw - 28px);
    margin-inline: auto;
    border-radius: 7px;
    aspect-ratio: 1.18;
  }

  .hero-actions,
  .hero-actions .btn,
  .read-actions,
  .read-actions .btn,
  .section-header-row,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }

  .hero-cta-card,
  .briefing-card,
  .pillar-grid article,
  .access-box {
    padding: 22px;
  }

  .temp-scale {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .daily-read-grid {
    grid-template-columns: 1fr;
  }

  .access-email-row {
    grid-template-columns: 1fr;
  }

  .access-paths {
    grid-template-columns: 1fr;
  }

  .feature-card-grid,
  .intelligence-grid,
  .education-grid,
  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .article-hero {
    padding: 56px 0 48px;
  }

  .water-guide-section {
    padding: 24px;
  }

  .first-run-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .onboarding-path {
    grid-template-columns: 1fr;
  }
}
