/* Kel-IA, page « Bientôt en ligne ».
   Built on Design System v2: tokens-v2.css is copied verbatim from the product
   repo (queditmaia/design/tokens-v2.css). Bind to SEMANTIC tokens only: no
   primitive, no literal, no named colour. */

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/urbanist-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/urbanist-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Specular rim on glass, as in app/styles/v2.css. */
  --fx-glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
:root[data-theme="dark"] {
  --fx-glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--surface-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* The mesh glow over the canvas gradient, same recipe as the product's
   conversation surface. A fixed layer rather than background-attachment: fixed,
   which iOS Safari ignores and which ends the glow at the first screen. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(58vw 52vw at 6% -4%, var(--glow-pink), transparent 68%),
    radial-gradient(54vw 46vw at 94% 72%, var(--glow-indigo), transparent 70%),
    radial-gradient(46vw 40vw at 50% 96%, var(--glow-mint), transparent 72%),
    var(--app-gradient);
}

.page {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: var(--space-5xl) var(--space-2xl) var(--space-4xl);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---- Logo: Figma 1292:727 (« Logo Kel-IA », 129 × 60.16) ------------------
   Live text, as drawn: « Kel » Urbanist Light and « IA » Urbanist Black at
   52.8px, the pink dot (exported asset) at x 65, y 30, 7 × 7, « IA » at x 73.
   Every Figma px is divided by 52.8 into an em, so one font-size scales the
   whole mark. The text takes --text-primary and flips with the mode; the dot
   keeps the brand pink in both. */
.logo {
  position: relative;
  display: block;
  width: 2.4432em; /* 129 / 52.8 */
  height: 1.1393em; /* 60.16 / 52.8 */
  font-size: 84px;
  line-height: 1;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo__kel,
.logo__ia {
  position: absolute;
  top: 0;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}
.logo__kel {
  left: 0;
  font-weight: 300;
}
.logo__ia {
  left: 1.3826em; /* 73 / 52.8 */
  font-weight: 900;
}
.logo__dot {
  position: absolute;
  left: 1.2311em; /* 65 / 52.8 */
  top: 0.5682em; /* 30 / 52.8 */
  width: 0.1326em; /* 7 / 52.8 */
  height: 0.1326em;
  display: block;
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2xl);
  padding-top: var(--space-6xl);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  background-color: var(--accent-brand-subtle);
  color: var(--text-brand);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.eyebrow__pulse {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--accent-brand);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
h1 .accent {
  color: var(--text-brand-display);
}

.lead {
  margin: 0;
  max-width: 60ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ---- What you will be able to do ---------------------------------------- */
.features {
  margin-top: var(--space-6xl);
}
.features h2 {
  margin: 0 0 var(--space-xl);
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background-color: var(--surface-glass-strong);
  backdrop-filter: blur(var(--blur-glass-sm)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur-glass-sm)) saturate(1.4);
  box-shadow: inset 0 0 0 var(--stroke-hairline) var(--border-glass),
    var(--fx-glass-rim), var(--elevation-2);
}
.card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--accent-primary-subtle);
  color: var(--accent-primary-text);
  font-size: 15px;
  font-weight: 700;
}
.card h3 {
  margin: var(--space-2xs) 0 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}
.card p {
  margin: 0;
  font-size: 17px;
  color: var(--text-secondary);
}

/* ---- Footer -------------------------------------------------------------- */
.footer {
  margin-top: auto;
  padding-top: var(--space-6xl);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 15px;
  color: var(--text-muted);
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}
.footer__brand img {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: block;
}
.footer p {
  margin: 0;
}
.footer a {
  white-space: nowrap;
}
.footer a,
.legal a {
  color: var(--text-link);
  text-decoration: none;
  font-weight: 600;
}
.footer a:hover,
.legal a:hover {
  text-decoration: underline;
}
.footer a:focus-visible,
.legal a:focus-visible,
.logo-link:focus-visible {
  outline: var(--stroke-thick) solid var(--border-focus);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ---- Legal notice page --------------------------------------------------- */
.logo-link {
  display: inline-block;
  text-decoration: none;
}
.logo--small {
  font-size: 44px;
}
.legal {
  max-width: 760px;
  padding-top: var(--space-5xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.legal h1 {
  max-width: none;
  font-size: 44px;
  font-weight: 900;
}
.legal h2 {
  margin: var(--space-md) 0 0;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}
.legal ul {
  margin: 0;
  padding-left: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.legal li,
.legal p {
  margin: 0;
  color: var(--text-secondary);
}
.legal strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 720px) {
  .page {
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  }
  .logo {
    font-size: 60px;
  }
  .hero {
    padding-top: var(--space-4xl);
    gap: var(--space-xl);
  }
  h1 {
    font-size: 38px;
  }
  .lead {
    font-size: 17px;
  }
  .features {
    margin-top: var(--space-5xl);
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    padding: var(--space-xl);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow__pulse {
    animation: none;
  }
}
