/* Design tokens live in tokens.css — the single source of truth. */
@import url("/tokens.css?v=tokens-4");


*, *::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-deep-ocean);
  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: var(--fm-hairline) solid transparent;
  border-radius: var(--fm-radius-md);
  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-teal-bright);
  color: var(--fm-primary-dark);
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--fm-teal-bright-hover);
  color: var(--fm-primary-dark);
  box-shadow: 0 12px 28px var(--fm-deep-ocean-a35);
}

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

.btn-secondary:hover {
  background: var(--fm-deep-ocean-a08);
}

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

.text-link {
  color: var(--fm-deep-ocean);
  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: var(--fm-hairline) solid var(--fm-teal-bright-a22);
  background: var(--fm-primary);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}

/* Footer brand lockup */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand img {
  height: 26px;
  width: auto;
  display: block;
}

.footer-brand span {
  color: var(--fm-text-muted);
  font-size: 0.9rem;
}

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

.nav-links a:not(.btn) {
  color: var(--fm-text-on-dark-muted);
}

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

.nav-login {
  border-color: var(--fm-white-a28);
  background: transparent;
  color: var(--fm-text-on-dark);
}

.nav-login:hover {
  border-color: var(--fm-teal-bright);
  background: var(--fm-teal-bright-a12);
  color: var(--fm-text-on-dark);
}

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

/* Phone widths keep the LEADR wordmark (spec: wordmark alone where small, never
   a bare A); it is simply set a little smaller so the trial CTA stays above the fold. */
@media (max-width: 720px) {
  .nav-logo img {
    height: 24px;
    width: auto;
  }
}

.hero-section {
  padding: 44px 0 76px;
  background: linear-gradient(180deg, var(--fm-surface-1) 0%, var(--fm-white) 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: var(--fm-hairline) solid var(--fm-teal-100);
  border-radius: var(--fm-radius-pill);
  background: var(--fm-primary-light);
  color: var(--fm-deep-ocean);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 6px 12px;
}

/* On the navy hero the same pill reverses onto the bright teal. */
.hero-section .badge {
  border-color: var(--fm-teal-bright-a45);
  background: var(--fm-teal-bright-a12);
  color: var(--fm-teal-bright);
}

.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-secondary);
}

.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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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;
}

.trust-line {
  margin-top: 14px;
  color: var(--fm-deep-ocean);
  font-size: 0.84rem;
  font-weight: 850;
}

.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: var(--fm-hairline) 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: var(--fm-hairline) solid var(--fm-border-default);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-light-gray);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 708 / 470;
}

.hero-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--fm-light-gray);
}

.daily-read-section {
  border-top: var(--fm-hairline) solid var(--fm-border-subtle);
  border-bottom: var(--fm-hairline) 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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-navy-600-a26);
  background: linear-gradient(180deg, var(--fm-white) 0%, var(--fm-surface-2) 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: var(--fm-hairline) solid var(--fm-border-default);
  border-radius: var(--fm-radius-sm);
  background:
    linear-gradient(135deg, var(--fm-navy-600) 0%, var(--fm-sky-700) 22%, var(--fm-sky-500) 38%, var(--fm-sst-transition) 52%, var(--fm-warning-300) 66%, var(--fm-warning-600) 82%, var(--fm-error) 100%);
  box-shadow: var(--shadow);
}

.chart-map::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: var(--fm-hairline) solid var(--fm-white-a40);
  border-radius: var(--fm-radius-xs);
}

.chart-map::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: 48%;
  height: 2px;
  background: var(--fm-white-a78);
  transform: rotate(-13deg);
  box-shadow: 0 68px 0 var(--fm-white-a40), 0 -82px 0 var(--fm-white-a28);
}

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

.map-label {
  background: var(--fm-white-a86);
  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: var(--fm-hairline) solid var(--fm-white-a58);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-white-a78);
  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: var(--fm-hairline) 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: var(--fm-hairline) 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));
}

/* With an odd number of cards the last one would sit alone in a half-width
   cell with a visible hole beside it. Span it across instead. The selector
   stops applying by itself as soon as the count is even again. */
.intelligence-grid article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.feature-card-grid article,
.science-card {
  border: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  background:
    linear-gradient(180deg, var(--fm-white-a92), var(--fm-white-a96)),
    linear-gradient(135deg, var(--fm-navy-600-a16), var(--fm-success-a14) 42%, var(--fm-warning-600-a14));
  padding: 24px;
}

.education-feature-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  border: 18px solid var(--fm-navy-600-a08);
  border-radius: var(--fm-radius-round);
}

.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: var(--fm-hairline) 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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-bg);
  padding: 22px;
}

.inventory-grid span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: var(--fm-hairline) solid var(--fm-navy-600-a18);
  border-radius: var(--fm-radius-pill);
  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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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 var(--fm-white-a82) 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: var(--fm-radius-pill);
  padding: 4px 10px;
}

.status-pill.ready {
  background: var(--fm-success-a12);
  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: var(--fm-hairline) 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: var(--fm-radius-sm);
  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: var(--fm-hairline) solid var(--fm-white-a28);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-white-a96);
  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%;
}

.auth-apple-button {
  margin-top: 10px;
}

.auth-apple-button.is-disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

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

.access-login-link:hover {
  background: var(--fm-white-a12);
}

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

.access-divider {
  height: 1px;
  margin: 26px 0;
  background: var(--fm-white-a22);
}

.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: var(--fm-hairline) solid var(--fm-border-subtle);
  background:
    linear-gradient(180deg, var(--fm-surface-1-a96), var(--fm-white-a96)),
    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: var(--fm-hairline) solid var(--fm-navy-600-a18);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-white-a90);
  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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-hairline) 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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-hairline) 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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-hairline) solid var(--fm-border-subtle);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-hairline) solid var(--fm-border-default);
  border-radius: var(--fm-radius-sm);
  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: var(--fm-radius-sm);
    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;
  }
}

/* ---------------------------------------------------------------------------
   Navy premium hero — brand navy ground with reverse type (from brand guide's
   "navy hero grounds"). Scoped to .map-first-hero so other sections are
   unaffected. The CTA card stays light and pops against the navy.
--------------------------------------------------------------------------- */
.map-first-hero {
  background: var(--fm-primary-dark);
}
.map-first-hero .hero-copy h1 {
  color: var(--fm-white);
}
.map-first-hero .hero-copy h1 span {
  color: var(--fm-light-blue);
}
.map-first-hero .hero-sub {
  color: var(--fm-white-a82);
}
.map-first-hero .badge {
  background: var(--fm-teal-a16);
  border-color: var(--fm-light-blue-a45);
  color: var(--fm-light-blue);
}
.map-first-hero .hero-map-embed {
  box-shadow: 0 10px 40px var(--fm-black-a32);
  border-radius: var(--fm-radius-md);
  overflow: hidden;
}


/* Navy footer — bookends the navy hero (brand navy ground, reverse type). */
footer {
  background: var(--fm-primary-dark);
  color: var(--fm-white-a72);
  border-top: none;
}
footer a {
  color: var(--fm-white-a82);
}
footer a:hover {
  color: var(--fm-teal-bright);
}
.footer-brand span {
  color: var(--fm-white-a58);
}

/* ============================================================================
   Marketing landing page (public/index.html, body.lp).
   Everything below is scoped to .lp / .lp-* so the other pages that share this
   stylesheet (captains, data-sources, reading-the-water, dock, auth, legal) are
   untouched. Colours, radii and hairlines are tokens only (tests/design-tokens).
   Teal on navy is --fm-teal-bright; teal-ish accents on white use
   --fm-deep-ocean (the on-white rule in tokens.css).
   ========================================================================== */
.lp {
  background: var(--fm-bg);
  color: var(--fm-text);
  font-family: var(--fm-font-family);
  overflow-x: hidden;
}

.lp-wrap {
  width: 100%;
  max-width: var(--fm-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.lp-header {
  background: var(--fm-primary);
  color: var(--fm-text-on-dark);
}

/* #nav carries the shared sticky + app.js scroll hook; the landing header
   brings its own inner layout, so drop the shared padding and flex. */
.lp #nav {
  display: block;
  min-height: 0;
  padding: 0;
  border-bottom: 0;
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.lp-logo img {
  display: block;
  width: 175px;
  height: auto;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.875rem;
  font-weight: 600;
}

.lp-nav a {
  color: var(--fm-white-a82);
}

.lp-nav a:hover,
.lp-nav .lp-nav-login {
  color: var(--fm-text-on-dark);
}

.lp-nav .lp-nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: var(--fm-touch-target);
  padding: 0 16px;
  border-radius: var(--fm-radius-md);
  background: var(--fm-teal-bright);
  color: var(--fm-primary);
  font-weight: 700;
}

.lp-nav .lp-nav-cta:hover {
  background: var(--fm-teal-bright-hover);
  color: var(--fm-primary);
}

/* ---- Buttons ---- */
.lp-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 36rem;
  margin-top: 30px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--fm-radius-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.lp-btn-icon {
  flex: none;
  width: 20px;
  height: 20px;
}

.lp-btn-primary {
  background: var(--fm-teal-bright);
  color: var(--fm-primary);
}

.lp-btn-primary:hover {
  background: var(--fm-teal-bright-hover);
}

.lp-btn-primary:focus-visible,
.lp-nav a:focus-visible,
.lp-footer a:focus-visible {
  outline: 3px solid var(--fm-teal-bright);
  outline-offset: 3px;
}

.lp-btn-soon {
  background: var(--fm-white-a58);
  color: var(--fm-primary);
  cursor: default;
}

/* ---- Hero ---- */
.lp-hero {
  background: var(--fm-primary);
  color: var(--fm-text-on-dark);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 80px;
}

.lp-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--fm-radius-control);
  background: var(--fm-teal-bright-a12);
  color: var(--fm-teal-bright);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
}

.lp .lp-hero h1 {
  margin-top: 18px;
  color: var(--fm-text-on-dark);
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lp-hero-sub {
  max-width: 34rem;
  margin-top: 18px;
  color: var(--fm-white-a82);
  font-size: 1.1875rem;
  line-height: 1.5;
}

.lp-fineprint {
  margin-top: 14px;
  color: var(--fm-text-on-dark-muted);
  font-size: 0.875rem;
}

.lp .lp-hero-map {
  width: 100%;
  margin: 0;
  aspect-ratio: 708 / 407;
  border: var(--fm-hairline) solid var(--fm-white-a14);
  border-radius: var(--fm-radius-lg);
  background: var(--fm-navy-800);
  box-shadow: 0 10px 40px var(--fm-black-a32);
}

/* ---- Sections ---- */
.lp-section {
  padding: 80px 0;
}

.lp-section-tight {
  padding-top: 24px;
}

.lp-band {
  background: var(--fm-surface-2);
}

.lp-eyebrow {
  color: var(--fm-deep-ocean);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp .lp-section h2 {
  max-width: 40rem;
  margin-top: 8px;
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  line-height: 1.15;
}

.lp .lp-section .lp-h2-sm {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
}

.lp .lp-section h3 {
  font-size: 1.1875rem;
  line-height: 1.25;
}

.lp-lede {
  max-width: 42rem;
  margin-top: 10px;
  color: var(--fm-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Day-one features */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.lp-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--fm-radius-control);
  background: var(--fm-surface-2);
}

.lp-feature p {
  color: var(--fm-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.lp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--fm-radius-md);
  background: var(--fm-primary);
  color: var(--fm-teal-bright);
}

.lp-feature-icon svg {
  width: 24px;
  height: 24px;
}

/* Layers: plain name + science term over a decorative colour ramp */
.lp-layer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.lp-layer {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--fm-radius-control);
  background: var(--fm-surface-2);
  padding-bottom: 14px;
}

.lp-layer strong {
  padding: 12px 14px 0;
  font-size: 0.9375rem;
  font-weight: 800;
}

.lp-layer span:not(.lp-swatch) {
  padding: 2px 14px 0;
  color: var(--fm-text-muted);
  font-size: 0.8125rem;
}

.lp-swatch {
  display: block;
  height: 96px;
}

.lp-swatch-sst {
  background: linear-gradient(120deg, var(--fm-sst-cold), var(--fm-sst-cool), var(--fm-sst-mid), var(--fm-sst-transition), var(--fm-sst-warm), var(--fm-sst-warmer), var(--fm-sst-hot));
}

.lp-swatch-chlorophyll {
  background: linear-gradient(120deg, var(--fm-primary), var(--fm-deep-ocean), var(--fm-green-700), var(--fm-green-600), var(--fm-success), var(--fm-warning-300));
}

.lp-swatch-currents {
  background:
    repeating-linear-gradient(160deg, transparent 0 14px, var(--fm-white-a18) 14px 16px),
    linear-gradient(120deg, var(--fm-navy-800), var(--fm-navy-600), var(--fm-sky-600), var(--fm-light-blue), var(--fm-teal-200));
}

.lp-swatch-eddies {
  background:
    radial-gradient(circle at 35% 55%, var(--fm-error-bright) 0 12%, var(--fm-warning-200) 26%, transparent 42%),
    linear-gradient(120deg, var(--fm-sky-600), var(--fm-light-blue), var(--fm-mist-100));
}

.lp-swatch-salinity {
  background: linear-gradient(120deg, var(--fm-warning-800), var(--fm-sst-warm), var(--fm-sst-transition), var(--fm-sst-cool), var(--fm-deep-ocean), var(--fm-primary));
}

.lp-swatch-charts {
  background:
    repeating-radial-gradient(circle at 30% 65%, var(--fm-navy-800) 0 10px, var(--fm-teal-bright-a45) 10px 12px),
    var(--fm-navy-800);
}

.lp-note {
  margin-top: 12px;
  color: var(--fm-text-muted);
  font-size: 0.8125rem;
}

/* Steps */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.lp-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.lp-steps p {
  margin-top: 4px;
  color: var(--fm-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.lp-step-num {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--fm-radius-round);
  background: var(--fm-primary);
  color: var(--fm-teal-bright);
  font-size: 1.125rem;
  font-weight: 800;
}

/* Honest read */
.lp-honest {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.lp-checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 26px;
  border-radius: var(--fm-radius-control);
  background: var(--fm-primary);
  color: var(--fm-text-on-dark);
  font-size: 0.9375rem;
  list-style: none;
}

.lp-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-checks svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--fm-teal-bright);
}

/* Pricing */
.lp-pricing {
  background: var(--fm-primary);
  color: var(--fm-text-on-dark);
}

.lp-pricing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.lp .lp-pricing h2 {
  color: var(--fm-text-on-dark);
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
  line-height: 1.1;
}

.lp-pricing-sub {
  color: var(--fm-white-a82);
  font-size: 1.0625rem;
}

.lp-actions-center {
  width: 100%;
  margin-top: 14px;
}

/* Footer */
.lp .lp-footer {
  display: block;
  padding: 0;
  background: var(--fm-primary-dark);
  color: var(--fm-white-a72);
}

.lp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 0.875rem;
}

.lp .lp-footer .footer-brand {
  display: block;
  color: var(--fm-white-a72);
}

.lp .lp-footer .footer-brand strong {
  color: var(--fm-text-on-dark);
  font-weight: 700;
}

.lp .lp-footer .footer-brand span {
  color: inherit;
  font-size: inherit;
}

.lp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.lp-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--fm-touch-target);
  color: var(--fm-white-a82);
}

@media (max-width: 1020px) {
  .lp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-layer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .lp-hero-grid,
  .lp-honest,
  .lp-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-hero-grid {
    gap: 36px;
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .lp .lp-hero-map {
    max-width: 640px;
  }
}

@media (max-width: 720px) {
  .lp-wrap {
    padding: 0 20px;
  }

  .lp-nav-section {
    display: none;
  }

  .lp-nav {
    gap: 16px;
  }

  .lp-logo img {
    width: 140px;
  }

  .lp-section {
    padding: 56px 0;
  }

  .lp-section-tight {
    padding-top: 8px;
  }

  .lp-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .lp-swatch {
    height: 72px;
  }

  .lp .lp-hero-map {
    width: 100%;
    aspect-ratio: 708 / 407;
    border-radius: var(--fm-radius-md);
  }

  .lp-pricing-inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .lp .lp-footer {
    flex-direction: column;
  }
}
