/* ===================================================================
   Plume Signal — Editorial signal system
   Brand-first composition for ranked opportunity intelligence.
   =================================================================== */

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --accent: #00a67e;
  --accent-light: #e6f7f1;
  --accent-warm: #f0a050;
  --accent-violet: #8b7ec8;
  --accent-coral: #e8756a;
  --accent-sky: #5ba4d9;
  --border: #e4e2df;
  --border-light: #f0eeeb;
  --focus: #00a67e;
  --radius: 14px;
  --radius-pill: 999px;
  --shell: min(1200px, 90vw);
  --section-gap: clamp(6rem, 12vw, 10rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.texture-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ------ Ambient gradient blobs ------ */

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.reveal.is-visible .ambient-blob,
.hero.is-visible .ambient-blob {
  opacity: 1;
}

.ambient-blob--teal {
  background: radial-gradient(circle, rgba(0, 166, 126, 0.14) 0%, transparent 70%);
}

.ambient-blob--warm {
  background: radial-gradient(circle, rgba(240, 160, 80, 0.12) 0%, transparent 70%);
}

.ambient-blob--violet {
  background: radial-gradient(circle, rgba(139, 126, 200, 0.12) 0%, transparent 70%);
}

.ambient-blob--coral {
  background: radial-gradient(circle, rgba(232, 117, 106, 0.10) 0%, transparent 70%);
}

.ambient-blob--sky {
  background: radial-gradient(circle, rgba(91, 164, 217, 0.11) 0%, transparent 70%);
}

/* Blob positions per section */
.hero .ambient-blob--teal    { width: 600px; height: 600px; top: -120px; right: -100px; }
.hero .ambient-blob--warm    { width: 400px; height: 400px; bottom: -80px; left: 20%; }
.hero .ambient-blob--violet  { width: 350px; height: 350px; top: 30%; left: -80px; }
.problem .ambient-blob--coral { width: 350px; height: 350px; top: -60px; right: -120px; }
.how .ambient-blob--violet   { width: 500px; height: 500px; top: -100px; right: -150px; }
.how .ambient-blob--sky      { width: 300px; height: 300px; bottom: -80px; left: -100px; }
.signals .ambient-blob--warm { width: 400px; height: 400px; top: -60px; left: -120px; }
.ethics .ambient-blob--sky   { width: 350px; height: 350px; top: -80px; right: -100px; }
.cta .ambient-blob--teal     { width: 300px; height: 300px; top: -80px; right: -60px; }
.cta .ambient-blob--violet   { width: 250px; height: 250px; bottom: -60px; left: -40px; }

/* ------ Floating geometry ------ */

.float-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.float-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatDrift 20s ease-in-out infinite;
}

.float-shape--1 {
  width: 300px;
  height: 300px;
  border: 1.5px solid rgba(0, 166, 126, 0.15);
  top: 12%;
  left: -60px;
  animation-delay: 0s;
  animation-duration: 22s;
}

.float-shape--2 {
  width: 180px;
  height: 180px;
  border: 1.5px solid rgba(240, 160, 80, 0.12);
  top: 35%;
  right: -40px;
  animation-delay: -5s;
  animation-duration: 18s;
}

.float-shape--3 {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(139, 126, 200, 0.10);
  bottom: 20%;
  left: 15%;
  animation-delay: -10s;
  animation-duration: 26s;
}

.float-shape--4 {
  width: 140px;
  height: 140px;
  border: 1.5px solid rgba(232, 117, 106, 0.12);
  top: 60%;
  right: 12%;
  animation-delay: -3s;
  animation-duration: 20s;
}

.float-shape--5 {
  width: 240px;
  height: 240px;
  border: 1px solid rgba(91, 164, 217, 0.10);
  bottom: 5%;
  right: 25%;
  animation-delay: -8s;
  animation-duration: 24s;
}

.float-shape.is-visible {
  opacity: 1;
  transition: opacity 2s ease;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 100;
}

/* ------ Geometric accents ------ */

.geo-accent {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.geo-circle {
  border: 1.5px solid var(--border);
  border-radius: 50%;
  opacity: 0.5;
}

.geo-circle--accent {
  border-color: var(--accent);
  opacity: 0.25;
}

.geo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}

.geo-dot--warm {
  background: var(--accent-warm);
}

.geo-dot--violet {
  background: var(--accent-violet);
}

.geo-dot--coral {
  background: var(--accent-coral);
}

.geo-dot--pulse {
  animation: dotPulse 3s ease-in-out infinite;
}

.geo-line {
  background: var(--border);
  opacity: 0.4;
}

.geo-line--v {
  width: 1px;
}

.geo-line--h {
  height: 1px;
}

/* ------ Node visualization ------ */

.node-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.node-field svg {
  width: 100%;
  height: 100%;
  display: block;
}

.node-field .node-line {
  stroke: var(--border);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.node-field .node-dot {
  fill: var(--accent);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.node-field .node-dot--warm {
  fill: var(--accent-warm);
}

.node-field .node-dot--violet {
  fill: var(--accent-violet);
}

.node-field .node-dot--coral {
  fill: var(--accent-coral);
}

.node-field .node-dot--sky {
  fill: var(--accent-sky);
}

.node-field .node-line--accent {
  stroke: var(--accent);
  opacity: 0;
}

.node-field .node-line--warm {
  stroke: var(--accent-warm);
  opacity: 0;
}

.node-field .node-line--violet {
  stroke: var(--accent-violet);
  opacity: 0;
}

.node-field .node-ring--accent {
  stroke: rgba(0, 166, 126, 0.3);
}

.node-field .node-ring--warm {
  stroke: rgba(240, 160, 80, 0.25);
}

.node-field .node-ring--violet {
  stroke: rgba(139, 126, 200, 0.25);
}

.node-field .node-line--bridge {
  stroke: var(--accent);
  stroke-width: 0.75;
  stroke-dasharray: 4 4;
  opacity: 0;
}

.node-field .node-ring {
  fill: none;
  stroke: var(--border);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 1s ease;
}

.node-field.is-active .node-line {
  opacity: 0.35;
}

.node-field.is-active .node-dot {
  opacity: 0.6;
}

.node-field.is-active .node-ring {
  opacity: 0.3;
}

/* ------ Section divider lines ------ */

.section-line {
  width: 100%;
  max-width: 120px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--border));
  margin: 0 0 3rem;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.how .section-line {
  background: linear-gradient(90deg, var(--accent-violet), var(--border));
}

.signals .section-line {
  background: linear-gradient(90deg, var(--accent-warm), var(--border));
}

.reveal.is-visible .section-line {
  opacity: 0.7;
  transform: scaleX(1);
}

/* ------ Connection lines between grid cards ------ */

.grid-connections {
  position: relative;
}

.grid-connections::before,
.grid-connections::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.5rem;
  height: 1px;
  background: var(--border);
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}

.grid-connections::before {
  left: calc(33.333% - 0.75rem);
}

.grid-connections::after {
  left: calc(66.666% - 0.75rem);
}

.reveal.is-visible .grid-connections::before,
.reveal.is-visible .grid-connections::after {
  opacity: 0.5;
}

/* ------ Keyframe animations ------ */

@keyframes dotPulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.6); }
}

@keyframes floatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes drawLine {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ringExpand {
  0% { r: 4; opacity: 0.4; }
  100% { r: 18; opacity: 0; }
}

@keyframes floatDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(12px, -18px) rotate(2deg); }
  50% { transform: translate(-8px, -30px) rotate(-1deg); }
  75% { transform: translate(16px, -12px) rotate(1.5deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.15; }
}

/* ------ Header / Nav ------ */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
  border-bottom: 1px solid var(--border-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: super;
  font-size: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 200ms ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu {
  display: none;
}

/* ------ Typography ------ */

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  margin: 0;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.grid-3 article h3,
.signal-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.grid-3 article h3::before,
.signal-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--border);
}

.grid-3 article:nth-child(1) h3::before { background: var(--accent); }
.grid-3 article:nth-child(2) h3::before { background: var(--accent-warm); }
.grid-3 article:nth-child(3) h3::before { background: var(--accent-violet); }
.signal-card:nth-child(1) h3::before { background: var(--accent-coral); }
.signal-card:nth-child(2) h3::before { background: var(--accent-sky); }
.signal-card:nth-child(3) h3::before { background: var(--accent-warm); }

/* ------ Hero ------ */

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  margin-bottom: calc(var(--section-gap) * 0.82);
  overflow: clip;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 18%;
  transform: scale(1.02);
  transition: transform 900ms ease;
}

.hero.is-visible .hero-media img {
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 18, 17, 0.9) 0%, rgba(13, 18, 17, 0.74) 34%, rgba(13, 18, 17, 0.32) 58%, rgba(13, 18, 17, 0.1) 100%),
    linear-gradient(180deg, rgba(13, 18, 17, 0.28), rgba(13, 18, 17, 0.54));
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  padding-block: clamp(4.25rem, 9vw, 6.5rem);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 52ch;
  margin-top: 1.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ------ Buttons ------ */

.btn {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.6rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 200ms ease, transform 150ms ease, box-shadow 200ms ease;
}

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

.btn:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.btn-primary {
  color: #ffffff;
  background: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background: #1a1a1a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text);
  background: rgba(0, 0, 0, 0.02);
}

/* ------ Sections ------ */

section {
  margin-bottom: var(--section-gap);
  position: relative;
}

section.signals {
  margin-bottom: calc(var(--section-gap) * 1.1);
}

.section-intro {
  max-width: 46rem;
  margin: 0 0 2rem;
  color: #57534d;
  font-size: 1.05rem;
}

/* ------ How it works ------ */

.workflow-grid,
.pulse-grid,
.access-grid {
  display: grid;
  gap: 1.5rem;
}

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

.workflow-grid article {
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.workflow-grid article h3 {
  margin-bottom: 0.55rem;
}

.workflow-grid article p {
  margin: 0;
  color: #5e584f;
}

.pulse-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  align-items: start;
}

.pulse-copy p,
.access-note p {
  margin: 0;
  color: #57534d;
}

.pulse-points {
  margin-top: 1rem;
}

.pulse-panel {
  padding-top: 0.1rem;
}

.pulse-panel__eyebrow {
  margin: 0 0 0.75rem;
  color: #6a645d;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse-panel__status {
  margin: 0 0 1rem;
  color: #23201b;
  font-size: 1rem;
  font-weight: 600;
}

.pulse-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pulse-panel li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(17, 17, 17, 0.09);
}

.pulse-panel li span {
  color: #221e19;
}

.pulse-panel li b {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  font-family: "Space Grotesk", sans-serif;
}

.pulse-panel__summary {
  margin: 1rem 0 0;
  color: #6a645d;
  font-size: 0.88rem;
}

/* ------ Ethics ------ */

.ethics {
  max-width: 860px;
  margin-bottom: calc(var(--section-gap) * 1.05);
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.ethics ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ethics li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.ethics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ethics li:nth-child(2)::before {
  background: var(--accent-violet);
}

.ethics li:nth-child(3)::before {
  background: var(--accent-warm);
}

/* ------ CTA ------ */

.cta {
  padding: 0;
  margin-bottom: 6rem;
  position: relative;
  overflow: visible;
  background: none;
  border: 0;
  box-shadow: none;
}

.cta .ambient-blob {
  position: absolute;
}

/* ------ Flow visualization (How it works) ------ */

.flow-vis {
  position: relative;
  margin-top: 3rem;
  padding: 2rem 0;
}

.flow-vis svg {
  width: 100%;
  height: 80px;
  display: block;
}

.flow-vis .flow-line {
  stroke: var(--border);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 2s ease;
}

.flow-vis .flow-dot {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.reveal.is-visible .flow-vis .flow-dot {
  animation: dotPulse 3s ease-in-out infinite;
  animation-delay: calc(var(--dot-index, 0) * 0.6s);
}

.flow-vis .flow-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  fill: var(--muted);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.reveal.is-visible .flow-vis .flow-line {
  stroke-dashoffset: 0;
}

.reveal.is-visible .flow-vis .flow-dot {
  opacity: 1;
}

.reveal.is-visible .flow-vis .flow-label {
  opacity: 1;
}

.signup label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.signup > div {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

input[type="email"] {
  min-width: 240px;
  flex: 1;
  max-width: 340px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  padding: 0.75rem 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 200ms ease;
}

input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 166, 126, 0.1);
}

input[type="email"]::placeholder {
  color: #aaa;
}

.helper {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 1rem;
}

.helper[data-tone="error"] {
  color: #b44b3d;
}

.helper[data-tone="info"] {
  color: var(--accent);
}

.confirmation-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
}

.confirmation-card {
  width: min(100%, 760px);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* ------ Footer ------ */

.footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #aaa;
  margin: 0;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ------ Visual refinement overrides ------ */

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 166, 126, 0.12), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(139, 126, 200, 0.11), transparent 24%),
    radial-gradient(circle at 52% 100%, rgba(240, 160, 80, 0.11), transparent 28%),
    linear-gradient(180deg, #f9f6ef 0%, #f2ede3 48%, #f7f4ed 100%);
}

.site-header {
  background: rgba(249, 246, 239, 0.82);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.04);
}

.nav {
  padding: 1.1rem 0;
}

.nav-links {
  align-items: center;
  gap: 0.9rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  color: #5f5a52;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.nav-links .nav-cta {
  color: #fbfaf6;
  background: linear-gradient(135deg, #0d201e, #193633);
  box-shadow: 0 14px 30px rgba(15, 25, 24, 0.16);
}

.nav-links .nav-cta:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #14302d, #214743);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.lead {
  color: rgba(248, 243, 234, 0.82);
  max-width: 34rem;
}

.hero-actions {
  gap: 0.9rem;
  align-items: center;
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: #fbf7ef;
}

.hero #hero-title {
  max-width: 28rem;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  color: #fbf7ef;
}

.btn {
  min-height: 3.2rem;
  padding: 0.9rem 1.4rem;
}

.btn-primary {
  background: linear-gradient(135deg, #101f1c, #17312d);
  box-shadow: 0 18px 34px rgba(15, 25, 24, 0.14);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fbf7ef;
}

.hero-note {
  margin: 1rem 0 0;
  color: rgba(248, 243, 234, 0.66);
  max-width: 31rem;
  font-size: 0.92rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.plain-list li + li {
  margin-top: 0.55rem;
}

input[type="email"] {
  min-height: 3.25rem;
  background: rgba(255, 255, 255, 0.82);
}

.access-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: end;
}

.access-note {
  display: grid;
  gap: 0.75rem;
  padding-bottom: 0.2rem;
}

.signup {
  width: min(100%, 42rem);
  margin: 0;
}

.signup > div {
  align-items: stretch;
}

.footer {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

/* ------ Reveal animations ------ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------ Accessibility ------ */

@media (prefers-reduced-motion: reduce) {
  *,
  .reveal,
  .geo-dot--pulse,
  .float-shape,
  .node-field .node-line,
  .node-field .node-dot,
  .node-field .node-ring {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    scroll-behavior: auto !important;
  }

  .node-field .node-line,
  .node-field .node-dot,
  .node-field .node-ring {
    opacity: 0.2 !important;
  }

  .node-field .node-line--bridge {
    opacity: 0.1 !important;
  }

  .section-line {
    opacity: 0.6 !important;
    transform: scaleX(1) !important;
  }

  .float-shape {
    opacity: 0.6 !important;
  }

  .ambient-blob {
    opacity: 1 !important;
  }

  .flow-vis .flow-line {
    stroke-dashoffset: 0 !important;
  }

  .flow-vis .flow-dot,
  .flow-vis .flow-label {
    opacity: 1 !important;
  }
}

/* ------ Responsive ------ */

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: min(46rem, calc(100svh - 78px));
    align-items: flex-end;
    padding-block: 3.5rem 2.5rem;
  }

  .node-field {
    display: none;
  }

  .float-shapes {
    display: none;
  }

  .flow-vis {
    display: none;
  }

  .ambient-blob {
    display: none;
  }

  .grid-connections::before,
  .grid-connections::after {
    display: none;
  }

  .workflow-grid,
  .pulse-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 0;
  }

  .ethics {
    padding: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 5vw;
    top: 60px;
    background: var(--surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    flex-direction: column;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    gap: 0.75rem;
  }

  .nav-links .nav-cta {
    justify-content: center;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu {
    display: block;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
  }
}
