/* ============ Causaura ============ */
:root {
  --ink: #16323a;
  --ink-soft: #4a6369;
  --teal: #1e7a70;
  --teal-deep: #145c56;
  --sea: #e6f2ef;
  --mist: #ffffff;
  --card: #ffffff;
  --sunrise: #e98e5a;
  --sunrise-soft: #f6c9a8;
  --line: #dcebe7;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(22, 50, 58, 0.06);
  --content: 960px;
  --font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space-section: 40px;
  --space-section-sm: 24px;
  --space-hero: 48px;
  --space-stack: 16px;
  --text: var(--ink-soft);
  --muted: var(--ink-soft);
  --purple: var(--teal);
  --purple2: var(--teal-deep);
  --violet: var(--sea);
  --ink2: var(--teal-deep);
  --shadow2: var(--shadow);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
  font-size: 1.0625rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }

h1, h2, h3, h4, .page-title, .section-title {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1, .page-title, .hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}
h2, .section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
.lede, .lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36rem;
}

.wrap, .container {
  width: 100%;
  max-width: calc(var(--content) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
section, .section { padding: var(--space-section) 0; }
.section-tight { padding: var(--space-section-sm) 0; }

/* Collapse doubled padding between back-to-back sections */
section + section,
.section + .section,
.page-hero + section,
.page-hero + .section,
.hero + section,
.section-tight + .section-tight,
section + .section-tight { padding-top: var(--space-section-sm); }

.band + section,
section + .band,
.band + .band { padding-top: var(--space-section); }

.center { text-align: center; }
.center .lede, .center .lead { margin-left: auto; margin-right: auto; }
.center > h1 + .lede,
.center > h1 + .lead,
.center > h2 + .lede,
.center > h2 + .lead,
.center > .section-title + .lead { margin-top: var(--space-stack); }
.center > h2, .center > .section-title { margin-bottom: 0; }
.grid-tight { margin-top: var(--space-stack); }
.band h2.center + .lede,
.band h2.center + .lead,
.band .wrap > h2 + .lede { margin-top: var(--space-stack); }
.muted { color: var(--ink-soft); }
.small { font-size: 0.875rem; }
.hide { display: none; }

/* ---------- Header ---------- */
header, header.nav {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.nav, .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 4px 0;
}
.logo, .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
header .logo img {
  height: 52px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  opacity: 1 !important;
}
.logo .aura, .brand-mark {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, var(--sunrise-soft), var(--teal) 70%);
  box-shadow: 0 0 10px rgba(30, 122, 112, 0.3);
}
.brand small { display: none; }

nav.links, .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 18px;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-left: auto;
}
nav.links a:not(.btn), .nav-links a:not(.btn) {
  color: var(--ink-soft);
  padding: 4px 0;
  white-space: nowrap;
}
nav.links a.active:not(.btn), .nav-links a.active:not(.btn) {
  color: var(--teal-deep);
  font-weight: 600;
}
nav.links a:not(.btn):hover, .nav-links a:not(.btn):hover { color: var(--teal-deep); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--font);
  font-weight: 600; font-size: 0.9375rem;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(20, 92, 86, 0.25);
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 92, 86, 0.3);
}
.btn-ghost, .btn-secondary {
  border: 1.5px solid var(--line);
  color: var(--teal-deep) !important;
  background: var(--card);
}
.btn-ghost:hover, .btn-secondary:hover { background: var(--sea); border-color: var(--teal); }
.btn-block { width: 100%; }
.cta-row, .hero-actions {
  display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap; margin-top: var(--space-stack);
}
.center .cta-row, .center .hero-actions { justify-content: center; }

/* ---------- Hero ---------- */
.hero:not(:has(.grid-2)) {
  position: relative; overflow: hidden;
  padding: var(--space-hero) 0 var(--space-section-sm);
  background:
    radial-gradient(800px 400px at 70% 0%, rgba(246, 201, 168, 0.35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(30, 122, 112, 0.08), transparent 55%),
    linear-gradient(180deg, var(--mist) 0%, var(--mist) 100%);
}
.hero:not(:has(.grid-2)) .eyebrow,
.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--sea);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.hero:not(:has(.grid-2)) h1 { max-width: 16em; }
.hero:not(:has(.grid-2)) .wrap.center h1 { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .hero.hero-title-wide:not(:has(.grid-2)) h1 {
    max-width: none;
    font-size: clamp(1.625rem, 2.6vw, 2.5rem);
  }
}
.hero:not(:has(.grid-2)) .lede,
.hero:not(:has(.grid-2)) .lead { margin-top: var(--space-stack); }
.trust-note { margin-top: 14px; font-size: 0.9375rem; color: var(--ink-soft); }

.page-hero, .hero:has(.grid-2) {
  position: relative; overflow: hidden;
  padding: var(--space-hero) 0 var(--space-section-sm);
  background:
    radial-gradient(700px 350px at 80% 0%, rgba(246, 201, 168, 0.25), transparent 55%),
    linear-gradient(180deg, var(--mist) 0%, var(--mist) 100%);
}
.grid-tight { margin-top: var(--space-stack) !important; }

.band h2.center + .lede,
.band h2.center + .lead,
.band .wrap > h2 + .lede { margin-top: var(--space-stack); }

.page-hero > *, .hero:has(.grid-2) > * { position: relative; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 16px; margin-top: var(--space-stack); align-items: stretch; }
.grid.cols-2, .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-6 { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.grid.cols-3, .grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: left;
  height: 100%;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.card .icon { font-size: 1.35rem; margin-bottom: 8px; display: block; line-height: 1; }
.card-pad { padding: 20px; }

.band { background: linear-gradient(180deg, var(--sea), var(--mist)); }
.band-dark, .dark-cta {
  background: #123c40;
  color: #eef7f4;
  border-radius: var(--radius);
}
.band-dark h2, .band-dark h3, .dark-cta h2 { color: #fff; }
.band-dark p, .band-dark .lede, .dark-cta p { color: #cfe5df; }
.dark-cta {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-card {
  background: #fff; color: var(--ink);
  border-radius: 12px; padding: 20px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 12px; margin-top: 0; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1rem;
  background: var(--sea); color: var(--teal-deep);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Chain visual ---------- */
.chain {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: flex-start;
  margin-top: var(--space-stack);
}
.center .chain { justify-content: center; }
.chain .node {
  background: var(--card); border: 1.5px solid var(--teal);
  color: var(--teal-deep); border-radius: 999px;
  padding: 8px 16px; font-size: 0.875rem; font-weight: 600;
}
.chain .node.flare { border-color: var(--sunrise); color: #9a5528; background: #fdf3ea; }
.chain .arrow { color: var(--ink-soft); font-size: 1rem; }
.form-note { font-size: 0.875rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; }

/* ---------- Founders & story ---------- */
.founders {
  display: grid;
  grid-template-columns: min(280px, 100%) 1fr;
  gap: 28px; align-items: center;
}
.founders-photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--sea), var(--sunrise-soft));
  aspect-ratio: 4/5;
  max-width: 280px;
  margin: 0 auto;
}
@media (min-width: 961px) {
  .founders-photo { margin: 0; max-width: none; }
}
.founders-photo img { width: 100%; height: 100%; object-fit: cover; }
.byline { margin-top: 8px; font-size: 0.9375rem; color: var(--ink-soft); font-weight: 500; }
.band-dark .byline { color: #a8c8c0; }
.story { max-width: 640px; margin: 0 auto; }
.story p { margin-bottom: 1em; color: var(--ink-soft); font-size: 1.0625rem; }
.story .pull {
  font-size: 1.2rem; font-weight: 600; line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--teal);
  padding-left: 16px; margin: 1.1em 0;
}

/* ---------- Forms ---------- */
.signup {
  display: flex; gap: 10px; max-width: 440px;
  margin: var(--space-stack) auto 0; flex-wrap: wrap;
  align-items: stretch; justify-content: center;
}
.signup input, .input, select, textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 1rem; font-family: var(--font);
  background: #fff; color: var(--ink); width: 100%;
}
.signup input { flex: 1 1 200px; border-radius: 999px; padding: 12px 20px; }
.signup .btn-primary { flex-shrink: 0; align-self: stretch; }
textarea { min-height: 108px; resize: vertical; }
.signup input:focus, .input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(30, 122, 112, 0.12);
}
label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.typeform-section {
  width: 100%;
  max-width: none;
  /* 12.5% inset on wide screens (75% width); below ~1067px relax to keep embed ≥800px for Typeform split layout */
  padding: 0 clamp(12.5%, calc(50% - 400px), 12.5%) var(--space-section-sm);
  overflow: visible;
}
.typeform-embed {
  width: 100%;
  max-width: none;
  min-height: min(600px, 90vh);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}
.typeform-embed iframe {
  width: 100% !important;
  min-height: inherit;
}
.typeform-privacy {
  margin-top: 12px;
  padding: 0;
}
.typeform-mobile-cta {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}
.typeform-mobile-btn {
  width: 100%;
  max-width: 360px;
  padding: 16px 24px;
  font-size: 1.125rem;
  text-align: center;
}
@media (max-width: 767px) {
  .typeform-section {
    padding-top: 0;
    padding-left: 12.5%;
    padding-right: 12.5%;
  }
  .page-hero + .typeform-section {
    padding-top: 0;
  }
}

/* ---------- FAQ ---------- */
details, .faq-row {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px; margin-top: 12px;
  text-align: left;
}
summary { cursor: pointer; font-weight: 600; font-size: 1rem; }
details p { margin-top: 10px; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.6; }

/* ---------- Footer ---------- */
footer, .footer {
  border-top: 1px solid var(--line);
  padding: var(--space-section) 0 var(--space-section-sm);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
footer .disclaimer {
  background: var(--sea); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 16px;
  font-size: 0.8125rem; line-height: 1.6;
}
footer .foot-links, .footer-grid {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-bottom: 16px; align-items: center;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 24px; }
.footer h4 { color: var(--ink); margin: 0 0 8px; font-weight: 600; }
.footer a { display: block; color: var(--ink-soft); font-size: 0.875rem; margin: 6px 0; }

/* ---------- Subpage components ---------- */
.process-horizontal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-card { padding: 24px; }
.num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sea); color: var(--teal-deep);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.875rem; margin-bottom: 12px;
}
.feature-tile { padding: 20px; min-height: 0; height: 100%; }
.feature-tile h3, .process-card h3, .condition-pill h3, .blog-card h3 {
  color: var(--ink); margin: 0 0 8px;
}
.icon-dot {
  width: 24px; height: 24px; border-radius: 8px;
  background: var(--sea); color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem; flex-shrink: 0;
}
.micro-list { display: grid; gap: 12px; margin-top: 20px; }
.micro-list .item { display: flex; gap: 12px; align-items: flex-start; }
.story-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; padding: 20px; align-items: center;
}
.story-card img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.conditions-band { padding: 20px; }
.condition-pill {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px;
  text-align: center; box-shadow: var(--shadow); font-weight: 600;
  height: 100%;
}
.condition-pill .symbol { display: block; font-size: 1.5rem; color: var(--teal); margin-bottom: 6px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 12px;
  font-size: 0.8125rem; font-weight: 600; color: var(--teal-deep);
}
.dark-cta .tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); color: #fff; }

/* Screenshot side-by-side sections */
.screenshot-split {
  display: grid;
  grid-template-columns: 1fr minmax(200px, min(300px, 40vw));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.screenshot-split.reverse {
  grid-template-columns: minmax(200px, min(300px, 40vw)) 1fr;
}
.screenshot-split .screenshot-copy { min-width: 0; }
.screenshot-split .screenshot-media { justify-self: end; }
.screenshot-split.reverse .screenshot-media { justify-self: start; }

/* Clinician report preview — layered page stack */
.screenshot-split.report-preview {
  grid-template-columns: 1.2fr minmax(220px, min(340px, 28vw));
}
.screenshot-split.report-preview .screenshot-media { justify-self: end; }
.report-stack {
  position: relative;
  width: 100%;
  max-width: min(340px, 28vw);
  margin-left: auto;
  line-height: 0;
  padding: 0 12px 7px;
}
.report-stack__page {
  display: block;
  height: auto;
  border-radius: 12px;
  background: transparent;
}
.report-stack__hero {
  position: relative;
  z-index: 3;
  width: 86%;
  margin-inline: auto;
  filter: drop-shadow(0 14px 32px rgba(22, 50, 58, 0.16));
}
.report-stack__page--back-1,
.report-stack__page--back-2 {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 11px 24px rgba(22, 50, 58, 0.12));
}
.report-stack__page--back-1 {
  z-index: 2;
  width: 80%;
  top: 7px;
  right: 1px;
  left: auto;
  transform: rotate(3.5deg);
  transform-origin: center bottom;
  opacity: 0.93;
}
.report-stack__page--back-2 {
  z-index: 1;
  width: 76%;
  top: 12px;
  left: 0;
  right: auto;
  transform: rotate(-2.5deg);
  transform-origin: center bottom;
  opacity: 0.86;
}

/* App screenshots — full image, no clipping */
.app-screenshot-wrap {
  width: 100%;
  max-width: 300px;
  margin: 0;
  line-height: 0;
}
.app-screenshot-wrap.phone-shot { max-width: 280px; }
.app-screenshot-wrap.widget-shot { max-width: 280px; }
.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(22, 50, 58, 0.18);
  border: 1px solid rgba(15, 20, 25, 0.12);
  background: transparent;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr minmax(200px, min(300px, 40vw));
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.hero-split .hero-copy.center { text-align: left; }
.hero-split .hero-copy .cta-row { justify-content: flex-start; }
.hero-split .screenshot-media { justify-self: end; }
.page-hero .screenshot-split .screenshot-media,
.page-hero .grid-2 > .app-screenshot-wrap { justify-self: end; }
.one-app .screenshot-media .app-screenshot-wrap,
.one-app > .app-screenshot-wrap { justify-self: end; }
@media (max-width: 960px) {
  .screenshot-split,
  .screenshot-split.reverse { grid-template-columns: 1fr; gap: 24px; }
  .screenshot-split.reverse .screenshot-media { order: -1; }
  .screenshot-split .screenshot-media,
  .screenshot-split.reverse .screenshot-media,
  .hero-split .screenshot-media,
  .hero-split .app-screenshot-wrap,
  .page-hero .screenshot-split .screenshot-media,
  .page-hero .grid-2 > .app-screenshot-wrap,
  .one-app .screenshot-media .app-screenshot-wrap,
  .one-app > .app-screenshot-wrap {
    justify-self: center;
    max-width: min(280px, 88vw);
  }
  .hero-split { grid-template-columns: 1fr; gap: 24px; }
  .hero-split .hero-copy.center { text-align: center; }
  .hero-split .hero-copy .cta-row { justify-content: center; }
  .hero-shot { order: -1; }
  .screenshot-split.report-preview,
  .screenshot-split.report-preview .screenshot-media {
    grid-template-columns: 1fr;
    justify-self: center;
    max-width: none;
  }
  .report-stack {
    max-width: min(290px, 88vw);
    margin-inline: auto;
    padding: 0;
  }
  .report-stack__hero { width: 100%; }
  .report-stack__page--back-1,
  .report-stack__page--back-2 { display: none; }
}

/* Phone mockups */
.phone-stage { min-height: 480px; position: relative; }
.phone {
  width: 260px; background: #15121b; border-radius: 36px; padding: 8px;
  box-shadow: 0 24px 60px rgba(22, 50, 58, 0.2); position: absolute;
}
.phone.main { right: 140px; top: 0; transform: rotate(-2deg); }
.phone.side { right: 0; top: 60px; transform: rotate(4deg); }
.phone-screen { height: 480px; background: #fff; border-radius: 28px; padding: 16px; overflow: hidden; color: var(--ink); }
.status { display: flex; justify-content: space-between; font-weight: 600; font-size: 11px; margin-bottom: 10px; }
.score {
  width: 100px; height: 100px; border-radius: 50%; margin: 12px auto;
  background: conic-gradient(var(--teal) 66%, var(--sea) 0);
  display: grid; place-items: center;
}
.score span {
  width: 70px; height: 70px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-size: 28px; font-weight: 700;
}
.app-icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 14px; }
.app-icons span { height: 38px; border-radius: 10px; background: var(--sea); display: grid; place-items: center; }
.mini-card { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 8px 0; }
.chart { height: 80px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); }
.signal-flow { display: grid; gap: 24px; padding: 8px 0; }
.signal-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.signal-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sea);
  color: var(--teal-deep); font-size: 1.25rem;
}
.ready-card { padding: 24px; text-align: center; border-radius: var(--radius); }
.dashboard { padding: 24px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dashboard-card { padding: 14px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); }
.one-app:not(.screenshot-split) { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 24px; }
.one-app.screenshot-split { padding: 24px; }
.about-mission { display: grid; gap: 12px; }
.mission-row {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.quote {
  padding: 28px; background: linear-gradient(135deg, #fff, var(--sea));
  font-size: 1.25rem; font-weight: 500; line-height: 1.45; color: var(--ink);
}
.blog-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.blog-card { display: block; padding: 24px; margin-bottom: 0; }
.blog-meta {
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; color: var(--teal-deep); margin-bottom: 8px;
}
.article { max-width: 640px; margin: 0 auto; }
.article h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.2; margin-bottom: 16px; }
.article h2 { font-size: 1.375rem; margin-top: 24px; margin-bottom: 8px; }
.article p, .article li { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 0.85em; }
.callout {
  padding: 14px 18px; background: var(--sea);
  border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; margin: 18px 0;
}
.glow-heart {
  width: 100px; height: 100px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 2rem;
  background: radial-gradient(circle, var(--sunrise-soft) 0 20%, var(--teal) 40%, transparent 70%);
}
.reference { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Narrow content blocks */
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Insight preview cards (homepage) — match standard .card pattern */
.insight-grid { gap: 24px; }
.insight-card .insight-detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.insight-card .insight-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: 12px;
  margin-bottom: 6px;
}
.insight-card .insight-detail .insight-label:first-child { margin-top: 0; }
.insight-card ul {
  margin: 0 0 0 1.1em;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.insight-card .insight-why {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 0;
}
.preview-list {
  margin: var(--space-stack) 0 0;
  padding-left: 1.25em;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
}
.preview-list li + li { margin-top: 6px; }
@media (min-width: 641px) {
  .preview-list {
    columns: 2;
    column-gap: 32px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  nav.links, .nav-links { gap: 4px 14px; font-size: 0.875rem; }
  nav.links a.btn, .nav-links a.btn { padding: 10px 16px; font-size: 0.875rem; }
}

@media (max-width: 960px) {
  .grid.cols-3, .grid-3, .grid.cols-2, .grid-2, .grid-4, .grid-6,
  .process-horizontal, .dashboard-grid, .founders, .story-card,
  .one-app:not(.screenshot-split), .dark-cta, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav, .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 56px;
  }
  header .logo img { height: 48px !important; }
  .logo { max-width: calc(100% - 52px); }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  nav.links, .nav-links {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
    order: 3;
  }
  nav.links a, .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
  nav.links a:last-child, .nav-links a:last-child { border-bottom: none; }
  nav.links a.btn, .nav-links a.btn {
    margin-top: 8px; text-align: center; border-bottom: none;
  }
  .nav.open nav.links, .nav.open .nav-links { display: flex; }
  .phone.main { left: 4%; right: auto; }
  .phone.side { right: 4%; }
}

@media (max-width: 640px) {
  :root {
    --space-section: 32px;
    --space-section-sm: 20px;
    --space-hero: 36px;
  }
  header .logo img { height: 44px !important; }
  .wrap, .container { padding: 0 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .signup { flex-direction: column; max-width: 100%; }
  .signup .btn-primary { width: 100%; }
  .phone { position: relative !important; left: auto !important; right: auto !important; top: auto !important; transform: none !important; margin: 0 auto 16px; }
  .phone.side { display: none; }
  .phone-stage { min-height: auto; }
  .story-card img { height: 220px; }
  .dark-cta { padding: 24px; }
}
