/* ============================================================
   SAWL v4 , Design System
   Cormorant Garamond + Nunito Sans + IBM Plex Mono
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600;1,700&family=Nunito+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  --brand-deep:    #0f3a28;
  --brand-primary: #1b5c40;
  --brand-mid:     #2e8c5c;
  --brand-light:   #5ab888;
  --brand-pale:    #d4eee2;
  --accent:        #e8552a;
  --accent-mid:    #f07248;
  --accent-light:  #fac8b4;
  --bg:            #fefcf8;
  --bg-sage:       #eef6f1;
  --surface:       #ffffff;
  --ink:           #12231a;
  --ink-soft:      #3d5847;
  --ink-muted:     #7d9b8a;
  --line:          #dce8e2;
  --line-strong:   #b4cdc0;

  --shadow-xs: 0 2px 8px rgba(18,35,26,.05);
  --shadow-sm: 0 4px 18px rgba(18,35,26,.08);
  --shadow-md: 0 10px 40px rgba(18,35,26,.10);
  --shadow-lg: 0 22px 64px rgba(18,35,26,.14);
  --shadow-brand: 0 10px 36px rgba(27,92,64,.28);
  --shadow-accent: 0 10px 36px rgba(232,85,42,.24);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --header-h: 76px;
  --container: min(1280px, 92vw);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -50px; left: 16px; z-index: 9999;
  padding: 8px 16px; background: var(--brand-primary); color: #fff;
  border-radius: var(--radius-sm); font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: var(--container); margin-inline: auto; }

section { padding: 96px 0; }
@media (max-width: 1100px) { section { padding: 72px 0; } }
@media (max-width: 600px)  { section { padding: 56px 0; } }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-sage); color: var(--brand-primary);
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  padding: 5px 14px; border-radius: var(--radius-full); margin-bottom: 20px;
}
.section-header { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--ink-soft); font-size: 1.05rem; }

/* ── Alt backgrounds ── */
.bg-sage    { background: var(--bg-sage); }
.bg-deep    { background: var(--brand-deep); color: #fff; }
.bg-surface { background: var(--surface); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -.02em; color: var(--ink);
}
h1 em { font-style: italic; color: var(--brand-primary); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -.015em;
}
h3 {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700; line-height: 1.25;
}
h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 700; line-height: 1; letter-spacing: -.03em;
}

code, pre {
  font-family: var(--font-mono);
  font-size: .88rem;
  background: var(--bg-sage); border-radius: var(--radius-xs); padding: 2px 6px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: .95rem; font-weight: 700;
  line-height: 1; white-space: nowrap; transition: all .2s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn:focus-visible { outline: 2.5px solid var(--brand-mid); outline-offset: 3px; }

.btn-primary {
  background: var(--brand-primary); color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 14px 40px rgba(27,92,64,.36);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent; color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}
.btn-ghost:hover { background: var(--bg-sage); transform: translateY(-1px); }

.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  background: #c94820;
  box-shadow: 0 14px 40px rgba(232,85,42,.32);
  transform: translateY(-1px);
}

.btn-lg { padding: 17px 36px; font-size: 1.02rem; }
.btn-sm { padding: 10px 20px; font-size: .86rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(254,252,248,.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(254,252,248,.96);
}

.header-inner {
  display: flex; align-items: center; gap: 0;
  height: 100%; width: var(--container); margin-inline: auto;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; display: block; }

.main-nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: 36px; flex: 1;
}
.main-nav .mobile-cta-row { display: none; }
.main-nav a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: var(--bg-sage); color: var(--brand-primary);
}

.header-actions {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto; flex-shrink: 0;
}
.header-actions .btn-ghost { padding: 10px 18px; font-size: .88rem; }
.header-actions .btn-primary { padding: 10px 20px; font-size: .88rem; }

/* Hamburger */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; padding: 8px;
  border-radius: var(--radius-sm); color: var(--ink);
  transition: background .15s;
}
.menu-toggle:hover { background: var(--bg-sage); }
.menu-toggle span {
  display: block; width: 100%; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }

  .main-nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 16px; gap: 4px;
    box-shadow: var(--shadow-md);
    animation: slideDown .25s var(--ease-out);
    z-index: 899;
  }
  .main-nav a { padding: 12px 16px; font-size: 1rem; }
  .main-nav .mobile-cta-row {
    display: flex; gap: 10px; padding: 12px 0 4px;
    border-top: 1px solid var(--line); margin-top: 8px;
  }
  .main-nav .mobile-cta-row .btn { flex: 1; justify-content: center; }

  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } }
}

/* Body offset for fixed header */
body { padding-top: var(--header-h); }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.3;
  margin-bottom: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 88px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% -10%, rgba(90,184,136,.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 90% 80%, rgba(232,85,42,.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 1100px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-content { max-width: 600px; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-sage); color: var(--brand-primary);
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  padding: 6px 14px 6px 10px; border-radius: var(--radius-full);
  margin-bottom: 24px; border: 1px solid var(--brand-pale);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-mid);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,140,92,.5); }
  50% { box-shadow: 0 0 0 6px rgba(46,140,92,0); }
}

.hero h1 { margin-bottom: 20px; }
.hero-body {
  font-size: 1.08rem; line-height: 1.7;
  color: var(--ink-soft); max-width: 50ch; margin-bottom: 32px;
}

.hero-proof {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}
.proof-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 14px 18px;
  min-width: 130px;
}
.proof-card strong { font-size: 1.1rem; color: var(--brand-primary); font-weight: 800; }
.proof-card span { font-size: .78rem; color: var(--ink-muted); line-height: 1.4; margin-top: 2px; }

.proof-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.proof-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-sage); border: 1px solid var(--line);
  border-radius: var(--radius-full); padding: 4px 12px;
}

/* Hero visual side */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-chat-mockup {
  background: var(--surface); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px; width: 100%; max-width: 380px;
  border: 1px solid var(--line);
}
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-mid));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .8rem; font-weight: 700; flex-shrink: 0;
}
.chat-title { font-weight: 700; font-size: .9rem; }
.chat-subtitle { font-size: .74rem; color: var(--ink-muted); }
.online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #0ea870; margin-left: auto; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(14,168,112,.2);
}

.chat-messages { display: flex; flex-direction: column; gap: 10px; height: 440px; overflow-y: auto; }
.msg {
  max-width: 85%; padding: 10px 14px;
  border-radius: 14px; font-size: .86rem; line-height: 1.5;
}
.msg-user {
  background: var(--brand-primary); color: #fff;
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.msg-bot {
  background: var(--bg-sage); color: var(--ink);
  border-bottom-left-radius: 4px; align-self: flex-start;
  border: 1px solid var(--line);
}
.msg-typing {
  background: var(--bg-sage); border: 1px solid var(--line);
  border-bottom-left-radius: 4px; align-self: flex-start;
  display: flex; align-items: center; gap: 4px; padding: 12px 16px;
}
.msg-typing.msg-typing--user {
  align-self: flex-end;
  background: var(--brand-primary); border-color: var(--brand-primary);
  border-bottom-left-radius: 14px; border-bottom-right-radius: 4px;
}
.msg-typing--user .typing-dot {
  background: rgba(255,255,255,.7);
}
.typing-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-muted); animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

.chat-source-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; color: var(--brand-primary); font-weight: 600;
  background: var(--brand-pale); border-radius: var(--radius-full);
  padding: 2px 8px; margin-top: 4px;
}

/* Deco blobs */
.blob {
  position: absolute; border-radius: 50%; filter: blur(50px);
  pointer-events: none; z-index: 0; opacity: .5;
}
.blob-1 { width: 300px; height: 300px; background: rgba(90,184,136,.18); top: -60px; right: -80px; }
.blob-2 { width: 200px; height: 200px; background: rgba(232,85,42,.10); bottom: -40px; left: -40px; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1100px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: box-shadow .25s, transform .25s var(--ease-out);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-mid));
  opacity: 0; transition: opacity .25s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--bg-sage); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.4rem;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: .94rem; line-height: 1.65; }
.feature-card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: .86rem; font-weight: 700; color: var(--brand-primary);
  transition: gap .2s;
}
.feature-card .card-link:hover { gap: 10px; }

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.problems-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px;
}
@media (max-width: 1100px) { .problems-grid { grid-template-columns: 1fr; } }

.problem-card {
  padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
}
.problem-number {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--brand-pale); line-height: 1; margin-bottom: 12px;
}
.problem-stat {
  font-size: .78rem; font-weight: 600; color: var(--accent);
  background: rgba(232,85,42,.08); border-radius: var(--radius-full);
  padding: 3px 10px; display: inline-block; margin-top: 12px;
}

.solution-transition {
  text-align: center; padding: 32px 0;
  font-size: 1.1rem; font-weight: 600; color: var(--brand-primary);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}

.solution-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden;
}
@media (max-width: 1100px) { .solution-steps { grid-template-columns: 1fr; } }

.solution-step {
  padding: 36px 28px; position: relative;
}
.solution-step:not(:last-child) {
  border-right: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .solution-step:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }
}
.solution-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; margin-bottom: 16px;
}
.solution-step h4 { margin-bottom: 8px; }
.solution-step p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.solution-step ul { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.solution-step ul li {
  font-size: .82rem; color: var(--brand-primary); font-weight: 600;
  padding-left: 14px; position: relative;
}
.solution-step ul li::before { content: '✓'; position: absolute; left: 0; }

/* ============================================================
   HOW IT WORKS TIMELINE
   ============================================================ */
/* Legacy timeline rules removed , see .timeline block below (~line 1256+) */

/* ============================================================
   TESTIMONIALS / SOCIAL PROOF
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: box-shadow .25s, transform .25s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.testimonial-stat {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--brand-primary); margin-bottom: 12px; line-height: 1;
}
.testimonial-quote {
  font-size: .95rem; color: var(--ink-soft); line-height: 1.7;
  font-style: italic; margin-bottom: 20px;
  border-left: 3px solid var(--brand-pale); padding-left: 16px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-mid));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .9rem; }
.author-title { font-size: .78rem; color: var(--ink-muted); }
.destination-badge {
  margin-left: auto; font-size: .74rem; font-weight: 600;
  background: var(--bg-sage); color: var(--brand-primary);
  padding: 3px 10px; border-radius: var(--radius-full); border: 1px solid var(--brand-pale);
}

.trust-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 48px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-full); padding: 8px 18px;
}
.trust-badge svg, .trust-badge span.icon { color: var(--brand-primary); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  text-align: center; padding: 96px 0;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band .cta-body {
  font-size: 1.05rem; color: var(--ink-soft); max-width: 52ch; margin-inline: auto; margin-bottom: 8px;
}
.cta-band .cta-note {
  font-size: .88rem; color: var(--ink-muted); margin-bottom: 32px;
}
.cta-reassurance {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
  margin-top: 24px;
}
.cta-reassurance span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .84rem; font-weight: 600; color: var(--ink-soft);
}
.cta-reassurance span::before { content: '✓'; color: var(--brand-mid); font-weight: 800; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.pricing-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-xl); padding: 36px 28px;
  position: relative; transition: box-shadow .25s, transform .25s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pricing-card.featured {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-brand);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-3px); }

.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-primary); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 16px; border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-plan { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); margin-bottom: 8px; }
.pricing-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.pricing-price .amount {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1;
  color: var(--ink);
}
.pricing-price .currency { font-size: 1.2rem; font-weight: 600; color: var(--ink-soft); }
.pricing-price .period { font-size: .88rem; color: var(--ink-muted); }
.pricing-tagline { font-size: .9rem; color: var(--ink-soft); margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--ink-soft);
}
.pricing-feature::before {
  content: '✓'; color: var(--brand-mid); font-weight: 800; flex-shrink: 0; margin-top: 1px;
}
.pricing-feature.missing { color: var(--ink-muted); }
.pricing-feature.missing::before { content: '–'; color: var(--ink-muted); }

/* Pricing comparison table */
.pricing-table-wrap { overflow-x: auto; margin-top: 64px; }
.pricing-table {
  width: 100%; border-collapse: collapse; min-width: 600px;
}
.pricing-table th, .pricing-table td {
  padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.pricing-table th:first-child, .pricing-table td:first-child { text-align: left; }
.pricing-table thead th {
  font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-muted); background: var(--bg-sage);
}
.pricing-table thead th.featured-col { background: var(--brand-primary); color: #fff; }
.pricing-table td.check { color: var(--brand-mid); font-size: 1.1rem; }
.pricing-table td.cross { color: var(--line-strong); }
.pricing-table tr:hover td { background: var(--bg-sage); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section-header {
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand-primary); background: var(--bg-sage);
  padding: 8px 16px; border-radius: var(--radius-full);
  display: inline-block; margin-bottom: 20px; margin-top: 40px;
}
.faq-section-header:first-of-type { margin-top: 0; }

.faq-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }

.faq-item {
  border: 1px solid rgba(224,219,212,.95);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.faq-item.open {
  border-color: rgba(27,92,64,.16);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 24px;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2.1vw, 1.45rem);
  font-weight: 600; color: var(--ink);
  text-align: left; background: var(--surface);
  transition: background .15s;
}
.faq-question:hover { background: #f8f4ee; }
.faq-item.open .faq-question { background: #f8f4ee; color: var(--ink); }

.faq-chevron {
  flex-shrink: 0; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); transition: transform .25s var(--ease-out), color .2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--brand-primary); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease-out), padding .3s;
  padding: 0 24px;
}
.faq-item.open .faq-answer { padding: 12px 24px 26px; }
.faq-answer p { font-size: .98rem; color: var(--ink-soft); line-height: 1.75; }
.faq-answer p + p { margin-top: 12px; }
.faq-answer ol, .faq-answer ul { padding-left: 20px; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.faq-answer li { font-size: .9rem; color: var(--ink-soft); }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.form-label .required { color: var(--accent); margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  padding: 12px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-md); background: var(--surface);
  color: var(--ink); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(46,140,92,.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-muted); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { appearance: none; cursor: pointer; }

.form-note {
  font-size: .82rem; color: var(--ink-muted); margin-top: 4px;
  display: flex; align-items: center; gap: 6px;
}

.form-success {
  display: none; text-align: center; padding: 32px;
  border: 1px solid var(--brand-pale); border-radius: var(--radius-lg);
  background: var(--bg-sage); color: var(--brand-primary);
}
.form-success.visible { display: block; }
.form-success .success-icon { font-size: 2rem; margin-bottom: 12px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { font-size: .94rem; color: var(--ink-soft); }

/* ============================================================
   DEMO PAGE LAYOUT
   ============================================================ */
.demo-layout {
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: flex-start;
}
@media (max-width: 1100px) { .demo-layout { grid-template-columns: 1fr; } }

.demo-steps { display: flex; flex-direction: column; gap: 20px; }
.demo-step {
  display: flex; gap: 16px;
  padding: 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.demo-step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .88rem;
}
.demo-step-text h4 { margin-bottom: 4px; }
.demo-step-text p { font-size: .88rem; color: var(--ink-soft); }

/* ============================================================
   SECURITY / RGPD PAGE
   ============================================================ */
.security-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 900px) { .security-grid { grid-template-columns: 1fr; } }

.security-card {
  padding: 32px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.security-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
  background: var(--bg-sage);
}
.security-card h3 { margin-bottom: 10px; }
.security-card p { color: var(--ink-soft); font-size: .94rem; line-height: 1.65; }
.security-card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.security-card ul li {
  font-size: .88rem; color: var(--ink-soft);
  padding-left: 16px; position: relative;
}
.security-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-mid); font-weight: 700; }

.compliance-badges {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 56px;
}
.compliance-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-md); font-weight: 700;
}
.compliance-badge .badge-icon { font-size: 1.4rem; }
.compliance-badge .badge-label { font-size: .82rem; color: var(--ink-muted); font-weight: 400; }

/* ============================================================
   FEATURE DEEP DIVE (alternating)
   ============================================================ */
.feature-deep { display: flex; flex-direction: column; gap: 96px; }

.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 1100px) { .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; } }

.feature-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-sage); color: var(--brand-primary);
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 16px;
  border: 1px solid var(--brand-pale);
}
.feature-row h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-family: var(--font-display); font-weight: 600; margin-bottom: 14px; }
.feature-row p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 14px; }
.why-matters {
  padding: 14px 18px; background: var(--bg-sage); border-left: 3px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .9rem; color: var(--ink-soft);
  margin-top: 16px;
}
.why-matters strong { color: var(--brand-primary); }

.feature-visual {
  background: var(--bg-sage); border-radius: var(--radius-xl);
  padding: 36px; min-height: 260px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.code-block {
  background: var(--brand-deep); color: #a8e6c0;
  border-radius: var(--radius-md); padding: 20px 24px;
  font-family: var(--font-mono); font-size: .82rem; line-height: 1.7;
  width: 100%; overflow-x: auto;
}
.code-comment { color: #4d8c6a; }
.code-tag { color: #7dd3fc; }
.code-attr { color: #fbbf24; }
.code-val { color: #86efac; }

/* ============================================================
   USE CASES CARDS
   ============================================================ */
.use-cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1100px) { .use-cases-grid { grid-template-columns: 1fr; } }

.use-case-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden;
}
.use-case-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-light));
}
.persona-role { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 12px; }
.use-case-card h4 { margin-bottom: 8px; }
.use-case-card p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 16px; }
.use-case-stats { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.use-case-stat { font-size: .84rem; font-weight: 600; color: var(--brand-primary); }

/* ============================================================
   HERO PAGE (sub-pages)
   ============================================================ */
.page-hero {
  padding: 72px 0 64px; text-align: center;
  background: linear-gradient(180deg, rgba(238,246,241,.6) 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .kicker { justify-content: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 4rem); max-width: 800px; margin-inline: auto; margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; color: var(--ink-soft); max-width: 55ch; margin-inline: auto; margin-bottom: 28px; }
.page-hero .btn-group { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #03281d;
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .78fr .9fr 1.02fr;
  gap: 52px;
  padding-bottom: 52px;
  margin-bottom: 0;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand-icon { filter: brightness(0) invert(1); height: 32px; width: auto; flex-shrink: 0; }
.footer-brand img { filter: brightness(0) invert(1); height: 32px; width: auto; margin-bottom: 14px; }
.footer-tagline {
  font-size: 1.04rem;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  max-width: 24ch;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.64); margin-top: 16px; }

.footer-nav .footer-col-title { color: rgba(255,255,255,.9); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 16px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav li a { font-size: .9rem; color: rgba(255,255,255,.65); transition: color .15s; }
.footer-nav li a:hover { color: #fff; }
.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 1rem;
  color: rgba(255,255,255,.62);
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-contact-label {
  font-size: 1.08rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 8px;
}
.footer-email-display {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.4vw, 3.15rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.footer-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.footer-secondary-link {
  color: rgba(255,255,255,.66);
}
.footer-secondary-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.64);
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.legal-content {
  max-width: 800px; margin-inline: auto; padding: 64px 0;
}
.legal-content h2 { font-size: 1.6rem; margin: 36px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-content h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content p { color: var(--ink-soft); margin-bottom: 14px; font-size: .95rem; }
.legal-content a { color: var(--brand-primary); text-decoration: underline; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted   { color: var(--ink-muted); }
.text-soft    { color: var(--ink-soft); }
.text-brand   { color: var(--brand-primary); }
.text-accent  { color: var(--accent); }

.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 600px) {
  h1 { letter-spacing: -.01em; }
  .hero { padding: 56px 0 48px; }
  .hero-visual { margin-top: 40px; }
  .hero-chat-mockup { max-width: 100%; padding: 16px; }
  .blob { display: none; }
  .msg-user:nth-child(3), .msg-bot:nth-child(4) { display: none; }
  .btn-lg { padding: 14px 28px; font-size: .95rem; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-3px); }
}

/* Focus styles */
:focus-visible { outline: 2.5px solid var(--brand-mid); outline-offset: 3px; }

/* ============================================================
   PRODUIT PAGE , Feature alternating layout
   ============================================================ */
.feature-alternating {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.feature-alternating:last-child { border-bottom: none; }
.feature-alternating--reverse .feature-alternating-text { order: 2; }
.feature-alternating--reverse .feature-alternating-visual { order: 1; }

.feature-alternating .feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-alternating-text .kicker { margin-bottom: 10px; display: inline-block; }
.feature-alternating-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
}
.feature-alternating-text p { color: var(--ink-soft); margin-bottom: 12px; }
.feature-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  padding: 8px 12px 8px 16px;
  background: var(--bg-sage);
  border-left: 3px solid var(--brand-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem;
  color: var(--ink-soft);
}

.feature-proof {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.feature-proof-item { display: flex; flex-direction: column; gap: 4px; }
.feature-proof-stat {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
}
.feature-proof-label { font-size: .78rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; }

/* Code mockup */
.code-mockup {
  background: #12231a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.code-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.code-mockup-bar span:not(.code-mockup-title) {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.code-mockup-bar span:nth-child(1) { background: #ff5f57; }
.code-mockup-bar span:nth-child(2) { background: #febc2e; }
.code-mockup-bar span:nth-child(3) { background: #28c840; }
.code-mockup-title {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-left: auto;
}
.code-mockup-body {
  padding: 20px;
  overflow-x: auto;
}
.code-mockup-body code {
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  white-space: pre;
}

/* Sandbox mockup */
.sandbox-mockup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sandbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-sage);
}
.sandbox-title { font-weight: 700; font-size: .88rem; }
.sandbox-badge {
  font-size: .74rem;
  font-family: var(--font-mono);
  background: var(--brand-pale);
  color: var(--brand-primary);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-weight: 600;
}
.sandbox-list { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.sandbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
}
.sandbox-item--active { background: var(--bg-sage); }
.sandbox-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-mid); flex-shrink: 0;
}
.sandbox-tag {
  margin-left: auto;
  font-size: .72rem;
  font-family: var(--font-mono);
  background: var(--line);
  color: var(--ink-muted);
  border-radius: var(--radius-full);
  padding: 2px 8px;
}

/* Analytics mockup */
.analytics-mockup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.analytics-title { font-weight: 700; font-size: .88rem; }
.analytics-period { font-size: .78rem; color: var(--ink-muted); font-family: var(--font-mono); }
.analytics-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.analytics-stat {
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-sage);
  border-radius: var(--radius-md);
}
.analytics-stat--alert { background: #fff4f0; }
.analytics-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.analytics-stat--alert .analytics-stat-value { color: var(--accent); }
.analytics-stat-label { font-size: .74rem; color: var(--ink-muted); }
.analytics-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}
.analytics-bar {
  flex: 1;
  background: var(--brand-pale);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  transition: background .2s;
}
.analytics-bar--accent { background: var(--brand-mid); }

/* Use case stats */
.use-case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.use-case-stat { text-align: center; }
.use-case-stat-v {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.2;
}
.use-case-stat-l { font-size: .74rem; color: var(--ink-muted); }

@media (max-width: 900px) {
  .feature-alternating {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0;
  }
  .feature-alternating--reverse .feature-alternating-text { order: 1; }
  .feature-alternating--reverse .feature-alternating-visual { order: 2; }
}

/* ============================================================
   COMMENT-CA-MARCHE PAGE , Timeline vertical
   ============================================================ */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background: var(--line);
}
.timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--brand-pale);
}
.timeline-step-num--continuous {
  background: var(--brand-deep);
  font-size: 1rem;
  letter-spacing: -.02em;
}
.timeline-connector {
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -48px;
  width: 2px;
  background: linear-gradient(var(--brand-pale), var(--line));
}
.timeline-step:last-child .timeline-connector { display: none; }
.timeline-step-content { padding-top: 8px; }
.timeline-step-meta { margin-bottom: 8px; }
.timeline-step-time {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-muted);
  background: var(--bg-sage);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}
.timeline-step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0 8px;
}
.timeline-step-content p { color: var(--ink-soft); }
.timeline-step-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.timeline-step-detail span {
  font-size: .8rem;
  color: var(--brand-primary);
  background: var(--bg-sage);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-weight: 600;
}

/* Timeline step staggered reveal (driven by parent .timeline[data-reveal].revealed) */
.timeline[data-reveal] .timeline-step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.timeline[data-reveal].revealed .timeline-step {
  opacity: 1;
  transform: translateY(0);
}
.timeline[data-reveal].revealed .timeline-step:nth-child(1) { transition-delay: 0s; }
.timeline[data-reveal].revealed .timeline-step:nth-child(2) { transition-delay: .1s; }
.timeline[data-reveal].revealed .timeline-step:nth-child(3) { transition-delay: .2s; }
.timeline[data-reveal].revealed .timeline-step:nth-child(4) { transition-delay: .3s; }
.timeline[data-reveal].revealed .timeline-step:nth-child(5) { transition-delay: .4s; }

/* ============================================================
   FAQ PAGE , Tabs
   ============================================================ */
.faq-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 40px;
  padding: 6px;
  background: var(--bg-sage);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  width: fit-content;
  max-width: 100%;
}
.faq-tab {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .2s;
  cursor: pointer;
  background: transparent;
  border: none;
}
.faq-tab:hover { background: var(--surface); color: var(--ink); }
.faq-tab.active, .faq-tab[aria-selected="true"] {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-panel { display: none; }
.faq-panel.active, .faq-panel:not([hidden]) { display: block; }

/* ============================================================
   SECURITE PAGE , Compliance badges & security cards
   ============================================================ */
.compliance-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.compliance-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  min-width: 100px;
}
.compliance-badge-icon { font-size: 1.6rem; line-height: 1; }
.compliance-badge-label { font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-align: center; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.security-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.security-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px 20px;
  background: var(--bg-sage);
  border-bottom: 1px solid var(--line);
}
.security-card-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.security-card-header h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.security-card-body { padding: 24px 28px; }
.security-card-body p { color: var(--ink-soft); margin-bottom: 8px; font-size: .93rem; }
.security-card-body h3 {
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink-soft);
}
.security-list-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fde8e2;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.security-list-icon--ok {
  background: var(--brand-pale);
  color: var(--brand-primary);
}

.security-note {
  background: var(--bg-sage);
  border-left: 3px solid var(--brand-mid);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .85rem;
  color: var(--ink-soft);
}

.security-infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.security-infra-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: var(--bg-sage);
  border-radius: var(--radius-sm);
}
.security-infra-label { font-size: .74rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; }
.security-infra-value { font-size: .85rem; font-weight: 700; color: var(--ink); font-family: var(--font-mono); }

.security-score {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-sage);
  border-radius: var(--radius-md);
}
.security-score-ring { position: relative; }
.security-score-value {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-primary);
}

@media (max-width: 900px) {
  .security-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LEGAL PAGE , Content styles
   ============================================================ */
.legal-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}
.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.legal-section ul, .legal-section ol {
  list-style: disc;
  margin-bottom: 12px;
}
.legal-box {
  background: var(--bg-sage);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 12px 0;
}
.legal-box p { margin-bottom: 4px; font-size: .9rem; }
.legal-toc {
  background: var(--bg-sage);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 48px;
}
.legal-toc a:hover { text-decoration: underline; }

/* ============================================================
   STEPS COMPACT , How it works (Homepage process)
   ============================================================ */
.steps-compact {
  max-width: 760px;
  margin: 56px auto 0;
}
.step-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.step-row:last-child { border-bottom: none; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-row--accent .step-num {
  background: var(--brand-primary);
  color: #fff;
}
.step-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.step-body p {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.step-body code {
  font-family: var(--font-mono);
  font-size: .8em;
  background: var(--bg-sage);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--brand-primary);
}

/* ============================================================
   SOVEREIGNTY GRID , Trust section
   ============================================================ */
.sovereignty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 48px 0 40px;
}
.sovereignty-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}
.sovereignty-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.sovereignty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-pale);
  color: var(--brand-primary);
  margin-bottom: 20px;
}
.sovereignty-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.sovereignty-card p {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.sovereignty-infra-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: .84rem;
}
.sovereignty-infra-table th {
  text-align: left;
  padding: 8px 12px;
  background: var(--brand-deep);
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.sovereignty-infra-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.sovereignty-infra-table td:last-child {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .8rem;
}
.sovereignty-infra-table tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .sovereignty-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   CHAT DEMO , Widget with input row
   ============================================================ */
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0 0 16px 16px;
}
.chat-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color .15s;
}
.chat-input:focus { border-color: var(--brand-mid); }
.chat-input::placeholder { color: var(--ink-muted); }
.chat-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
}
.chat-send-btn:hover { background: var(--brand-mid); transform: scale(1.05); }
.chat-send-btn:active { transform: scale(.95); }

/* ============================================================
   MISSING CLASSES , QA fixes
   ============================================================ */

/* FAQ accordion chevron icon */
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-sage);
  color: var(--brand-primary);
  flex-shrink: 0;
  transition: transform .25s var(--ease-out), background .15s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--brand-pale);
}

/* Feature card icon (use-case segment cards) */
.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-pale);
  color: var(--brand-primary);
  margin-bottom: 20px;
}

/* Trust chips (proof chips variant) */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-pale);
  border-radius: 20px;
  padding: 4px 12px;
}

/* ============================================================
   TARIFS , ROI Comparison Block
   ============================================================ */
.roi-block {
  background: var(--bg-sage);
  border: 1px solid var(--brand-pale);
  border-radius: var(--radius-xl);
  padding: 36px 40px 28px;
  margin: 0 auto 48px;
  max-width: 860px;
  text-align: center;
}
.roi-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.roi-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 200px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1.5px solid var(--line);
}
.roi-col--sawl { border-color: var(--brand-primary); }
.roi-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-muted);
}
.roi-col--sawl .roi-label { color: var(--brand-primary); }
.roi-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.roi-col--sawl .roi-price { color: var(--brand-primary); }
.roi-price span { font-size: .9rem; font-weight: 400; color: var(--ink-muted); }
.roi-desc { font-size: .8rem; color: var(--ink-soft); line-height: 1.4; }
.roi-vs {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-muted);
  flex-shrink: 0;
}
.roi-conclusion {
  font-size: .9rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 auto;
  font-style: italic;
}
@media (max-width: 640px) {
  .roi-block { padding: 24px 20px 20px; }
  .roi-vs { transform: rotate(90deg); }
}

/* ============================================================
   SECTION À PROPOS
   ============================================================ */
.about-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 40px auto 0;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  flex: 1;
  min-width: 130px;
  text-align: center;
}
.about-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
}
.about-stat-label {
  font-size: .78rem;
  color: var(--ink-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============================================================
   SIGNUP TUNNEL , inscription, verification, confirmation
   ============================================================ */

/* Section */
.signup-section {
  padding: 48px 0 96px;
}

/* Stepper */
.signup-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.signup-stepper-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.signup-stepper-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: var(--bg-sage);
  color: var(--ink-muted);
  border: 2px solid var(--line);
  flex-shrink: 0;
  transition: all .3s var(--ease-out);
}
.signup-stepper-step.active .signup-stepper-num {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.signup-stepper-step.completed .signup-stepper-num {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.signup-stepper-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color .3s;
}
.signup-stepper-step.active .signup-stepper-label {
  color: var(--ink);
}
.signup-stepper-step.completed .signup-stepper-label {
  color: var(--brand-primary);
}
.signup-stepper-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 16px;
  transition: background .3s;
}
.signup-stepper-line--done {
  background: var(--brand-primary);
}

/* Layout override for signup */
.signup-layout {
  align-items: flex-start;
}

/* Steps visibility */
.signup-step {
  display: none;
}
.signup-step.active {
  display: block;
}

/* Step content */
.signup-step h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 8px;
}
.signup-subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 50ch;
}

/* Back button */
.signup-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  transition: color .15s;
}
.signup-back:hover {
  color: var(--brand-primary);
}

/* Password wrapper */
.password-wrapper {
  position: relative;
}
.password-wrapper .form-input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s;
}
.password-toggle:hover {
  color: var(--ink);
}

/* Password strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.password-strength-bar {
  flex: 1;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.password-strength-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  transition: width .3s, background .3s;
  background: var(--line);
}
.password-strength-fill[data-level="weak"] {
  background: #e85c4a;
}
.password-strength-fill[data-level="medium"] {
  background: #e8a44a;
}
.password-strength-fill[data-level="strong"] {
  background: var(--brand-mid);
}
.password-strength-text {
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-muted);
  min-width: 60px;
}

/* Form error & hint */
.form-error {
  display: block;
  font-size: .78rem;
  color: var(--accent);
  margin-top: 4px;
  min-height: 0;
}
.form-hint {
  display: block;
  font-size: .78rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* Form validation states */
.form-input.is-valid {
  border-color: var(--brand-mid);
}
.form-input.is-invalid {
  border-color: var(--accent);
}

/* Login link */
.signup-login-link {
  text-align: center;
  font-size: .88rem;
  color: var(--ink-muted);
  margin-top: 24px;
}
.signup-login-link a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}
.signup-login-link a:hover {
  text-decoration: underline;
}

/* Recap box (step 2) */
.signup-recap {
  background: var(--bg-sage);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.signup-recap-title {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.signup-recap-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.signup-recap-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.signup-recap-label {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-muted);
}
.signup-recap-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}
.signup-recap-value--sub {
  font-size: .82rem;
  font-weight: 400;
  color: var(--ink-soft);
}

/* Sidebar */
.signup-sidebar {
  background: var(--bg-sage);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky;
  top: 96px;
}
.signup-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.signup-sidebar-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.signup-sidebar-proof {
  text-align: center;
}
.signup-sidebar-proof-logos {
  margin-bottom: 10px;
}
.signup-sidebar-proof-text {
  font-size: .82rem;
  color: var(--ink-muted);
  font-weight: 600;
}
.signup-sidebar-quote {
  font-size: .88rem;
  color: var(--ink-soft);
  font-style: italic;
  border-left: 3px solid var(--brand-pale);
  padding-left: 14px;
  line-height: 1.6;
}
.signup-sidebar-quote-author {
  font-size: .78rem;
  color: var(--ink-muted);
  margin-top: 8px;
  padding-left: 14px;
}

/* Demo step active highlight */
.demo-step-num--active {
  background: var(--brand-primary);
  color: #fff;
}

/* ── Verification email page ── */
.verify-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px 48px 48px;
  box-shadow: var(--shadow-sm);
}
.verify-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand-primary);
  margin: 0 auto 24px;
}
.verify-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.verify-subtitle {
  font-size: .95rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.verify-email {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
  font-family: var(--font-mono);
  margin-bottom: 32px;
}

/* Code inputs */
.verify-form {
  margin-bottom: 24px;
}
.code-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.code-input {
  width: 48px;
  height: 56px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.code-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(46,140,92,.12);
}
.code-input.is-invalid {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,85,42,.1);
}
.code-separator {
  font-size: 1.2rem;
  color: var(--ink-muted);
  margin: 0 4px;
}
.verify-error {
  text-align: center;
  margin-bottom: 16px;
}
.verify-submit {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}

/* Resend */
.verify-resend {
  margin-bottom: 20px;
}
.verify-resend p {
  font-size: .86rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.verify-resend-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.verify-resend-btn {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color .15s;
}
.verify-resend-btn:hover {
  text-decoration: underline;
  color: var(--brand-mid);
}
.verify-resend-separator {
  color: var(--ink-muted);
  font-size: .8rem;
}
.verify-resend-success {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-pale);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-bottom: 16px;
}

/* Help text */
.verify-help {
  background: var(--bg-sage);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.verify-help p {
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.verify-help p:last-child {
  margin-bottom: 0;
}

/* Demo simulation link */
.verify-demo-link {
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

/* ── Account confirmed page ── */
.confirm-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.confirm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand-primary);
  margin: 0 auto 24px;
  animation: confirmPop .5s var(--ease-out);
}
@keyframes confirmPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.confirm-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.confirm-subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* Next steps box */
.confirm-next {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 36px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.confirm-next-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.confirm-next-desc {
  font-size: .93rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 56ch;
}

/* Confirm steps */
.confirm-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.confirm-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.confirm-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.confirm-step-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.confirm-step-text p {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* CTA */
.confirm-cta {
  margin-bottom: 28px;
}
.confirm-cta .btn {
  margin-bottom: 12px;
}
.confirm-cta-sub {
  font-size: .86rem;
  color: var(--ink-muted);
}

/* Help link */
.confirm-help {
  background: var(--bg-sage);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.confirm-help p {
  font-size: .86rem;
  color: var(--ink-soft);
  margin: 0;
}
.confirm-help a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}
.confirm-help a:hover {
  text-decoration: underline;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 32px;
  align-items: start;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 10px;
}
.auth-subtitle {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 50ch;
}
.auth-form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: -4px;
}
.auth-secondary-link {
  color: var(--brand-primary);
  font-size: .88rem;
  font-weight: 700;
}
.auth-secondary-link:hover {
  text-decoration: underline;
}
.auth-form-note {
  font-size: .84rem;
  color: var(--ink-muted);
  margin-top: 6px;
}
.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--ink-soft);
}
.auth-submit {
  width: 100%;
  justify-content: center;
}
.auth-success[hidden] {
  display: none !important;
}
.auth-success {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-sage);
  border: 1px solid var(--line);
}
.auth-success.is-visible {
  display: block;
}
.auth-success p {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.auth-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.auth-action-row .btn {
  justify-content: center;
}
.auth-aside {
  background: var(--bg-sage);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky;
  top: 96px;
}
.auth-aside h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.auth-aside p {
  color: var(--ink-soft);
  line-height: 1.6;
}
.auth-aside-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0;
}
.auth-aside-list li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.55;
}
.auth-aside-list li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(232,85,42,.1);
}
.auth-aside-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--ink-muted);
}
.auth-title-inline {
  font-weight: 700;
  color: var(--ink);
}
.auth-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0 24px;
}
.auth-reset-error {
  display: block;
  color: var(--accent);
  font-size: .82rem;
  margin-top: -6px;
}

/* ── Responsive signup ── */
@media (max-width: 600px) {
  .signup-section { padding-top: 32px; }
  .signup-stepper { margin-bottom: 32px; }
  .signup-stepper-label { display: none; }
  .signup-stepper-line { margin: 0 12px; }
  .verify-card { padding: 36px 24px 32px; }
  .code-input { width: 40px; height: 48px; font-size: 1.2rem; }
  .confirm-next { padding: 24px 20px; }
  .signup-sidebar { position: static; }
  .auth-card,
  .auth-aside { padding: 28px 24px; }
  .auth-action-row { flex-direction: column; }
  .auth-action-row .btn { width: 100%; }
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    position: static;
  }
}

/* ── Cookie / Analytics consent banner ── */
.consent-banner[hidden] { display: none !important; }
.consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9000;
  display: block;
  padding: 14px 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.consent-banner.is-open {
  transform: translateY(0);
  opacity: 1;
}
.consent-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}
.consent-banner__copy {
  display: grid;
  gap: 2px;
}
.consent-banner__title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .9rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.consent-banner__text {
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.consent-banner__link {
  width: fit-content;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-banner__link:hover {
  color: var(--brand-mid);
}
.consent-banner__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.consent-btn {
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.consent-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}
.consent-btn.is-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}
.consent-btn.is-primary:hover {
  background: var(--brand-mid);
  box-shadow: var(--shadow-brand);
}
@media (max-width: 600px) {
  .consent-banner { padding: 12px 16px; }
  .consent-banner__inner { grid-template-columns: 1fr; gap: .6rem; }
  .consent-banner__actions { justify-content: flex-start; }
}
