/* ============================================================
   ArtCloud Landing — Multi-style System
   3 themes via [data-style="studio|spectrum|obsidian"] on <html>
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- THEME: STUDIO (SaaS minimal) ---------- */
:root, [data-style="studio"] {
  --bg: oklch(98.5% 0.005 80);
  --bg-soft: oklch(96% 0.008 80);
  --bg-card: oklch(100% 0 0);
  --fg: oklch(18% 0.01 80);
  --fg-muted: oklch(45% 0.012 80);
  --fg-faint: oklch(70% 0.012 80);
  --line: oklch(90% 0.008 80);
  --line-soft: oklch(94% 0.006 80);
  --accent: #009ef7;                      /* signature blue */
  --accent-fg: oklch(98% 0.005 240);
  --accent-soft: oklch(94% 0.04 240);
  --shadow: 0 1px 2px oklch(20% 0.02 80 / 0.04), 0 8px 24px oklch(20% 0.02 80 / 0.06);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --display-weight: 600;
  --display-tracking: -0.03em;
  --hero-size: clamp(48px, 7vw, 96px);
  --hero-leading: 0.98;

  --section-pad-y: clamp(56px, 6vw, 96px);
  --container: 1280px;
}

/* ---------- THEME: SPECTRUM (Bold & graphic) ---------- */
[data-style="spectrum"] {
  --bg: oklch(95% 0.02 90);              /* warm cream */
  --bg-soft: oklch(92% 0.04 80);
  --bg-card: oklch(98% 0.01 90);
  --fg: oklch(15% 0.02 30);
  --fg-muted: oklch(35% 0.04 30);
  --fg-faint: oklch(55% 0.04 30);
  --line: oklch(20% 0.02 30);
  --line-soft: oklch(85% 0.04 80);
  --accent: #009ef7;                      /* signature blue */
  --accent-fg: oklch(98% 0.01 240);
  --accent-soft: oklch(88% 0.08 240);
  --accent-2: oklch(70% 0.16 200);       /* teal */
  --accent-3: oklch(75% 0.18 95);        /* mustard */
  --shadow: 6px 6px 0 oklch(15% 0.02 30);
  --radius: 0px;
  --radius-sm: 0px;
  --radius-lg: 0px;

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --display-weight: 400;
  --display-tracking: -0.02em;
  --hero-size: clamp(64px, 10vw, 168px);
  --hero-leading: 0.9;

  --section-pad-y: clamp(56px, 6vw, 96px);
  --container: 1320px;
}

/* ---------- THEME: OBSIDIAN (Premium dark) ---------- */
[data-style="obsidian"] {
  --bg: oklch(12% 0.008 60);
  --bg-soft: oklch(16% 0.01 60);
  --bg-card: oklch(18% 0.012 60);
  --fg: oklch(96% 0.005 60);
  --fg-muted: oklch(70% 0.012 60);
  --fg-faint: oklch(45% 0.012 60);
  --line: oklch(28% 0.012 60);
  --line-soft: oklch(22% 0.01 60);
  --accent: #009ef7;                      /* signature blue */
  --accent-fg: oklch(12% 0.008 240);
  --accent-soft: oklch(30% 0.08 240);
  --shadow: 0 20px 60px oklch(0% 0 0 / 0.6);
  --radius: 4px;
  --radius-sm: 2px;
  --radius-lg: 8px;

  --font-display: "Söhne", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --display-weight: 300;
  --display-tracking: -0.04em;
  --hero-size: clamp(56px, 8vw, 128px);
  --hero-leading: 0.95;

  --section-pad-y: clamp(56px, 6vw, 96px);
  --container: 1320px;
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.section { padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y); position: relative; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
[data-style="spectrum"] .eyebrow::before { border-radius: 0; }

.h-display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--hero-leading);
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  text-wrap: balance;
}
.h-card {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: -0.01em;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
}
.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--fg-muted);
  max-width: 56ch;
  text-wrap: pretty;
}
.body { line-height: 1.55; color: var(--fg-muted); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--bg-soft); }
[data-style="spectrum"] .btn { border: 2px solid var(--line); padding: 14px 24px; font-weight: 600; }
[data-style="spectrum"] .btn-primary { box-shadow: var(--shadow); }
[data-style="spectrum"] .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--line); }
[data-style="spectrum"] .btn-secondary { background: var(--bg-card); }
[data-style="spectrum"] .btn-secondary:hover { background: var(--accent-3); }
[data-style="obsidian"] .btn-secondary { border-color: var(--line); }
[data-style="obsidian"] .btn-secondary:hover { background: var(--bg-soft); border-color: var(--fg-muted); }

.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  max-width: var(--container);
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.nav-logo svg { width: 22px; height: 22px; color: var(--fg); }
[data-style="spectrum"] .nav-logo { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; }
[data-style="obsidian"] .nav-logo { letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; font-size: 14px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--fg-muted); transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(48px, 5vw, 80px);
  padding-bottom: clamp(48px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; align-items: stretch; } }

.hero-h1 { font-size: var(--hero-size); }
.hero-h1 .accent { color: var(--accent); }
[data-style="spectrum"] .hero-h1 .italic { font-style: italic; font-family: var(--font-display); font-weight: 400; }
[data-style="obsidian"] .hero-h1 .thin { font-weight: 200; opacity: 0.65; }

.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { color: var(--fg); font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; font-family: var(--font-body); }

.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Hero visual (aperture motif) */
.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 450px;
  max-height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

/* ---------- Aperture motif (uses currentColor) ---------- */
.aperture {
  display: inline-block;
  color: var(--fg);
}
.aperture-blade {
  transform-origin: center;
  transition: transform .6s cubic-bezier(.5,0,0,1);
}

/* ---------- Marquee / Logos ---------- */
.logos {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 32px 0;
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: -0.01em;
  color: var(--fg-muted);
}
.logos .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-faint); }

/* ---------- Pillar cards (Orchestrer / Tracker / Run / Collaborer) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 40px;
}
.pillar {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 22px;
  background: var(--bg-card);
  position: relative;
  transition: background .2s;
}
.pillar:hover { background: var(--bg-soft); }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-faint);
  letter-spacing: 0.1em;
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 48px 0 8px;
}
.pillar-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }
.pillar-icon {
  position: absolute; top: 28px; right: 28px;
  width: 28px; height: 28px;
  color: var(--accent);
}
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Modifier "3 colonnes desktop" pour la section Audience (3 cards
   au lieu des 4 par défaut). Replie en 2 cols ≤ 980 px puis 1 col
   ≤ 560 px. La règle existait dans Index.cshtml en inline-style,
   ce qui battait toujours les media queries de `.pillars` à cause
   de la spécificité — les cartes restaient en 3 colonnes même sur
   mobile. La classe dédiée règle ce conflit. */
.pillars-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .pillars-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-3 { grid-template-columns: 1fr; } }

/* Section "Intégrations" — 4 cards (PIM / DAM / Stockage / Format).
   Même problème que `.pillars-3` côté origine : Index.cshtml posait
   le grid en inline-style, donc 4 cols fixes même sur mobile. La
   classe responsive ci-dessous reprend la même progression que les
   pillars. */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 980px) { .integrations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .integrations-grid { grid-template-columns: 1fr; } }

[data-style="spectrum"] .pillar:nth-child(1) { background: var(--accent-soft); }
[data-style="spectrum"] .pillar:nth-child(2) { background: var(--accent-3); }
[data-style="spectrum"] .pillar:nth-child(3) { background: var(--accent-2); }
[data-style="spectrum"] .pillar:nth-child(4) { background: var(--bg-card); }
[data-style="spectrum"] .pillar { border-right-width: 2px; border-bottom-width: 2px; }
[data-style="spectrum"] .pillars { border-top-width: 2px; border-left-width: 2px; }
[data-style="spectrum"] .pillar-title { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 36px; }

/* ---------- Feature blocks (alternating image/text) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line-soft);
}
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-visual { order: 1; }
@media (max-width: 980px) { .feature { grid-template-columns: 1fr; padding: 40px 0; } .feature.reverse .feature-text, .feature.reverse .feature-visual { order: initial; } }

.feature-visual {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.feature-visual:has(.fv-live-selection) {
  aspect-ratio: 5/3;
}
.feature-text h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 16px 0 16px;
  text-wrap: balance;
}
.feature-text p { color: var(--fg-muted); line-height: 1.55; font-size: 16px; max-width: 52ch; }
.feature-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.feature-list li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
[data-style="spectrum"] .feature-list li::before { border-radius: 0; transform: rotate(45deg); width: 12px; height: 12px; margin-top: 6px; }

/* ---------- Comparison table (vs Grand-Shooting) ---------- */
.compare {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 15px;
}
.compare-table th, .compare-table td {
  padding: 20px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--fg);
}
.compare-table thead th:nth-child(2) { color: var(--accent); }
.compare-table .yes { color: var(--accent); font-weight: 500; }
.compare-table .no { color: var(--fg-faint); }
.compare-table tr td:first-child { font-weight: 500; color: var(--fg); }

[data-style="spectrum"] .compare-table thead th:nth-child(2) { background: var(--accent); color: var(--accent-fg); padding-left: 16px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  padding: 40px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--fg);
}
[data-style="spectrum"] .stat-num { font-style: italic; font-weight: 400; }
[data-style="obsidian"] .stat-num { font-weight: 200; }
.stat-num .unit { font-size: 0.5em; color: var(--accent); margin-left: 4px; }
.stat-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); margin-top: 12px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* ---------- Workflow / process ---------- */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  position: relative;
}
.workflow::before {
  content: "";
  position: absolute;
  top: 28px; left: 8%; right: 8%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
}
.step-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  color: var(--fg);
  font-size: 14px;
  margin-bottom: 20px;
}
[data-style="spectrum"] .step-dot { border-radius: 0; background: var(--accent); color: var(--accent-fg); border: 2px solid var(--line); width: 64px; height: 64px; }
[data-style="obsidian"] .step-dot { background: var(--bg-card); border-color: var(--line); }
.step-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }
@media (max-width: 760px) { .workflow { grid-template-columns: 1fr 1fr; } .workflow::before { display: none; } }

/* ---------- Testimonial ---------- */
.testimonial {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(60px, 8vw, 100px) 0;
}
@media (max-width: 980px) { .testimonial { grid-template-columns: 1fr; } }
.quote {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
[data-style="spectrum"] .quote { font-style: italic; font-weight: 400; }
.quote::before { content: "“"; color: var(--accent); margin-right: 4px; }
.quote-attr { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.quote-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
[data-style="spectrum"] .quote-avatar { border-radius: 0; background: var(--accent-3); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(56px, 7vw, 100px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
[data-style="obsidian"] .cta-band { background: var(--bg-card); color: var(--fg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
[data-style="spectrum"] .cta-band { background: var(--accent); color: var(--accent-fg); }
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(40px, 6vw, 96px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-wrap: balance;
}
.cta-band .lede { color: inherit; opacity: 0.7; margin: 24px auto 36px; max-width: 50ch; }
.cta-band .btn-primary { background: var(--bg); color: var(--fg); }
.cta-band .btn-secondary { color: inherit; border-color: currentColor; opacity: 0.7; }
.cta-band .btn-secondary:hover { opacity: 1; background: transparent; }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-grid {
  /* Two-column band: logo + tagline on the left (takes ~40 % of the
     line so the tagline can breathe up to ~38 ch), then a single
     5-link strip on the right that distributes evenly. The previous
     3-column layout (logo / Produit / Société) was dropped — Société
     pointed at non-existent pages and the surviving "Produit" column
     is now flat. */
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
}
.footer h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg); margin-bottom: 16px; font-weight: 500; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
/* 5 reflowed nav links — distributed across the right column on
   desktop, wraps to a 2-column flow on narrow screens so each row
   stays readable rather than collapsing to micro-text. */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: flex-end;
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-links a { transition: color .15s ease; }
.footer-links a:hover { color: var(--fg); }
@media (max-width: 760px) {
  .footer-links { justify-content: flex-start; gap: 12px 24px; }
}
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--fg-faint); font-family: var(--font-mono); }

/* ---------- Decorative scan-lines / textures ---------- */
.scan-bg {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    color-mix(in oklch, var(--fg) 4%, transparent) 3px,
    color-mix(in oklch, var(--fg) 4%, transparent) 4px
  );
  pointer-events: none;
}

/* ---------- Floating tag chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
[data-style="spectrum"] .chip { border-radius: 0; border-width: 2px; background: var(--bg-card); }

/* ---------- Animations ---------- */
@keyframes apertureSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(45deg); }
}
.aperture-anim:hover .aperture-blade { transform: rotate(20deg); }

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

/* ---------- Tweaks panel z-index ---------- */
.tweaks-panel { z-index: 9999; }

/* ============================================================
   Public secondary pages (Contact / ContactSent / LegalNotice /
   PrivacyPolicy) — re-skinned in this PR to share the home
   design system instead of the legacy ac-* classes from
   public-landing.css. Everything below is scoped under .pub-*
   so it can't bleed into the App area.
   ============================================================ */

.pub-page-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.pub-page-head .h-section {
  margin-top: 16px;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1.1;
}
.pub-page-head .lede {
  margin-top: 16px;
}
.pub-page-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ----- Form (Contact) ----- */
.pub-form-wrap {
  max-width: 640px;
}
.pub-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.pub-form-error {
  background: color-mix(in oklch, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in oklch, var(--accent) 40%, transparent);
  color: var(--fg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
}
.pub-form-error:empty,
.pub-form-error[role=status]:not(:empty) ~ * { /* no-op safety */ }
.pub-form-error:empty { display: none; }
.pub-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pub-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.pub-field input,
.pub-field select,
.pub-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pub-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}
.pub-field input:focus,
.pub-field select:focus,
.pub-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 18%, transparent);
}
.pub-field-error {
  font-size: 12px;
  color: color-mix(in oklch, var(--accent) 80%, oklch(45% 0.18 25));
  font-family: var(--font-mono);
}
.pub-field-error:empty { display: none; }
.pub-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* ----- Sent confirmation (ContactSent) ----- */
.pub-sent-mark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

/* ----- Long-form documents (LegalNotice / PrivacyPolicy) ----- */
.pub-doc {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
}
.pub-doc-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pub-doc-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: var(--display-tracking);
  color: var(--fg);
  font-weight: 500;
}
.pub-doc-section p {
  margin: 0;
}
.pub-doc-stamp {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-faint);
}
