/* ============================================
   DYNI — Apple-like, mostly B&W with orange accent
   ============================================ */

:root {
  --black: #000000;
  --ink: #111111;
  --ink-2: #444444;
  --ink-3: #636366;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --bg: #ffffff;
  --bg-alt: #fbfbfd;
  --bg-dark: #000000;
  --paper: #ffffff;
  --paper-dim: #f5f5f7;
  --paper-muted: #86868b;
  --orange: #E84D15;
  --orange-soft: rgba(255, 91, 31, 0.08);

  --nav-bg: rgba(255, 255, 255, 0.65);
  --nav-border: rgba(0, 0, 0, 0.08);
  --card-bg: var(--bg-alt);
  --card-border: var(--line-soft);

  /* Typography — Tech-forward Space Grotesk */
  --sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --text: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad-x: clamp(22px, 6vw, 88px);
  --section-y: clamp(160px, 22vh, 280px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-cinema: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --ink: #fdfdfd;
  --ink-2: #c8c8cd;
  --ink-3: #98989d;
  --line: #2a2a2e;
  --line-soft: #1f1f23;
  --bg: #09090b;
  --bg-alt: #121214;
  --bg-dark: #000000;
  --paper: #ffffff;
  --paper-dim: #d2d2d7;
  --paper-muted: #86868b;
  --orange-soft: rgba(255, 91, 31, 0.14);

  --nav-bg: rgba(9, 9, 11, 0.65);
  --nav-border: rgba(255, 255, 255, 0.08);
  --card-bg: #121214;
  --card-border: #232327;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--text);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Type system — Apple style */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
h1.display {
  font-size: clamp(32px, 6.5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
h2.section-title {
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h3.feature-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: -0.005em;
  text-transform: none;
}

.subline {
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

body[data-density="compact"] { --section-y: clamp(80px, 12vh, 150px); --pad-x: clamp(18px, 4vw, 56px); }

/* ============ NAV (Apple style) ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 22px;
  height: 56px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(32px);
  backdrop-filter: saturate(180%) blur(32px);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.02);
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out);
  display: flex; justify-content: center;
}
.nav-inner {
  width: 100%;
  max-width: 1024px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  color: var(--ink);
}
.nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: inherit; text-decoration: none; }
.nav-logo {
  width: 24px; height: 24px;
  object-fit: contain;
  border-radius: 6px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; opacity: 0.85; transition: opacity .25s; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.lang-toggle { display: inline-flex; gap: 0; font-size: 12px; color: var(--ink-3); }
.lang-toggle button { padding: 4px 6px; transition: color .2s; }
.lang-toggle button.active { color: var(--ink); font-weight: 500; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 980px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(255, 91, 31, 0.35);
  transition: transform .3s var(--ease-cinema), box-shadow .3s var(--ease-cinema), background .3s var(--ease-cinema);
}
.nav-cta:hover {
  background: #ff7340;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 91, 31, 0.45);
}
.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============ HERO (Apple-style centered) ============ */
.hero {
  min-height: 100vh;
  position: relative;
  padding: max(60px, 6vh) var(--pad-x) 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  background: var(--bg);
}
.hero-eyebrow {
  font-size: 21px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hero-headline {
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  max-width: 1100px;
}
.hero-headline h1 .accent {
  color: var(--ink-3);
  font-weight: 600;
}
.hero-sub {
  margin-top: 16px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--ink-2);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero-actions {
  display: flex; gap: 24px; align-items: center; justify-content: center;
  margin-top: 24px;
  font-size: 17px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 980px;
  font-weight: 500;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(255, 91, 31, 0.4);
  transition: transform .3s var(--ease-cinema), box-shadow .3s var(--ease-cinema), background .3s var(--ease-cinema);
}
.btn-primary:hover { 
  background: #ff7340; 
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 91, 31, 0.5);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(255, 91, 31, 0.4);
}
.btn-link {
  color: var(--orange);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .3s var(--ease-cinema), color .3s var(--ease-cinema);
}
.btn-link:hover { text-decoration: none; color: #ff7340; transform: translateX(2px); }
.btn-link::after {
  content: '›';
  margin-left: 2px;
  transition: transform .3s var(--ease-cinema);
}
.btn-link:hover::after { transform: translateX(4px); }

.hero-meta {
  margin-top: 16px;
  font-size: 12px;
  color: var(--paper-muted);
  letter-spacing: 0;
}

/* MacBook stage */
.macbook-stage {
  position: relative;
  width: 100%;
  margin-top: 0;
  perspective: 2000px;
  z-index: 1;
}

/* Hide previous hero radio waves entirely */
.hero-radio { display: none; }

/* ============ Section structure ============ */
section { position: relative; }
.section-pad { padding: var(--section-y) var(--pad-x); }

.section-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 128px;
}
.section-head .eyebrow { display: block; margin-bottom: 6px; }
.section-head .subline { margin-top: 24px; }

.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); color: var(--paper); }
.bg-dark .section-head .subline { color: var(--paper-muted); }

/* ============ Sticky features ============ */
.features {
  background: var(--bg);
}
.features-track {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}
.features-sticky {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.features-list { display: flex; flex-direction: column; gap: 0; }
.feature-block {
  min-height: 80vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 0;
  transition: opacity .6s var(--ease-out);
  opacity: 0.35;
}
.feature-block.is-active { opacity: 1; }
.feature-block .num {
  font-size: 13px;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.feature-block .feature-title { margin-bottom: 20px; color: var(--ink); }
.feature-block p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.feature-block .tags {
  display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap;
}
.feature-block .tag {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 980px;
  color: var(--ink-3);
  font-weight: 400;
}

/* See more button */
.features-see-more {
  display: flex;
  justify-content: center;
  padding: 56px 0 0;
  max-width: 1200px;
  margin: 0 auto;
}
.see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 980px;
  background: transparent;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), transform .2s var(--ease-out);
}
.see-more-btn:hover {
  background: var(--card-bg);
  border-color: var(--ink-3);
  color: var(--ink);
  transform: translateY(-1px);
}
.see-more-chevron {
  display: flex;
  align-items: center;
  transition: transform .35s var(--ease-out);
}
.see-more-chevron.up {
  transform: rotate(180deg);
}

/* Expandable features grid */
.features-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  transition: max-height .6s var(--ease-out), opacity .5s var(--ease-out), padding-top .4s var(--ease-out);
}
.features-more-grid.open {
  max-height: 3000px;
  opacity: 1;
  padding-top: 24px;
}
.feature-card {
  padding: 40px 36px;
  background: var(--card-bg);
  border-radius: 22px;
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform .4s var(--ease-cinema), box-shadow .4s var(--ease-cinema), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08), 0 0 0 1px rgba(255, 91, 31, 0.1) inset;
  border-color: rgba(255, 91, 31, 0.3);
}
.feature-card .feature-num {
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.feature-card .feature-card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.2;
}
.feature-card .feature-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.feature-card .tags {
  display: flex; gap: 6px; margin-top: 20px; flex-wrap: wrap;
}
.feature-card .tag {
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 980px;
  color: var(--ink-3);
  font-weight: 400;
}

@media (max-width: 960px) {
  .features-track { grid-template-columns: 1fr; gap: 24px; }
  .features-sticky { position: relative; height: auto; padding: 40px 0; }
  .feature-block { min-height: 0; padding: 60px 0; opacity: 1; }
  .features-more-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-more-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 32px 28px; }
}

/* ============ Vision (black, clean Apple quote) ============ */
.vision {
  padding: clamp(240px, 30vh, 400px) var(--pad-x);
  background: #000;
  color: #fff;
  text-align: center;
}
.vision-inner {
  max-width: 980px;
  margin: 0 auto;
}
.vision .eyebrow { color: var(--orange); margin-bottom: 32px; display: block; }
.vision-quote {
  font-family: var(--sans);
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #fff;
}
.vision-quote .accent { color: var(--orange); }
.vision-quote .muted { color: var(--paper-muted); }
.vision-credit {
  margin-top: 56px;
  font-size: 13px;
  color: var(--paper-muted);
  font-weight: 400;
}

/* ============ Pricing (Apple style cards) ============ */
.pricing {
  background: var(--bg);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.price-card {
  padding: 40px 36px 36px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .4s var(--ease-cinema), box-shadow .4s var(--ease-cinema), background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.price-card:hover { 
  transform: translateY(-4px) scale(1.01); 
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.price-card.featured {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 12px 32px rgba(255, 91, 31, 0.15);
}
.price-card.featured:hover {
  box-shadow: 0 24px 48px rgba(255, 91, 31, 0.25);
}
[data-theme="dark"] .price-card.featured {
  background: #1c1c1f;
  border-color: #2d2d33;
}
.price-card.featured .price-name { color: #fff; }
.price-card.featured .price-sub { color: var(--paper-muted); }
.price-card.featured .price-meta { color: var(--paper-muted); }
.price-card.featured .price-feat { color: var(--paper-dim); }
.price-card.featured .price-amount .period { color: var(--paper-muted); }

.price-tag {
  position: absolute; top: 24px; right: 24px;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 4px 10px;
  border-radius: 980px;
}
.price-card.featured .price-tag {
  background: rgba(255, 91, 31, 0.18);
}
.price-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--ink);
}
.price-sub {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 400;
  margin-bottom: 32px;
}
.price-amount {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.price-amount .num {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-amount .currency {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.price-amount .period {
  font-size: 14px;
  color: var(--ink-3);
  margin-left: 6px;
  font-weight: 400;
}
.price-meta {
  font-size: 13px;
  color: var(--ink-3);
  min-height: 18px;
  margin-bottom: 32px;
  font-weight: 400;
}
.price-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 36px;
  flex-grow: 1;
}
.price-feat {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.price-feat .check {
  color: var(--orange);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 16px 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  transition: background .25s;
}
.price-cta:hover { background: #ff7340; }
.price-card:not(.featured) .price-cta {
  background: var(--ink);
  color: var(--bg);
}
.price-card:not(.featured) .price-cta:hover { background: #2d2d30; }
[data-theme="dark"] .price-card:not(.featured) .price-cta:hover { background: #e8e8ed; }

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

/* ============ FAQ ============ */
.faq {
  background: var(--bg-alt);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 36px 4px;
  cursor: pointer;
}
.faq-item .q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color .3s;
}
.faq-item:hover .q { color: var(--orange); }
.faq-item .toggle {
  font-size: 18px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--ink-3);
  transition: transform .4s var(--ease-out), color .3s;
}
.faq-item.open .toggle {
  transform: rotate(45deg);
  color: var(--orange);
}
.faq-item .a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out), margin .5s var(--ease-out);
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 60ch;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.faq-item.open .a {
  max-height: 300px;
  margin-top: 16px;
}

/* ============ Final CTA ============ */
.final-cta {
  padding: clamp(200px, 28vh, 360px) var(--pad-x) clamp(280px, 36vh, 460px);
  background: var(--bg);
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(40px, 6vw, 88px);
  letter-spacing: -0.035em;
  font-weight: 600;
  line-height: 1.05;
  max-width: 16ch;
  margin: 0 auto;
}
.final-cta p {
  margin-top: 20px;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.final-cta .hero-actions { margin-top: 36px; }

/* ============ Footer ============ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  padding: 48px var(--pad-x) 32px;
  font-size: 12px;
  color: var(--ink-3);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-col .footer-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--ink-3); transition: color .25s; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-tag {
  font-size: 13px;
  color: var(--ink-2);
  max-width: 36ch;
  line-height: 1.5;
  font-weight: 400;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-3);
  flex-wrap: wrap; gap: 12px;
}

@media (max-width: 800px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Selection */
::selection { background: var(--orange); color: #fff; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-cinema), transform 1s var(--ease-cinema); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Hide things from old design we don't need */
.marquee { display: none; }
.footer-mega { display: none; }
.hero-meta { display: block; }

/* ============ Theme Toggle ============ */
.theme-toggle {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  position: relative;
  transition: color .25s, background .25s;
}
.theme-toggle:hover { color: var(--orange); background: var(--orange-soft); }
.theme-toggle svg {
  width: 16px; height: 16px;
  transition: transform .5s var(--ease-cinema), opacity .3s ease;
  position: absolute;
}
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* ============ Pricing — Enterprise card ============ */
.pricing-cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .pricing-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-cards { grid-template-columns: 1fr; } }

.price-card.enterprise {
  background: transparent;
  border: 1px dashed var(--line);
}
[data-theme="dark"] .price-card.enterprise {
  border-color: #3a3a40;
}
.price-card.enterprise .price-amount {
  align-items: baseline;
}
.price-card.enterprise .price-amount .num {
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.price-card.enterprise .price-cta {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.price-card.enterprise .price-cta:hover {
  background: var(--ink);
  color: var(--bg);
}
[data-theme="dark"] .price-card.enterprise .price-cta {
  border-color: var(--ink);
  color: var(--ink);
}
.price-card.enterprise .enterprise-mark {
  position: absolute; top: 24px; right: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.price-card.enterprise .enterprise-mark::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3);
}

/* ============ Contact Modal ============ */
.contact-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.contact-overlay.open { opacity: 1; pointer-events: auto; }
.contact-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 22px;
  padding: 40px 40px 32px;
  border: 1px solid var(--card-border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  transform: translateY(16px) scale(0.98);
  transition: transform .45s var(--ease-cinema);
  position: relative;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.contact-overlay.open .contact-modal { transform: translateY(0) scale(1); }
.contact-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  font-size: 18px;
  transition: background .2s, color .2s;
}
.contact-close:hover { background: var(--bg-alt); color: var(--ink); }
.contact-modal .modal-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.contact-modal h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.contact-modal .modal-sub {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 44ch;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0;
}
.field input,
.field textarea,
.field select {
  font-family: var(--text);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 11px 14px;
  letter-spacing: -0.005em;
  transition: border-color .2s, background .2s;
  width: 100%;
  outline: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange);
  background: var(--bg);
}
.contact-modal .submit-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; gap: 16px; flex-wrap: wrap;
}
.contact-modal .submit-note {
  font-size: 12px;
  color: var(--ink-3);
  max-width: 28ch;
  line-height: 1.45;
}
.contact-modal .submit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 980px;
  font-weight: 500;
  font-size: 15px;
  transition: background .25s;
}
.contact-modal .submit-btn:hover { background: #ff7340; }
.contact-success {
  text-align: center;
  padding: 8px 0 4px;
}
.contact-success .ok {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

/* --- Offre promo (?offer=) --- */
.price-strike {
  text-decoration: line-through;
  opacity: 0.45;
  font-size: 0.55em;
  font-weight: 500;
  margin-left: 4px;
}
.price-tag--offer {
  color: #fff;
  background: var(--orange);
}
.price-card--offer {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}

/* --- Vue dediee offre (?offer=) --- */
.offer-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 22px;
  background: var(--bg);
}
.offer-wrap { width: 100%; max-width: 440px; text-align: center; }
.offer-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 5px 12px;
  border-radius: 980px;
  margin-bottom: 22px;
}
.offer-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.offer-sub {
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 30px;
}
.offer-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px;
  text-align: left;
}
.offer-plan-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.offer-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.offer-price-old { font-size: 20px; color: var(--ink-3); text-decoration: line-through; opacity: 0.55; }
.offer-price-new { font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.offer-price-per { font-size: 14px; color: var(--ink-3); }
.offer-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }
.offer-features { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.offer-features li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.offer-features .check { color: var(--orange); font-weight: 700; }
.offer-cta {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}
.offer-cta:hover { background: #ff7340; }
.offer-trust { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 14px; }
.offer-back {
  display: inline-block;
  margin-top: 26px;
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
}
.offer-back:hover { color: var(--ink-2); }
/* MacBook frame + real in-app screenshots cross-faded inside the screen */

.macbook {
  width: min(80vw, 900px);
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Outer body / lid */
.mb-lid {
  position: relative;
  background: linear-gradient(180deg, #2A2826 0%, #1A1816 100%);
  border-radius: 22px 22px 6px 6px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 60px 120px rgba(0,0,0,0.6),
    0 30px 60px rgba(0,0,0,0.4);
}
.mb-screen {
  position: relative;
  background: #000;
  border-radius: 12px;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.03);
}

/* App screenshot stack — real captures, cross-faded on scroll */
.mb-screenshots-container {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}
.mb-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mb-screenshot.active {
  opacity: 1;
}

/* Bottom edge */
.mb-base {
  position: relative;
  height: 14px;
  margin: 0 auto;
  width: 102%;
  margin-left: -1%;
  background: linear-gradient(180deg, #1f1d1b 0%, #0e0d0c 100%);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.mb-base::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 18%; height: 4px;
  background: linear-gradient(180deg, #0a0908 0%, #1a1816 100%);
  border-radius: 0 0 6px 6px;
}

/* Scroll hint — compact chip pinned at the very top of the laptop screen,
   over the notch. Dark chip so it reads on any wallpaper; sits inside the
   screen so it tracks the laptop and never overlaps the hero text. */
.mb-hint {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(10, 9, 8, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .6s ease;
  white-space: nowrap;
  pointer-events: none;
  z-index: 25;
}
.mb-hint.show { opacity: 0.9; }
.mb-hint::after {
  content: '↓';
  font-size: 13px;
  line-height: 1;
  animation: hintbob 1.6s var(--ease-in-out) infinite;
}
@keyframes hintbob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
/* Mini MacBook used inside the sticky features section — Apple-like */

.mini-mac {
  width: 100%;
  max-width: 700px;
}
.mini-mac-frame {
  background: linear-gradient(180deg, #2A2826 0%, #1A1816 100%);
  border-radius: 14px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 30px 60px rgba(0,0,0,0.12),
    0 12px 24px rgba(0,0,0,0.08);
}
.mini-notch {
  background: #000;
  border-radius: 14px;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.feature-counter {
  display: flex;
  gap: 6px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.feature-counter .num { color: var(--orange); }
.feature-counter .sep { opacity: 0.4; }

.feature-block { transition: opacity .6s var(--ease-out); opacity: 0.35; }
.feature-block.is-active { opacity: 1; }

@media (max-width: 960px) {
  .mini-mac { max-width: 100%; }
  .feature-block { opacity: 1; }
}
/* Pages legales (Conditions, Confidentialite, Remboursement). */

.legal {
  background: var(--bg);
  color: var(--ink);
  padding: 120px 24px 96px;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--ink-3);
  transition: color 0.2s ease;
}
.legal-back:hover { color: var(--ink); }

.legal-head {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}

.legal-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin: 0 0 20px;
}

.legal-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* Sommaire */
.legal-toc {
  padding: 20px 24px;
  margin-bottom: 48px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.legal-toc-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.legal-toc a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.legal-toc a:hover { color: var(--ink); }

/* Corps */
.legal-section { margin-bottom: 40px; scroll-margin-top: 100px; }

.legal-section h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}

.legal-subheading {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--ink);
}

.legal-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
}

.legal-list {
  margin: 0 0 14px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.legal-list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (max-width: 600px) {
  .legal { padding: 96px 18px 72px; }
  .legal-toc { padding: 16px 18px; }
}
/* Page Journal des modifications (changelog). Reutilise quelques classes de legal.css. */

.changelog {
  background: var(--bg);
  color: var(--ink);
  padding: 120px 24px 96px;
}

.changelog-inner {
  max-width: 760px;
  margin: 0 auto;
}

.changelog-head {
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}

.changelog-list {
  display: grid;
  gap: 40px;
}

.changelog-release {
  position: relative;
  padding-left: 0;
}

.changelog-rel-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.changelog-version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.changelog-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.changelog-rel-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink-2);
}

.changelog-changes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.changelog-change {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.changelog-badge {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.changelog-badge--new {
  color: #0a7d33;
  background: rgba(16, 163, 64, 0.1);
  border-color: rgba(16, 163, 64, 0.25);
}
.changelog-badge--improved {
  color: #1f5fd1;
  background: rgba(45, 110, 220, 0.1);
  border-color: rgba(45, 110, 220, 0.25);
}
.changelog-badge--fixed {
  color: #9a6a00;
  background: rgba(190, 130, 0, 0.1);
  border-color: rgba(190, 130, 0, 0.25);
}

[data-theme='dark'] .changelog-badge--new {
  color: #4ade80;
  background: rgba(16, 163, 64, 0.16);
  border-color: rgba(74, 222, 128, 0.25);
}
[data-theme='dark'] .changelog-badge--improved {
  color: #7db1ff;
  background: rgba(45, 110, 220, 0.16);
  border-color: rgba(125, 177, 255, 0.25);
}
[data-theme='dark'] .changelog-badge--fixed {
  color: #f5c451;
  background: rgba(190, 130, 0, 0.16);
  border-color: rgba(245, 196, 81, 0.25);
}

.changelog-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (max-width: 600px) {
  .changelog { padding: 96px 18px 72px; }
}
