/* ============================================================================
   CLIP ROOM — Site vitrine (Accueil / Docs / Pricing)
   Palette et typographie reprises de css/styles.css (éditeur) pour rester
   cohérent avec le look de l'application.
   ============================================================================ */

@font-face {
  font-family: "Chopin";
  src: url("../fonts/Chopin-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Navine";
  src: url("../fonts/NavineDemo-SemiCondensed.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Navine";
  src: url("../fonts/NavineDemo-SemiCondensed Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Aventa";
  src: url("../fonts/Aventa-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aventa";
  src: url("../fonts/Aventa-LightItallic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0b0e12;
  --panel: #11161c;
  --panel-2: #151a21;
  --panel-3: #0d1116;
  --line: #2a3038;
  --line-soft: #20262d;
  --text: #d5dbe7;
  --muted: #7e8798;

  --accent: #ff7548;
  --accent-2: #ff9a69;
  --blue: #3496e6;
  --green: #49c67a;

  --ui: "Aventa", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --brand-grad: linear-gradient(135deg, #a255ff, #63b9ff);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

/* Scrollbar sombre et fine (page entière + tout conteneur qui défile en
   interne, ex: .docs-sidebar) à la place du rendu par défaut du navigateur.
   Règle explicite sur html/body EN PLUS de la règle universelle : certains
   navigateurs n'appliquent pas fiablement un sélecteur "*" à la scrollbar
   racine du document, ce qui la faisait rendre différemment de celle, par
   exemple, de .docs-sidebar. */
*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track,
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: var(--line);
  border-radius: 8px;
  border: 2px solid var(--bg);
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background-color: var(--muted);
}

*::-webkit-scrollbar-corner,
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  background: radial-gradient(circle at 50% 10%, #080a0c 0, #06080a 45%, #07090c 100%);
  color: var(--text);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------------- */
/* HEADER                                                                  */
/* ---------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 14, 18, 0.85);
  border-bottom: 1px solid var(--line-soft);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 4px;
  justify-self: center;
}

.site-header-inner>.btn {
  justify-self: end;
}

.site-nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.site-nav-link:hover {
  color: var(--text);
  background: var(--panel-2);
}

.site-nav-link.active {
  color: var(--text);
  background: var(--panel-2);
}


/* ---------------------------------------------------------------------- */
/* BOUTONS                                                                 */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, transform 0.1s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-accent {
  background: var(--blue);
  color: #071824;
}

.btn-accent:hover {
  background: #63b9ff;
}

.btn-ghost {
  background: var(--panel-2);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

/* ---------------------------------------------------------------------- */
/* HERO                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  padding: 96px 174px 56px;
  text-align: left;
  border-bottom: 1px solid #20262d;
  background-color: #0d1116;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------- */
/* VIDEO HERO (ACCUEIL)                                                    */
/* ---------------------------------------------------------------------- */

.hero-video {
  max-width: 980px;
  margin: 0 auto;
  padding: 96px 24px 96px;
}

.hero-video-frame {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.hero-video-el {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: var(--panel-3);
  object-fit: cover;
}

/* ---------------------------------------------------------------------- */
/* SECTIONS GENERIQUES / TITRES                                            */
/* ---------------------------------------------------------------------- */

.section-heading {
  max-width: 640px;
  margin: 0 auto 0px;
  text-align: center;
}

.section-heading h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------- */
/* FONCTIONNALITES EN LIGNES ALTERNEES (ACCUEIL)                           */
/* ---------------------------------------------------------------------- */

.feature-rows {
  max-width: 80%;
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #20262d;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 56px 0;
}

.feature-row+.feature-row {
  border-top: 1px solid var(--line-soft);
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-row-media {
  flex: 3 1 0;
  min-width: 0;
}

.feature-row-text {
  flex: 1 1 0;
  min-width: 0;
}

.feature-row-media .video-placeholder {
  aspect-ratio: 4 / 3;
}

.feature-row-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  background: var(--panel-3);
}

.feature-row-image--pan-left {
  object-position: 90% 50%;
}

.video-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.feature-row-media .feature-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  background: var(--panel-3);
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 14, 18, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.video-play-btn:hover {
  background: rgba(11, 14, 18, 0.85);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-play-btn[hidden] {
  display: none;
}

.feature-row-index {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 14px;
}

.feature-row-text h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 14px;
}

.feature-row-text p {
  color: #b7b7b7;
  font-size: 18px;
  line-height: 1.7;
  max-width: 440px;
}

/* ---------------------------------------------------------------------- */
/* VIGNETTE VIDEO PLACEHOLDER                                              */
/* ---------------------------------------------------------------------- */

.video-placeholder {
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--panel-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}

.video-placeholder svg {
  opacity: 0.55;
}

.video-placeholder span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------- */
/* CTA DE FIN DE PAGE                                                      */
/* ---------------------------------------------------------------------- */

.cta-band {
  border-top: 1px solid var(--line-soft);
  padding: 64px 24px;
  text-align: center;
  background-color: #0d1116;
}

.cta-band h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-band .hero-cta {
  justify-content: center;
}

/* ---------------------------------------------------------------------- */
/* UNDER THE HOOD (ACCUEIL)                                                */
/* ---------------------------------------------------------------------- */

.under-hood {
  margin: 0 auto;
  padding: 24px 24px 96px;
  background-color: #0d1116;
  border-top: 1px solid #20262d;
  border-bottom: 1px solid #20262d;
}

.tech-group {
  margin-bottom: 32px;
}

.tech-group:last-child {
  margin-bottom: 0;
}

.tech-group-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
  text-align: center;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tech-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tech-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.tech-pill-sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

/* ---------------------------------------------------------------------- */
/* FAQ / COMMON QUESTIONS (ACCUEIL)                                        */
/* ---------------------------------------------------------------------- */

.faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 24px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--blue);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: color 0.15s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-item:hover .faq-question {
  color: var(--blue);
}

.faq-answer {
  padding: 0 22px 20px;
  color: #babcc1;
  font-size: 14px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------- */
/* PRICING                                                                 */
/* ---------------------------------------------------------------------- */

.pricing-hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px 36px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pricing-hero p {
  color: #b7b7b7;
  font-size: 18px;
  line-height: 1.6;
}

.pricing-card-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pricing-card {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue) inset, 0 24px 64px rgba(0, 0, 0, 0.35);
}

.pricing-card-badge {
  display: inline-block;
  background: var(--panel-2);
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.pricing-amount {
  font-size: 44px;
  font-weight: 800;
}

.pricing-period {
  color: var(--muted);
  font-size: 14px;
}

.pricing-credits {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 26px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: auto;
  padding-top: 16px;
  line-height: 1.5;
}

.pricing-packs-intro {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.pricing-packs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
  margin-bottom: 28px;
}

.pricing-packs-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.pack-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.pack-credits {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
}

.pricing-faq {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.pricing-faq h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-faq p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------- */
/* DOCS                                                                    */
/* ---------------------------------------------------------------------- */

.docs-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 120px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.docs-sidebar {
  position: sticky;
  top: 84px;
  width: 232px;
  flex-shrink: 0;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-sidebar-group-title {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 16px 12px 4px;
}

.docs-sidebar a {
  color: #b7b7b7;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.docs-sidebar a:hover {
  color: var(--text);
  background: var(--panel-2);
}

.docs-sidebar a.active {
  color: var(--blue);
  background: var(--panel-2);
  border-left-color: var(--blue);
  font-weight: 600;
}

.docs-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.docs-intro {
  scroll-margin-top: 90px;
}

.docs-intro h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.docs-intro p {
  color: #b7b7b7;
  font-size: 15px;
  line-height: 1.75;
  max-width: 640px;
}

.docs-section {
  scroll-margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.docs-section h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 10px;
}

.docs-section p {
  color: #b7b7b7;
  font-size: 15px;
  line-height: 1.75;
  max-width: 640px;
}

.docs-section .video-placeholder {
  max-width: 640px;
}

/* ---------------------------------------------------------------------- */
/* REFERENCE (bouton par bouton)                                          */
/* ---------------------------------------------------------------------- */

.ref-search {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.ref-search-row {
  display: flex;
  gap: 6px;
}

.ref-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.ref-search input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 44px 12px 14px;
  color: var(--text);
  font-family: var(--ui);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
}

.ref-search input:focus {
  border-color: var(--blue);
}

.ref-search-nav-stack {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ref-search-nav {
  flex: 1;
  width: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.ref-search-nav:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--blue);
}

.ref-search-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.ref-search-hint {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  pointer-events: none;
  background: var(--panel);
  line-height: 1;
}

.ref-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ref-subgroup-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ref-subgroup-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.ref-entry {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  scroll-margin-top: 90px;
}

.ref-entry.ref-indent {
  margin-left: 28px;
  background: var(--panel-2);
}

.ref-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  margin-top: 1px;
}

.ref-icon svg {
  width: 16px;
  height: 16px;
}

.ref-icon-flip {
  transform: scaleX(-1);
}

.ref-body h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ref-body p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.ref-key {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--blue);
  background: rgba(52, 150, 230, 0.1);
  border: 1px solid rgba(52, 150, 230, 0.25);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* Filtrage par la recherche */
.ref-entry.ref-dim {
  opacity: 0.25;
}

.ref-entry.ref-current {
  border-color: var(--blue);
  background: rgba(52, 150, 230, 0.08);
}

.docs-section.ref-section-dim {
  opacity: 0.35;
}

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

/* ---------------------------------------------------------------------- */
/* ROADMAP                                                                 */
/* ---------------------------------------------------------------------- */

.roadmap-hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px 36px;
  text-align: center;
}

.roadmap-hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
}

.roadmap-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.roadmap-timeline {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 24px 120px;
}

.roadmap-quarter {
  position: relative;
  padding: 0 0 48px 32px;
  border-left: 2px solid var(--line);
}

.roadmap-quarter:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.roadmap-quarter::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--blue);
}

.roadmap-quarter--milestone::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(52, 150, 230, 0.22);
}

.roadmap-quarter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.roadmap-quarter-label h2 {
  font-size: 21px;
  font-weight: 800;
}

.roadmap-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--panel-2);
  border: 1px solid var(--blue);
  padding: 3px 10px;
  border-radius: 20px;
}

.roadmap-quarter ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-quarter li {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.roadmap-quarter li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.roadmap-quarter li strong {
  color: var(--blue);
}

/* ---------------------------------------------------------------------- */
/* PAGES LEGALES (PRIVACY / TERMS)                                         */
/* ---------------------------------------------------------------------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}

.legal-page h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.legal-disclaimer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.legal-disclaimer strong {
  color: var(--text);
}

.legal-page section {
  margin-bottom: 36px;
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-page p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-page ul {
  margin: 12px 0 12px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page strong {
  color: var(--text);
}

.legal-page a {
  color: var(--blue);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-placeholder {
  color: var(--accent-2);
  font-style: italic;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 8px 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.legal-table-wrap th,
.legal-table-wrap td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.legal-table-wrap th {
  background: var(--panel-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.legal-table-wrap td {
  color: var(--muted);
  line-height: 1.55;
}

.legal-table-wrap tbody tr:last-child td {
  border-bottom: none;
}

/* ---------------------------------------------------------------------- */
/* FOOTER                                                                  */
/* ---------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 48px 24px 32px;
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 240px;
}

.footer-copyright {
  color: var(--muted);
  font-size: 12.5px;
}

.footer-columns {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--blue);
}

/* ---------------------------------------------------------------------- */
/* RESPONSIVE                                                              */
/* ---------------------------------------------------------------------- */

@media (max-width: 880px) {
  .docs-layout {
    flex-direction: column;
  }

  .docs-sidebar {
    position: static;
    width: 100%;
    max-height: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .docs-sidebar a {
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .docs-sidebar a.active {
    border-left-color: transparent;
    border-bottom-color: var(--blue);
  }
}

@media (max-width: 780px) {

  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 40px 0;
  }

  .feature-row-text p {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 12px;
  }

  .site-nav,
  .site-header-inner>.btn {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 30px;
  }

  .site-header-inner {
    padding: 12px 16px;
  }
}