/* Labredi · production styles.
   Tokens drive light/dark via [data-theme]. Mobile-first. */

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope.var.woff2') format('woff2-variations'),
       url('../fonts/Manrope.var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette (constant across themes) */
  --mint: #26DDBE;
  --mint-7: #1EB49A;
  --mint-8: #1B9F89;
  --purple: #8A00EF;
  --purple-7: #6E00BE;
  --purple-8: #5F00A6;
  --purple-soft: #BB5FFD;
  --cyan: #B2F9FC;
  --cyan-1-5: #E8FDFE;
  --cyan-2: #E0FDFE;
  --alert: #FF3562;

  /* Semantic tokens — light theme defaults */
  --bg:           #FFFFFF;
  --bg-alt:       #F7F6F6;
  --bg-soft:      #E8FDFE;
  --bg-soft-2:    #FAFAFA;
  --surface:      #FFFFFF;
  --surface-alt:  #FBFAFA;
  --border:       #EAE9E9;
  --border-soft:  #F1F0F0;
  --ink:          #2D2327;
  --ink-2:        #3A2C32;
  --ink-3:        #49393F;
  --muted:        #6D6669;
  --grey-mid:     #969193;
  --grey-light:   #EAE9E9;
  --grey-2:       #F7F6F6;

  --accent:       var(--purple);
  --accent-strong:#5F00A6;
  --on-accent:    #FFFFFF;
  --action:       var(--mint);
  --on-action:    var(--ink);

  --hero-grad:    linear-gradient(180deg, #E0FDFE 0%, #FFFFFF 100%);
  --beta-grad:    linear-gradient(135deg, #8A00EF 0%, #5F00A6 100%);
  --beta-text:    rgba(255,255,255,0.86);

  --shadow:       0 4px 24px rgba(45, 35, 39, 0.08);
  --shadow-lg:    0 12px 48px rgba(45, 35, 39, 0.12);

  --font-display: 'Manrope', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body:    'Manrope', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:    'SF Mono', 'Consolas', 'Menlo', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container: 1200px;
  --container-narrow: 760px;
  --container-wide: 1320px;
  --gutter: 24px;

  color-scheme: light;
}

[data-theme='dark'] {
  --bg:           #14101A;
  --bg-alt:       #1A1623;
  --bg-soft:      #1F1A2A;
  --bg-soft-2:    #221C2D;
  --surface:      #1F1A2A;
  --surface-alt:  #261F33;
  --border:       #2C2540;
  --border-soft:  #221C2D;
  --ink:          #F4F1F8;
  --ink-2:        #E4DFEC;
  --ink-3:        #BFB5C9;
  --muted:        #9A8FA8;
  --grey-mid:     #8E8398;
  --grey-light:   #2C2540;
  --grey-2:       #221C2D;

  --accent:       #BB5FFD;
  --accent-strong:#D89BFF;
  --on-accent:    #14101A;
  --action:       var(--mint);
  --on-action:    #14101A;

  --hero-grad:    linear-gradient(180deg, #19142A 0%, #14101A 100%);
  --beta-grad:    linear-gradient(135deg, #5F00A6 0%, #2A0050 100%);
  --beta-text:    rgba(244,241,248,0.84);

  --shadow:       0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg:    0 12px 48px rgba(0, 0, 0, 0.55);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg:           #14101A;
    --bg-alt:       #1A1623;
    --bg-soft:      #1F1A2A;
    --bg-soft-2:    #221C2D;
    --surface:      #1F1A2A;
    --surface-alt:  #261F33;
    --border:       #2C2540;
    --border-soft:  #221C2D;
    --ink:          #F4F1F8;
    --ink-2:        #E4DFEC;
    --ink-3:        #BFB5C9;
    --muted:        #9A8FA8;
    --grey-mid:     #8E8398;
    --grey-light:   #2C2540;
    --grey-2:       #221C2D;
    --accent:       #BB5FFD;
    --accent-strong:#D89BFF;
    --on-accent:    #14101A;
    --on-action:    #14101A;
    --hero-grad:    linear-gradient(180deg, #19142A 0%, #14101A 100%);
    --beta-grad:    linear-gradient(135deg, #5F00A6 0%, #2A0050 100%);
    --beta-text:    rgba(244,241,248,0.84);
    --shadow:       0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg:    0 12px 48px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.18s ease, color 0.18s ease;
}
h1, h2, h3, h4, p { overflow-wrap: break-word; }

img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: 0 0; color: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
a.in-text, .prose a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
a.in-text:hover, .prose a:not(.btn):hover { color: var(--accent-strong); }
.btn { text-decoration: none !important; }

.skip-link {
  position: absolute; left: -9999px;
  padding: 12px 16px;
  background: var(--ink); color: var(--bg);
  border-radius: 6px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; }

/* Beta banner — site-wide narrow strip above the nav.
   Stays dark in both light and dark themes. */
.beta-banner {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: 9px 18px;
  background: #14101A;
  color: #FFFFFF;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, #14101A 70%, var(--mint));
  transition: background 0.15s ease;
}
.beta-banner:hover { background: #1F1A2A; color: #FFFFFF; }
[data-theme='dark'] .beta-banner { background: #0E0B0C; }
[data-theme='dark'] .beta-banner:hover { background: #1F1A2A; }
.beta-banner-tag {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px;
  background: var(--mint); color: var(--ink);
  border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.beta-banner-text { color: rgba(255,255,255,0.92); }
.beta-banner-cta { color: var(--mint); font-weight: 600; }
.beta-banner:hover .beta-banner-cta { color: #FFFFFF; }
@media (max-width: 540px) {
  .beta-banner { gap: 8px; padding: 8px 12px; font-size: 12px; }
  .beta-banner-text { display: none; }
}

.container        { width: 100%; max-width: var(--container);        margin: 0 auto; padding-inline: var(--gutter); }
.container.narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding-inline: var(--gutter); }
.container.wide   { width: 100%; max-width: var(--container-wide);   margin: 0 auto; padding-inline: var(--gutter); }

/* Typography utilities */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  line-height: 1; white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary   { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--mint-7); color: #FFFFFF; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); padding: 12.5px 26.5px; }
.btn-secondary:hover { background: var(--accent); color: var(--on-accent); }
.btn-ghost     { padding: 14px 0; }
.btn-ghost:hover { color: var(--accent); }
.btn-on-dark   { background: var(--mint); color: var(--ink); }
.btn-on-dark:hover { background: #FFFFFF; transform: translateY(-1px); }

/* ----- Header / Nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
[data-theme='dark'] .brand img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .brand img { filter: brightness(0) invert(1); }
}

.nav-actions { display: none; align-items: center; gap: 20px; }
.nav-links { display: flex; list-style: none; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  position: relative; padding: 6px 2px;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current='page'] { color: var(--accent); }
.nav-links a[aria-current='page']::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.mobile-nav a[aria-current='page'] { color: var(--accent); font-weight: 600; }
.nav-cta { background: var(--ink); color: var(--bg); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease; }
.nav-cta:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-1px); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink-2);
  background: var(--surface);
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.variant-picker {
  display: inline-flex; gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
}
.variant-pick {
  width: 26px; height: 26px;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--ink-3);
  background: transparent;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.variant-pick:hover { color: var(--accent); }
.variant-pick[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme='dark'] .theme-toggle .icon-sun { display: none; }
[data-theme='dark'] .theme-toggle .icon-moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme='light']) .theme-toggle .icon-moon { display: inline; }
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; font-weight: 600; font-size: 14px;
}

.mobile-nav { background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px var(--gutter); }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: var(--container); margin: 0 auto; }
.mobile-nav a { font-size: 16px; color: var(--ink); padding: 10px 0; display: block; }
.mobile-nav a.cta { background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; text-align: center; }

@media (min-width: 768px) {
  .nav-actions { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
}

/* ----- Hero ----- */
.hero { background: var(--hero-grad); padding: 56px 0 64px; text-align: center; overflow: hidden; }
.hero-inner { position: relative; }
.hero-eyebrow { font-size: 13px; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(32px, 6.5vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; color: var(--ink); max-width: 16ch; margin: 0 auto 24px; }
.hero h1 em { color: var(--accent); font-style: italic; font-weight: 800; }
.hero .deck { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-3); max-width: 56ch; margin: 0 auto 32px; }
.hero .ctas { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-image { margin: 0 auto; max-width: 1100px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--bg-alt); position: relative; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
/* Variant-scoped swap: only the active variant's hero image displays. */
.hero-image .hero-img { display: none; }
[data-variant='atelier']    .hero-image .hero-img--atelier    { display: block; }
[data-variant='instrument'] .hero-image .hero-img--instrument { display: block; }
[data-variant='console']    .hero-image .hero-img--console    { display: block; }
@media (min-width: 768px)  { .hero { padding: 72px 0 84px; } .hero-image { aspect-ratio: 21 / 9; } }
@media (min-width: 1024px) { .hero { padding: 88px 0 96px; } }

/* ----- Section heads ----- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 4.5vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); max-width: 22ch; margin: 0 auto; }
.section-head h2 em { color: var(--accent); font-style: italic; }
.section-head .deck { margin-top: 16px; max-width: 56ch; margin-left: auto; margin-right: auto; color: var(--ink-3); font-size: clamp(15px, 1.4vw, 17px); }

/* ----- Benefits ----- */
.benefits { background: var(--bg-soft); padding: 72px 0; }
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.benefit { background: var(--surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.benefit .photo { aspect-ratio: 4 / 3; background: var(--bg-alt); position: relative; overflow: hidden; }
.benefit .photo img { width: 100%; height: 100%; object-fit: cover; }
.benefit .body { padding: 24px 24px 28px; }
.benefit h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.benefit p  { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.benefit-icon {
  position: absolute; left: 18px; bottom: 18px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mint); color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.benefit--text-only .body { padding: 32px 28px 36px; }
@media (min-width: 640px)  { .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .benefits { padding: 96px 0; } .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } .benefit .body { padding: 28px 32px 32px; } }

/* ----- Stat callout ----- */
.stat-callout { padding: 56px 0; background: var(--bg); border-bottom: 1px solid var(--border-soft); border-top: 1px solid var(--border-soft); }
.stat-row { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: stretch; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.stat { padding: 24px 0; }
.stat .figure { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat .figure em { color: var(--accent); font-style: normal; }
.stat .label { margin-top: 10px; font-size: 14px; color: var(--ink-3); max-width: 36ch; }
@media (min-width: 768px)  {
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .stat-row--1 { grid-template-columns: 1fr; }
  .stat-row--2 { grid-template-columns: repeat(2, 1fr); }
  .stat-row--4 { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 24px 24px; border-left: 1px solid var(--border-soft); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}

/* ----- Steps strip (5-step preview) ----- */
.steps { padding: 80px 0; background: var(--bg-alt); }
.step-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; list-style: none; padding-left: 0; counter-reset: none; }
.step-grid li { list-style: none; }
.step { background: var(--surface); border-radius: var(--radius-md); padding: 28px 24px; border: 1px solid var(--border-soft); position: relative; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.step h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.steps .section-cta { text-align: center; margin-top: 36px; }
@media (min-width: 640px)  { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .step-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } .steps { padding: 96px 0; } }

/* ----- Integrations row ----- */
.integrations { padding: 72px 0; background: var(--bg); }
.integrations-inner { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); align-items: center; }
.integrations .copy { max-width: 40ch; }
.integrations .copy h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -0.018em; color: var(--ink); margin-bottom: 12px; }
.integrations .copy h2 em { color: var(--accent); font-style: italic; }
.integrations .copy p { font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.integrations .logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.integration-chip {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  height: 64px; padding: 0 16px;
  background: var(--surface-alt); border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-3);
  letter-spacing: 0.01em;
}
.integration-chip .chip-icon { color: var(--accent); display: inline-flex; }
@media (min-width: 768px)  { .integrations-inner { grid-template-columns: 1fr 1.4fr; gap: 56px; } .integrations .logos { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .integrations { padding: 96px 0; } }

/* ----- FAQ teaser ----- */
.faq-teaser { padding: 72px 0; background: var(--bg-alt); }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 32px auto 0; }
.faq-item { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-md); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-display); font-weight: 400; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.18s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--ink-3); font-size: 15px; line-height: 1.6; }
.faq-teaser .section-cta { text-align: center; margin-top: 28px; }

/* ----- Beta CTA ----- */
.beta-section { padding: 64px 0; }
.beta { background: var(--beta-grad); color: #FFFFFF; border-radius: var(--radius-md); padding: 48px 28px; text-align: center; position: relative; overflow: hidden; }
.beta::before { content: ''; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(38,221,190,0.45), transparent 70%); pointer-events: none; }
.beta * { position: relative; }
.beta .label { font-size: 12px; color: var(--mint); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.beta h2 { font-family: var(--font-display); font-size: clamp(28px, 5vw, 48px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.beta p  { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55; color: var(--beta-text); max-width: 56ch; margin: 0 auto 32px; }
@media (min-width: 768px)  { .beta { padding: 64px 48px; } .beta-section { padding: 96px 0; } }
@media (min-width: 1024px) { .beta { padding: 88px 64px; } }

/* ----- Generic page body / prose ----- */
.page-body { padding: 56px 0 80px; }
.page-header { margin-bottom: 36px; }
.page-header .eyebrow { margin-bottom: 14px; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 16px; }
.page-header .lede { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-3); max-width: 80ch; }
.page-header .byline { font-size: 13px; color: var(--muted); margin-top: 12px; }

.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.2; color: var(--ink); margin: 36px 0 14px; letter-spacing: -0.015em; }
.prose h3 { font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; line-height: 1.25; color: var(--ink); margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose blockquote { border-left: 3px solid var(--mint); padding-left: 18px; color: var(--ink); font-style: italic; }
.prose code { font-family: var(--font-mono); font-size: 0.92em; background: var(--bg-alt); padding: 1px 6px; border-radius: 4px; }
.prose pre { background: var(--ink); color: var(--bg); padding: 18px 20px; border-radius: var(--radius-md); overflow-x: auto; }
.prose pre code { background: transparent; color: inherit; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.prose img { border-radius: var(--radius-md); margin: 24px 0; }

/* ----- Page sections (image+text rows, callouts) ----- */
.feature-row { padding: 64px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--border-soft); }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.feature-grid .copy h2 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 14px; }
.feature-grid .copy h2 em { color: var(--accent); font-style: italic; }
.feature-grid .copy .role-tag { display: inline-block; font-size: 12px; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.feature-grid .copy p { font-size: 16px; line-height: 1.7; color: var(--ink-3); margin-bottom: 12px; }
.feature-grid .copy ul { padding-left: 18px; color: var(--ink-3); }
.feature-grid .copy ul li { margin-bottom: 6px; line-height: 1.55; }
.feature-grid .figure {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.feature-grid .figure img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature-row.reverse .feature-grid > .figure { order: -1; }
  .feature-grid .figure { aspect-ratio: 5 / 4; }
}
@media (min-width: 1024px) { .feature-row { padding: 88px 0; } .feature-grid { gap: 80px; } }
.feature-row.text-only .feature-grid { grid-template-columns: 1fr; }
.feature-row.text-only .copy { max-width: 60ch; }

/* Callout panel — used between feature rows */
.callout-panel { padding: 56px 0; }
.callout {
  background: linear-gradient(135deg, var(--mint) 0%, #5FE9D4 60%, var(--purple-soft) 140%);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  color: var(--ink);
  display: grid; gap: 16px;
}
.callout h3 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.1; letter-spacing: -0.018em; }
.callout p { font-size: 16px; line-height: 1.55; max-width: 56ch; }
.callout--large h3 { font-size: clamp(26px, 3.6vw, 38px); }
.callout--large p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 64ch; }
@media (min-width: 768px) { .callout { padding: 56px 48px; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px; } }

/* Vision strip — used on /how-it-works/ to show what's coming next */
.vision-strip { padding: 72px 0; background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.vision-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.vision-copy h2 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 14px; }
.vision-copy p { font-size: 16px; line-height: 1.6; color: var(--ink-3); max-width: 56ch; }
.vision-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; }
.vision-list li { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 18px 20px 20px; position: relative; }
.vision-list .vision-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: color-mix(in srgb, var(--mint) 22%, transparent);
  color: var(--mint-8);
  border-radius: 10px;
  margin-bottom: 12px;
}
.vision-list strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.vision-list span { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
@media (min-width: 768px)  { .vision-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } .vision-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1024px) { .vision-strip { padding: 96px 0; } }

/* The road to public launch — timeline list inside the callout.
   Text colour follows the callout's foreground colour so it stays readable
   on whatever background the variant uses for the callout. */
.timeline-callout { color: var(--ink); }
.timeline-list {
  list-style: none;
  padding-left: 0;
  font-weight: 600;
  color: inherit;
}
.timeline-list li { color: inherit; }
.timeline-list li + li { margin-top: 6px; }
.timeline-list strong { color: inherit; }

/* Built secure by design panel — stays dark in both light and dark themes */
.security-panel {
  background: #14101A;
  color: #FFFFFF;
}
.security-panel h3 { color: #FFFFFF; }
.security-panel p { color: rgba(244,241,248,0.84); }
[data-theme='dark'] .security-panel { background: #1F1A2A; }
.security-pills {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  color: rgba(244,241,248,0.92);
  font-size: 14px;
}
.security-pills li { display: inline-flex; align-items: center; gap: 10px; }
.security-pill-icon { color: var(--mint); display: inline-flex; }

/* Two-column FAQ thematic grouping */
.faq-themed { display: grid; grid-template-columns: 1fr; gap: 32px; }
.faq-themed h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
@media (min-width: 768px) { .faq-themed { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ----- Resources index ----- */
.article-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 20px; }
.article-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.article-card .card-photo { aspect-ratio: 16 / 9; background: var(--bg-alt); }
.article-card .card-photo img { width: 100%; height: 100%; object-fit: cover; }
.article-card .card-body { padding: 22px 24px 26px; }
.article-card .article-date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.article-card h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ink); margin: 8px 0 8px; }
.article-card p  { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.article-card .read-time { display: inline-block; font-size: 12px; color: var(--muted); margin-top: 10px; }
@media (min-width: 768px)  { .article-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .article-list { grid-template-columns: repeat(3, 1fr); } }

.pagination { display: flex; justify-content: space-between; margin-top: 32px; }
.pagination a { color: var(--accent); font-weight: 600; }

/* ----- Article page (post) ----- */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; z-index: 100; pointer-events: none;
}
.read-progress::before {
  content: ''; display: block; height: 100%; width: var(--read-progress, 0%);
  background: linear-gradient(90deg, var(--mint), var(--accent));
  transition: width 0.06s linear;
}
.article-hero { background: var(--bg-soft-2); border-bottom: 1px solid var(--border-soft); padding: 48px 0 32px; }
.article-hero .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.article-hero .meta span + span::before { content: '·'; padding: 0 10px; color: var(--border); }
.article-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 16px; max-width: 24ch; }
.article-hero .summary { font-size: clamp(16px, 1.6vw, 20px); color: var(--ink-3); line-height: 1.55; max-width: 56ch; }
.article-hero-image { margin: 24px auto 0; max-width: 1100px; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-alt); box-shadow: var(--shadow); }
.page--how-it-works .page-body .hero-image { margin-bottom: 48px; }
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 48px 0 80px; }
.article-body .prose > p:first-of-type,
.page--contact .prose > p:first-of-type {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 24px;
}
.article-footer { padding: 0 0 64px; }
.article-footer-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--accent);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.article-footer-link:hover { color: var(--accent-strong); }

/* ----- Beta landing page ----- */
.landing-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-alt) 100%);
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--border-soft);
}
.landing-hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.landing-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
  line-height: 1.04; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 18px; max-width: 18ch;
}
.landing-hero-copy .deck {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55; color: var(--ink-3);
  margin-bottom: 28px; max-width: 56ch;
}
.landing-hero-copy .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.landing-hero-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.landing-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px)  { .landing-hero { padding: 96px 0 96px; } .landing-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
@media (min-width: 1024px) { .landing-hero { padding: 120px 0 112px; } .landing-hero-grid { gap: 80px; } }

.landing-cta-band {
  background: var(--ink);
  padding: 40px 0;
  margin: 16px 0 0;
}
.landing-cta-band-inner {
  display: flex; flex-direction: column; gap: 18px;
  align-items: flex-start; color: #FFFFFF;
}
.landing-cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700; line-height: 1.2;
  color: #FFFFFF; max-width: 36ch;
}
@media (min-width: 768px) { .landing-cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; } }

.landing-sticky-cta {
  position: sticky; bottom: 0; z-index: 40;
  background: color-mix(in srgb, var(--ink) 96%, transparent);
  border-top: 1px solid var(--border);
  padding: 12px 0;
  display: none;
}
.landing-sticky-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: #FFFFFF; font-size: 14px;
}
.landing-sticky-cta-inner span { color: rgba(255,255,255,0.84); }
@media (min-width: 768px) { body.landing .landing-sticky-cta { display: block; } }

/* ----- Back to top ----- */
.back-to-top-wrap { display: flex; justify-content: center; padding: 48px 0 56px; }
.back-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--ink-3);
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  transition: color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
.back-to-top:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.back-to-top svg { width: 16px; height: 16px; }

/* ----- Footer ----- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 24px; color: var(--ink-3); }
.footer-colophon { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.footer-colophon .logo img { height: 40px; }
[data-theme='dark'] .footer-colophon .logo img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .footer-colophon .logo img { filter: brightness(0) invert(1); }
}
.footer-colophon .tagline { font-size: 16px; color: var(--ink-3); max-width: 36ch; }
.footer-email a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; }
.footer-email a svg { width: 18px; height: 18px; }
.footer-email a:hover { color: var(--accent-strong); }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding: 36px 0 24px; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-3); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--border-soft); font-size: 13px; color: var(--muted); }
@media (min-width: 768px)  {
  .footer-colophon { grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 48px; align-items: end; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 32px; padding: 48px 0 28px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ----- Print ----- */
@media print {
  .site-header, .site-footer, .nav-toggle, .mobile-nav, .beta-section, .read-progress { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
