/* Landing page. Shares only ~7 selectors with the blog, so the two
   stylesheets stay separate on purpose. */

/* Söhne (Klim) — the files in fonts/ are currently the free TEST fonts.
   Replace them with licensed web fonts from klim.co.nz (same filenames)
   before wide release. */

/* ── Color Palette (OKLCH, hue 255) ──
   Lightness stops: 0.20 · 0.35 · 0.50 · 0.58 · 0.66 · 0.80 · 0.92 · 0.96 · 1.00
   Chroma:  0.06 (saturated) · 0.02 (tint) · 0.01 (neutral)
*/

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* iOS Safari tints its bottom bar from the page canvas when scrolled to
     the end (rubber-band overscroll). Match it to the footer so the bar
     doesn't flash white at the bottom of the page. */
  background: var(--footer-bg);
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* ── Announcement banner ── */
.announce-bar {
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.announce-btn {
  background: #fff;
  color: oklch(0.25 0.02 255);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.announce-btn:hover { opacity: 0.85; }

/* ── Navbar ── */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}
.navbar-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
/* Banner + hero share the first viewport; the hero absorbs whatever
   height the banner doesn't use, at any banner wrap state. */
.above-fold {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* ── Hero / Cover ── */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/bg.jpg') center center / cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: oklch(0.20 0 255 / 0.35);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 160px 0 80px 48px;
}
.hero-headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtext {
  font-size: 19px;
  line-height: 1.55;
  opacity: 0.9;
  margin-bottom: 36px;
  font-weight: 400;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  translate: -50% 0;
  z-index: 3;
  opacity: 0.85;
  animation: scroll-bounce 3s ease-in-out infinite;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.2s;
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes scroll-bounce {
  0%, 100% { translate: -50% 0; }
  50%      { translate: -50% 12px; }
}
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 4px 16px var(--primary-shadow);
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-shadow-h);
}
/* On the cover, keep the original white button for contrast on the photo */
.hero .btn-primary {
  background-color: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
.hero .btn-primary:hover {
  background-color: var(--primary);
  color: #fff;
}

/* ── Testimonials ── */
.testimonials {
  padding: 80px 0;
  background: var(--bg-subtle);
  overflow: hidden;
}
.testimonials-track {
  display: grid;
  grid-auto-flow: column dense;
  grid-template-rows: 200px 200px;
  grid-auto-columns: 280px;
  gap: 12px;
  width: max-content;
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.testimonials-track.is-dragging {
  cursor: grabbing;
}
.testimonial-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 0;
}
/* Grid placement classes */
.tc-span-row { grid-row: span 2; }
.tc-big { grid-row: span 2; grid-column: span 2; }
/* Quote card */
.testimonial-card--quote {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-mid);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
  display: flex;
  align-items: center;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
/* Tall quote card — carries a longer testimonial, so tighten the type.
   Its text sits in one wrapper span: .testimonial-quote is a flex box,
   so a bare inline span would become its own flex item and break the
   line wrapping. */
.testimonial-card--quote.tc-span-row .testimonial-quote {
  font-size: 15px;
  line-height: 1.5;
}
/* Video card */
.testimonial-card--video {
  background: var(--video-bg);
}
.testimonial-card--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Placeholder for video */
.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--placeholder-start) 0%, var(--placeholder-end) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}
/* Video card clickable */
.testimonial-card--video {
  cursor: pointer;
}

/* Fullscreen overlay */
.fullscreen-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.fullscreen-overlay.active {
  display: flex;
}
.fullscreen-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
}
.fullscreen-content--video {
  width: 90vw;
  max-width: 800px;
  aspect-ratio: 9/16;
  max-height: 85vh;
  background: #000;
}
.fullscreen-content--video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Features ── */
.features {
  padding: 96px 24px;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.feature-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.feature-illustration {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--feature-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon {
  width: 28px;
  height: 28px;
  stroke: var(--feature-icon);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Study CTA ── */
.study-cta {
  background: var(--bg-accent);
  padding: 96px 24px;
  text-align: center;
}
.study-cta-inner {
  max-width: 580px;
  margin: 0 auto;
}
.study-cta-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.study-cta-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mid);
  margin-bottom: 32px;
}

/* ── Latest articles ── */
.latest-posts {
  padding: 96px 48px;
  background: var(--bg-subtle);
  scroll-margin-top: 24px;
}
.latest-posts-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.latest-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.latest-posts-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.latest-posts-all {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 240ms cubic-bezier(0.32, 0.72, 0, 1);
}
.latest-posts-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-accent);
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1);
}
.latest-posts-arrow svg { width: 18px; height: 18px; }
.latest-posts-all:hover .latest-posts-arrow { transform: translateX(2px); }
.latest-posts-all:active { transform: scale(0.98); }
.latest-posts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 32px;
}
.latest-post-card {
  min-width: 0;
  padding: 6px;
  border-radius: 30px;
  background: oklch(0.90 0.015 255 / 0.45);
}
.latest-post-link {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.65);
}
.latest-post-image {
  min-width: 0;
  overflow: hidden;
  background: var(--bg-accent);
}
.latest-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.32, 0.72, 0, 1);
}
.latest-post-link:hover .latest-post-image img { transform: scale(1.035); }
.latest-post-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 24px;
}
.latest-post-copy time {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.latest-post-copy h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
.latest-post-copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.latest-post-read {
  margin-top: auto;
  color: var(--primary-hover);
  font-size: 13px;
  font-weight: 700;
}
.latest-post-card--featured { grid-row: span 2; }
.latest-post-card--featured .latest-post-link {
  display: flex;
  flex-direction: column;
}
.latest-post-card--featured .latest-post-image { aspect-ratio: 16 / 10; }
.latest-post-card--featured .latest-post-copy { flex: 1; padding: 28px; }
.latest-post-card--featured h3 { font-size: 26px; }
.latest-posts-all:focus-visible,
.latest-post-link:focus-visible {
  outline: 3px solid var(--primary-hover);
  outline-offset: 4px;
}
@media (max-width: 767px) {
  .latest-posts { padding: 64px 16px; }
  .latest-posts-header { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 32px; }
  .latest-posts-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .latest-post-card--featured { grid-row: auto; }
  .latest-post-link { display: flex; flex-direction: column; }
  .latest-post-image { aspect-ratio: 16 / 10; }
  .latest-post-copy,
  .latest-post-card--featured .latest-post-copy { padding: 24px; }
  .latest-post-card--featured h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .latest-posts [data-latest-reveal] {
    transition: opacity 800ms cubic-bezier(0.32, 0.72, 0, 1), transform 800ms cubic-bezier(0.32, 0.72, 0, 1);
  }
  .latest-posts .latest-posts-pending { opacity: 0; transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) {
  .latest-posts-all,
  .latest-posts-arrow,
  .latest-post-image img { transition: none; }
  .latest-posts-all:active,
  .latest-posts-all:hover .latest-posts-arrow,
  .latest-post-link:hover .latest-post-image img { transform: none; }
}

/* ── Footer ── */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 72px 24px 64px;
}
.footer-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.footer-hlinks {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-link:hover { color: #fff; }
.footer-nav-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.footer-logo {
  height: 28px;
  width: auto;
  align-self: center;
  flex-shrink: 0;
  opacity: 0.9;
  /* Invert to make it white on dark bg */
  filter: brightness(0) invert(1);
}
.footer-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--footer-text-dim);
}
.footer-news-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 420px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.22);
  border-radius: 999px;
  padding: 5px 5px 5px 20px;
  transition: border-color 0.2s;
}
.footer-news-form:focus-within { border-color: oklch(1 0 0 / 0.5); }
.footer-news-form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  padding: 9px 0;
}
.footer-news-form input::placeholder { color: oklch(1 0 0 / 0.4); }
.footer-news-form button {
  border: none;
  border-radius: 999px;
  background: #fff;
  color: oklch(0.25 0.02 255);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.footer-news-form button:hover { opacity: 0.85; }
.footer-news-msg {
  display: none;
  font-size: 14px;
  color: var(--footer-text);
}

/* ── Newsletter ── */
.newsletter {
  background: #fff;
  padding: 96px 48px;
}
.newsletter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 360px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}
.newsletter-img-wrap {
  flex: 1;
  min-width: 0;
  padding: 0 20px 0 0;
  display: flex;
}
.newsletter-img {
  width: 100%;
  background: url('/cube-table-large.jpeg') center center / cover no-repeat;
  border-radius: 24px;
}
.newsletter-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  min-width: 0;
  background: #fff;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.newsletter p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid oklch(0.88 0.01 255);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus {
  border-color: var(--primary);
}
.newsletter-form input::placeholder {
  color: oklch(0.7 0.01 255);
}
.newsletter-form button {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--primary-hover);
}
.newsletter-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.newsletter-msg {
  margin-top: 14px;
  font-size: 14px;
  color: var(--primary);
  display: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }
  .navbar-logo {
    height: 28px;
  }
  .hero {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hero-headline {
    font-size: 32px;
  }
  .hero-subtext {
    display: none;
  }
  .hero-bg {
    background-image: url('/bg-mobile.jpg');
  }
  .hero-content {
    padding: 100px 20px 60px;
  }
  .btn-primary {
    padding: 14px 28px;
    font-size: 16px;
  }
  /* Testimonials: single-row scroll on mobile */
  .testimonials {
    padding: 48px 0;
  }
  .testimonials-track {
    grid-template-rows: 300px;
    grid-auto-columns: 240px;
  }
  .testimonial-card.tc-span-row,
  .testimonial-card.tc-big {
    grid-row: span 1;
    grid-column: span 1;
  }
  /* One row only on mobile, so drop the quote's last sentence and
     tighten the type rather than let the card grow wider than the screen */
  .quote-tail {
    display: none;
  }
  .testimonial-card--quote.tc-span-row .testimonial-quote {
    font-size: 14px;
  }
  .features {
    grid-template-columns: 1fr;
    padding: 64px 28px;
    gap: 48px;
  }
  .study-cta {
    padding: 64px 20px;
  }
  .study-cta-heading {
    font-size: 26px;
  }
  .footer {
    padding: 48px 20px 40px;
  }
  .footer-inner {
    gap: 24px;
  }
  .footer-hlinks {
    gap: 16px 24px;
  }
  .newsletter {
    padding: 48px 20px;
  }
  .newsletter-inner {
    flex-direction: column;
  }
  .newsletter-img-wrap {
    padding: 0;
    margin-bottom: 18px;
  }
  .newsletter-img {
    height: 240px;
    flex: none;
    border-radius: 16px;
  }
  .newsletter-content {
    padding: 0;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

/* ── Study Modal ── */
.study-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  overflow-y: auto;
}
.study-modal.active { display: block; }
.study-modal-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px 80px;
  position: relative;
}
.study-modal-toolbar {
  position: sticky;
  top: 0;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: var(--bg);
}
.study-modal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  visibility: hidden;
}
.study-modal-back.visible { visibility: visible; }
.study-modal-back:hover { color: var(--text); }
.study-modal-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.study-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: auto;
  transition: background 0.2s, color 0.2s;
}
.study-modal-close:hover {
  background: var(--bg-accent);
  color: var(--text);
}
.study-modal-step.step-enter {
  animation: step-fade-in 0.3s ease-out;
}
@keyframes step-fade-in {
  from { opacity: 0; translate: 20px 0; }
  to   { opacity: 1; translate: 0 0; }
}
.study-modal-step.step-back {
  animation: step-fade-in-back 0.3s ease-out;
}
@keyframes step-fade-in-back {
  from { opacity: 0; translate: -20px 0; }
  to   { opacity: 1; translate: 0 0; }
}
.study-modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 36px;
}
.study-modal-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.study-modal-roles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.study-role-option {
  padding: 16px 20px;
  border: 2px solid oklch(0.90 0.01 255);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.study-role-option:hover {
  border-color: var(--primary);
  background: oklch(0.97 0.005 255);
}
.study-role-option.selected {
  border-color: var(--primary);
  background: oklch(0.95 0.02 255);
}
.study-role-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: oklch(0.93 0.015 255);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.study-role-option.selected .study-role-icon {
  background: oklch(0.88 0.04 255);
}
.study-role-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.study-role-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.study-role-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.study-modal-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid oklch(0.88 0.01 255);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 20px;
}
.study-modal-input:focus {
  border-color: var(--primary);
}
.study-modal-input::placeholder {
  color: oklch(0.7 0.01 255);
}
.study-newsletter-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  cursor: pointer;
  font-size: 14px;
  color: oklch(0.45 0.01 255);
  line-height: 1.4;
}
.study-newsletter-opt input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}
.study-modal-submit {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}
.study-modal-submit:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.study-fiche-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -26px 0 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.study-fiche-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}
.study-fiche-link svg {
  flex-shrink: 0;
}
/* Step 2 — info */
.study-info-section {
  margin-bottom: 22px;
}
.study-info-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.study-info-section p,
.study-info-section li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mid);
}
.study-info-section ul {
  list-style: none;
  padding: 0;
}
.study-info-section li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}
.study-info-section li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}
.study-info-section ul ul {
  margin-top: 4px;
}
.study-info-section ul ul li {
  margin-bottom: 2px;
}
.study-info-section ul ul li::before {
  content: "–";
  color: var(--text-muted);
  font-weight: 400;
}
.study-callout {
  background: oklch(0.96 0.01 255);
  border: 1.5px solid oklch(0.90 0.015 255);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 28px 0 32px;
  text-align: center;
}
.study-callout-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.study-callout-detail {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.55;
}
.study-stock-notice {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
.study-stock-notice strong {
  font-weight: 700;
}
.study-participate-btn {
  width: 100%;
  text-align: center;
  cursor: pointer;
}
