:root {
  --paper: #fffdfa;
  --ivory: #f5f1e8;
  --fog: #ece7de;
  --ink: #171512;
  --navy: #233d70;
  --navy-deep: #192d53;
  --navy-soft: #e7eef9;
  --slate: #485566;
  --muted: #756f66;
  --muted-soft: #a39a8e;
  --green: #366c55;
  --green-soft: #deede4;
  --gold: #ad8326;
  --line: #ddd5c8;
  --shadow: 0 20px 52px rgba(35, 29, 18, 0.1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  margin-bottom: 20px;
  font-size: 5rem;
}

h2 {
  margin-bottom: 16px;
  font-size: 3rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

svg {
  display: block;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.page {
  min-height: 100vh;
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.brand {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.tabs {
  display: flex;
  min-width: 0;
  justify-content: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  padding: 9px 11px;
  font-size: 0.88rem;
  font-weight: 760;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tabs a:hover,
.tabs a:focus-visible,
.tabs a.active {
  color: var(--navy);
  background: var(--navy-soft);
  border-color: rgba(35, 61, 112, 0.12);
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  padding: 3px;
}

.lang-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: background 160ms ease, color 160ms ease;
}

.lang-toggle button[aria-pressed="true"] {
  color: #fff;
  background: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.button-primary:hover {
  background: var(--navy-deep);
}

.button-quiet {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--line);
}

.button-line {
  min-height: 38px;
  color: var(--navy);
  border-color: rgba(35, 61, 112, 0.14);
  padding: 8px 12px;
}

.eyebrow {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 5px;
  color: var(--navy);
  background: var(--navy-soft);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.muted-label {
  color: var(--muted-soft);
  background: transparent;
  padding-left: 0;
}

.pill-row,
.actions,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(221, 213, 200, 0.9);
  border-radius: 5px;
  color: var(--muted);
  background: #f3efe8;
  padding: 7px 10px;
  font-size: 0.84rem;
  font-weight: 760;
}

.pill.green {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(54, 108, 85, 0.14);
}

.pill.blue {
  color: var(--navy);
  background: var(--navy-soft);
  border-color: rgba(35, 61, 112, 0.12);
}

.home-hero {
  padding: 72px 0 52px;
  background: var(--paper);
}

.video-hero {
  padding: 22px 0 42px;
  background: var(--paper);
}

.bg-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  background: var(--navy-deep);
}

.bg-hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(8, 17, 35, 0.94) 0%, rgba(8, 17, 35, 0.82) 42%, rgba(8, 17, 35, 0.45) 74%, rgba(8, 17, 35, 0.3) 100%),
    linear-gradient(0deg, rgba(8, 17, 35, 0.45), rgba(8, 17, 35, 0.05));
  pointer-events: none;
}

.bg-hero-content {
  padding: clamp(48px, 8vw, 96px) 0;
  max-width: 720px;
  animation: hero-rise 760ms ease-out both;
}

.bg-hero-content .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.bg-hero-content h1 {
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  text-shadow: 0 2px 24px rgba(8, 17, 35, 0.4);
}

.bg-hero-content h1 em {
  color: #dce8ff;
  font-style: italic;
  font-weight: 500;
}

.bg-hero-content p {
  max-width: 560px;
  margin-bottom: 28px;
  color: #f2f6ff;
  font-size: 1.22rem;
  text-shadow: 0 2px 14px rgba(8, 17, 35, 0.46);
}

.video-pitch-section {
  padding: 72px 0;
  background: var(--paper);
}

.pitch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: center;
}

.pitch-copy h2 {
  margin-top: 14px;
  font-size: 2.8rem;
}

.pitch-copy .lede {
  margin-bottom: 0;
}

.pitch-copy .actions {
  margin-top: 24px;
  margin-bottom: 0;
}

.pitch-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: var(--navy-deep);
  box-shadow: 0 30px 70px rgba(25, 45, 83, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pitch-poster:hover {
  transform: translateY(-3px);
  box-shadow: 0 38px 84px rgba(25, 45, 83, 0.36);
}

.pitch-poster-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pitch-poster-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 60%, rgba(8, 17, 35, 0.55) 0%, rgba(8, 17, 35, 0.85) 100%),
    linear-gradient(180deg, rgba(8, 17, 35, 0.2), rgba(8, 17, 35, 0.6));
}

.pitch-poster-content {
  position: relative;
  height: 100%;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 28px;
  color: #fff;
  text-align: left;
}

.pitch-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  color: var(--navy-deep);
  background: rgba(255, 255, 253, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  transition: transform 220ms ease, background 220ms ease;
}

.pitch-poster:hover .pitch-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--gold);
  color: #fff;
}

.pitch-play svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.pitch-poster-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pitch-poster-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
  max-width: 26ch;
}

.pitch-poster-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c6d2e8;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 4px;
}

.pitch-poster-dot {
  opacity: 0.5;
}

.reassure-band {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reassure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.reassure-item {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 116px;
  padding: 22px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.reassure-item:first-child {
  border-left: 0;
}

.reassure-item strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}

.reassure-item:last-child strong {
  color: var(--gold);
}

.reassure-item span {
  color: #c6d2e8;
  font-size: 0.92rem;
}

.video-stage {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--navy-deep);
  box-shadow: 0 26px 72px rgba(25, 45, 83, 0.24);
  animation: hero-rise 760ms ease-out both;
}

.video-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 17, 35, 0.94) 0%, rgba(8, 17, 35, 0.78) 46%, rgba(8, 17, 35, 0.32) 76%, rgba(8, 17, 35, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 17, 35, 0.16), rgba(8, 17, 35, 0.16));
  pointer-events: none;
}

.video-stage video {
  display: block;
  width: 100%;
  max-height: min(76vh, 760px);
  background: #0f1726;
  object-fit: contain;
}

.video-message {
  position: absolute;
  top: clamp(22px, 5vw, 68px);
  left: clamp(20px, 5vw, 68px);
  z-index: 2;
  max-width: 620px;
  padding-right: 20px;
}

.video-message .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.video-message h1 {
  max-width: 650px;
  margin: 20px 0 16px;
  color: #fff;
  font-size: 4.6rem;
  text-shadow: 0 2px 18px rgba(8, 17, 35, 0.36);
}

.video-message h1 em {
  color: #dce8ff;
  font-style: italic;
  font-weight: 500;
}

.video-message p {
  max-width: 520px;
  margin-bottom: 24px;
  color: #f2f6ff;
  font-size: 1.18rem;
  text-shadow: 0 2px 14px rgba(8, 17, 35, 0.44);
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-slogan {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 15px;
  font-weight: 900;
}

.upload-section {
  padding: 34px 0 58px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.upload-section .home-copy h2 {
  margin-top: 18px;
  font-size: 3.35rem;
}

.home-grid,
.page-hero-grid,
.split,
.review-board,
.data-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.home-copy h1 {
  max-width: 670px;
  margin-top: 24px;
}

.home-copy h1 em,
.page-hero h1 em,
.section-head h2 em {
  color: var(--navy);
  font-style: italic;
  font-weight: 500;
}

.lede {
  max-width: 660px;
  color: var(--slate);
  font-size: 1.25rem;
}

.actions {
  margin: 28px 0 24px;
}

.intake {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: hero-rise 760ms 120ms ease-out both;
}

.intake-head {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #fff;
  background: var(--navy);
  padding: 22px;
}

.intake-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.2;
}

.intake-head p {
  margin: 3px 0 0;
  color: #d0d9ea;
}

.icon-box {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #d4ddef;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 7px;
}

.icon-box svg {
  width: 21px;
  height: 21px;
}

.intake-body {
  padding: 22px;
}

.drop-zone {
  min-height: 154px;
  display: grid;
  place-items: center;
  border: 1px dashed #cfc5b7;
  border-radius: 7px;
  background: var(--ivory);
  color: var(--muted);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.drop-zone:hover,
.drop-zone.is-active {
  border-color: var(--navy);
  background: var(--navy-soft);
}

.drop-zone-lg {
  min-height: 220px;
}

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

.drop-zone svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  color: var(--muted-soft);
}

.drop-zone strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

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

.field label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  padding: 0 12px;
}

.field input::placeholder {
  color: var(--muted-soft);
}

.intake-note {
  margin-bottom: 16px;
  color: var(--muted-soft);
  font-size: 0.92rem;
}

.intake .button {
  width: 100%;
}

.film-section {
  position: relative;
  overflow: hidden;
  padding: 8px 0 64px;
  background: var(--paper);
}

.film-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ivory), #fff 58%);
  padding: 26px;
}

.film-copy {
  padding: 12px 4px 12px 10px;
}

.film-copy h2 {
  margin-top: 16px;
  font-size: 2.65rem;
}

.film-copy p {
  max-width: 390px;
  margin-bottom: 20px;
  color: var(--slate);
}

.film-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.film-points span {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  border: 1px solid rgba(35, 61, 112, 0.12);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(231, 238, 249, 0.86);
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 850;
}

.film-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--navy-deep);
  box-shadow: 0 24px 56px rgba(25, 45, 83, 0.24);
}

.film-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.film-frame video {
  display: block;
  width: 100%;
  max-height: min(62vh, 640px);
  background: #111827;
  object-fit: contain;
}

.metric-strip {
  padding: 0 0 54px;
  background: var(--paper);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
}

.metric {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  border-left: 1px solid var(--line);
  padding: 24px;
  transition: background 180ms ease, transform 180ms ease;
}

.metric:first-child {
  border-left: 0;
}

.metric:hover {
  background: #fff;
  transform: translateY(-2px);
}

.metric strong,
.number {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.metric:last-child strong {
  color: var(--gold);
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section.alt {
  background: var(--ivory);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 14px;
}

.section-head p {
  max-width: 660px;
  font-size: 1.08rem;
}

.story-section {
  color: #fff;
  background: var(--navy-deep);
  border-top: 0;
}

.story-section .muted-label {
  color: #b9c7df;
}

.story-head h2 {
  color: #fff;
}

.story-head p {
  color: #d4ddef;
}

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

.story-card {
  display: grid;
  gap: 16px;
  min-height: 310px;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 28px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.story-card:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.story-card.featured {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.story-step {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  border-radius: 5px;
  color: #dce8ff;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card.featured .story-step {
  color: var(--navy);
  background: var(--navy-soft);
}

.story-card strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1.06;
}

.story-card p {
  margin: 0;
  color: #d4ddef;
}

.story-card.featured strong {
  color: var(--ink);
}

.story-card.featured p {
  color: var(--slate);
}

.route-grid,
.card-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-card,
.card,
.plan,
.faq-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.route-card {
  display: grid;
  min-height: 176px;
  align-content: space-between;
  gap: 14px;
  padding: 24px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.route-card:hover {
  border-color: rgba(35, 61, 112, 0.22);
  background: #fff;
  transform: translateY(-2px);
}

.route-card h3,
.card h3,
.panel h3,
.faq-card h3 {
  margin: 0;
}

.route-card p,
.card p,
.panel p,
.faq-card p {
  margin-bottom: 0;
}

.route-arrow {
  color: var(--navy);
  font-weight: 900;
}

.page-hero {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero h1 {
  margin-top: 20px;
  font-size: 4.2rem;
}

.page-hero p {
  max-width: 650px;
  color: var(--slate);
  font-size: 1.2rem;
}

.focus-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  padding: 34px;
  box-shadow: var(--shadow);
}

.focus-card p {
  color: #d4ddef;
}

.focus-card .number {
  margin-bottom: 14px;
  color: #fff;
  font-size: 5rem;
}

.focus-card small {
  display: block;
  margin-top: 18px;
  color: #b9c7df;
  font-weight: 800;
  text-transform: uppercase;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two,
.pricing-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 210px;
  padding: 26px;
}

.card .icon-box {
  color: var(--navy);
  background: var(--navy-soft);
  margin-bottom: 18px;
}

.card strong {
  color: var(--navy);
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.compare-block {
  position: relative;
  min-height: 286px;
  padding: 32px;
}

.compare-block.is-lost {
  background: linear-gradient(135deg, var(--paper), var(--ivory));
}

.compare-block.is-recovered,
.compare-block + .compare-block {
  color: #fff;
  background: var(--navy);
}

.compare-tone {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 18px;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-block.is-lost .compare-tone {
  color: #73520e;
  background: #f2e1b6;
}

.compare-block.is-recovered .compare-tone {
  color: #dce8ff;
  background: rgba(255, 255, 255, 0.14);
}

.compare-block.is-lost .clean-list li::before {
  background: var(--gold);
}

.compare-block.is-recovered .clean-list li::before {
  background: var(--green-soft);
}

.compare-block.is-recovered h3,
.compare-block + .compare-block h3 {
  color: #fff;
}

.compare-block.is-recovered p,
.compare-block.is-recovered li,
.compare-block + .compare-block p,
.compare-block + .compare-block li {
  color: #d4ddef;
}

.clean-list,
.feature-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.feature-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--muted);
}

.clean-list li::before,
.feature-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--green);
}

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

.step {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
}

.step-count {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #e6dfd3;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.step h3 {
  margin-top: 28px;
}

.review-board {
  align-items: stretch;
}

.document {
  min-height: 350px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 26px;
}

.document-row {
  display: grid;
  grid-template-columns: 108px 1fr 52px;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  color: var(--muted);
  border-bottom: 1px solid var(--fog);
  font-size: 0.88rem;
}

.document-row:last-child {
  border-bottom: 0;
}

.highlight {
  min-height: 18px;
  border: 1px solid #dfc45f;
  border-radius: 4px;
  background: #fff0b8;
}

.confidence {
  color: var(--green);
  font-weight: 900;
}

.review-side {
  display: grid;
  gap: 16px;
}

.panel {
  padding: 24px;
}

.panel.navy,
.cta-band,
.security-hero {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.panel.navy h3,
.cta-band h2,
.security-hero h1 {
  color: #fff;
}

.panel.navy p,
.cta-band p,
.security-hero p {
  color: #d4ddef;
}

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

.output-path {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.output-path span {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  border: 1px solid rgba(35, 61, 112, 0.12);
  border-radius: 5px;
  color: var(--navy);
  background: rgba(231, 238, 249, 0.82);
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.output {
  display: grid;
  align-content: start;
  min-height: 228px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.output:hover {
  border-color: rgba(35, 61, 112, 0.22);
  background: #fff;
  transform: translateY(-2px);
}

.output small {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--navy);
  background: var(--navy-soft);
  border-radius: 5px;
  padding: 5px 8px;
  font-weight: 900;
}

.output p {
  margin-bottom: 0;
}

.security-hero {
  border-bottom: 0;
}

.security-hero .eyebrow {
  color: #d4ddef;
  background: rgba(255, 255, 255, 0.12);
}

.security-hero .focus-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.data-rail {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
}

.rail {
  display: grid;
  gap: 14px;
}

.rail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 20px;
}

.rail-item strong {
  display: block;
  margin-bottom: 4px;
}

.mini-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  color: var(--navy);
  background: var(--navy-soft);
  font-weight: 900;
}

.plan {
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(35, 29, 18, 0.07);
}

.plan.featured {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.plan-head,
.plan-body {
  padding: 28px;
}

.plan-head {
  border-bottom: 1px solid var(--line);
}

.plan.featured .plan-head {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  border-radius: 5px;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan h3 {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan.featured h3,
.plan.featured p,
.plan.featured li {
  color: #d4ddef;
}

.plan-price {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.plan.featured .plan-price {
  color: #fff;
}

.plan .button {
  width: 100%;
  margin-top: 24px;
}

.plan.featured .button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.faq-card {
  padding: 24px;
}

.home-close {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.home-close p {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.14;
}

.cta-band {
  border: 1px solid var(--navy);
  border-radius: 8px;
  padding: 36px;
}

.cta-band .actions {
  margin-bottom: 0;
}

.cta-band .button-primary {
  color: var(--green);
  background: var(--green-soft);
  border-color: var(--green-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 40px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.footer-copy {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-meta {
  display: grid;
  gap: 9px;
  justify-items: end;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-meta a {
  color: var(--navy);
}

.copyright {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .nav {
    grid-template-columns: 1fr auto;
    padding-top: 13px;
  }

  .tabs {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .home-grid,
  .film-grid,
  .page-hero-grid,
  .split,
  .review-board,
  .data-rail,
  .pitch-grid {
    grid-template-columns: 1fr;
  }

  .pitch-copy h2 {
    font-size: 2.4rem;
  }

  .route-grid,
  .card-grid.three,
  .story-grid,
  .output-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:last-child {
    grid-column: span 2;
  }

  .video-message h1 {
    max-width: 520px;
    font-size: 3.5rem;
  }

  .reassure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reassure-item:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 560px);
  }

  h1,
  .page-hero h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .nav {
    gap: 12px;
  }

  .brand {
    font-size: 1.5rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 0.84rem;
  }

  .home-hero,
  .video-hero,
  .upload-section,
  .film-section,
  .page-hero,
  .section {
    padding: 52px 0;
  }

  .video-hero {
    padding-top: 14px;
  }

  .video-stage::after {
    display: none;
  }

  .video-message {
    position: relative;
    top: auto;
    left: auto;
    max-width: none;
    padding: 20px;
    background: var(--navy-deep);
  }

  .video-message h1,
  .upload-section .home-copy h2 {
    font-size: 2.55rem;
  }

  .video-message p {
    font-size: 1rem;
  }

  .video-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-slogan {
    min-height: 40px;
    justify-content: center;
    font-size: 0.92rem;
  }

  .film-grid {
    gap: 18px;
    padding: 18px;
  }

  .film-copy {
    padding: 4px;
  }

  .film-copy h2 {
    font-size: 2.1rem;
  }

  .lede,
  .page-hero p,
  .section-head p {
    font-size: 1.04rem;
  }

  .field-grid,
  .metrics,
  .route-grid,
  .card-grid.three,
  .card-grid.two,
  .story-grid,
  .pricing-grid,
  .faq-grid,
  .compare,
  .steps,
  .output-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:last-child {
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .metric:first-child {
    border-top: 0;
  }

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

  .reassure-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .reassure-item:first-child {
    border-top: 0;
  }

  .bg-hero {
    min-height: auto;
  }

  .step,
  .card {
    min-height: auto;
  }

  .focus-card {
    padding: 26px;
  }

  .focus-card .number,
  .plan-price {
    font-size: 3.4rem;
  }

  .document-row {
    grid-template-columns: 88px 1fr 44px;
    gap: 8px;
    font-size: 0.76rem;
  }

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

  .footer-meta {
    justify-items: start;
  }

  .story-card {
    min-height: auto;
    padding: 24px;
  }

  .story-card strong,
  .home-close p {
    font-size: 1.72rem;
  }

  .home-close {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ——— Cedio upload API (FEC, toast, succès) ——— */
.fec-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.fec-block label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.fec-block input[type="file"] {
  width: 100%;
  font-size: 0.88rem;
}

.fec-hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted-soft);
  line-height: 1.45;
}

.file-chip {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid #b9d9c5;
  font-size: 0.88rem;
}

.file-chip.is-visible {
  display: flex;
}

.file-chip.fec-chip {
  background: var(--navy-soft);
  border-color: #c5d4eb;
}

.file-chip-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.file-chip button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  padding: 2px 4px;
}

.drop-zone.is-hidden {
  display: none;
}

.upload-success-panel {
  display: none;
  text-align: center;
  padding: 28px 12px;
}

.upload-success-panel.is-visible {
  display: block;
}

.upload-success-panel h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.upload-success-panel p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cedio-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 9999;
  max-width: min(92vw, 480px);
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--navy-deep);
  color: #fff;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cedio-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ——— Page suivi dossier ——— */
.dossier-page .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dossier-page .step-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.dossier-page .step-item:last-child {
  border-bottom: none;
}

.dossier-page .step-dot {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--fog);
  color: var(--muted);
}

.dossier-page .step-item.done .step-dot {
  background: var(--green-soft);
  color: var(--green);
}

.dossier-page .step-item.active .step-dot {
  background: var(--navy);
  color: #fff;
}

.dossier-page .step-item.error .step-dot {
  background: #f5d6d6;
  color: #8b1e1e;
}

.dossier-banner {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.dossier-banner.is-visible {
  display: block;
}

.dossier-banner.info {
  background: var(--navy-soft);
  color: var(--navy-deep);
}

.dossier-banner.success {
  background: var(--green-soft);
  color: var(--green);
}

.dossier-banner.error {
  background: #f5d6d6;
  color: #8b1e1e;
}

.dossier-banner a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .video-stage,
  .intake {
    animation: none;
  }

  .button,
  .metric,
  .output,
  .story-card,
  .route-card {
    transition: none;
  }
}

.legal-content {
  max-width: 720px;
  color: var(--ink);
  line-height: 1.65;
}

.legal-content h2 {
  margin: 32px 0 12px;
  font-size: 1.15rem;
}

.legal-content h3 {
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 12px;
  color: var(--muted);
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--muted);
}

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

.legal-updated {
  margin-top: 12px;
  color: var(--muted-soft);
  font-size: 0.92rem;
}
