/* Base */

:root {
  color-scheme: light;
  --color-page: #fbfaf7;
  --color-page-soft: #f3f0ea;
  --color-surface: rgba(255, 255, 255, 0.74);
  --color-surface-solid: #fffefa;
  --color-surface-elevated: #ffffff;
  --color-text: #16131b;
  --color-text-soft: #312c3f;
  --color-text-muted: #706a7b;
  --color-border: rgba(22, 19, 27, 0.12);
  --color-border-strong: rgba(22, 19, 27, 0.22);
  --color-accent: #4a426f;
  --color-accent-soft: #9d83d7;
  --color-navbar: rgba(255, 255, 255, 0.76);
  --color-navbar-scrolled: rgba(255, 255, 255, 0.88);
  --color-image-fade: #fbfaf7;
  --color-focus: #7066a7;
  --body-background: linear-gradient(180deg, rgba(255, 254, 250, 0.88) 0%, rgba(251, 250, 247, 0.94) 46%, rgba(255, 253, 249, 0.9) 100%), url("assets/fond-decor.jpg");
  --paper: var(--color-page);
  --paper-2: var(--color-page-soft);
  --ink: var(--color-text);
  --ink-2: var(--color-text-soft);
  --muted: var(--color-text-muted);
  --line: var(--color-border);
  --violet: var(--color-accent);
  --blue: #909ac9;
  --rose: #bd8294;
  --teal: #7fa7a2;
  --green: #72a57f;
  --amber: #c9995f;
  --red: #bb6c74;
  --shadow: 0 28px 90px rgba(32, 25, 48, 0.1);
  --shadow-soft: 0 16px 44px rgba(32, 25, 48, 0.07);
  --shadow-strong: 0 22px 70px rgba(32, 25, 48, 0.14);
  --navbar-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-duration: 500ms;
  --reveal-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --reveal-duration: 900ms;
  --radius: 34px;
  --radius-sm: 18px;
  --header-height: 82px;
  --content: min(1760px, calc(100vw - clamp(28px, 5vw, 112px)));
  --narrow: min(1180px, calc(100vw - clamp(28px, 5vw, 112px)));
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --color-page: #181816;
  --color-page-soft: #22211e;
  --color-surface: rgba(39, 38, 34, 0.78);
  --color-surface-solid: #24231f;
  --color-surface-elevated: #302e29;
  --color-surface-plum: rgba(44, 38, 48, 0.72);
  --color-surface-mist: rgba(35, 43, 41, 0.68);
  --color-button-quiet: #eee9df;
  --color-text: #f6f3ee;
  --color-text-soft: #d8d2dc;
  --color-text-muted: #b8b1bb;
  --color-border: rgba(246, 243, 238, 0.13);
  --color-border-strong: rgba(255, 255, 255, 0.22);
  --color-accent: #bba4ef;
  --color-accent-soft: #d3c5f5;
  --color-navbar: rgba(29, 29, 26, 0.66);
  --color-navbar-scrolled: rgba(31, 30, 27, 0.9);
  --color-image-fade: #181816;
  --color-focus: #d3c5f5;
  --body-background: linear-gradient(180deg, rgba(24, 24, 22, 0.92) 0%, rgba(32, 30, 28, 0.93) 46%, rgba(22, 22, 20, 0.96) 100%), url("assets/fond-decor.jpg");
  --blue: #aeb7e3;
  --rose: #e3aabc;
  --teal: #9fcac4;
  --green: #95c69f;
  --amber: #e0ba83;
  --red: #db929b;
  --shadow: 0 30px 95px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.25);
  --shadow-strong: 0 26px 85px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(131, 126, 126, 0.96) var(--color-border);
}

body {
  margin: 0;
  overflow-x: hidden;
  opacity: 0;
  font-family: var(--ui);
  color: var(--color-text);
  background: var(--body-background);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition:
    opacity 360ms ease,
    background-color 280ms ease,
    color 280ms ease;
}

body.page-ready {
  opacity: 1;
}

body.page-leave {
  opacity: 0;
}

body > main,
body > footer {
  transform: translateY(8px);
  transition: transform 360ms ease;
}

body.page-ready > main,
body.page-ready > footer {
  transform: translateY(0);
}

body.page-leave > main,
body.page-leave > footer {
  transform: translateY(-6px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  pointer-events: none;
  background: linear-gradient(rgba(22, 19, 27, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 19, 27, 0.025) 1px, transparent 1px), radial-gradient(circle, rgba(22, 19, 27, 0.06) 0 1px, transparent 1px);
  background-size: 128px 128px, 128px 128px, 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  pointer-events: none;
  mix-blend-mode: multiply;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.014) 0 1px, transparent 1px 6px);
}

::selection {
  background: rgba(112, 102, 167, 0.18);
}

::-webkit-scrollbar {
  width: 18px;
}

::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(22, 19, 27, 0.045);
}

::-webkit-scrollbar-thumb {
  border: 4px solid rgba(15, 14, 17, 0.045);
  border-radius: 999px;
  background: rgba(131, 126, 126, 0.96);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(9, 9, 10, 0.18), inset 0 -6px 12px rgba(11, 11, 12, 0.12), 0 0 18px rgba(14, 13, 15, 0.34);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

button {
  cursor: pointer;
}

.container {
  width: var(--content);
}

.narrow {
  width: var(--narrow);
}

.section {
  position: relative;
  padding: clamp(86px, 10vw, 180px) 0;
}

.section.slim {
  padding: clamp(62px, 7vw, 110px) 0;
}

.progress-line {
  display: none !important;
}

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

/* Composants */

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 16px 28px rgba(22, 19, 27, 0.16);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(22, 19, 27, 0.2);
}

.btn:active,
.auth-submit:active,
.auth-provider-icon:active {
  transform: translateY(0) scale(0.99);
}

.btn.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.btn.ghost {
  color: var(--muted);
  background: transparent;
  box-shadow: none;
}

.btn.block {
  width: 100%;
}

.arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.site-header:not(.scrolled) .btn {
  background: rgba(22, 19, 27, 0.88);
  box-shadow: 0 16px 34px rgba(22, 19, 27, 0.14);
}

.site-header:not(.scrolled) .btn.secondary,
.site-header:not(.scrolled) .menu-toggle,
.site-header.scrolled .btn.secondary,
.site-header.scrolled .menu-toggle {
  color: var(--ink);
  box-shadow: none;
}

.site-header:not(.scrolled) .btn.secondary,
.site-header:not(.scrolled) .menu-toggle {
  border-color: rgba(22, 19, 27, 0.08);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.site-header.scrolled .btn.secondary,
.site-header.scrolled .menu-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
}

.full-plans .plan .btn {
  margin-top: auto;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pill.sent {
  color: #477456;
  background: rgba(114, 165, 127, 0.16);
}

.pill.ready {
  color: #515b91;
  background: rgba(144, 154, 201, 0.18);
}

.pill.missing {
  color: #7c5b2c;
  background: rgba(201, 153, 95, 0.18);
}

.pill.reject {
  color: #91545a;
  background: rgba(187, 108, 116, 0.16);
}

.pill.draft {
  color: var(--violet);
  background: rgba(112, 102, 167, 0.14);
}

.pricing-page .plan .btn,
.pricing-page .pricing-card .btn,
.pricing-page .price-card .btn {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-page .plan:hover .btn,
.pricing-page .pricing-card:hover .btn,
.pricing-page .price-card:hover .btn {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 14px 34px rgba(22, 19, 27, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.pricing-page .plan .btn:hover,
.pricing-page .pricing-card .btn:hover,
.pricing-page .price-card .btn:hover {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(74, 66, 111, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.pricing-page .plan.featured:hover .btn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(22, 19, 27, 0.88);
  box-shadow: 0 14px 34px rgba(22, 19, 27, 0.14), inset 0 0 0 1px rgba(22, 19, 27, 0.14);
}

.pricing-page .plan.featured .btn:hover {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 18px 42px rgba(74, 66, 111, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nav-actions .btn.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(22, 19, 27, 0.10);
  box-shadow: none;
}

.nav-actions .btn.ghost:hover,
.nav-actions .btn.ghost.active,
.nav-actions .btn.ghost[href="auth.html"]:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 16px 34px rgba(22, 19, 27, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Navigation */

.nav-actions .active-action {
  color: var(--ink);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  transition:
    top var(--navbar-duration) var(--navbar-ease),
    background-color var(--navbar-duration) var(--navbar-ease),
    box-shadow var(--navbar-duration) var(--navbar-ease),
    border-color var(--navbar-duration) var(--navbar-ease),
    backdrop-filter var(--navbar-duration) var(--navbar-ease);
}

.nav-shell {
  display: flex;
  width: min(1400px, calc(100vw - 24px));
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-inline: auto;
  padding: 14px 32px;
  border: 1px solid rgba(22, 19, 27, 0.09);
  border-radius: 0;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(32, 25, 48, 0.1);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background var(--navbar-duration) var(--navbar-ease),
    width var(--navbar-duration) var(--navbar-ease),
    min-height var(--navbar-duration) var(--navbar-ease),
    padding var(--navbar-duration) var(--navbar-ease),
    border-radius var(--navbar-duration) var(--navbar-ease),
    border-color var(--navbar-duration) var(--navbar-ease),
    box-shadow var(--navbar-duration) var(--navbar-ease),
    -webkit-backdrop-filter var(--navbar-duration) var(--navbar-ease),
    backdrop-filter var(--navbar-duration) var(--navbar-ease),
    transform var(--navbar-duration) var(--navbar-ease);
}

.site-header.at-top .nav-shell,
.site-header:not(.scrolled) .nav-shell {
  border-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  box-shadow: none;
}

.site-header.scrolled {
  top: 16px;
}

.site-header.scrolled .nav-shell,
.site-header.is-scrolled .nav-shell {
  width: min(1200px, calc(100vw - 32px));
  min-height: 58px;
  padding: 6px 18px 6px 22px;
  border-radius: 999px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.logo img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22, 19, 27, 0.09);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 18px rgba(32, 25, 48, 0.08);
}

.site-header:not(.scrolled) .logo {
  color: var(--ink);
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.72);
}

.site-header:not(.scrolled) .logo img {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.site-header.scrolled .logo img {
  border: 1px solid rgba(22, 19, 27, 0.09);
  box-shadow: 0 8px 18px rgba(32, 25, 48, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 28px);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -0.01em;
}

.site-header:not(.scrolled) .nav-links {
  color: rgba(22, 19, 27, 0.58);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 8px;
  transition: color 240ms ease;
}

.site-header:not(.scrolled) .nav-links a {
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.82);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, transparent, rgba(22, 19, 27, 0.75), transparent);
  transition: opacity 240ms ease, transform 240ms ease;
}

.nav-links a:hover,
.nav-links a.active,
.site-header:not(.scrolled) .nav-links a:hover,
.site-header:not(.scrolled) .nav-links a.active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-links__mobile-actions,
[data-mobile-nav-actions] {
  display: none;
}

.menu-toggle {
  display: none;
}

.footer a:not(.logo) {
  display: flex;
  min-height: 44px;
  align-items: center;
  margin: 9px 0;
  color: var(--muted);
  font-size: 14px;
}

/* Hero index */

.hero-clean {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: clamp(110px, 9vw, 150px) 0 clamp(70px, 7vw, 120px);
  background: #fffefa;
}

.hero-clean::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: 260px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 254, 250, 0.72) 55%, var(--paper) 100%);
}

.hero-clean .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: contrast(0.98);
  transform: scale(1.03);
  pointer-events: none;
  user-select: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.74) 32%, rgba(255, 255, 255, 0.34) 58%, rgba(255, 255, 255, 0.08) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.74) 100%);
}

.hero-clean-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1760px, calc(100% - clamp(32px, 7vw, 140px)));
  grid-template-columns: minmax(420px, 760px) 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  margin-inline: auto;
}

.hero-clean .hero-copy {
  max-width: 760px;
}

.kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 22px rgba(112, 102, 167, 0.65);
}

.micro-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.micro-stat strong {
  color: var(--ink);
}

.hero-title,
.page-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 172px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.hero-clean .hero-title {
  max-width: 840px;
}

.hero-title .wide {
  display: block;
  letter-spacing: -0.09em;
}

.hero-title em,
.page-title em,
.section-title em {
  color: var(--violet);
  font-style: italic;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--ink-2);
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.75;
}

.trial-page .trial-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.76) 34%, rgba(255, 255, 255, 0.36) 62%, rgba(255, 255, 255, 0.08) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.86) 100%);
}

.trial-page .trial-hero-content .hero-lead {
  max-width: 680px;
  margin-left: 0;
  text-align: left;
}

.trial-page .trial-hero-content .page-title,
.trial-page .trial-hero-content .hero-lead,
.trial-page .trial-hero-content .hero-actions {
  max-width: 760px;
}

.security-page .security-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.76) 34%, rgba(255, 255, 255, 0.36) 62%, rgba(255, 255, 255, 0.08) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 48%, rgba(255, 255, 255, 0.88) 100%);
}

.security-page .security-hero-content .hero-lead {
  max-width: 680px;
}

/* Sections index */

.after-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.78) 0%, rgba(255, 253, 249, 0.82) 52%, rgba(251, 250, 247, 0.78) 100%);
}

.after-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.76), transparent 32rem), radial-gradient(circle at 92% 48%, rgba(255, 255, 255, 0.76), transparent 36rem);
}

.after-hero > :not(.side-background) {
  position: relative;
  z-index: 1;
}

.side-background {
  position: absolute;
  z-index: 0;
  width: min(1150px, 72vw);
  max-width: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
  filter: contrast(0.96);
  pointer-events: none;
}

.side-left {
  top: 440px;
  left: -34vw;
}

.side-right {
  top: 1450px;
  right: -34vw;
  transform: scaleX(-1);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(22, 19, 27, 0.08);
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  color: rgba(22, 19, 27, 0.52);
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 56px);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.marquee em {
  color: var(--violet);
  font-style: italic;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: end;
  gap: clamp(30px, 5vw, 80px);
  margin-bottom: 50px;
}

.section-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 128px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.section-desc {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.75;
}

.named-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(38px, 6vw, 110px);
}

.section-copy {
  max-width: 760px;
}

.numbered-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.numbered-list article {
  display: grid;
  grid-template-columns: 58px 110px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(22, 19, 27, 0.1);
}

.numbered-list span {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.numbered-list strong {
  font-family: var(--display);
  font-size: 32px;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.numbered-list p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.named-section-01 .section-image {
  position: relative;
  display: flex;
  min-height: clamp(560px, 58vw, 900px);
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
}

.decor-image {
  position: absolute;
  max-width: none;
  opacity: 0.58;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.named-section-01 .decor-main,
.named-section-01 .decor-top {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(1180px, 66vw);
  height: auto;
  max-width: none;
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter: none;
  transform: translateX(4%);
}

.process-merged {
  position: relative;
  overflow: visible;
  padding-top: 0;
}

.process-merged .tree-scene {
  position: relative;
  width: 100%;
  min-height: clamp(760px, 86vh, 1080px);
  margin: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.process-merged .tree-scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  mix-blend-mode: multiply;
  filter: contrast(0.98);
  pointer-events: none;
  user-select: none;
}

.process-merged .tree-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: clamp(760px, 86vh, 1080px);
  align-items: stretch;
  padding: 0;
  background: linear-gradient(90deg, rgba(255, 253, 249, 0.9) 0%, rgba(255, 253, 249, 0.7) 32%, rgba(255, 253, 249, 0.28) 58%, rgba(255, 253, 249, 0.06) 100%), linear-gradient(180deg, rgba(255, 253, 249, 0.78) 0%, rgba(255, 253, 249, 0.18) 38%, rgba(255, 253, 249, 0.82) 100%);
}

.process-merged-content {
  display: grid;
  width: var(--content);
  grid-template-columns: minmax(420px, 0.85fr) minmax(380px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 8vw, 160px);
  margin-inline: auto;
  padding: clamp(90px, 10vw, 160px) 0 clamp(70px, 8vw, 130px);
}

.process-merged .section-title {
  max-width: 640px;
  margin-top: 12px;
}

.process-merged .tree-note {
  width: min(580px, 100%);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(32, 25, 48, 0.07);
}

.process-merged .tree-note h3 {
  margin: 10px 0 12px;
  font-family: var(--display);
  font-size: clamp(44px, 4.4vw, 82px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.process-merged .tree-note p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.75;
}

/* Apercu mobile de l'espace Luna */

.mobile-showcase {
  overflow: hidden;
}

.mobile-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

.mobile-showcase__copy {
  max-width: 760px;
}

.mobile-showcase__copy h2 {
  max-width: 720px;
  margin: 14px 0 22px;
  font-family: var(--display);
  font-size: clamp(48px, 5.8vw, 94px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.mobile-showcase__copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.75;
}

.mobile-showcase__benefits {
  display: grid;
  gap: 12px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.mobile-showcase__benefits li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  line-height: 1.55;
}

.mobile-showcase__benefits li::before {
  content: "\2726";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--violet);
}

.luna-phone-showcase {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
}

.luna-phone-showcase__halo {
  position: absolute;
  top: 12%;
  left: 50%;
  z-index: -1;
  width: min(520px, 125%);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.68;
  background: radial-gradient(circle, rgba(157, 131, 215, 0.2), rgba(144, 154, 201, 0.1) 48%, transparent 72%);
  filter: blur(12px);
  transform: translateX(-50%);
}

.luna-phone-mockup {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 390 / 844;
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 54px;
  background: #17161b;
  box-shadow: 0 32px 80px rgba(24, 20, 30, 0.22), 0 8px 24px rgba(24, 20, 30, 0.12);
}

.luna-phone-mockup__display {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: #f8f6f1;
}

.luna-phone-mockup__camera {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 4;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #0b0a0e;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.luna-phone-mockup__side-button {
  position: absolute;
  z-index: -1;
  width: 4px;
  border-radius: 4px;
  background: #2c2a31;
}

.luna-phone-mockup__side-button--volume {
  top: 132px;
  left: -4px;
  height: 76px;
}

.luna-phone-mockup__side-button--power {
  top: 164px;
  right: -4px;
  height: 94px;
}

.luna-phone-ui {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: #16131b;
  background: #f8f6f1;
  font-family: var(--ui);
}

.luna-phone-ui__topbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 17px 8px;
  background: rgba(255, 255, 255, 0.9);
}

.luna-phone-ui__brand {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.luna-phone-ui__brand span {
  color: #7066a7;
}

.luna-phone-ui__preview-label {
  color: #706a7b;
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.luna-phone-ui__hero {
  position: relative;
  isolation: isolate;
  min-height: 212px;
  overflow: hidden;
  color: #fff;
}

.luna-phone-ui__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 19, 27, 0.72), rgba(22, 19, 27, 0.18)), linear-gradient(0deg, rgba(22, 19, 27, 0.34), transparent 55%);
}

.luna-phone-ui__hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.luna-phone-ui__hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 34px 18px 18px;
}

.luna-phone-ui__hero-copy > span {
  margin-bottom: 6px;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.luna-phone-ui__hero-copy > strong {
  font-family: var(--display);
  font-size: 34px;
  line-height: 0.95;
}

.luna-phone-ui__hero-copy > small {
  margin-top: 6px;
  font-size: 9px;
}

.luna-phone-ui__primary-action {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  padding: 0 12px;
  border-radius: 999px;
  color: #17161b;
  background: rgba(255, 255, 255, 0.92);
  font-size: 8px;
  font-weight: 700;
}

.luna-phone-ui__content {
  display: grid;
  min-height: 0;
  flex: 1;
  align-content: start;
  gap: 12px;
  padding: 14px;
}

.luna-phone-ui__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.luna-phone-ui__stats > div,
.luna-phone-ui__panel,
.luna-phone-ui__company {
  border: 1px solid rgba(22, 19, 27, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 5px 16px rgba(32, 25, 48, 0.04);
}

.luna-phone-ui__stats > div {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 12px;
}

.luna-phone-ui__stats strong {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
}

.luna-phone-ui__stats span,
.luna-phone-ui__panel-title span,
.luna-phone-ui__action-row small,
.luna-phone-ui__company small {
  color: #706a7b;
  font-size: 7px;
}

.luna-phone-ui__panel {
  overflow: hidden;
  border-radius: 14px;
}

.luna-phone-ui__panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 11px 8px;
  font-size: 9px;
}

.luna-phone-ui__action-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border-top: 1px solid rgba(22, 19, 27, 0.06);
  font-size: 8px;
}

.luna-phone-ui__action-row > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.luna-phone-ui__action-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #4a426f;
  background: #eee9f7;
  font-size: 11px;
}

.luna-phone-ui__company {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
}

.luna-phone-ui__company > div {
  display: grid;
  min-width: 0;
  gap: 2px;
  font-size: 8px;
}

.luna-phone-ui__company-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #4a426f;
  font-family: var(--display);
  font-weight: 700;
}

.luna-phone-ui__status {
  padding: 4px 6px;
  border-radius: 999px;
  color: #4a426f;
  background: #eee9f7;
  font-size: 6px;
  font-weight: 700;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 80px) 0;
}

.final-cta-inner {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  min-height: clamp(520px, 40vw, 760px);
  margin-left: -50vw;
  overflow: hidden;
}

.final-cta-inner > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.decor-image:not([src$=".gif" i]),
.profile-main:not([src$=".gif" i]),
.profile-secondary:not([src$=".gif" i]),
.section-image img:not([src$=".gif" i]),
.final-cta-inner > img:not([src$=".gif" i]),
.page-visual img:not([src$=".gif" i]),
.tool-visual-side img:not([src$=".gif" i]) {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.92) 82%, rgba(0, 0, 0, 0.5) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.92) 82%, rgba(0, 0, 0, 0.5) 92%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.trial-page .trial-panel .tool-intro .section-label,
.trial-page .trial-panel .tool-intro h2,
.trial-page .trial-panel .tool-intro p {
  position: relative;
  z-index: 2;
}

.after-hero,
.footer,
.final-cta,
.page-hero,
.section,
.dashboard {
  background-color: transparent;
}

/* Formulaires et panneaux */

.tool-panel {
  display: grid;
  grid-template-columns: minmax(460px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  overflow: visible;
  border: 1px solid rgba(22, 19, 27, 0.09);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
}

.tool-visual-side {
  position: relative;
  min-height: 720px;
  overflow: visible;
  background: transparent;
}

.tool-visual-side::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle at 18% 82%, rgba(249, 247, 243, 0.78), transparent 26%), radial-gradient(circle at 76% 22%, rgba(249, 247, 243, 0.58), transparent 22%), linear-gradient(180deg, rgba(249, 247, 243, 0.06), rgba(249, 247, 243, 0.14));
}

.tool-visual-side img {
  border: none;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: multiply;
  filter: none;
}

.profile-main {
  position: absolute;
  top: 4%;
  left: 0;
  z-index: 2;
  width: min(620px, 42vw);
  opacity: 0.94;
}

.profile-secondary {
  position: absolute;
  right: 0;
  bottom: 2%;
  z-index: 3;
  width: min(420px, 30vw);
  opacity: 0.9;
}

.tool-intro {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 38px;
  border-radius: 42px 0 0 42px;
}

.tool-intro img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.82) 16%, #000 42%, rgba(0, 0, 0, 0.86) 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.82) 16%, #000 42%, rgba(0, 0, 0, 0.86) 72%, transparent 100%);
}

.tool-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--color-image-fade) 0%, rgba(255, 255, 255, 0.42) 24%, rgba(255, 255, 255, 0.26) 72%, var(--color-image-fade) 100%),
    linear-gradient(180deg, var(--color-image-fade) 0%, rgba(255, 255, 255, 0.36) 48%, var(--color-image-fade) 100%);
}

.tool-intro > * {
  position: relative;
  z-index: 2;
}

.tool-intro h2,
.tool-form h2,
.auth-card h2 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 4.4vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.tool-intro p,
.tool-form p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.75;
}

.refined-tool .tool-form,
.tool-form {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 38px;
  background: rgba(255, 255, 255, 0.7);
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(22, 19, 27, 0.12);
  border-radius: 18px;
  color: var(--ink);
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(112, 102, 167, 0.42);
  box-shadow: 0 0 0 5px rgba(112, 102, 167, 0.09);
}

.dropzone {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 1.5px dashed rgba(22, 19, 27, 0.18);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.45);
  transition: 0.25s ease;
}

.dropzone:hover {
  border-color: rgba(112, 102, 167, 0.45);
  background: rgba(112, 102, 167, 0.06);
  transform: translateY(-2px);
}

.dropzone strong {
  color: var(--ink);
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tiny {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.trial-page .trial-panel .tool-intro {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: clamp(28px, 4vw, 56px);
  justify-content: flex-end;
}

.trial-page .trial-panel .tool-intro img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.34;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.84) 18%, #000 46%, rgba(0, 0, 0, 0.78) 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.84) 18%, #000 46%, rgba(0, 0, 0, 0.78) 76%, transparent 100%);
}

.trial-page .trial-panel .tool-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 76% 18%, rgba(255, 253, 249, 0.42), transparent 34%),
    linear-gradient(90deg, var(--color-image-fade) 0%, rgba(255, 253, 249, 0.3) 26%, rgba(255, 253, 249, 0.24) 76%, var(--color-image-fade) 100%),
    linear-gradient(180deg, var(--color-image-fade) 0%, rgba(255, 253, 249, 0.34) 48%, var(--color-image-fade) 100%);
}

.trial-page .trial-panel .tool-intro > *:not(img) {
  position: relative;
  z-index: 2;
}

.trial-page .trial-panel .tool-intro h2 {
  margin-top: 10px;
  margin-bottom: 22px;
}

/* Page tarifs */

.price-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.price-intro,
.plan,
.page-card,
.auth-card,
.kpi,
.table-card,
.sidebar {
  border: 1px solid rgba(22, 19, 27, 0.09);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.price-intro {
  padding: 34px;
  border-radius: 36px;
}

.price-intro h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 96px);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.price-intro p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.75;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 30px;
}

.pricing-page .plan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pricing-page .plan__art {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  pointer-events: none;
}

.pricing-page .plan__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pricing-page .plan::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(253, 252, 249, .5) 0%, rgba(253, 252, 249, .86) 35%, rgba(253, 252, 249, .97) 72%, rgba(253, 252, 249, .99) 100%);
}

.pricing-page .plan--essentiel .plan__art img { object-position: center 20%; }
.pricing-page .plan--plus .plan__art img { object-position: center 18%; }
.pricing-page .plan--pro .plan__art img { object-position: center 20%; }
.pricing-page .plan > .btn { margin-top: auto; }

html[data-theme="dark"] .pricing-page .plan::before {
  background: linear-gradient(180deg, rgba(20, 18, 24, .38), rgba(20, 18, 24, .82) 42%, rgba(20, 18, 24, .96) 78%, rgba(20, 18, 24, .98));
}

.plan.featured {
  border-color: rgba(112, 102, 167, 0.32);
  transform: translateY(-12px);
}

.plan small {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.plan .price {
  font-family: var(--display);
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.plan p,
.plan li {
  color: var(--ink-2);
  line-height: 1.65;
}

.plan p,
.plan ul {
  margin: 0;
}

.plan ul {
  padding-left: 18px;
}

.pricing-hero-visual {
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.pricing-hero-visual img {
  position: relative;
  z-index: 1;
  width: min(760px, 42vw);
  height: auto;
  max-height: none;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
  mix-blend-mode: multiply;
  filter: none;
  pointer-events: none;
  user-select: none;
}

.pricing-page .plan,
.pricing-page .pricing-card,
.pricing-page .price-card {
  position: relative;
  min-width: 0;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1), background 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-page .plan:hover,
.pricing-page .pricing-card:hover,
.pricing-page .price-card:hover {
  transform: translateY(-5px) scale(1.012);
  border-color: rgba(22, 19, 27, 0.92);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 56px rgba(22, 19, 27, 0.12), inset 0 0 0 1px rgba(22, 19, 27, 0.16);
}

.pricing-page .plan.featured:hover {
  transform: translateY(-8px) scale(1.018);
  border-color: rgba(22, 19, 27, 0.96);
}

.pricing-page .plan h3,
.pricing-page .plan .price,
.pricing-page .pricing-card h3,
.pricing-page .pricing-card .price,
.pricing-page .price-card h3,
.pricing-page .price-card .price {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-page .plan:hover h3,
.pricing-page .plan:hover .price,
.pricing-page .pricing-card:hover h3,
.pricing-page .pricing-card:hover .price,
.pricing-page .price-card:hover h3,
.pricing-page .price-card:hover .price {
  transform: translateY(-2px);
}

.pricing-wide-visual-section {
  padding: clamp(70px, 8vw, 130px) 0;
  overflow: hidden;
}

.pricing-wide-visual {
  position: relative;
  width: 100vw;
  min-height: clamp(520px, 38vw, 760px);
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pricing-wide-visual > img {
  position: absolute;
  inset: -7% 0 -9%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.56;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.82) 15%, #000 34%, #000 70%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.82) 15%, #000 34%, #000 70%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
}

.pricing-wide-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.92) 0%, rgba(255, 253, 249, 0.76) 34%, rgba(255, 253, 249, 0.36) 64%, rgba(255, 253, 249, 0.12) 100%),
    linear-gradient(180deg, var(--color-image-fade) 0%, rgba(255, 253, 249, 0.24) 36%, rgba(255, 253, 249, 0.22) 66%, var(--color-image-fade) 100%);
}

.pricing-wide-content {
  position: relative;
  z-index: 2;
  width: var(--content);
  min-height: clamp(520px, 38vw, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
}

.pricing-wide-content h3 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-family: var(--display);
  font-size: clamp(58px, 6vw, 116px);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.pricing-wide-content p {
  max-width: 640px;
  margin: 0;
  color: var(--ink-2);
  line-height: 1.75;
}

.pricing-page .pricing-wide-visual > img {
  opacity: 0.42;
  mix-blend-mode: multiply;
  filter: brightness(1.18) contrast(0.92);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.82) 15%, #000 34%, #000 70%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.82) 15%, #000 34%, #000 70%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.pricing-page p,
.pricing-page li,
.pricing-page td,
.pricing-page th,
.pricing-page .section-desc {
  overflow-wrap: break-word;
  hyphens: auto;
}

.pricing-plans {
  margin-top: clamp(28px, 4vw, 54px);
}

.plan-badge {
  align-self: flex-start;
  padding: 8px 12px;
  border: 1px solid rgba(22, 19, 27, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.plan .price span {
  margin-left: 6px;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.quota-list {
  padding: 14px 16px !important;
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
  list-style: none;
}

.quota-list strong {
  color: var(--ink);
  font-weight: 900;
}

.pricing-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-panel,
.pricing-cta {
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 22px 70px rgba(22, 19, 27, 0.08);
}

.pricing-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.pricing-panel h2,
.pricing-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 3.6vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.pricing-panel p,
.pricing-cta p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.72;
}

.compact-table {
  box-shadow: none;
}

.compact-table table {
  min-width: 520px;
}

.compact-table th,
.compact-table td {
  padding: 14px 16px;
}

.pricing-note {
  color: var(--muted) !important;
  font-size: 13px;
}

.disabled-link {
  cursor: not-allowed;
  opacity: 0.72;
}

.pricing-cta {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: clamp(28px, 5vw, 58px);
}

.pricing-cta p {
  max-width: 760px;
}

.details-table table {
  min-width: 860px;
}

.details-table td:first-child {
  color: var(--ink);
  font-weight: 800;
}

/* Page essayer */

.trial-page .trial-hero-full {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  padding: clamp(120px, 10vw, 180px) 0 clamp(70px, 7vw, 120px);
  background: #fffefa;
  align-items: center;
}

.trial-page .trial-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: contrast(0.98);
  pointer-events: none;
  user-select: none;
  object-position: center center;
}

.trial-page .trial-hero-full::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: 260px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 254, 250, 0.72) 54%, var(--paper) 100%);
}

.trial-page .trial-hero-content {
  position: relative;
  z-index: 2;
  width: var(--content);
  max-width: none;
  margin-inline: auto;
}

.trial-page .trial-hero-content .page-title {
  max-width: 880px;
  margin-top: 18px;
  text-align: left;
}

.trial-page .trial-hero-content .hero-actions {
  justify-content: flex-start;
}

/* Page sécurité */

.security-page .security-hero-full {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(120px, 10vw, 180px) 0 clamp(70px, 7vw, 120px);
  background: #fffefa;
}

.security-page .security-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: contrast(0.98);
  pointer-events: none;
  user-select: none;
}

.security-page .security-hero-full::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: 260px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 254, 250, 0.72) 54%, var(--paper) 100%);
}

.security-page .security-hero-content {
  position: relative;
  z-index: 2;
  width: var(--content);
  max-width: none;
  margin-inline: auto;
}

.security-page .security-hero-content .page-title {
  max-width: 820px;
  margin-top: 18px;
}

/* Connexion et inscription */

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.auth-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 36px;
}

.auth-title {
  margin: 10px 0 12px;
  font-size: clamp(62px, 7vw, 118px);
}

.auth-card form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-art > img {
  position: absolute;
  right: -10%;
  bottom: -12%;
  width: min(520px, 72%);
  opacity: 0.82;
  mix-blend-mode: multiply;
}

.auth-art > div {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.social-row button {
  min-height: 46px;
  border: 1px solid rgba(22, 19, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.auth-page {
  min-height: 100svh;
  overflow-x: hidden;
  background: radial-gradient(circle at 18% 12%, rgba(112, 102, 167, 0.08), transparent 34rem), radial-gradient(circle at 86% 18%, rgba(144, 154, 201, 0.08), transparent 32rem), linear-gradient(180deg, #fffefa 0%, var(--paper) 58%, #fffdf9 100%) !important;
  background-attachment: scroll !important;
}

.auth-hidden-header {
  display: none;
}

.auth-topbar {
  position: fixed;
  top: clamp(14px, 4vw, 26px);
  right: clamp(14px, 4vw, 26px);
  z-index: 1001;
}

.auth-theme-toggle {
  width: 48px;
  height: 48px;
  box-shadow: var(--shadow-soft);
}

.auth-screen {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(58px, 8vw, 92px) 24px clamp(56px, 6vw, 90px);
  overflow: hidden;
}

.auth-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(255, 254, 250, 0.42), rgba(255, 253, 249, 0.58)), url("assets/paysage_luna3.png");
  background-size: cover;
  background-position: center;
  opacity: 0.72;
  filter: saturate(0.96) contrast(0.98);
}

.signup-page .auth-screen::after {
  background-image: linear-gradient(180deg, rgba(255, 254, 250, 0.42), rgba(255, 253, 249, 0.58)), url("assets/paysage_luna5.png");
}

.auth-background-art,
.auth-background-decor {
  display: none !important;
}

.auth-background-art {
  z-index: -2;
  width: min(1280px, 84vw);
  left: 50%;
  bottom: -12%;
  opacity: 0.18;
  filter: contrast(0.96);
  transform: translateX(-50%);
}

.auth-background-decor {
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.26;
}

.auth-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.82), transparent 26rem), radial-gradient(circle at 16% 78%, rgba(255, 255, 255, 0.52), transparent 28rem), radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.52), transparent 30rem), linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0.36) 100%);
}

.auth-card-centered {
  width: min(430px, 100%);
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 90px rgba(32, 25, 48, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.auth-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(32, 25, 48, 0.08);
}

.auth-copy {
  text-align: center;
}

.auth-copy h1 {
  margin: 12px 0 10px;
  font-family: var(--display);
  font-size: clamp(48px, 4vw, 66px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.auth-copy p {
  margin: 0 auto;
  max-width: 330px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 15px;
  margin-top: 28px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(22, 19, 27, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  outline: none;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.auth-field input:focus {
  border-color: rgba(22, 19, 27, 0.72);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 5px rgba(22, 19, 27, 0.06), 0 14px 34px rgba(22, 19, 27, 0.08);
}

.auth-status {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
}

.auth-status span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.auth-status p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

.auth-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.auth-switch a {
  color: var(--violet);
  font-weight: 800;
}

.auth-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
}

.auth-separator span {
  height: 1px;
  background: rgba(22, 19, 27, 0.12);
}

.auth-separator small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-providers {
  display: grid;
  gap: 10px;
}

.auth-provider {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(22, 19, 27, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-provider span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(22, 19, 27, 0.06);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.auth-provider:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 19, 27, 0.36);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 38px rgba(22, 19, 27, 0.1);
}

.auth-note {
  margin: 22px auto 0;
  max-width: 330px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.auth-note a,
.auth-links a,
.auth-links span,
.signup-consent a {
  color: var(--violet);
  font-weight: 800;
}

.auth-links {
  margin-top: 10px;
}

.signup-page .auth-screen {
  padding-top: clamp(64px, 8vw, 96px);
}

.signup-card {
  width: min(520px, 100%);
}

.signup-card .auth-copy p {
  max-width: 390px;
}

.signup-form {
  gap: 15px;
}

.signup-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.signup-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 22px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}

.signup-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.signup-page .auth-status {
  text-align: left;
}

.signup-page .auth-submit {
  margin-top: 2px;
}

.auth-providers-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.auth-provider-icon {
  position: relative;
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(22, 19, 27, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-provider-icon[aria-disabled="true"],
.auth-links span[aria-disabled="true"] {
  cursor: not-allowed;
}

.auth-provider-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.auth-provider-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 19, 27, 0.42);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(22, 19, 27, 0.1), inset 0 0 0 1px rgba(22, 19, 27, 0.04);
}

.auth-provider-icon:active {
  transform: translateY(-1px) scale(0.98);
}

.auth-providers-icons .auth-provider-icon:nth-child(4) {
  grid-column: 2;
}

/* Pages internes */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 70px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  align-items: center;
  gap: 60px;
}

.page-title {
  font-size: clamp(70px, 9vw, 150px);
}

.page-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
}

.page-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}

.page-visual .cutout {
  top: auto;
  right: 0;
  bottom: 0;
  left: auto;
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.page-card {
  padding: 26px;
  border-radius: 30px;
}

.page-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.page-card p,
.page-card li {
  color: var(--ink-2);
  line-height: 1.75;
}

.page-card p {
  margin: 0;
}

.cap-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(22, 19, 27, 0.09);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-soft);
}

.cap-visual {
  position: absolute;
  inset: 0;
}

.cap-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.68;
  mix-blend-mode: multiply;
}

.cap-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.52) 48%, rgba(255, 255, 255, 0.18)), linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.84));
}

.cap-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cap-content h3 {
  margin: 14px 0;
  font-family: var(--display);
  font-size: clamp(52px, 5vw, 96px);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.cap-content p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-2);
  line-height: 1.75;
}

/* Dashboard */

.dashboard {
  display: grid;
  width: var(--content);
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  margin: 0 auto;
  padding: 140px 0 70px;
}

.sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 20px;
  border-radius: 34px;
}

.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.side-nav a {
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--ink-2);
  transition: 0.25s ease;
}

.side-nav a:hover,
.side-nav a.active {
  background: rgba(112, 102, 167, 0.1);
  transform: translateX(3px);
}

.sidebar-card {
  margin-top: 22px;
  padding: 18px;
}

.dashboard-main {
  display: grid;
  gap: 22px;
}

.dashboard-title {
  font-size: clamp(56px, 6vw, 110px);
}

.dashboard-visual {
  min-height: 360px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi {
  padding: 24px;
  border-radius: 28px;
}

.kpi strong {
  font-family: var(--display);
  font-size: 62px;
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.kpi span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.table-card {
  overflow: auto;
  padding: 24px;
  border-radius: 34px;
}

.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.table-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 54px;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.table-head input {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(22, 19, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.app-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.app-table th,
.app-table td {
  padding: 15px 12px;
  border-top: 1px solid rgba(22, 19, 27, 0.08);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.app-table th {
  color: var(--muted);
  font-size: 13px;
}

.app-table td {
  color: var(--ink-2);
}

/* Footer */

.footer {
  position: relative;
  overflow: hidden;
  padding: 60px 0 36px;
  border-top: 1px solid rgba(22, 19, 27, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.footer-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.14;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 0.75fr);
  gap: 28px;
}

.footer p {
  max-width: 360px;
  color: var(--ink-2);
  line-height: 1.75;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(22, 19, 27, 0.07);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom a {
  color: inherit;
  font-weight: 700;
}

.legal-hero .page-visual img {
  max-height: 520px;
  object-fit: cover;
}

.legal-flow {
  display: grid;
  gap: 18px;
}

.legal-flow article,
.pricing-clarity,
.faq-grid article,
.result-preview,
.trust-table {
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 22px 70px rgba(22, 19, 27, 0.08);
}

.legal-flow article {
  padding: clamp(22px, 3vw, 34px);
}

.legal-flow h2,
.faq-grid h3,
.preview-panel h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 0.95;
}

.legal-flow p,
.faq-grid p,
.preview-list p,
.preview-panel p,
.mini-preview p {
  color: var(--ink-2);
  line-height: 1.7;
}

.clean-list,
.scope-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: var(--ink-2);
  line-height: 1.55;
}

.scope-list code {
  font-size: 12px;
  white-space: normal;
  word-break: break-word;
}

.trust-table {
  max-width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.trust-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.trust-table th,
.trust-table td {
  padding: 18px;
  border-bottom: 1px solid rgba(22, 19, 27, 0.08);
  text-align: left;
  vertical-align: top;
}

.trust-table th {
  color: var(--ink);
  font-size: 13px;
}

.trust-table td {
  color: var(--ink-2);
}

.result-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(22px, 3vw, 34px);
}

.preview-list {
  display: grid;
  gap: 12px;
}

.preview-list article,
.mini-preview {
  padding: 16px;
  border: 1px solid rgba(22, 19, 27, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
}

.preview-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.preview-list strong,
.mini-preview strong {
  display: block;
  color: var(--ink);
}

.preview-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.pricing-clarity {
  padding: clamp(22px, 3vw, 34px);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid .section-head {
  grid-column: 1 / -1;
}

.faq-grid article {
  padding: 22px;
}

/* Animations */

@keyframes lunaFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -7px, 0);
  }
}

.plan,
.cap-card,
.process-step,
.tool-panel,
.pricing-clarity,
.faq-grid article,
.legal-flow article,
.result-preview,
.preview-panel,
.trust-table {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.plan:hover,
.cap-card:hover,
.process-step:hover,
.pricing-clarity:hover,
.faq-grid article:hover,
.legal-flow article:hover,
.result-preview:hover,
.preview-panel:hover,
.trust-table:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 19, 27, 0.14);
  box-shadow: 0 28px 80px rgba(22, 19, 27, 0.1);
}

.footer-art,
.page-visual img:not([data-parallax]),
.auth-screen::after {
  animation: lunaFloat 10s ease-in-out infinite;
  will-change: transform;
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    filter var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
  will-change: opacity, filter, transform;
}

.reveal.in,
.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.reveal > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture) {
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 800ms var(--reveal-ease),
    filter 800ms var(--reveal-ease),
    transform 800ms var(--reveal-ease);
  will-change: opacity, filter, transform;
}

.reveal.in > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture),
.reveal.is-visible > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture) {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.reveal.in > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture):nth-child(1),
.reveal.is-visible > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture):nth-child(1) {
  transition-delay: 40ms;
}

.reveal.in > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture):nth-child(2),
.reveal.is-visible > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture):nth-child(2) {
  transition-delay: 140ms;
}

.reveal.in > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture):nth-child(3),
.reveal.is-visible > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture):nth-child(3) {
  transition-delay: 240ms;
}

.reveal.in > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture):nth-child(n + 4),
.reveal.is-visible > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture):nth-child(n + 4) {
  transition-delay: 340ms;
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

.delay-3 {
  transition-delay: 0.34s;
}

.tilt,
.magnet,
[data-float],
[data-parallax] {
  will-change: transform;
}

/* Divers */

button,
input,
select,
textarea {
  font: inherit;
}

.container,
.narrow {
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  margin-top: 34px;
}

.hero-actions .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

#capabilities.section {
  padding-bottom: clamp(110px, 10vw, 190px);
}

.final-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: clamp(20px, 3vw, 50px);
  padding-right: 24px;
  padding-left: clamp(24px, 7vw, 140px);
  transform: translateY(-28px);
}

.final-copy h2 {
  max-width: 680px;
  margin: 8px 0 14px;
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 108px);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.final-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-2);
  line-height: 1.8;
}

.final-copy .hero-actions {
  margin-top: 24px;
}

.dash-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: end;
  gap: 22px;
}

/* Keyframes */

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Responsive — (min-width: 1600px) */

@media (min-width: 1600px) {

  .final-cta-inner {
    min-height: 780px;
  }

  .final-copy {
    padding-left: clamp(60px, 8vw, 180px);
    transform: translateY(-40px);
  }

}

/* Responsive — (min-width: 1900px) */

@media (min-width: 1900px) {

  :root {
    --content: min(2020px, calc(100vw - 128px));
  }

  .hero-clean-wrap {
    width: min(2020px, calc(100% - 128px));
    grid-template-columns: minmax(520px, 820px) 1fr;
  }

  .hero-clean .hero-title {
    font-size: clamp(110px, 8vw, 182px);
  }

  .side-background {
    width: min(1320px, 68vw);
  }

  .side-left {
    left: -30vw;
  }

  .side-right {
    right: -30vw;
  }

  .named-section-01 .decor-main,
.named-section-01 .decor-top {
    width: min(1420px, 62vw);
    transform: translateX(6%);
  }

  .process-merged .tree-scene,
.process-merged .tree-overlay {
    min-height: min(90vh, 1120px);
  }

  .process-merged-content {
    grid-template-columns: minmax(560px, 0.8fr) minmax(480px, 0.6fr);
    padding-top: 170px;
    padding-bottom: 150px;
  }

}

/* Responsive — (max-width: 1280px) */

@media (max-width: 1280px) {

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 12px;
  }

}

/* Responsive — (max-width: 1200px) */

@media (max-width: 1200px) {

  .hero-clean-wrap,
.named-section,
.tool-panel,
.price-band,
.page-grid,
.dashboard,
.dash-head {
    grid-template-columns: 1fr;
  }

  .hero-clean-wrap {
    width: min(100% - 48px, 960px);
  }

  .side-left {
    left: -48vw;
  }

  .side-right {
    right: -48vw;
  }

  .named-section-01 .decor-main,
.named-section-01 .decor-top {
    width: min(980px, 94vw);
    transform: translateX(0);
  }

  .process-merged .tree-scene,
.process-merged .tree-overlay {
    min-height: 860px;
  }

  .process-merged-content {
    width: min(100% - 48px, 960px);
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 110px 0 80px;
  }

  .tool-visual-side {
    min-height: 620px;
  }

  .profile-main {
    width: min(580px, 68vw);
  }

  .profile-secondary {
    width: min(380px, 46vw);
  }

  .plans,
.page-card-grid,
.kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
  }

  .pricing-hero-visual {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pricing-hero-visual img {
    width: min(680px, 82vw);
  }

}

/* Responsive — (max-width: 980px) */

@media (max-width: 980px) {

  .hidden-mobile {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(14px, 4vw, 32px);
    left: clamp(14px, 4vw, 32px);
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    color: var(--color-text);
    opacity: 0;
    pointer-events: none;
    background: rgba(248, 247, 244, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 55px rgba(25, 20, 35, 0.12);
    transform: translateY(-10px);
    transition: opacity 260ms ease, transform 260ms ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links__mobile-actions,
  [data-mobile-nav-actions] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
  }

  .nav-links__mobile-actions .btn,
  [data-mobile-nav-actions] .btn {
    width: 100%;
    justify-content: center;
    opacity: 1;
    transform: none;
  }

  .mobile-showcase__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(46px, 9vw, 76px);
  }

  .luna-phone-showcase {
    justify-self: center;
  }

  .luna-phone-mockup {
    width: min(290px, 100%);
  }

}

/* Responsive — (max-width: 900px) */

@media (max-width: 900px) {

  [data-parallax],
[data-float] {
    transform: none !important;
  }

  .section {
    padding: 64px 0;
  }

  .section.slim {
    padding: 48px 0;
  }

  .site-header {
    top: 10px;
  }

  .nav-shell {
    width: calc(100% - 20px);
    min-height: 60px;
    padding: 10px 12px;
    border-radius: 24px;
  }

  .site-header.scrolled {
    top: 10px;
  }

  .site-header.scrolled .nav-shell,
  .site-header.is-scrolled .nav-shell {
    width: calc(100% - 20px);
    min-height: 60px;
    padding: 10px 12px;
    border-radius: 24px;
  }

  .site-header:not(.scrolled) .nav-shell {
    border-color: rgba(22, 19, 27, 0.06);
    background: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
  }

  .site-header.scrolled .nav-shell {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
  }

  .site-header .theme-toggle,
  .site-header:not(.scrolled) .theme-toggle,
  .site-header.scrolled .theme-toggle,
  .site-header .menu-toggle,
  .site-header:not(.scrolled) .menu-toggle,
  .site-header.scrolled .menu-toggle,
  .site-header:not(.scrolled) .btn.secondary.menu-toggle,
  .site-header.scrolled .btn.secondary.menu-toggle {
    color: var(--color-text);
    border-color: var(--color-border);
    background: rgba(248, 247, 244, 0.9);
    box-shadow: 0 12px 30px rgba(25, 20, 35, 0.1);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(14px, 4vw, 32px);
    left: clamp(14px, 4vw, 32px);
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    color: var(--color-text);
    opacity: 0;
    pointer-events: none;
    background: rgba(248, 247, 244, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 55px rgba(25, 20, 35, 0.12);
    transform: translateY(-10px);
    transition: opacity 260ms ease, transform 260ms ease;
  }

  .site-header:not(.scrolled) .nav-links {
    color: var(--color-text);
  }

  .nav-links a {
    min-height: 46px;
    align-items: center;
    padding: 0 12px;
    border-radius: 16px;
    color: var(--color-text-soft);
    opacity: 0;
    text-shadow: none;
    transform: translateY(6px);
    transition: opacity 240ms ease, transform 240ms ease, color 240ms ease, background-color 240ms ease;
  }

  .site-header:not(.scrolled) .nav-links a {
    color: var(--color-text-soft);
    text-shadow: none;
  }

  .nav-links a:hover,
  .nav-links a.active,
  .site-header:not(.scrolled) .nav-links a:hover,
  .site-header:not(.scrolled) .nav-links a.active {
    color: var(--color-text);
    background: rgba(22, 19, 27, 0.055);
    text-shadow: none;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open a:nth-child(2) {
    transition-delay: 35ms;
  }

  .nav-links.open a:nth-child(3) {
    transition-delay: 70ms;
  }

  .nav-links.open a:nth-child(4) {
    transition-delay: 105ms;
  }

  .hero-clean {
    min-height: 100svh;
    align-items: flex-end;
    padding: 118px 0 56px;
  }

  .hero-clean-wrap {
    width: calc(100% - 28px);
    min-width: 0;
  }

  .hero-clean .hero-copy {
    min-width: 0;
  }

  .hero-clean .hero-bg {
    object-position: 58% center;
    transform: none;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.58) 42%, rgba(255, 255, 255, 0.98) 100%);
  }

  .hero-clean .hero-title {
    font-size: clamp(58px, 15vw, 96px);
  }

  .hero-lead {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 16px;
    line-height: 1.65;
  }

  .side-background {
    width: 1000px;
    opacity: 0.1;
  }

  .side-left {
    top: 340px;
    left: -680px;
  }

  .side-right {
    top: 1200px;
    right: -680px;
  }

  .section-head,
.fields,
.plans,
.page-card-grid,
.auth-grid,
.kpi-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: clamp(50px, 14vw, 90px);
  }

  #capabilities.section {
    padding-bottom: 56px;
  }

  .named-section {
    gap: 28px;
  }

  .numbered-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .named-section-01 .section-image {
    min-height: 320px;
    overflow: hidden;
  }

  .named-section-01 .decor-main,
.named-section-01 .decor-top {
    width: min(620px, 100%);
    max-width: 100%;
    opacity: 0.82;
    transform: none;
  }

  .process-merged {
    overflow: hidden;
  }

  .process-merged .tree-scene {
    height: auto;
    overflow: hidden;
  }

  .process-merged .tree-scene,
.process-merged .tree-overlay {
    min-height: auto;
  }

  .process-merged .tree-scene > img {
    object-position: center center;
    opacity: 0.52;
  }

  .process-merged .tree-overlay {
    width: 100%;
    min-height: 820px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.94) 0%, rgba(255, 253, 249, 0.72) 34%, rgba(255, 253, 249, 0.62) 58%, rgba(255, 253, 249, 0.96) 100%);
  }

  .process-merged-content {
    display: flex;
    width: calc(100% - 32px);
    min-height: 820px;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
    padding: 110px 0 34px;
  }

  .process-merged .section-title {
    max-width: 100%;
    font-size: clamp(58px, 17vw, 88px);
  }

  .process-merged .tree-note {
    width: 100%;
    padding: 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
  }

  .process-merged .tree-note h3 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .tool-panel {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 32px;
  }

  .tool-visual-side {
    min-height: 420px;
    overflow: hidden;
  }

  .profile-main {
    top: 20px;
    left: 4%;
    width: min(360px, 74vw);
  }

  .profile-secondary {
    right: 2%;
    bottom: 8px;
    width: min(260px, 54vw);
  }

  .tool-intro {
    min-height: 420px;
    border-radius: 32px 32px 0 0;
  }

  .tool-form,
.price-intro,
.plan,
.auth-card {
    padding: 24px;
  }

  .plan.featured {
    transform: none;
  }

  .final-cta {
    padding: 48px 0 64px;
  }

  .final-cta-inner {
    min-height: 680px;
  }

  .final-cta-inner > img {
    object-position: center center;
    opacity: 0.58;
  }

  .final-copy {
    max-width: none;
    padding: 72px 24px 0;
    transform: none;
  }

  .final-copy h2 {
    max-width: 100%;
    font-size: clamp(56px, 15vw, 86px);
  }

  .page-hero {
    padding: 130px 0 54px;
  }

  .page-visual {
    min-height: 480px;
  }

  .page-title {
    font-size: clamp(58px, 15vw, 104px);
  }

  .cap-card {
    min-height: 520px;
    border-radius: 32px;
  }

  .cap-content h3 {
    font-size: clamp(46px, 12vw, 76px);
  }

  .dashboard {
    padding-top: 120px;
  }

  .table-head,
.footer-bottom {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .footer,
.footer p,
.footer a:not(.logo),
.footer-bottom {
    text-align: left;
  }

  .footer a:not(.logo) {
    min-height: 44px;
    margin: 4px 0;
  }

  .footer .logo {
    justify-content: flex-start;
  }

  .footer-art {
    object-position: center center;
  }

  .pricing-wide-visual-section {
    padding: 56px 0;
  }

  .pricing-wide-visual,
.pricing-wide-content {
    min-height: 620px;
  }

  .pricing-wide-visual > img {
    object-position: center center;
    opacity: 0.46;
  }

  .pricing-wide-visual::after {
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.92) 0%, rgba(255, 253, 249, 0.68) 44%, rgba(255, 253, 249, 0.96) 100%);
  }

  .pricing-wide-content {
    width: calc(100% - 32px);
  }

  .pricing-wide-content h3 {
    max-width: 100%;
    font-size: clamp(52px, 15vw, 86px);
  }

  .pricing-wide-content p {
    max-width: 100%;
  }

  .trial-page .trial-hero-full {
    min-height: 100svh;
    padding: 118px 0 56px;
    align-items: flex-end;
  }

  .trial-page .trial-hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.58) 44%, rgba(255, 255, 255, 0.98) 100%);
  }

  .trial-page .trial-hero-content {
    max-width: none;
    width: calc(100% - 28px);
  }

  .trial-page .trial-hero-content .page-title {
    font-size: clamp(58px, 15vw, 96px);
  }

  .trial-page .trial-hero-content .hero-lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
  }

  .trial-page .trial-panel .tool-intro {
    min-height: 420px;
  }

  .trial-page .trial-panel .tool-intro img {
    object-position: center center;
    opacity: 0.28;
  }

  .trial-page .trial-hero-content .page-title,
.trial-page .trial-hero-content .hero-lead,
.trial-page .trial-hero-content .hero-actions {
    max-width: 100%;
  }

  .trial-page .trial-hero-bg {
    object-position: 58% center;
  }

  body {
    background-attachment: scroll;
    background-size: auto 1000px;
    background-position: center top;
  }

}

/* Responsive — (max-width: 880px) */

@media (max-width: 880px) {

  .pricing-page .plan:hover,
.pricing-page .pricing-card:hover,
.pricing-page .price-card:hover,
.pricing-page .plan.featured:hover {
    transform: none;
  }

}

/* Responsive — (max-width: 780px) */

@media (max-width: 780px) {

  .result-preview,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .trust-table table {
    min-width: 640px;
  }

  .pricing-hero-visual {
    min-height: 420px;
  }

  .pricing-hero-visual img {
    width: min(520px, 94vw);
  }

}

/* Responsive — (max-width: 580px) */

@media (max-width: 580px) {

  :root {
    --content: calc(100vw - 24px);
    --narrow: calc(100vw - 24px);
  }

  .site-header {
    top: 8px;
  }

  .nav-shell {
    width: calc(100% - 16px);
  }

  .site-header.scrolled {
    top: 8px;
  }

  .site-header.scrolled .nav-shell,
  .site-header.is-scrolled .nav-shell {
    width: calc(100% - 16px);
  }

  .logo {
    font-size: 26px;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }

  .btn,
.hero-actions,
.hero-actions .btn,
.submit-row,
.submit-row .btn {
    width: 100%;
  }

  .nav-actions .btn {
    width: auto;
  }

  .hero-clean {
    min-height: 100svh;
    padding-top: 104px;
    padding-right: 14px;
    padding-bottom: 42px;
    padding-left: 14px;
  }

  .hero-clean-wrap {
    width: 100%;
  }

  .hero-clean .hero-copy,
  .hero-clean .hero-lead,
  .hero-clean .hero-actions {
    width: min(100%, 360px);
    max-width: 360px;
  }

  .hero-clean .hero-bg {
    object-position: 62% center;
  }

  .hero-clean .hero-title {
    font-size: 52px;
    line-height: 0.92;
    letter-spacing: -0.04em;
  }

  .page-title {
    font-size: 52px;
    line-height: 0.92;
    letter-spacing: -0.04em;
  }

  .hero-title .wide {
    letter-spacing: -0.05em;
  }

  .hero-clean .hero-actions {
    min-width: 0;
  }

  .hero-clean .hero-actions .btn {
    width: auto;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .hero-clean .micro-stat {
    display: none;
  }

  .marquee span {
    padding: 16px 18px;
    font-size: 30px;
  }

  .section-title {
    font-size: clamp(48px, 15vw, 76px);
  }

  .section-desc {
    font-size: 16px;
  }

  .named-section-01 .section-image {
    min-height: 300px;
  }

  .named-section-01 .decor-main,
.named-section-01 .decor-top {
    width: 100%;
    max-width: 420px;
    opacity: 0.78;
  }

  .process-merged .tree-overlay {
    min-height: 780px;
  }

  .process-merged-content {
    width: calc(100% - 28px);
    min-height: 780px;
    padding: 96px 0 28px;
  }

  .process-merged .section-title {
    font-size: clamp(52px, 16vw, 76px);
  }

  .process-merged .tree-note {
    padding: 22px;
    border-radius: 28px;
  }

  .process-merged .tree-note h3 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .tool-visual-side {
    min-height: 360px;
  }

  .profile-main {
    top: 10px;
    left: 0;
    width: min(330px, 78vw);
  }

  .profile-secondary {
    right: -2%;
    bottom: 0;
    width: min(230px, 56vw);
  }

  .tool-form h2,
.price-intro h2,
.tool-intro h2 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .price-intro,
.plan,
.tool-form,
.auth-card,
.tool-intro {
    padding: 22px;
  }

  .final-cta-inner {
    min-height: 640px;
  }

  .final-cta-inner > img {
    opacity: 0.54;
  }

  .final-copy {
    padding: 64px 20px 0;
  }

  .final-copy h2 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .footer {
    padding-top: 72px;
  }

  .footer-grid {
    gap: 38px;
  }

  .page-hero {
    padding-top: 120px;
  }

  .page-copy,
  .page-copy .page-title,
  .page-copy .hero-lead,
  .page-copy .hero-actions {
    width: min(100%, 320px);
    max-width: 320px;
    min-width: 0;
  }

  .page-copy .hero-actions .btn {
    width: auto;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .page-visual {
    min-height: 420px;
  }

  .page-grid {
    gap: 30px;
  }

  .legal-hero .page-visual {
    min-height: 260px;
    border-radius: 28px;
  }

  .page-visual .cutout {
    width: 78%;
    height: 78%;
  }

  .auth-art > img {
    width: 86%;
    opacity: 0.5;
  }

  .social-row,
.footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero-visual {
    min-height: 340px;
  }

  .pricing-hero-visual img {
    width: 100%;
    max-width: 380px;
  }

  .pricing-wide-visual,
.pricing-wide-content {
    min-height: 560px;
  }

  .pricing-wide-content {
    width: calc(100% - 28px);
  }

  .pricing-wide-content h3 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .trial-page .trial-hero-full {
    min-height: 100svh;
    padding-top: 104px;
    padding-bottom: 42px;
  }

  .trial-page .trial-hero-bg {
    object-position: 62% center;
  }

  .trial-page .trial-hero-content,
  .trial-page .trial-hero-content .page-title,
  .trial-page .trial-hero-content .hero-lead,
  .trial-page .trial-hero-content .hero-actions,
  .security-page .security-hero-content,
  .security-page .security-hero-content .page-title,
  .security-page .security-hero-content .hero-lead,
  .security-page .security-hero-content .hero-actions {
    width: min(100%, 320px);
    max-width: 320px;
    min-width: 0;
  }

  .trial-page .trial-hero-content,
  .security-page .security-hero-content {
    margin-inline: auto;
    text-align: center;
  }

  .trial-page .trial-hero-content .hero-actions,
  .security-page .security-hero-content .hero-actions {
    justify-content: center;
  }

  .trial-page .trial-hero-content .hero-actions .btn,
  .security-page .security-hero-content .hero-actions .btn {
    width: auto;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .trial-page .trial-hero-content .page-title {
    font-size: 52px;
  }

  .trial-page .trial-panel .tool-intro {
    min-height: 360px;
  }

  .trial-page .trial-panel .tool-intro img {
    opacity: 0.24;
  }

  .auth-providers-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-providers-icons .auth-provider-icon:nth-child(4) {
    grid-column: auto;
  }

  .auth-provider-icon {
    min-height: 54px;
  }

  .auth-provider-icon svg {
    width: 23px;
    height: 23px;
  }

  .auth-screen {
    padding-top: 72px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .auth-topbar {
    top: 12px;
    right: 14px;
  }

  .auth-card-centered {
    width: min(100%, 340px);
    border-radius: 28px;
    padding: 22px;
  }

  .auth-copy h1 {
    font-size: clamp(40px, 12vw, 48px);
    line-height: 0.96;
    letter-spacing: 0;
  }

  .signup-field-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 420px) {

  .hero-clean .hero-title {
    font-size: 46px;
  }

  .page-title,
  .trial-page .trial-hero-content .page-title {
    font-size: 46px;
  }

}

@media (max-width: 900px) {

  .pricing-split {
    grid-template-columns: 1fr;
  }

  .page-grid {
    justify-items: center;
    text-align: center;
  }

  .page-copy,
  .page-copy .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .page-copy {
    width: min(100%, 760px);
  }

  .page-copy .hero-actions {
    justify-content: center;
  }

}

@media (max-width: 580px) {

  .page-copy {
    width: min(100%, 360px);
  }

  .pricing-page .page-hero .page-grid {
    width: min(calc(100% - 40px), 320px);
    max-width: 320px;
    gap: 24px;
  }

  .pricing-page .page-hero .page-copy,
  .pricing-page .page-hero .page-copy .page-title,
  .pricing-page .page-hero .page-copy .hero-lead,
  .pricing-page .page-hero .page-copy .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .pricing-page .page-hero .page-title {
    font-size: clamp(32px, 9vw, 36px);
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .pricing-page .page-hero .hero-lead {
    font-size: 15px;
    line-height: 1.62;
  }

  .pricing-page .page-hero .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .pricing-page .section-head,
  .pricing-page .plans,
  .pricing-page .pricing-split,
  .pricing-page .pricing-clarity,
  .pricing-page .faq-grid,
  .pricing-page .pricing-cta {
    width: min(calc(100% - 32px), 340px);
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
  }

  .pricing-page .plan,
  .pricing-page .pricing-panel {
    width: 100%;
    max-width: 340px;
  }

  .pricing-page .section-title,
  .pricing-page .pricing-wide-content h3 {
    font-size: clamp(38px, 10.5vw, 46px);
    line-height: 1;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .pricing-page .plan h3,
  .pricing-page .plan .price {
    font-size: clamp(34px, 9.5vw, 38px);
    line-height: 1;
    letter-spacing: 0;
  }

  .pricing-panel,
  .pricing-cta {
    border-radius: 24px;
  }

  .compact-table table {
    min-width: 460px;
  }

  .details-table table {
    min-width: 760px;
  }

  .pricing-cta .hero-actions,
  .pricing-cta .hero-actions .btn {
    width: 100%;
  }

}

/* Theme system */

.btn,
.theme-toggle,
.eyebrow,
.tool-panel,
.tool-form,
.price-intro,
.plan,
.page-card,
.auth-card,
.auth-card-centered,
.kpi,
.table-card,
.sidebar,
.pricing-panel,
.pricing-cta,
.pricing-clarity,
.faq-grid article,
.legal-flow article,
.result-preview,
.trust-table,
.preview-list article,
.mini-preview,
.footer,
.field input,
.field select,
.field textarea,
.auth-field input,
.auth-provider,
.auth-provider-icon,
.dropzone,
.signup-consent,
.auth-status,
.quota-list,
.plan-badge,
.table-head input {
  transition:
    transform 360ms ease,
    background-color 280ms ease,
    background 280ms ease,
    color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.site-header.scrolled .nav-shell,
.site-header.is-scrolled .nav-shell {
  border-color: var(--color-border);
  background: var(--color-navbar-scrolled);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.site-header.at-top .nav-shell,
.site-header:not(.scrolled) .nav-shell {
  border-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  box-shadow: none;
}

.theme-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  background: var(--color-surface);
  box-shadow: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-soft);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

.theme-toggle span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  display: block;
}

.theme-toggle__sun {
  opacity: 0;
  transform: rotate(-45deg) scale(0.72);
}

.theme-toggle__moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html[data-theme="dark"] .theme-toggle__sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html[data-theme="dark"] .theme-toggle__moon {
  opacity: 0;
  transform: rotate(45deg) scale(0.72);
}

.btn {
  background: var(--color-text);
  color: var(--color-page);
  box-shadow: var(--shadow-soft);
}

.btn.secondary,
.nav-actions .btn.ghost,
.eyebrow,
.plan-badge {
  color: var(--color-text);
  border-color: var(--color-border);
  background: var(--color-surface);
}

.btn.ghost {
  color: var(--color-text-muted);
}

.price-intro,
.plan,
.page-card,
.auth-card,
.auth-card-centered,
.kpi,
.table-card,
.sidebar,
.tool-panel,
.pricing-panel,
.pricing-cta,
.pricing-clarity,
.faq-grid article,
.legal-flow article,
.result-preview,
.trust-table,
.preview-list article,
.mini-preview,
.process-merged .tree-note {
  border-color: var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.tool-form,
.field input,
.field select,
.field textarea,
.auth-field input,
.auth-provider,
.auth-provider-icon,
.dropzone,
.signup-consent,
.auth-status,
.quota-list,
.table-head input,
.social-row button {
  color: var(--color-text);
  border-color: var(--color-border);
  background: var(--color-surface-solid);
}

.field input::placeholder,
.field textarea::placeholder,
.auth-field input::placeholder {
  color: var(--color-text-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.auth-field input:focus {
  border-color: var(--color-accent-soft);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-accent) 14%, transparent);
}

.marquee,
.footer {
  border-color: var(--color-border);
  background: color-mix(in srgb, var(--color-surface) 72%, transparent);
}

.media-natural {
  background: transparent;
}

.media-blend,
.media-portrait-fade {
  position: relative;
  overflow: hidden;
  background: var(--color-image-fade);
  isolation: isolate;
}

.tool-visual-side.media-portrait-fade,
.pricing-hero-visual.media-portrait-fade {
  overflow: visible;
  background: transparent;
}

.media-blend::after,
.media-portrait-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.media-blend--bottom::after {
  background: linear-gradient(to bottom, transparent 55%, var(--color-image-fade) 100%);
}

.media-blend--bottom > img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, 0.78) 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, 0.78) 76%, transparent 100%);
}

.media-blend--vertical::after {
  background:
    linear-gradient(
      to bottom,
      var(--color-image-fade) 0%,
      transparent 18%,
      transparent 72%,
      var(--color-image-fade) 100%
    );
}

.media-blend--vertical > img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.84) 16%, #000 34%, #000 70%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.84) 16%, #000 34%, #000 70%, rgba(0, 0, 0, 0.72) 84%, transparent 100%);
}

.page-visual.media-blend--vertical > img {
  -webkit-mask-image: radial-gradient(ellipse 82% 76% at center, #000 46%, rgba(0, 0, 0, 0.74) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 76% at center, #000 46%, rgba(0, 0, 0, 0.74) 66%, transparent 100%);
}

.media-blend--edges > img,
.media-blend--edges .footer-art {
  -webkit-mask-image: radial-gradient(ellipse at center, #000 52%, rgba(0, 0, 0, 0.76) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 52%, rgba(0, 0, 0, 0.76) 70%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.media-portrait-fade::after {
  inset: -1px;
  z-index: 6;
  box-shadow:
    inset 54px 0 72px var(--color-image-fade),
    inset -54px 0 72px var(--color-image-fade),
    inset 0 48px 62px var(--color-image-fade),
    inset 0 -64px 76px var(--color-image-fade);
}

.pricing-hero-visual.media-portrait-fade::after {
  display: none;
}

.tool-visual-side.media-portrait-fade::after {
  inset: 0;
  box-shadow: none;
}

.tool-visual-side.media-portrait-fade img,
.pricing-hero-visual.media-portrait-fade img {
  -webkit-mask-image: none;
  mask-image: none;
}

.cap-card .cap-visual.media-blend {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: transparent;
}

.cap-card .cap-visual.media-blend::after {
  display: none;
}

.cap-card .cap-visual.media-blend > img {
  -webkit-mask-image: none;
  mask-image: none;
}

html[data-theme="dark"] body::before {
  opacity: 0.18;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.052) 0 1px, transparent 1px);
}

html[data-theme="dark"] body::after {
  opacity: 0.2;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 6px);
}

html[data-theme="dark"] ::selection {
  background: rgba(187, 164, 239, 0.28);
}

html[data-theme="dark"] .site-header:not(.scrolled) .logo,
html[data-theme="dark"] .site-header:not(.scrolled) .nav-links,
html[data-theme="dark"] .site-header:not(.scrolled) .nav-links a:hover,
html[data-theme="dark"] .site-header:not(.scrolled) .nav-links a.active {
  color: var(--color-text);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .site-header:not(.scrolled) .btn,
html[data-theme="dark"] .site-header:not(.scrolled) .btn.secondary,
html[data-theme="dark"] .site-header:not(.scrolled) .menu-toggle,
html[data-theme="dark"] .site-header:not(.scrolled) .theme-toggle {
  border-color: var(--color-border);
  background: rgba(31, 31, 29, 0.58);
  color: var(--color-text);
}

html[data-theme="dark"] .nav-links a::after {
  background: linear-gradient(90deg, transparent, rgba(246, 243, 238, 0.72), transparent);
}

html[data-theme="dark"] .btn:not(.secondary):not(.ghost) {
  color: #171715;
  border-color: rgba(246, 243, 238, 0.72);
  background: linear-gradient(180deg, #f4efe6 0%, var(--color-button-quiet) 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .btn:not(.secondary):not(.ghost):hover {
  background: linear-gradient(180deg, #fff9ef 0%, #eee7dc 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] .btn.secondary,
html[data-theme="dark"] .nav-actions .btn.ghost,
html[data-theme="dark"] .theme-toggle {
  border-color: rgba(246, 243, 238, 0.14);
  background: rgba(35, 34, 31, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .plan-badge {
  border-color: rgba(246, 243, 238, 0.14);
  background: rgba(39, 37, 34, 0.62);
}

html[data-theme="dark"] .price-intro,
html[data-theme="dark"] .plan,
html[data-theme="dark"] .page-card,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .auth-card-centered,
html[data-theme="dark"] .kpi,
html[data-theme="dark"] .table-card,
html[data-theme="dark"] .sidebar,
html[data-theme="dark"] .tool-panel,
html[data-theme="dark"] .pricing-panel,
html[data-theme="dark"] .pricing-cta,
html[data-theme="dark"] .pricing-clarity,
html[data-theme="dark"] .faq-grid article,
html[data-theme="dark"] .legal-flow article,
html[data-theme="dark"] .result-preview,
html[data-theme="dark"] .trust-table,
html[data-theme="dark"] .preview-list article,
html[data-theme="dark"] .mini-preview,
html[data-theme="dark"] .process-merged .tree-note {
  border-color: rgba(246, 243, 238, 0.13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 42%, rgba(187, 164, 239, 0.055)),
    var(--color-surface);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

html[data-theme="dark"] .plan.featured,
html[data-theme="dark"] .pricing-clarity,
html[data-theme="dark"] .auth-card-centered {
  background:
    radial-gradient(circle at 18% 0%, rgba(187, 164, 239, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018) 48%, rgba(159, 202, 196, 0.045)),
    var(--color-surface-plum);
}

html[data-theme="dark"] .auth-card-centered {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(35, 35, 32, 0.76);
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .page-card:nth-child(2n),
html[data-theme="dark"] .legal-flow article:nth-child(2n),
html[data-theme="dark"] .faq-grid article:nth-child(2n),
html[data-theme="dark"] .preview-list article:nth-child(2n),
html[data-theme="dark"] .kpi:nth-child(2n) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.014) 44%, rgba(159, 202, 196, 0.06)),
    var(--color-surface-mist);
}

html[data-theme="dark"] .tool-form,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .auth-field input,
html[data-theme="dark"] .auth-provider,
html[data-theme="dark"] .auth-provider-icon,
html[data-theme="dark"] .dropzone,
html[data-theme="dark"] .signup-consent,
html[data-theme="dark"] .auth-status,
html[data-theme="dark"] .quota-list,
html[data-theme="dark"] .table-head input,
html[data-theme="dark"] .social-row button {
  border-color: rgba(246, 243, 238, 0.13);
  background: rgba(27, 27, 24, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .auth-field input:focus,
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus {
  border-color: rgba(211, 197, 245, 0.72);
  background: rgba(35, 34, 31, 0.9);
  box-shadow: 0 0 0 5px rgba(187, 164, 239, 0.13), 0 16px 34px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {

  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header:not(.scrolled) .theme-toggle,
  html[data-theme="dark"] .site-header.scrolled .theme-toggle,
  html[data-theme="dark"] .site-header .menu-toggle,
  html[data-theme="dark"] .site-header:not(.scrolled) .menu-toggle,
  html[data-theme="dark"] .site-header.scrolled .menu-toggle,
  html[data-theme="dark"] .site-header:not(.scrolled) .btn.secondary.menu-toggle,
  html[data-theme="dark"] .site-header.scrolled .btn.secondary.menu-toggle {
    color: var(--color-text);
    border-color: rgba(246, 243, 238, 0.18);
    background: rgba(34, 33, 30, 0.88);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  html[data-theme="dark"] .site-header .nav-links,
  html[data-theme="dark"] .site-header:not(.scrolled) .nav-links {
    color: var(--color-text);
    border-color: rgba(246, 243, 238, 0.16);
    background: rgba(30, 29, 26, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.055);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }

  html[data-theme="dark"] .site-header .nav-links a,
  html[data-theme="dark"] .site-header:not(.scrolled) .nav-links a {
    color: var(--color-text-soft);
    text-shadow: none;
  }

  html[data-theme="dark"] .site-header .nav-links a:hover,
  html[data-theme="dark"] .site-header .nav-links a.active,
  html[data-theme="dark"] .site-header:not(.scrolled) .nav-links a:hover,
  html[data-theme="dark"] .site-header:not(.scrolled) .nav-links a.active {
    color: var(--color-text);
    background: rgba(246, 243, 238, 0.08);
    text-shadow: none;
  }

  html[data-theme="dark"] .site-header .nav-links a::after {
    background: linear-gradient(90deg, transparent, rgba(211, 197, 245, 0.72), transparent);
  }

}

html[data-theme="dark"] .hero-clean,
html[data-theme="dark"] .trial-page .trial-hero-full,
html[data-theme="dark"] .security-page .security-hero-full,
html[data-theme="dark"] .auth-page {
  background: var(--color-page);
}

html[data-theme="dark"] .after-hero {
  background: linear-gradient(180deg, rgba(23, 23, 21, 0.92) 0%, rgba(31, 31, 29, 0.94) 52%, rgba(23, 23, 21, 0.92) 100%);
}

html[data-theme="dark"] .after-hero::after {
  background:
    radial-gradient(circle at 8% 20%, rgba(187, 164, 239, 0.12), transparent 32rem),
    radial-gradient(circle at 92% 48%, rgba(159, 202, 196, 0.08), transparent 36rem);
}

html[data-theme="dark"] .hero-clean::before,
html[data-theme="dark"] .trial-page .trial-hero-full::after,
html[data-theme="dark"] .security-page .security-hero-full::after {
  background: linear-gradient(180deg, transparent 0%, rgba(23, 23, 21, 0.72) 56%, var(--color-page) 100%);
}

html[data-theme="dark"] .hero-clean .hero-bg,
html[data-theme="dark"] .trial-page .trial-hero-bg,
html[data-theme="dark"] .security-page .security-hero-bg {
  filter: brightness(0.82) contrast(0.98) saturate(0.88);
}

html[data-theme="dark"] .hero-overlay,
html[data-theme="dark"] .trial-page .trial-hero-overlay,
html[data-theme="dark"] .security-page .security-hero-overlay {
  background:
    radial-gradient(circle at 76% 18%, rgba(246, 243, 238, 0.18), transparent 28rem),
    linear-gradient(90deg, rgba(23, 23, 21, 0.88) 0%, rgba(23, 23, 21, 0.66) 34%, rgba(23, 23, 21, 0.28) 64%, rgba(23, 23, 21, 0.06) 100%),
    linear-gradient(180deg, rgba(23, 23, 21, 0.08) 0%, rgba(23, 23, 21, 0.02) 48%, rgba(23, 23, 21, 0.78) 100%);
}

html[data-theme="dark"] .process-merged .tree-overlay,
html[data-theme="dark"] .pricing-wide-visual::after,
html[data-theme="dark"] .tool-intro::after,
html[data-theme="dark"] .trial-page .trial-panel .tool-intro::after,
html[data-theme="dark"] .cap-card::after,
html[data-theme="dark"] .auth-screen::before {
  background:
    linear-gradient(90deg, rgba(23, 23, 21, 0.88) 0%, rgba(23, 23, 21, 0.66) 44%, rgba(23, 23, 21, 0.18) 100%),
    linear-gradient(180deg, rgba(23, 23, 21, 0.32) 0%, rgba(23, 23, 21, 0.08) 46%, rgba(23, 23, 21, 0.74) 100%);
}

html[data-theme="dark"] .process-merged .tree-scene > img,
html[data-theme="dark"] .pricing-wide-visual > img,
html[data-theme="dark"] .cap-visual img,
html[data-theme="dark"] .footer-art,
html[data-theme="dark"] .side-background,
html[data-theme="dark"] .decor-image {
  opacity: 0.5;
  mix-blend-mode: screen;
  filter: brightness(0.82) contrast(1.02) saturate(0.84);
}

html[data-theme="dark"] .pricing-wide-visual::after {
  background:
    linear-gradient(90deg, rgba(24, 24, 22, 0.92) 0%, rgba(24, 24, 22, 0.68) 34%, rgba(24, 24, 22, 0.3) 64%, rgba(24, 24, 22, 0.1) 100%),
    linear-gradient(180deg, var(--color-image-fade) 0%, rgba(24, 24, 22, 0.16) 34%, rgba(24, 24, 22, 0.18) 66%, var(--color-image-fade) 100%);
}

html[data-theme="dark"] .pricing-hero-visual.media-portrait-fade img,
html[data-theme="dark"] .tool-visual-side.media-portrait-fade img,
html[data-theme="dark"] .page-visual.media-blend img {
  mix-blend-mode: normal;
  filter: brightness(0.88) contrast(0.98) saturate(0.92);
}

html[data-theme="dark"] .pricing-hero-visual.media-portrait-fade img {
  opacity: 0.9;
  mix-blend-mode: normal;
  filter: brightness(0.88) contrast(0.98) saturate(0.92);
}

html[data-theme="dark"] .tool-visual-side::after {
  background:
    radial-gradient(circle at 18% 82%, rgba(23, 23, 21, 0.64), transparent 28%),
    radial-gradient(circle at 76% 22%, rgba(23, 23, 21, 0.48), transparent 24%),
    linear-gradient(180deg, rgba(23, 23, 21, 0.08), rgba(23, 23, 21, 0.28));
}

html[data-theme="dark"] .trial-page .trial-panel .tool-intro::after,
html[data-theme="dark"] .tool-intro::after {
  background:
    radial-gradient(ellipse at 76% 18%, rgba(246, 243, 238, 0.1), transparent 34%),
    linear-gradient(90deg, var(--color-image-fade) 0%, rgba(24, 24, 22, 0.3) 26%, rgba(24, 24, 22, 0.22) 74%, var(--color-image-fade) 100%),
    linear-gradient(180deg, var(--color-image-fade) 0%, rgba(24, 24, 22, 0.18) 44%, var(--color-image-fade) 100%);
}

html[data-theme="dark"] .auth-screen::after {
  opacity: 0.58;
  filter: brightness(0.72) contrast(1.02) saturate(0.84);
}

html[data-theme="dark"] .pricing-page .plan:hover,
html[data-theme="dark"] .pricing-page .pricing-card:hover,
html[data-theme="dark"] .pricing-page .price-card:hover,
html[data-theme="dark"] .plan:hover,
html[data-theme="dark"] .cap-card:hover,
html[data-theme="dark"] .pricing-clarity:hover,
html[data-theme="dark"] .faq-grid article:hover,
html[data-theme="dark"] .legal-flow article:hover,
html[data-theme="dark"] .result-preview:hover,
html[data-theme="dark"] .trust-table:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-elevated);
  box-shadow: var(--shadow-strong);
}

html[data-theme="dark"] .preview-list span,
html[data-theme="dark"] .auth-status span {
  color: var(--color-page);
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .theme-toggle,
  .theme-toggle *,
  .site-header {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  body,
  body.page-ready,
  body.page-leave {
    opacity: 1;
    transform: none;
  }

  body > main,
  body > footer,
  body.page-ready > main,
  body.page-ready > footer,
  body.page-leave > main,
  body.page-leave > footer {
    transform: none;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .reveal > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture) {
    opacity: 1;
    filter: none;
    transform: none;
  }

}

/* Consentement honnête : aucune catégorie facultative active à ce jour. */
.luna-consent-banner {
  position: fixed;
  z-index: 1000;
  right: clamp(12px, 3vw, 32px);
  bottom: max(12px, env(safe-area-inset-bottom));
  left: clamp(12px, 3vw, 32px);
  display: flex;
  max-width: 920px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-solid) 94%, transparent);
  box-shadow: 0 18px 55px rgba(24, 20, 31, .14);
  backdrop-filter: blur(16px);
}
.luna-consent-banner__copy { display: grid; gap: 5px; }
.luna-consent-banner__copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.luna-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.luna-consent-dialog {
  width: min(620px, calc(100vw - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: var(--surface-solid);
  box-shadow: 0 26px 80px rgba(24, 20, 31, .22);
}
.luna-consent-dialog::backdrop { background: rgba(20, 17, 24, .42); backdrop-filter: blur(4px); }
.luna-consent-dialog h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(30px, 5vw, 44px); }
.luna-consent-dialog > p { color: var(--muted); line-height: 1.65; }
.luna-consent-categories { display: grid; gap: 10px; margin-block: 22px; }
.luna-consent-category { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; }
.luna-consent-category p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.luna-consent-badge { align-self: start; color: var(--muted); font-size: 11px; font-weight: 800; }
.luna-consent-link { display: inline-block; margin-bottom: 20px; }
.footer-consent-button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-consent-button:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 3px; }
html[data-theme="dark"] .luna-consent-banner { background: color-mix(in srgb, var(--surface-solid) 92%, transparent); }
@media (max-width: 620px) {
  .luna-consent-banner { align-items: stretch; flex-direction: column; gap: 14px; }
  .luna-consent-banner .luna-consent-actions,
  .luna-consent-dialog .luna-consent-actions { display: grid; grid-template-columns: 1fr; }
  .luna-consent-banner .btn,
  .luna-consent-dialog .btn { width: 100%; min-height: 46px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .luna-consent-banner, .luna-consent-dialog { scroll-behavior: auto; }
}

/* Premium motion layer
   Calm, editorial motion with progressive enhancement only. */

.progress-line {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  display: block !important;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 45%, transparent));
  opacity: 0.72;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  transition: transform 80ms linear, opacity 280ms ease;
}

.hero-clean .hero-bg {
  transform: translate3d(0, calc(var(--hero-progress, 0) * 18px), 0)
    scale(calc(1.03 + var(--hero-progress, 0) * 0.018));
  transition: filter 800ms ease;
  will-change: transform;
}

.hero-clean .hero-overlay {
  opacity: calc(1 - var(--hero-progress, 0) * 0.12);
}

.btn .arrow {
  display: inline-block;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .arrow {
  transform: rotate(18deg) scale(1.12);
}

@media (max-width: 900px) {
  .progress-line {
    height: 1px;
    opacity: 0.5;
  }

  .hero-clean .hero-bg {
    transform: scale(1.015);
    will-change: auto;
  }

  .reveal {
    filter: blur(4px);
    transform: translate3d(0, 20px, 0);
  }

  .reveal > :where(.eyebrow, .section-label, h1, h2, h3, h4, p, ul, ol, .hero-actions, .btn, .page-visual, .price-intro, .plan, .page-card, .tool-panel, .result-preview, .trust-table, .preview-list, .mini-preview, .kpi, .pricing-panel, .pricing-clarity, .faq-grid, .legal-flow, img, picture) {
    filter: blur(3px);
    transform: translate3d(0, 12px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress-line {
    display: none !important;
  }

  .hero-clean .hero-bg {
    transform: none !important;
  }
}

/* pricing.html */

.pricing-page .page-hero .pricing-hero-visual,
.pricing-page .page-hero .page-visual.pricing-hero-visual {
  position: relative;
  display: flex;
  min-height: clamp(520px, 46vw, 760px);
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pricing-page .page-hero .pricing-hero-visual img,
.pricing-page .page-hero .page-visual.pricing-hero-visual img {
  position: relative;
  inset: auto;
  width: min(860px, 48vw);
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  opacity: 0.92;
  mix-blend-mode: multiply;
  filter: none;
  transform: none;
}

@media (max-width: 1200px) {
  .pricing-page .page-hero .pricing-hero-visual {
    min-height: 600px;
  }

  .pricing-page .page-hero .pricing-hero-visual img {
    width: min(760px, 100%);
    transform: scale(1.06);
  }
}

@media (max-width: 780px) {
  .pricing-page .page-hero .pricing-hero-visual {
    min-height: 500px;
  }

  .pricing-page .page-hero .pricing-hero-visual img {
    width: min(620px, 100%);
    transform: scale(1.1);
  }
}

@media (max-width: 580px) {
  .pricing-page .page-hero .pricing-hero-visual {
    min-height: 410px;
  }

  .pricing-page .page-hero .pricing-hero-visual img {
    width: min(440px, 100%);
    transform: scale(1.18);
  }
}

html[data-theme="dark"] .pricing-page .page-hero .pricing-hero-visual img,
html[data-theme="dark"] .pricing-page .page-hero .page-visual.pricing-hero-visual img {
  opacity: 0.9;
  mix-blend-mode: normal;
  filter: brightness(0.88) contrast(0.98) saturate(0.92);
}

/* Images inherit the reveal from their container. Applying a second opacity +
   blur transition to large masked assets delayed their paint and duplicated
   GPU rasterisation. Text and interface children keep their stagger. */
.reveal > :where(img, picture) {
  opacity: 1;
  filter: none;
  transition: none;
  will-change: auto;
}

.reveal.in,
.reveal.is-visible,
.reveal.in > :where(img, picture),
.reveal.is-visible > :where(img, picture) {
  filter: none;
  will-change: auto;
}

/* ========================================================================== */
/* Pages éditoriales publiques : confidentialité, conditions, mentions, cookies */
/* ========================================================================== */

.legal-page {
  overflow-x: clip;
}

.document-hero-full {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(650px, 84svh, 900px);
  overflow: hidden;
  padding: clamp(138px, 11vw, 190px) 0 clamp(88px, 8vw, 128px);
  background: var(--color-page);
}

.document-hero-full__bg,
.oauth-feature-full__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.document-hero-full__overlay,
.oauth-feature-full__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.document-hero-full::after,
.oauth-feature-full::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: -1;
  height: clamp(160px, 24vw, 300px);
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--color-page) 68%, transparent) 56%, var(--color-page) 100%);
}

.document-hero-full__content {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin-inline: auto;
}

.document-hero-full__content .page-title {
  max-width: 980px;
  margin: 18px 0 22px;
  font-size: clamp(66px, 8.4vw, 142px);
  line-height: 0.86;
}

.document-hero-full__content .hero-lead {
  max-width: 720px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.65;
}

.document-hero-full__content .hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.document-hero-full__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.document-hero-full__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface-solid) 74%, transparent);
}

.document-hero-full--privacy .document-hero-full__bg {
  object-position: 58% center;
}

.document-hero-full--privacy .document-hero-full__overlay {
  background:
    linear-gradient(90deg, rgba(255, 254, 250, 0.94) 0%, rgba(255, 254, 250, 0.82) 35%, rgba(255, 254, 250, 0.30) 66%, rgba(255, 254, 250, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 254, 250, 0.10), rgba(255, 254, 250, 0.22));
}

.document-hero-full--terms .document-hero-full__bg {
  object-position: center center;
  opacity: 0.96;
}

.document-hero-full--terms .document-hero-full__overlay {
  background:
    linear-gradient(90deg, rgba(255, 254, 250, 0.94) 0%, rgba(255, 254, 250, 0.82) 34%, rgba(255, 254, 250, 0.36) 62%, rgba(255, 254, 250, 0.08) 100%),
    radial-gradient(circle at 78% 36%, rgba(157, 131, 215, 0.10), transparent 24rem);
}

.document-hero-full--legal .document-hero-full__bg {
  object-position: 62% center;
}

.document-hero-full--legal .document-hero-full__overlay {
  background:
    linear-gradient(90deg, rgba(255, 254, 250, 0.95) 0%, rgba(255, 254, 250, 0.84) 37%, rgba(255, 254, 250, 0.30) 68%, rgba(255, 254, 250, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 254, 250, 0.05), rgba(255, 254, 250, 0.24));
}

.document-hero-full--cookies .document-hero-full__bg {
  object-position: center center;
}

.document-hero-full--cookies .document-hero-full__overlay {
  background:
    linear-gradient(90deg, rgba(255, 254, 250, 0.95) 0%, rgba(255, 254, 250, 0.80) 34%, rgba(255, 254, 250, 0.27) 65%, rgba(255, 254, 250, 0.05) 100%),
    radial-gradient(circle at 82% 22%, rgba(112, 102, 167, 0.10), transparent 27rem);
}

.document-section {
  position: relative;
  padding-top: clamp(62px, 8vw, 116px);
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: start;
}

.document-aside {
  position: sticky;
  top: 124px;
  padding-left: 22px;
  border-left: 2px solid color-mix(in srgb, var(--violet) 45%, transparent);
}

.document-aside h2 {
  margin: 12px 0 14px;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.document-aside > p {
  color: var(--ink-2);
  line-height: 1.68;
}

.document-aside__note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 13px;
}

.document-toc {
  display: grid;
  gap: 2px;
  margin-top: 26px;
}

.document-toc a {
  position: relative;
  padding: 11px 0 11px 16px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 760;
  transition: color 220ms ease, transform 220ms ease;
}

.document-toc a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--violet) 55%, transparent);
  transform: translateY(-50%);
}

.document-toc a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.document-content {
  min-width: 0;
}

.document-block {
  position: relative;
  padding: clamp(30px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
}

.document-block:first-child {
  border-top: 0;
}

.document-block h2 {
  max-width: 920px;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.document-block p,
.document-block li {
  max-width: 900px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.76;
}

.document-block p + p {
  margin-top: 14px;
}

.document-block--notice {
  margin-bottom: 18px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--violet) 28%, var(--line));
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(157, 131, 215, 0.12), transparent 24rem),
    color-mix(in srgb, var(--color-surface-solid) 80%, transparent);
  box-shadow: var(--shadow-soft);
}

.document-block--notice h2 {
  font-size: clamp(34px, 3.7vw, 58px);
}

.document-kicker,
.document-index {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.document-index {
  min-width: 44px;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--violet) 24%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--violet) 8%, transparent);
  letter-spacing: 0.08em;
}

.document-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.document-list-grid > div {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--color-surface-solid) 68%, transparent);
}

.document-list-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.document-list-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.legal-matrix,
.retention-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-matrix > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr) minmax(170px, 0.32fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.legal-matrix strong,
.retention-list strong {
  color: var(--ink);
}

.legal-matrix span,
.retention-list span {
  color: var(--ink-2);
  line-height: 1.6;
}

.legal-matrix em {
  color: var(--violet);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.retention-list > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.document-inline-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--violet);
  font-weight: 850;
}

.document-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 4px solid var(--violet);
  background: color-mix(in srgb, var(--violet) 7%, transparent);
}

.document-callout span {
  color: var(--ink-2);
  line-height: 1.6;
}

.document-bullet-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.cookie-table {
  display: grid;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.cookie-table > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr) minmax(120px, 0.20fr);
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--color-surface-solid) 62%, transparent);
}

.cookie-table > div:first-child {
  border-top: 0;
}

.cookie-table__head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--violet) 9%, var(--color-surface-solid)) !important;
}

.cookie-table code {
  align-self: start;
  color: var(--violet);
  font-size: 12px;
  font-weight: 850;
  word-break: break-word;
}

.cookie-table span {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

/* OAuth Gmail : section pleine largeur, sans carte d'image */
.oauth-feature-full {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(720px, 88svh, 940px);
  overflow: hidden;
  padding: clamp(110px, 10vw, 168px) 0 clamp(96px, 9vw, 142px);
  background: var(--color-page);
}

.oauth-feature-full__bg {
  object-position: center center;
}

.oauth-feature-full__overlay {
  background:
    linear-gradient(90deg, rgba(255, 254, 250, 0.08) 0%, rgba(255, 254, 250, 0.34) 42%, rgba(255, 254, 250, 0.90) 68%, rgba(255, 254, 250, 0.96) 100%),
    linear-gradient(180deg, rgba(255, 254, 250, 0.04), rgba(255, 254, 250, 0.26));
}

.oauth-feature-full__content {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin-inline: auto;
  padding-left: min(48%, 820px);
}

.oauth-feature-full__content h2 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-family: var(--display);
  font-size: clamp(62px, 7vw, 118px);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.oauth-feature-full__lead {
  max-width: 680px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
}

.oauth-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.oauth-scope-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--color-surface-solid) 78%, transparent);
}

.oauth-scope-grid article > span {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.oauth-scope-grid strong {
  display: block;
  margin: 10px 0 8px;
}

.oauth-scope-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

.oauth-scope-grid code {
  color: var(--violet);
  font-size: 11px;
}

.oauth-feature-full__principles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.oauth-feature-full__principles span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface-solid) 72%, transparent);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 750;
}

.oauth-feature-full__content .hero-actions {
  justify-content: flex-start;
  margin-top: 26px;
}

html[data-theme="dark"] .document-hero-full__bg,
html[data-theme="dark"] .oauth-feature-full__bg {
  filter: brightness(0.72) contrast(0.95) saturate(0.82);
}

html[data-theme="dark"] .document-hero-full--privacy .document-hero-full__overlay,
html[data-theme="dark"] .document-hero-full--terms .document-hero-full__overlay,
html[data-theme="dark"] .document-hero-full--legal .document-hero-full__overlay,
html[data-theme="dark"] .document-hero-full--cookies .document-hero-full__overlay {
  background:
    linear-gradient(90deg, rgba(24, 24, 22, 0.95) 0%, rgba(24, 24, 22, 0.84) 38%, rgba(24, 24, 22, 0.38) 70%, rgba(24, 24, 22, 0.08) 100%),
    linear-gradient(180deg, rgba(24, 24, 22, 0.08), rgba(24, 24, 22, 0.28));
}

html[data-theme="dark"] .oauth-feature-full__overlay {
  background:
    linear-gradient(90deg, rgba(24, 24, 22, 0.08) 0%, rgba(24, 24, 22, 0.40) 42%, rgba(24, 24, 22, 0.88) 70%, rgba(24, 24, 22, 0.97) 100%),
    linear-gradient(180deg, rgba(24, 24, 22, 0.04), rgba(24, 24, 22, 0.32));
}

html[data-theme="dark"] .document-block--notice,
html[data-theme="dark"] .document-list-grid > div,
html[data-theme="dark"] .cookie-table > div,
html[data-theme="dark"] .oauth-scope-grid article,
html[data-theme="dark"] .oauth-feature-full__principles span,
html[data-theme="dark"] .document-hero-full__meta span {
  background: color-mix(in srgb, var(--color-surface-solid) 84%, transparent);
}

@media (max-width: 1100px) {
  .document-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .document-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
    gap: 18px 34px;
    padding: 24px;
    border: 1px solid var(--line);
    border-left-width: 1px;
    border-radius: 26px;
    background: color-mix(in srgb, var(--color-surface-solid) 70%, transparent);
  }

  .document-aside .section-label,
  .document-aside h2,
  .document-aside > p {
    grid-column: 1;
  }

  .document-toc {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
  }

  .document-aside__note {
    grid-column: 1;
  }

  .oauth-feature-full__content {
    padding-left: 38%;
  }

  .oauth-scope-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .document-hero-full {
    min-height: 100svh;
    padding: 118px 0 72px;
    align-items: flex-end;
  }

  .document-hero-full__content {
    width: calc(100% - 30px);
  }

  .document-hero-full__content .page-title {
    max-width: 100%;
    font-size: clamp(54px, 15vw, 82px);
  }

  .document-hero-full__content .hero-lead {
    max-width: 100%;
    font-size: 16px;
  }

  .document-hero-full__content .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .document-hero-full__content .hero-actions .btn {
    width: 100%;
  }

  .document-hero-full--privacy .document-hero-full__bg {
    object-position: 66% center;
  }

  .document-hero-full--terms .document-hero-full__bg {
    object-position: 58% center;
  }

  .document-hero-full--legal .document-hero-full__bg {
    object-position: 64% center;
  }

  .document-hero-full--cookies .document-hero-full__bg {
    object-position: 58% center;
  }

  .document-hero-full--privacy .document-hero-full__overlay,
  .document-hero-full--terms .document-hero-full__overlay,
  .document-hero-full--legal .document-hero-full__overlay,
  .document-hero-full--cookies .document-hero-full__overlay {
    background: linear-gradient(180deg, rgba(255, 254, 250, 0.08) 0%, rgba(255, 254, 250, 0.26) 34%, rgba(255, 254, 250, 0.88) 68%, rgba(255, 254, 250, 0.98) 100%);
  }

  html[data-theme="dark"] .document-hero-full--privacy .document-hero-full__overlay,
  html[data-theme="dark"] .document-hero-full--terms .document-hero-full__overlay,
  html[data-theme="dark"] .document-hero-full--legal .document-hero-full__overlay,
  html[data-theme="dark"] .document-hero-full--cookies .document-hero-full__overlay {
    background: linear-gradient(180deg, rgba(24, 24, 22, 0.08) 0%, rgba(24, 24, 22, 0.30) 36%, rgba(24, 24, 22, 0.86) 68%, rgba(24, 24, 22, 0.98) 100%);
  }

  .document-section {
    padding-top: 54px;
  }

  .document-aside {
    display: block;
    padding: 22px;
  }

  .document-toc {
    margin-top: 22px;
  }

  .document-list-grid {
    grid-template-columns: 1fr;
  }

  .legal-matrix > div,
  .retention-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cookie-table {
    overflow-x: auto;
  }

  .cookie-table > div {
    min-width: 720px;
  }

  .document-callout {
    flex-direction: column;
  }

  .oauth-feature-full {
    min-height: 100svh;
    padding: 116px 0 72px;
    align-items: flex-end;
  }

  .oauth-feature-full__bg {
    object-position: 31% center;
  }

  .oauth-feature-full__overlay {
    background: linear-gradient(180deg, rgba(255, 254, 250, 0.08) 0%, rgba(255, 254, 250, 0.30) 34%, rgba(255, 254, 250, 0.90) 66%, rgba(255, 254, 250, 0.98) 100%);
  }

  html[data-theme="dark"] .oauth-feature-full__overlay {
    background: linear-gradient(180deg, rgba(24, 24, 22, 0.08) 0%, rgba(24, 24, 22, 0.34) 34%, rgba(24, 24, 22, 0.88) 66%, rgba(24, 24, 22, 0.98) 100%);
  }

  .oauth-feature-full__content {
    width: calc(100% - 30px);
    padding-left: 0;
  }

  .oauth-feature-full__content h2 {
    font-size: clamp(54px, 15vw, 82px);
  }

  .oauth-feature-full__lead {
    font-size: 16px;
  }

  .oauth-feature-full__content .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .oauth-feature-full__content .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .document-toc a {
    transition: none;
  }
}

/* Actions d'authentification du menu public mobile */

@media (max-width: 980px) {
  [data-mobile-nav-actions] {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login,
  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-width: 1px;
    border-style: solid;
    border-radius: 18px;
    opacity: 1;
    visibility: visible;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-indent: 0;
    mix-blend-mode: normal;
    filter: none;
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login {
    color: #18151d;
    border-color: rgba(40, 34, 48, 0.18);
    background: rgba(255, 255, 255, 0.78);
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login:visited {
    color: #18151d;
    border-color: rgba(40, 34, 48, 0.18);
    background-color: rgba(255, 255, 255, 0.78);
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login:hover {
    color: #18151d;
    border-color: rgba(74, 66, 111, 0.3);
    background: rgba(239, 236, 243, 0.96);
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login:active {
    color: #18151d;
    background: rgba(229, 225, 235, 0.98);
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial {
    color: #fffdf8;
    border-color: #17131c;
    background: #17131c;
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial:visited {
    color: #fffdf8;
    border-color: #17131c;
    background-color: #17131c;
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial:hover {
    color: #fffdf8;
    border-color: #40365b;
    background: #40365b;
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial:active {
    color: #fffdf8;
    border-color: #2e273e;
    background: #2e273e;
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login:focus-visible,
  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial:focus-visible {
    outline: 3px solid rgba(109, 82, 156, 0.42);
    outline-offset: 3px;
  }

  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login::after,
  .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial::after {
    display: none;
  }

  html[data-theme="dark"] .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login {
    color: #f8f5ee;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
  }

  html[data-theme="dark"] .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login:visited {
    color: #f8f5ee;
    border-color: rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.07);
  }

  html[data-theme="dark"] .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login:hover {
    color: #fffdf8;
    border-color: rgba(211, 197, 245, 0.42);
    background: rgba(211, 197, 245, 0.14);
  }

  html[data-theme="dark"] .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-login:active {
    color: #fffdf8;
    background: rgba(211, 197, 245, 0.2);
  }

  html[data-theme="dark"] .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial {
    color: #17131c;
    border-color: #f7f3eb;
    background: #f7f3eb;
  }

  html[data-theme="dark"] .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial:visited {
    color: #17131c;
    border-color: #f7f3eb;
    background-color: #f7f3eb;
  }

  html[data-theme="dark"] .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial:hover {
    color: #17131c;
    border-color: #d9ccf4;
    background: #d9ccf4;
  }

  html[data-theme="dark"] .site-header .nav-links [data-mobile-nav-actions] .nav-mobile-trial:active {
    color: #17131c;
    border-color: #c9b8ed;
    background: #c9b8ed;
  }
}

@media (min-width: 420px) and (max-width: 980px) {
  [data-mobile-nav-actions] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Introduction de la page d'accueil publique */

.luna-public-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--color-text);
  background:
    radial-gradient(circle at 50% 44%, rgba(119, 92, 168, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 45%),
    rgba(251, 250, 247, 0.985);
  touch-action: none;
  overscroll-behavior: contain;
  animation: luna-public-intro-overlay-in 220ms ease-out both;
}

.luna-public-intro::before {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(74, 66, 111, 0.045) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 68%, rgba(22, 19, 27, 0.035) 0 1px, transparent 1.5px);
  background-size: 19px 19px, 23px 23px;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

.luna-public-intro__ambient {
  position: absolute;
  width: min(72vw, 740px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 131, 215, 0.1), rgba(157, 131, 215, 0.025) 48%, transparent 70%);
  filter: blur(18px);
  opacity: 0;
  animation: luna-public-intro-ambient-in 900ms 120ms var(--reveal-ease) both;
}

.luna-public-intro__stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: min(82vw, 620px);
  min-height: min(82vw, 620px);
  place-items: center;
}

.luna-public-intro__rings {
  position: absolute;
  width: clamp(230px, 35vw, 470px);
  aspect-ratio: 1;
  opacity: 0;
  animation: luna-public-intro-rings-in 850ms 120ms var(--reveal-ease) both;
}

.luna-public-intro__rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(83, 62, 119, 0.17);
  border-radius: 50%;
}

.luna-public-intro__rings span:nth-child(2) {
  inset: 9%;
  border-color: rgba(83, 62, 119, 0.11);
  transform: translate(8%, -5%);
}

.luna-public-intro__rings span:nth-child(3) {
  inset: 18%;
  border-color: rgba(22, 19, 27, 0.08);
  transform: translate(-7%, 6%);
}

.luna-public-intro__brand {
  position: relative;
  z-index: 2;
  transform-origin: center;
  opacity: 0;
  filter: blur(7px);
  animation: luna-public-intro-brand-in 670ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

.luna-public-intro__brand .logo {
  color: var(--color-text);
  pointer-events: none;
  text-decoration: none;
  text-shadow: 0 1px 24px rgba(255, 255, 255, 0.75);
}

.luna-public-intro__brand .logo img {
  border-color: transparent;
  background: transparent;
  box-shadow: 0 18px 46px rgba(32, 25, 48, 0.13);
}

.luna-public-intro__wordmark {
  display: inline-block;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transform: translateX(12px);
  opacity: 0;
  animation: luna-public-intro-wordmark-in 550ms 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.luna-public-intro__skip {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 3;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  color: var(--color-text-soft);
  font: 650 13px/1 var(--ui);
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 34px rgba(32, 25, 48, 0.08);
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.luna-public-intro__skip:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.82);
}

.luna-public-intro__skip:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-focus) 46%, transparent);
  outline-offset: 3px;
}

.luna-intro-target-hidden {
  opacity: 0 !important;
}

html[data-theme="dark"] .luna-public-intro {
  background:
    radial-gradient(circle at 50% 44%, rgba(187, 164, 239, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 45%),
    rgba(24, 24, 22, 0.99);
}

html[data-theme="dark"] .luna-public-intro::before {
  background-image:
    radial-gradient(circle at 18% 24%, rgba(211, 197, 245, 0.07) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 68%, rgba(246, 243, 238, 0.045) 0 1px, transparent 1.5px);
}

html[data-theme="dark"] .luna-public-intro__rings span {
  border-color: rgba(211, 197, 245, 0.2);
}

html[data-theme="dark"] .luna-public-intro__rings span:nth-child(2) {
  border-color: rgba(211, 197, 245, 0.13);
}

html[data-theme="dark"] .luna-public-intro__rings span:nth-child(3) {
  border-color: rgba(246, 243, 238, 0.09);
}

html[data-theme="dark"] .luna-public-intro__brand .logo {
  color: var(--color-text);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .luna-public-intro__skip {
  color: var(--color-text-soft);
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .luna-public-intro__skip:hover {
  color: var(--color-text);
  border-color: var(--color-accent-soft);
  background: rgba(211, 197, 245, 0.13);
}

@keyframes luna-public-intro-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes luna-public-intro-ambient-in {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes luna-public-intro-rings-in {
  from { opacity: 0; transform: scale(0.72) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes luna-public-intro-brand-in {
  from { opacity: 0; filter: blur(7px); transform: scale(0.65) rotate(-10deg); }
  to { opacity: 1; filter: blur(0); transform: scale(1) rotate(0); }
}

@keyframes luna-public-intro-wordmark-in {
  from { clip-path: inset(0 100% 0 0); opacity: 0; transform: translateX(12px); }
  to { clip-path: inset(0 0 0 0); opacity: 1; transform: translateX(0); }
}

@media (max-width: 480px) {
  .luna-public-intro__stage {
    min-width: 92vw;
    min-height: 92vw;
  }

  .luna-public-intro__rings {
    width: clamp(220px, 78vw, 330px);
  }

  .luna-public-intro__skip {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .luna-public-intro,
  .luna-public-intro__ambient,
  .luna-public-intro__rings,
  .luna-public-intro__brand,
  .luna-public-intro__wordmark {
    animation: none;
  }
}
