:root {
  /* Greens */
  --green-main: #3bbb5b;
  --green-alt: #3de167;

  /* Text + cards */
  --text: #f9fafb;
  --text-muted: #a1a1aa;
  --muted: #9ca3af;
  --mutedtwo: #aeb7c5;

  /* Status colors */
  --border: #1a1a1a;
  --accent: #3bbb5b;
  --accent-bright: #3de167;
  --danger: #ff4b4b;

  /* Background + fonts */
  --bg: #000000;
  --bg-elevated: #02040a;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: #000;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html,
body {
  overflow-x: hidden;
}

/* HEADER / nav *********************************************************/

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  position: relative;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(61, 225, 103, 0.25));
  /* animation: brandLogoGlow 6s ease-in-out infinite; */
}

/*
.brand::after {
  content: "";
  position: absolute;
  inset: -4px -8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 50%, rgba(61, 225, 103, 0.4), transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(61, 225, 103, 0.35), transparent 65%);
  opacity: 0;
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  animation: brandHaloPulse 6s ease-in-out infinite;
}
*/

@keyframes brandLogoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(61, 225, 103, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(61, 225, 103, 0.55));
  }
}

@keyframes brandHaloPulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.03);
  }
} 

.brand-text {
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.7);
}

.nav-login {
  border: 1px solid var(--accent);
  color: var(--accent-bright) !important;
}

/* Layout */

.page-main {
  flex: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #000000/*#020617*/;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-inner a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-inner a:hover {
  color: var(--green-main)
}

.footer-muted {
  opacity: 0.7;
}

/* Home Page **************************************************/

/* Home = hero snug against the header */
.home-page .page-main {
  padding-top: 0;
}

/* Full-width hero wave */

.hero-embed {
  margin: 0;
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* stretch edge-to-edge */
  overflow: hidden;
}

.hero-embed-inner {
  width: 100%;
  /* Tie hero height to viewport height so it stays visually centered as width changes */
  height: clamp(420px, 70vh, 640px);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 10% 0%, #050814 0%, #03040a 65%, #020308 100%);
  position: relative;
  scale: 1.01;
}

.hero-embed-visual {
  width: 100%;
  height: 100%;
}

.hero-embed-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  padding: 2.5rem 2.5rem;
  background: none;
  z-index: 5;
  text-align: center;
  animation: heroFadeInUp 900ms ease-out both;
}

/*.hero-embed-copy::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: rgba(2,6,23,0.45);
  z-index: -1;
  border-radius: 18px;
}*/



.hero-embed-copy h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  letter-spacing: 0.02em;
  text-shadow:
    0 0 18px rgba(0, 0, 0, 0.9),
    0 4px 22px rgba(0, 0, 0, 0.9);
}

.hero-embed-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
  text-shadow:
    0 0 16px rgba(0, 0, 0, 0.85),
    0 3px 18px rgba(0, 0, 0, 0.85);
}

.hero-embed-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 450;
  color: var(--text-muted);
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
  margin: 2.25rem auto 0;
  max-width: 960px;
  padding: 1.25rem 1.75rem 1.25rem;
  font-size: clamp(0.85rem, 1.05vw, 0.95rem);
  line-height: 1.8;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  color: var(--green-main); /* rgba(190, 242, 100, 0.95); /* softer, slightly warmer green */
  background: #000;
  border-top: 1px solid rgba(15, 23, 42, 0.85); /* subtle divider line */
  border-bottom: 1px solid rgba(15, 23, 42, 0.85); /* subtle divider line */
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(34, 197, 94, 0.45); /* soft green halo */
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

#floio-embed-canvas {
  display: block;
  width: 100%;
  height: 100%;
}


@media (max-width: 880px) {
  .footer-inner {
    flex-direction: column;
    gap: 0.3rem;
  }

  .page-main {
    padding: 0 0 2.5rem; /* remove side padding so hero truly edge-to-edge */
  }
}

@media (max-width: 600px) {
  .hero-embed-inner {
    /* Slightly shorter hero on small screens so it hugs the header more */
    height: clamp(360px, 56vh, 520px);
  }

  .hero-embed-copy {
    position: absolute;
    left: 50%;
    top: 46%; /* lift the wave + copy closer to the header */
    transform: translate(-50%, -50%);
    padding: 1.5rem 1.5rem 0;
    max-width: 100%;
    text-align: center;
  }
}


/* ===== Floio flow section ===== */

.floio-flow {
  padding: 2rem 1.5rem 4rem;
  background: #000; /* keeps with your dark theme */
}

.floio-flow-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.floio-flow-title {
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 2.5rem;
}

.floio-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: center;
}

.floio-flow-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Cards */

.floio-flow-card {
  position: relative;
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.16), transparent 60%),
    #020617;
  border: 1px solid #1f2937;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  color: #e5e7eb;
  font-size: 0.9rem;
}

.floio-flow-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.floio-flow-card ul {
  margin: 0.1rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.floio-flow-card--engine {
  border-color: #22c55e;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.18);
}

.floio-flow-card--api {
  border-color: #4ade80;
}

/* Arrows between columns */

.floio-flow-arrow {
  text-align: center;
  font-size: 2.2rem;
  color: #4ade80;
}

/* Mini strip: Custom GPT → Floio API → Google Sheet */

.floio-flow-mini {
  margin-top: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.floio-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #334155;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e5e7eb;
  background: #020617;
}

.floio-chip--api {
  border-color: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.25);
}

.floio-chip--sheet {
  border-color: #22c55e;
}

.floio-chip-arrow {
  color: #6b7280;
  font-size: 1.1rem;
}

/* Fade / slide in on scroll */

.fade-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out,
    box-shadow 0.6s ease-out;
}

.fade-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger-ish effect by nth-child */

.floio-flow-card:nth-of-type(2),
.floio-flow-arrow:nth-of-type(2),
.floio-chip:nth-of-type(3) {
  transition-delay: 0.1s;
}

.floio-flow-card:nth-of-type(3),
.floio-chip:nth-of-type(5) {
  transition-delay: 0.2s;
}

/* Responsive */

@media (max-width: 900px) {
  .floio-flow-grid {
    grid-template-columns: 1fr;
  }

  .floio-flow-column {
    align-items: stretch;
  }

  .floio-flow-arrow {
    display: none; /* cleaner vertical stack on mobile */
  }
}

/* === Floio flow: color-coded cards === */
.floio-flow-card--source {
  border: 1px solid rgba(129, 230, 217, 0.35);          /* teal */
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.25);
}

.floio-flow-card--rag {
  border: 1px solid rgba(96, 165, 250, 0.35);           /* blue */
  box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.25);
}

.floio-flow-card--core {
  border: 1px solid rgba(74, 222, 128, 0.55);           /* bright green core blocks */
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.35),
    0 0 30px rgba(22, 163, 74, 0.35);
}

.floio-flow-card--outputs {
  border: 1px solid rgba(196, 181, 253, 0.35);          /* violet */
  box-shadow: 0 0 0 1px rgba(91, 33, 182, 0.25);
}

/* === Mini flow strip === */
.floio-flow-mini {
  margin-top: 3rem;
  text-align: center;
}

.floio-flow-mini-label {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.floio-flow-mini-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Base chip style – neutral border */
.floio-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.4rem 1.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
  background: radial-gradient(
    circle at top left,
    rgba(30, 64, 175, 0.4),
    rgba(15, 23, 42, 0.95)
  );
}

/* Only Floio API glows green */
.floio-chip--api {
  border-color: rgba(74, 222, 128, 0.9);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.5),
    0 0 24px rgba(22, 163, 74, 0.55);
  background: radial-gradient(
    circle at top left,
    rgba(22, 163, 74, 0.5),
    rgba(15, 23, 42, 0.98)
  );
}

/* Google Sheet chip: cool blue, no green outline */
.floio-chip--sheet {
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
  background: radial-gradient(
    circle at top left,
    rgba(30, 64, 175, 0.5),
    rgba(15, 23, 42, 0.98)
  );
}

.floio-chip-arrow {
  color: rgba(148, 163, 184, 0.9);
  font-size: 1.1rem;
  margin: 0 0.1rem;
}


@media (max-width: 767px) {
  .floio-flow-mini-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* Legend above the grid */
.floio-flow-legend {
  margin: 0 0 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.9);
}

.floio-flow-legend-arrow {
  color: rgba(74, 222, 128, 0.9);
}

/* Column labels: show "1 · Inputs", etc */
.floio-flow-column-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.9);
}

/* Slight tint differences per column */
.floio-flow-column--inputs .floio-flow-column-label {
  color: rgba(45, 212, 191, 0.9); /* teal */
}

.floio-flow-column--engine .floio-flow-column-label {
  color: rgba(74, 222, 128, 0.9); /* green */
}

.floio-flow-column--outputs .floio-flow-column-label {
  color: rgba(196, 181, 253, 0.9); /* violet */
}

/* Mobile tweaks for legend + labels */
@media (max-width: 900px) {
  .floio-flow-legend {
    text-align: center;
    max-width: 90%;
    margin-inline: auto;
  }

  .floio-flow-column-label {
    text-align: left;
  }
}

/* Secondary mini-label under the diagram */
.floio-flow-mini-label--secondary {
  margin-top: 1.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95); /* slate-400/300-ish */
}

/* Chip style for app destinations like Still */
.floio-chip--app {
  border-color: rgba(129, 140, 248, 0.9); /* indigo accent */
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.4),
    0 0 18px rgba(129, 140, 248, 0.35);
}






.hero-embed-badge {
  margin: 0rem auto 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 0%, #22c55e, #0ea5e9 40%, #a855f7 85%);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
  position: relative;
  overflow: hidden;
  animation: hero-badge-pulse 4s ease-in-out infinite;
}

.hero-embed-badge::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: rgba(3, 7, 18, 0.9); /* dark inner, glowing rim */
}

.hero-embed-badge-icon,
.hero-embed-badge-label {
  position: relative;
  z-index: 1;
}

.hero-embed-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e5e7eb;
  background: radial-gradient(circle at 30% 0%, rgba(56, 189, 248, 0.25), transparent 55%);
}

.hero-embed-badge-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
  white-space: nowrap;
}


@media (max-width: 768px) {
  .hero-embed-badge {
    /*margin-top: 1.4rem;*/
    padding: 0.7rem 1.1rem;
  }

  .hero-embed-badge-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .hero-embed-badge-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .hero-tagline {
    font-size: 0.78rem;
    padding: 1rem 1.25rem 1.25rem;
    letter-spacing: 0.18em;
}
}

/* Auth card (login page) */

.auth-card {
  max-width: 360px;
  margin: 3.5rem auto;
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(61, 225, 103, 0.25);
  background: radial-gradient(circle at top, #041207 0%, #02040a 55%, #000 100%);
}

.auth-card h1 {
  margin-top: 0;
  font-size: 1.2rem;
}

.auth-card label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.auth-card input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #020617;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.auth-card button {
  width: 100%;
  margin-top: 0.4rem;
}




/* === Learn page layout ===================================================================== */

.learn-page main.page-main {
  padding-top: 3rem;
  padding-bottom: 6rem;
}

/* Hero */

.learn-hero {
  text-align: center;
  padding: 0rem 1.5rem 1rem;
}

.learn-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.learn-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #6ee7b7;
  margin-bottom: 0.75rem;
}

.learn-hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.7);
}

.learn-hero-text {
  color: #d1d5db;
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.98rem;
}

/* Sections */

.learn-section {
  padding: 2rem 1.5rem 0;
}

.learn-section-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 1.1rem;
}

.learn-section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0.15rem auto 2.4rem;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* Grids */

.learn-grid {
  display: grid;
  gap: 1.75rem;
  max-width: 1120px;
  margin: 0 auto;
}

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

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

@media (max-width: 900px) {
  .learn-grid--three,
  .learn-grid--two {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cards */

.learn-card,
.learn-usecase-card {
  background: radial-gradient(circle at top left, #111827, #020617 55%);
  border-radius: 1.5rem;
  padding: 1.4rem 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.7);
}

.learn-card h3,
.learn-usecase-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: #f9fafb;
}

.learn-card-tagline {
  font-size: 0.86rem;
  color: #a5b4fc;
  margin-bottom: 0.6rem;
}

.learn-card p,
.learn-usecase-card p {
  font-size: 0.9rem;
  color: #d1d5db;
}

.learn-card-note {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: #9ca3af;
}

/* Icon chips */

.learn-card-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1; /* tighter vertical centering */
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace; /* more even glyphs */
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
}

.learn-icon-embed {
  background: radial-gradient(circle at 30% 20%, #22c55e, #064e3b);
  color: #ecfdf5;
  letter-spacing: -0.06em;   /* pulls </> in toward center */
  font-size: 1.1rem;
  padding-bottom: .1rem;
}

.learn-icon-rag {
  background: radial-gradient(circle at 30% 20%, #38bdf8, #0f172a);
  color: #e0f2fe;
  padding-bottom: .3rem;
  font-size: 1.4rem;
}

.learn-icon-api {
  background: radial-gradient(circle at 30% 20%, #a855f7, #1e1b4b);
  color: #f5f3ff;
  padding-bottom: .15rem;
  font-size: 1.1rem;

}

@media (max-width: 900px) {
  .learn-icon-api {
    padding-bottom: 0;
  }
}

/* Steps */

.learn-section--steps {
  padding-top: 3rem;
}

.learn-steps {
  max-width: 820px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.learn-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.learn-step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #064e3b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ecfdf5;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.4);
  flex-shrink: 0;
}

.learn-step-body h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  margin-top: 0rem;
  color: #e5e7eb;
}

.learn-step-body p {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Use cases */

.learn-usecase-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.7rem!important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.5rem 0 0.0rem;
  background: rgba(15, 23, 42, 0.9);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.6);
}

.learn-usecase-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: #9ca3af;
  font-size: 0.86rem;
}

.learn-usecase-list li + li {
  margin-top: 0.12rem;
}

/* Who it's for */

.learn-section--who {
  padding-top: 1.5rem;
  padding-bottom: 4.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  margin-top: 3rem;
}

.learn-who-grid {
  max-width: 720px;
}
.learn-who-grid > div {
  background: radial-gradient(circle at top left, #020617, #020617 55%);
  border-radius: 1.25rem;
  padding: 1.2rem 1.4rem 1.35rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
}

.learn-bullets {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #d1d5db;
  list-style: disc;
  margin-left: 0.6rem;
}

.learn-bullets li + li {
  margin-top: 0.2rem;
}

.learn-closer {
  max-width: 650px;
  margin: 2rem auto 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.92rem;
}

/* Reuse fade-on-scroll animation already defined elsewhere */
/* (You already have .fade-on-scroll and .fade-on-scroll.in-view) */


/* === Journal preview page =================================================== */

/* Page spacing */
.journal-preview {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

/* Hero */
.journal-hero {
  text-align: center;
  padding: 0 1.5rem 2.5rem;
}

.journal-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.journal-hero-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #6ee7b7;
  margin-bottom: 0.65rem;
}

.journal-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: #f9fafb;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.journal-hero-subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.96rem;
  color: #d1d5db;
}

/* Pill badge used in hero */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.pill--accent {
  border-color: rgba(74, 222, 128, 0.85);
  box-shadow:
    0 0 0 1px rgba(22, 163, 74, 0.4),
    0 0 18px rgba(22, 163, 74, 0.35);
}

/* Sections */
.journal-sections {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.journal-section {
  border-radius: 1.4rem;
  padding: 1.4rem 1.6rem 1.45rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top left, #020617, #020617 55%);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.85);
  margin-bottom: 2rem;
}

.journal-section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #f9fafb;
}

.journal-section-lead {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  color: #a5b4fc;
}

.journal-section p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.journal-section ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #9ca3af;
}

.journal-section ul li + li {
  margin-top: 0.18rem;
}

/* Final note at the bottom */
.journal-status-note {
  max-width: 640px;
  margin: 2.2rem auto 0;
  padding: 1rem 1.4rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(75, 85, 99, 0.9);
  background: radial-gradient(circle at top left, #020617, #020617 60%);
  font-size: 0.86rem;
  color: #9ca3af;
  text-align: center;
}

@media (max-width: 768px) {
  .journal-page main.page-main {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .journal-sections {
    padding: 0 1.25rem;
  }
}