/* ============================================================
   LUCIDE — Landing redesign
   Design system: editorial serif (Newsreader) + clean grotesk
   (Hanken Grotesk), cobalt-blue accent on cool near-white.
   Minimal, premium, "Linear/Things" calm with editorial warmth.
   ============================================================ */

:root {
  /* ----- color ----- */
  --bg: #F6F7F9;
  --bg-2: #EEF0F4;
  --surface: #FFFFFF;
  --ink: #0F1115;
  --ink-2: #3B424E;
  --ink-3: #6A7180;
  --ink-4: #9AA1AE;
  --line: rgba(15,17,21,.08);
  --line-2: rgba(15,17,21,.13);

  --blue: #2B50F0;
  --blue-600: #1E3CCC;
  --blue-700: #18329f;
  --blue-50: #EEF1FE;
  --blue-100: #DEE5FD;

  --green: #15924F;
  --green-bg: #E9F6EE;
  --red: #E0484D;
  --red-bg: #FBEBEC;

  --violet: #9B4DDB;
  --violet-600: #8333C4;
  --violet-700: #6A269F;
  --violet-50: #F4EBFC;
  --violet-100: #E6D3F7;
  --amber: #9A6B12;
  --amber-bg: #F6EFDD;

  /* ----- radius ----- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* ----- shadow ----- */
  --sh-sm: 0 1px 2px rgba(15,17,21,.05);
  --sh-md: 0 2px 4px rgba(15,17,21,.04), 0 14px 30px -12px rgba(15,17,21,.14);
  --sh-lg: 0 40px 90px -34px rgba(15,17,21,.34), 0 8px 24px -12px rgba(15,17,21,.18);

  /* ----- type ----- */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shell: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--blue-100); color: var(--blue-700); }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 28px; }

/* ---------- type helpers ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
}
.muted { color: var(--ink-3); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246,247,249,.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark {
  width: 38px; height: 38px; flex: none; object-fit: contain;
  margin: -4px 0;
}
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.01em; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .18s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; border: none; border-radius: 999px;
  padding: 12px 22px; transition: transform .16s ease, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--sh-sm); }
.btn-dark:hover { background: #20242c; box-shadow: var(--sh-md); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(43,80,240,.6); }
.btn-blue:hover { background: var(--blue-600); box-shadow: 0 10px 24px -8px rgba(43,80,240,.7); }
.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 6px 16px -6px rgba(155,77,219,.6); }
.btn-violet:hover { background: var(--violet-600); box-shadow: 0 10px 24px -8px rgba(155,77,219,.7); }
.btn-soft { background: var(--bg-2); color: var(--ink); }
.btn-soft:hover { background: #E3E6ED; }
.btn-ghost { background: transparent; color: var(--ink-2); padding-inline: 4px; }
.btn-ghost:hover { color: var(--ink); }
.btn .arr { transition: transform .22s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }

.nav-burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: clip; padding-top: 40px; padding-bottom: 90px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr);
  gap: 40px; align-items: center;
}
.hero-copy { max-width: 560px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px 7px 12px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--sh-sm);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); position: relative; }
.pill .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green); opacity: .35; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .5; } 80%,100% { transform: scale(1.5); opacity: 0; } }

.hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.022em;
  font-size: clamp(46px, 5.6vw, 82px); line-height: .98;
  margin: 26px 0 0; color: var(--ink);
}
.hero h1 .em { font-style: italic; color: var(--blue);
  background: linear-gradient(var(--blue-100), var(--blue-100)) no-repeat;
  background-size: 100% .40em; background-position: 0 .74em;
  padding: 0 .04em; border-radius: 3px; }
.hero .lede {
  font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: var(--ink-2);
  margin: 24px 0 0; max-width: 470px; text-wrap: pretty;
}
.hero-cta { display: flex; align-items: center; gap: 20px; margin-top: 34px; }

.beta { margin-top: 38px; max-width: 440px; }
.beta-label {
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3);
  text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.beta-label::before { content: ""; height: 1px; width: 22px; background: var(--line-2); }
.beta-form { display: flex; gap: 10px; }
.beta-form input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 13px 20px; outline: none; transition: border-color .18s, box-shadow .18s;
}
.beta-form input::placeholder { color: var(--ink-4); }
.beta-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.beta-meta { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.beta-meta span { font-size: 13.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 7px; }
.beta-meta span::before { content: "✦"; color: var(--blue); font-size: 11px; }

/* ---------- hero stage (phone + chips) ---------- */
.stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.stage-rings {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0;
}
.stage-rings i {
  position: absolute; border-radius: 50%; border: 1px solid var(--line);
  opacity: .8;
}
.stage-glow {
  position: absolute; width: 460px; height: 460px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(43,80,240,.10), rgba(43,80,240,0) 64%);
  filter: blur(6px);
}

/* floating transcription chips */
.chip {
  position: absolute; z-index: 5; width: 232px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 15px; padding: 13px 15px; box-shadow: var(--sh-md);
  opacity: 1; transform: none;
}
.animate .chip { opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.animate .chip.show { opacity: 1; transform: none; }
.chip-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.chip-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--blue); }
.chip-tag .rec { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.chip-wave { display: flex; align-items: center; gap: 2px; height: 12px; }
.chip-wave i { width: 2px; background: var(--blue); border-radius: 2px; height: 30%; animation: bar 1s ease-in-out infinite; }
.chip-text { font-size: 13.5px; line-height: 1.42; color: var(--ink); }
.chip-1 { top: 64px; right: -10px; }
.chip-2 { top: 300px; left: -26px; }
.chip-3 { bottom: 64px; right: -4px; }

@keyframes bar { 0%,100% { height: 25%; } 50% { height: 95%; } }

/* ============================================================
   PHONE (recreated Lucide app)
   ============================================================ */
.phone {
  position: relative; z-index: 3; width: 320px; height: 650px;
  background: #0E0F12; border-radius: 46px; padding: 11px;
  box-shadow: var(--sh-lg); flex: none;
}
.phone-screen {
  width: 100%; height: 100%; background: #FAFBFC; border-radius: 36px;
  overflow: hidden; position: relative; display: flex; flex-direction: column;
}
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 104px; height: 26px; background: #0E0F12; border-radius: 14px; z-index: 20; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; font-size: 12px; font-weight: 600; color: var(--ink); }
.statusbar .sb-r { display: flex; gap: 5px; align-items: center; opacity: .8; }

.app-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 6px; }
.app-top .today-pill { background: var(--blue-50); color: var(--blue); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.app-top-icons { display: flex; gap: 14px; color: var(--ink-3); align-items: center; }
.icn { width: 18px; height: 18px; display: inline-block; }

/* real app icons (black SVGs recolored via mask so they inherit currentColor) */
.svgi {
  display: inline-block; flex: none; background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ic-cal      { -webkit-mask-image: url('icons/calendrier.svg');      mask-image: url('icons/calendrier.svg'); }
.ic-cal-line { -webkit-mask-image: url('icons/calendrier-line.svg'); mask-image: url('icons/calendrier-line.svg'); }
.ic-projet   { -webkit-mask-image: url('icons/projet.svg');          mask-image: url('icons/projet.svg'); }
.ic-projet-f { -webkit-mask-image: url('icons/projet-fill.svg');     mask-image: url('icons/projet-fill.svg'); }
.ic-settings { -webkit-mask-image: url('icons/parametre.svg');       mask-image: url('icons/parametre.svg'); }
.ic-sliders  { -webkit-mask-image: url('icons/modifier.svg');        mask-image: url('icons/modifier.svg'); }
.ic-magie    { -webkit-mask-image: url('icons/magie.svg');           mask-image: url('icons/magie.svg'); }
.ic-crayon   { -webkit-mask-image: url('icons/crayon.svg');          mask-image: url('icons/crayon.svg'); }

.app-month { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 2px 0 8px; }
.app-month span { color: var(--ink-4); font-weight: 500; }

.daystrip { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; padding: 0 14px 12px; }
.day { text-align: center; padding: 8px 0; border-radius: 14px; }
.day .dn { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.day .dl { font-size: 10px; color: var(--ink-4); margin-top: 1px; }
.day.sel { background: var(--surface); box-shadow: var(--sh-md); }
.day.sel .dn { color: var(--ink); }
.day.sel .dl { color: var(--blue); font-weight: 600; }
.day.sel .ddot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); margin: 3px auto 0; }

.app-scroll { flex: 1; overflow: hidden; padding: 4px 14px 0; position: relative; }
.app-h { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 4px 2px 10px; }
.timecol { display: flex; flex-direction: column; gap: 9px; }
.trow { display: grid; grid-template-columns: 34px 1fr; gap: 6px; }
.ttime { font-size: 10px; color: var(--ink-4); padding-top: 12px; font-variant-numeric: tabular-nums; }

.ev {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ink-4);
  border-radius: 12px; padding: 9px 11px; box-shadow: var(--sh-sm);
}
.ev.g { border-left-color: var(--green); }
.ev.b { border-left-color: var(--blue); }
.ev.r { border-left-color: var(--red); }
.ev-top { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; flex-wrap: wrap; }
.tag { font-size: 9.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; }
.tag.g { background: var(--green-bg); color: var(--green); }
.tag.b { background: var(--blue-50); color: var(--blue); }
.tag.r { background: var(--red-bg); color: var(--red); }
.tag.n { background: var(--bg-2); color: var(--ink-3); }
.ev-title { font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.ev-title.done { color: var(--ink-4); text-decoration: line-through; text-decoration-color: var(--line-2); }
.ev-time { font-size: 10.5px; color: var(--ink-3); margin-top: 4px; font-variant-numeric: tabular-nums; }
.ev-check { width: 15px; height: 15px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 9px; flex: none; }

/* task row that the voice note inserts into the planning.
   Visible by default; collapsed + revealed with animation only when animating. */
.trow.incoming-row { overflow: hidden; }
.animate .trow.incoming-row { max-height: 0; opacity: 0; transform: translateY(-8px);
  transition: max-height .55s cubic-bezier(.2,.8,.2,1), opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.animate .trow.incoming-row.land { max-height: 120px; opacity: 1; transform: none; }
.ev.flash { box-shadow: 0 0 0 3px var(--blue-100), var(--sh-sm); }
.ev .pill-new { font-size: 9px; font-weight: 700; letter-spacing: .06em; color: var(--blue);
  background: var(--blue-50); padding: 2px 7px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.ev .pill-new::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.app-fabs { position: absolute; bottom: 70px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 18px; pointer-events: none; }
.fab { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 22px -8px rgba(43,80,240,.8); border: none; pointer-events: auto; transition: transform .18s; }
.fab:hover { transform: scale(1.06); }
.fab.mic.live { animation: micpulse 1.3s ease-in-out infinite; }
@keyframes micpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(43,80,240,.5), 0 10px 22px -8px rgba(43,80,240,.8); } 50% { box-shadow: 0 0 0 12px rgba(43,80,240,0), 0 10px 22px -8px rgba(43,80,240,.8); } }

.app-nav { height: 58px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-around; background: var(--surface); }
.app-nav .ni { width: 22px; height: 22px; color: var(--ink-4); }
.app-nav .ni.act { color: var(--ink); }

/* recording bar — shows the live transcript of the voice note, then the task lands */
.recbar {
  position: absolute; left: 12px; right: 12px; bottom: 68px; z-index: 15;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--sh-lg); padding: 11px 13px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.recbar.show { opacity: 1; transform: none; }
.recbar.lit { opacity: 1; transform: none; transition: none; }
.recbar-row { display: flex; align-items: center; gap: 10px; }
.recbar .rdot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 0 rgba(224,72,77,.5); }
.recbar .rt { font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-3); flex: none; }
.recbar .rwave { flex: 1; display: flex; align-items: center; gap: 2px; height: 18px; }
.recbar .rwave i { width: 2.5px; background: var(--blue); border-radius: 2px; height: 20%; animation: bar 1s ease-in-out infinite; }
.recbar .rstop { width: 24px; height: 24px; border-radius: 7px; background: var(--red); display: grid; place-items: center; flex: none; }
.recbar .rstop b { width: 8px; height: 8px; border-radius: 2px; background: #fff; display: block; }
.rec-caption { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.4; color: var(--ink); min-height: 17px; }
.rec-caption .cap-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--ink-4); margin-bottom: 4px; }
.rec-caption .cap-text::after { content: ""; display: inline-block; width: 2px; height: 12px; background: var(--blue); margin-left: 1px; vertical-align: -2px; }
.recbar:not(.show) .rec-caption .cap-text::after { display: none; }

/* ============================================================
   HERO DEPTH COMPOSITION — floating cards showing the app's range
   (calendar phone + project + progress), layered for depth
   ============================================================ */
.float-card {
  position: absolute; z-index: 6; width: 218px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 15px 16px; box-shadow: var(--sh-lg);
  transform: var(--rot, none);
}
.float-card .fc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.float-card .fc-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.float-card .fc-ic svg { width: 15px; height: 15px; }
.float-card .fc-t { font-size: 13px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.float-card .fc-s { font-size: 10.5px; color: var(--ink-4); margin-top: 1px; }
.float-card .fc-badge { font-size: 11px; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; flex: none; }

/* project checklist */
.fc-list { display: flex; flex-direction: column; gap: 9px; }
.fc-item { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink); white-space: nowrap; }
.fc-box { width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; }
.fc-item.done .fc-box { background: var(--green); border-color: var(--green); color: #fff; }
.fc-item.done .fc-box svg { width: 9px; height: 9px; }
.fc-item.done span { color: var(--ink-4); text-decoration: line-through; text-decoration-color: var(--line-2); }
.fc-bar { height: 5px; border-radius: 3px; background: var(--bg-2); margin-top: 13px; overflow: hidden; }
.fc-bar > i { display: block; height: 100%; border-radius: 3px; background: var(--blue); }

/* week mini bar chart */
.fc-chart { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; align-items: end; height: 56px; }
.fc-chart i { background: var(--blue-100); border-radius: 3px; width: 100%; align-self: end; }
.fc-chart i.hi { background: var(--blue); }
.fc-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-top: 7px; }
.fc-days span { font-size: 8.5px; color: var(--ink-4); text-align: center; }

/* "next up" accent chip */
.float-chip {
  position: absolute; z-index: 7; display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 11px 14px;
  box-shadow: var(--sh-lg); transform: var(--rot, none); width: 196px;
}
.float-chip .fch-ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.float-chip .fch-ic svg { width: 15px; height: 15px; }
.float-chip .fch-l { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.55); white-space: nowrap; }
.float-chip .fch-t { font-size: 12.5px; font-weight: 600; margin-top: 2px; white-space: nowrap; }

/* gentle floating motion (decorative; only when animations run) */
@keyframes floaty { 0%,100% { transform: var(--rot, none) translateY(0); } 50% { transform: var(--rot, none) translateY(-9px); } }
.animate .float-card.f1, .animate .float-chip.f1 { animation: floaty 6.2s ease-in-out infinite; }
.animate .float-card.f2 { animation: floaty 7.1s ease-in-out infinite .7s; }
.animate .float-card.f3, .animate .float-chip.f3 { animation: floaty 6.6s ease-in-out infinite 1.3s; }

.fc-1 { left: -44px; top: 332px; --rot: rotate(-3deg); }
.fc-2 { right: -34px; top: 58px; --rot: rotate(3deg); }
.fch-1 { right: -22px; bottom: 104px; --rot: rotate(2.5deg); }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.04;
}
.section-head p { font-size: 18px; color: var(--ink-2); margin: 18px auto 0; max-width: 540px; }

.divline { height: 1px; background: var(--line); margin: 0 auto; max-width: var(--shell); }

/* ----- steps ----- */
.steps { padding: 110px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 32px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step-num {
  font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--blue);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 50px;
}
.step-num::after { content: ""; height: 1px; width: 34px; background: var(--blue-100); }
.step h3 { font-size: 21px; letter-spacing: -.01em; margin-bottom: 9px; }
.step p { font-size: 15px; color: var(--ink-3); line-height: 1.55; margin: 0; }
.step-ill { position: absolute; top: 26px; right: 26px; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; color: var(--blue); }

/* ----- plan d'action (idée → roadmap) ----- */
.plan { padding: 40px 0 120px; }
.plan-grid { display: grid; grid-template-columns: minmax(0,0.92fr) minmax(0,1.08fr); gap: 48px; align-items: center; }
.plan-left { display: flex; flex-direction: column; }

.plan-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 12px; }
.plan-label.accent { color: var(--blue); }
.pl-mic { width: 22px; height: 22px; border-radius: 7px; background: var(--bg-2); color: var(--ink-3); display: grid; place-items: center; }
.pl-mic svg { width: 13px; height: 13px; }
.pl-spark { width: 17px; height: 18px; }

.plan-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--sh-sm); }
.idea-quote { font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--ink); margin: 0; letter-spacing: -.01em; }

.plan-arrow { display: grid; place-items: center; color: var(--ink-4); padding: 12px 0; }
.plan-arrow svg { width: 22px; height: 22px; }

/* the gap Lucide bridges: from → to */
.gap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; margin-top: 4px; }
.pole { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.pole.end { background: var(--blue-50); border-color: var(--blue-100); }
.pole-l { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 5px; }
.pole.end .pole-l { color: var(--blue); }
.pole strong { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.25; display: block; }
.gap-track { display: flex; align-items: center; justify-content: center; position: relative; min-width: 30px; }
.gap-line { position: absolute; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.gap-tip { position: relative; background: var(--surface); color: var(--blue); font-size: 16px; font-weight: 700; padding: 0 3px; line-height: 1; }

.constraints { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cstr { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; }
.cstr svg { width: 15px; height: 15px; color: var(--ink-3); }

/* generated roadmap card */
.plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 30px 14px; box-shadow: var(--sh-lg); }
.pc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.pc-head > div { min-width: 0; }
.pc-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.pc-title { font-family: var(--serif); font-weight: 500; font-size: 25px; letter-spacing: -.01em; margin-top: 4px; white-space: nowrap; }
.pc-badge { flex: none; white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }

.roadmap { position: relative; }
.rm-item { position: relative; padding: 0 0 24px 36px; }
.rm-item::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: -4px; width: 2px; background: var(--blue-100); }
.rm-item:last-child::before { display: none; }
.rm-dot { position: absolute; left: 1px; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--blue); background: var(--surface); display: grid; place-items: center; }
.rm-item.goal .rm-dot { background: var(--blue); color: #fff; }
.rm-item.goal .rm-dot svg { width: 11px; height: 11px; }
.rm-phase { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.rm-title { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; margin-top: 3px; color: var(--ink); }
.rm-item.goal .rm-title { color: var(--blue-700); }
.rm-desc { font-size: 14px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }

/* ----- feature showcase (voice) ----- */
.showcase { padding: 40px 0 110px; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-copy { max-width: 480px; }
.showcase-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px,3.4vw,46px); line-height: 1.05; letter-spacing: -.02em; margin-top: 18px; }
.showcase-copy p { font-size: 17.5px; color: var(--ink-2); margin: 20px 0 0; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 13px; font-size: 16px; color: var(--ink); font-weight: 500; }
.checks .ck { width: 24px; height: 24px; border-radius: 7px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.showcase-stage { position: relative; display: flex; justify-content: center; }

/* ----- features grid ----- */
.features { padding: 0 0 120px; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feat { background: var(--surface); padding: 32px 30px 38px; transition: background .25s; }
.feat:hover { background: #fff; }
.feat .fi { width: 38px; height: 38px; border-radius: 11px; background: var(--bg); display: grid; place-items: center; color: var(--blue); margin-bottom: 20px; }
.feat h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--ink-3); margin: 0; line-height: 1.55; }

/* ----- tarifs (3 paliers) ----- */
.pricing { padding: 0 0 110px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 30px 34px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.price-card.pop { border: 1.5px solid var(--blue); box-shadow: 0 30px 70px -34px rgba(43,80,240,.45); }
.price-card.life { border: 1.5px solid var(--violet); box-shadow: 0 30px 70px -34px rgba(155,77,219,.4); }

.pr-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 18px -6px rgba(43,80,240,.6); }

.pr-name { font-family: var(--serif); font-weight: 500; font-size: 25px; letter-spacing: -.01em; color: var(--ink); }
.pr-price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.pr-price .amt { font-weight: 700; font-size: 38px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.pr-price .per { font-size: 14px; font-weight: 500; color: var(--ink-4); white-space: nowrap; }
.pr-sub { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; min-height: 18px; }
.pr-sub .off { color: var(--green); font-weight: 600; }

.pr-pill { align-self: flex-start; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin-top: 16px; }
.pr-pill svg { width: 13px; height: 13px; }
.pr-pill.trial { background: var(--green-bg); color: var(--green); }
.pr-pill.limited { background: var(--violet-50); color: var(--violet-700); }

.pr-list { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 13px; }
.pr-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.pr-list li strong { color: var(--ink); font-weight: 600; }
.pr-ck { color: var(--green); flex: none; margin-top: 1px; }
.pr-ck svg { width: 16px; height: 16px; display: block; }
.life .pr-ck { color: var(--violet); }

.pr-cta { width: 100%; margin-top: auto; }
.price-note { text-align: center; font-size: 14px; color: var(--ink-4); margin: 32px auto 0; }

/* ----- closing CTA ----- */
.cta { padding: 30px 0 120px; }
.cta-card {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  border-radius: var(--r-xl); padding: 80px 40px; text-align: center;
}
.cta-card .glow { position: absolute; width: 600px; height: 600px; left: 50%; top: -40%; transform: translateX(-50%); background: radial-gradient(circle, rgba(43,80,240,.45), rgba(43,80,240,0) 60%); pointer-events: none; }
.cta-logo { position: relative; width: 64px; height: 64px; object-fit: contain; margin: 0 auto 22px; display: block; }
.cta-card h2 { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(34px,4.4vw,58px); line-height: 1.02; letter-spacing: -.02em; }
.cta-card h2 .em { font-style: italic; color: #9db0ff; }
.cta-card p { position: relative; color: rgba(255,255,255,.66); font-size: 18px; margin: 18px auto 0; max-width: 460px; }
.cta-form { position: relative; display: flex; gap: 10px; max-width: 460px; margin: 34px auto 0; }
.cta-form input { flex: 1; min-width: 0; font-family: inherit; font-size: 15px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 14px 22px; outline: none; }
.cta-form input::placeholder { color: rgba(255,255,255,.45); }
.cta-form input:focus { border-color: rgba(157,176,255,.9); background: rgba(255,255,255,.12); }
.cta-meta { position: relative; display: flex; gap: 22px; justify-content: center; margin-top: 18px; }
.cta-meta span { font-size: 13.5px; color: rgba(255,255,255,.55); display: inline-flex; gap: 7px; align-items: center; }
.cta-meta span::before { content: "✦"; color: #9db0ff; }

/* ----- footer ----- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; color: var(--ink-3); transition: color .18s; }
.footer-links a:hover { color: var(--ink); }
.footer .cr { font-size: 13px; color: var(--ink-4); }

/* ----- waitlist form success ----- */
.form-success {
  display: none;
  margin-top: 12px;
  padding: 12px 18px;
  background: var(--green-bg);
  border: 1px solid rgba(21, 146, 79, .18);
  border-radius: 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.form-success.show { display: block; }
/* on dark CTA card, invert contrast */
.cta-card .form-success {
  margin: 16px auto 0;
  max-width: 460px;
  background: rgba(155, 240, 184, .14);
  border-color: rgba(155, 240, 184, .28);
  color: #c8f2d7;
  text-align: center;
}

/* ============================================================
   reveal on scroll
   ============================================================ */
/* Reveals are VISIBLE by default. The .animate class (added by JS only when CSS
   transitions are proven to work) opts elements into the hidden-then-reveal entrance.
   No JS / dead transitions => content simply shows. */
.reveal { opacity: 1; transform: none; }
.animate .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.animate .reveal.in { opacity: 1; transform: none; }
.animate .reveal.d1 { transition-delay: .08s; }
.animate .reveal.d2 { transition-delay: .16s; }
.animate .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .animate .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* Applied when CSS transitions don't actually run (throttled renderers):
   cancels any stuck in-flight transition so resting (visible) states show. */
.no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; animation: none !important; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { max-width: 620px; margin-inline: auto; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-cta, .beta-meta, .beta-label { justify-content: center; }
  .beta { margin-inline: auto; }
  .stage { margin-top: 30px; min-height: 560px; }
  .steps-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .plan-grid { grid-template-columns: 1fr; gap: 36px; }
  .plan-left { max-width: 620px; margin-inline: auto; width: 100%; }
  .showcase-copy { max-width: 620px; margin-inline: auto; text-align: center; }
  .checks { align-items: center; }
  .feat-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; gap: 30px; }
  .nav-links { display: none; }
}
@media (max-width: 1080px) {
  .fc-1 { left: 4px; }
  .fc-2 { right: 0; }
  .fch-1 { right: 6px; }
}
@media (max-width: 760px) {
  .float-card, .float-chip { display: none; }
}
@media (max-width: 560px) {
  .shell { padding-inline: 20px; }
  .gap { grid-template-columns: 1fr; }
  .gap-track { display: none; }
  .pole.end { margin-top: 2px; }
  .nav-right .btn-dark { padding: 10px 16px; font-size: 14px; }
  .beta-form { flex-direction: column; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .chip { display: none; }
  .cta-card { padding: 56px 24px; }
  .cta-form { flex-direction: column; }
}
