/* ─────────────────────────────────────────────────
   fewer. — Marketing v2
   Apple-inspirierter Rhythmus + strikte fewer.-CI
   Dark default. Instrument Serif Display · DM Sans Body · Teal Accent.
───────────────────────────────────────────────── */

:root {
  /* Typografie */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Shared spacing roles: same relationship, same distance on every section. */
  --space-1:      8px;
  --space-2:      12px;
  --space-3:      16px;
  --space-4:      24px;
  --space-5:      32px;
  --space-6:      48px;
  --gutter:        clamp(24px, 4vw, 48px);
  --max-w:         1240px;
  --max-w-narrow:  920px;
  --max-w-text:    720px;
  --section-y:     clamp(64px, 8vw, 112px);
  --section-y-lg:  clamp(80px, 10vw, 144px);
  --section-y-sm:  clamp(40px, 5vw, 64px);
  --content-gap:   clamp(40px, 5vw, 64px);
  --grid-gap:      clamp(24px, 4vw, 48px);
  --row-gap:       clamp(48px, 6vw, 72px);
  --title-gap:     clamp(24px, 3vw, 32px);
  --card-padding:  clamp(24px, 3vw, 40px);

  /* Radien & Schatten (Default = Dark) */
  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --shadow-shot:   0 40px 80px -20px rgba(0, 0, 0, 0.55),
                   0 12px 32px -12px rgba(0, 0, 0, 0.35);

  /* Motion */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --easing:        cubic-bezier(0.16, 1, 0.3, 1);
  --dur:           700ms;

  /* Legacy-Aliase (CSS nutzt diese Namen) */
  --container:     var(--max-w);
  --radius:        var(--radius-lg);
}

:root,
[data-theme="dark"] {
  /* fewer.-CI — Dark (Default) */
  --bg:           #171614;
  --surface:      #1C1B19;
  --surface-alt:  #201F1D;
  --border:       #393836;
  --text:         #F5F4F1;   /* near-white body text — hoher Kontrast */
  --text-muted:   #BAB9B4;   /* readable secondary */
  --text-faint:   #898884;   /* readable tertiary/caption */
  --primary:      #4F98A3;
  --primary-hover:#227F8B;
  --nav-bg:       rgba(23, 22, 20, 0.72);
  --primary-contrast: #171614;
}

[data-theme="light"] {
  /* fewer.-CI — Light */
  --bg:           #F7F6F2;
  --surface:      #F9F8F5;
  --surface-alt:  #FBFBF9;
  --border:       #D4D1CA;
  --text:         #28251D;
  --text-muted:   #6E6D68;
  --text-faint:   #6E6D68;
  --primary:      #01696F;
  --primary-hover:#0C4E54;
  --nav-bg:       rgba(247, 246, 242, 0.78);
  --primary-contrast: #FFFFFF;

  /* Softere Schatten für Light-Mode */
  --shadow-shot:  0 30px 60px -20px rgba(40, 37, 29, 0.18),
                  0 8px 24px -8px rgba(40, 37, 29, 0.10);
}

/* ─────────────── Reset ─────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10000;
  padding: 12px 20px; background: var(--bg); color: var(--text);
  border: 2px solid var(--primary); border-radius: 8px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; }

::selection { background: var(--primary); color: var(--bg); }

/* ─────────────── Wordmark ─────────────── */
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5em;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.wordmark .dot {
  color: var(--primary);
  font-family: var(--font-display);
  margin-left: 0.02em;
}

/* Teal Punkte in Headlines */
.dot-hero, .dot-t {
  color: var(--primary);
  font-family: var(--font-display);
}
.dot-hero {
  font-size: 0.95em;
  margin-left: 0.02em;
  display: inline-block;
  transform: translateY(-0.06em);
}
.dot-t { margin-left: 0.02em; }

/* ─────────────── Navigation ─────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--easing), background-color var(--dur) var(--easing);
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.nav-mark { display: inline-flex; }
.nav-mark .wordmark { font-size: 22px; }
.nav-links {
  display: flex;
  gap: var(--space-5);
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a { transition: color 200ms var(--easing); }
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-cta {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 200ms var(--easing), border-color 200ms var(--easing), background-color 200ms var(--easing);
  white-space: nowrap;
}
.nav-cta-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.nav-cta-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.nav-cta-primary {
  background: var(--primary);
  color: var(--primary-contrast);
  border: 1px solid var(--primary);
}
.nav-cta-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* Theme-Toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 200ms var(--easing), border-color 200ms var(--easing);
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.theme-icon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: block; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta-ghost { display: none; }
}
@media (max-width: 480px) {
  .nav-cta { padding: 10px 16px; font-size: 13px; min-height: 44px; }
}

/* ─────────────── Sections ─────────────── */
.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: 100vw;
  overflow: hidden;
}

.section-header {
  max-width: 920px;
  margin: 0 auto var(--content-gap);
  text-align: center;
  display: flow-root;
}
.section-header > :last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--title-gap);
}

.section-lead {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}
.section-lead-lg {
  font-size: clamp(21px, 1.8vw, 28px);
  color: var(--text);
  font-style: italic;
}
.section-lead em { font-style: normal; color: var(--text-muted); }

/* ─────────────── Hero ─────────────── */
.section-hero {
  min-height: min(840px, 92svh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 144px;
  padding-bottom: var(--section-y-sm);
  text-align: center;
}
.hero-content {
  max-width: 1040px;
  margin: 0 auto;
}
.hero-content .eyebrow {
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: var(--title-gap);
}
.hero-sub {
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.35;
  color: var(--text-muted);
  margin-bottom: var(--content-gap);
}
.kompass-overview {
  max-width: 760px;
  margin: var(--content-gap) auto;
  text-align: center;
}
.hero-cta-row {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero-Screenshot section — full-bleed feel */
.section-hero-shot {
  padding-top: 0;
  padding-bottom: var(--section-y);
}
.section-hero-shot .shot-wrap {
  max-width: var(--container);
}

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background-color 200ms var(--easing), color 200ms var(--easing), border-color 200ms var(--easing), transform 200ms var(--easing);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: normal;
  text-align: center;
  min-height: 56px;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-full { width: 100%; }
.btn-large {
  padding: 22px 44px;
  font-size: 18px;
}

/* ─────────────── Screenshot Wraps ─────────────── */
.shot-wrap {
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-shot);
  background: var(--surface);
}
.shot-wrap-tight { max-width: var(--max-w-narrow); }
.shot-wrap img { width: 100%; display: block; }

/* Desktop-/Mobile-Shot-Switch — Mobile zeigt Desktop-Shots freigestellt (kein Frame) */
img.shot-mobile { display: none !important; }
img.shot-desktop { display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  /* Auf Mobile: gleiche Desktop-Shots, nur in schmalerem Wrapper */
  .shot-wrap,
  .feature-shot {
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .detail-shot {
    aspect-ratio: auto !important;
    height: auto !important;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .detail-shot img.shot-desktop {
    height: auto !important;
    width: 100%;
    object-fit: contain !important;
    object-position: top !important;
    display: block !important;
  }
}

/* ─────────────── Rituale Section (intro only) ─────────────── */
.section-rituale { padding-bottom: var(--section-y); }
.section-rituale .section-header { margin-bottom: 0; }

/* ─────────────── Feature Sections ─────────────── */
.section-feature {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.feature-alt { background: var(--surface); }

.feature-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--content-gap);
  align-items: center;
}
.feature-grid-reverse .feature-copy { order: 2; }
.feature-grid-reverse .feature-shot { order: 1; }

.feature-copy { max-width: 480px; }
.feature-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.feature-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--title-gap);
}
.feature-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}
.feature-shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-shot);
  background: var(--surface);
}
.feature-shot img { width: 100%; display: block; }

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: var(--content-gap);
  }
  .feature-grid-reverse .feature-copy { order: 1; }
  .feature-grid-reverse .feature-shot { order: 2; }
  .feature-copy { max-width: 640px; text-align: center; margin: 0 auto; }
}

/* ─────────────── Quote Sections ─────────────── */
.section-quote {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  text-align: center;
}
.pull-quote {
  max-width: 940px;
  margin: 0 auto;
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-4);
}
.pull-quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* ─────────────── Eine-Sache Section ─────────────── */
.section-eine-sache {
  background: var(--surface);
}
.section-eine-sache .section-header { max-width: 900px; }

/* ─────────────── Detail Grid ─────────────── */
.section-details { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.detail-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--row-gap) var(--grid-gap);
}
.detail-card {}
.detail-shot {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-shot);
  background: var(--surface);
  margin-bottom: var(--space-4);
  aspect-ratio: 16 / 10;
}
.detail-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.detail-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.detail-body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 420px;
}

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

/* ─────────────── Kompass Section ─────────────── */
.section-kompass {
  background: var(--surface);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.kompass-modules {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--row-gap) var(--grid-gap);
}
.kompass-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.kompass-card-wide {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.kompass-shot {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-shot);
  background: var(--bg);
  margin-bottom: var(--space-4);
  aspect-ratio: 16 / 11;
  border: 1px solid var(--border);
}
.kompass-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.kompass-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.kompass-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px;
}
.kompass-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0;
}

@media (max-width: 720px) {
  .kompass-modules { grid-template-columns: 1fr; }
  .kompass-card-wide { grid-column: auto; }
}

/* ─────────────── Preise Section ─────────────── */
.price-pitch {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--primary);
  margin: 0 auto var(--space-4);
  max-width: 650px;
}
.section-preise .section-lead { font-size: 18px; }
.section-preise .section-lead + .section-lead {
  margin-top: 24px;
  font-size: 18px;
  max-width: 650px;
}
.price-grid {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
}
.price-card-highlight {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(79, 152, 163, 0.06), var(--surface));
}
.price-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.price-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-5);
}
.price-per {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 400;
}
.price-features {
  margin-bottom: var(--space-5);
  flex-grow: 1;
}
.price-features li {
  font-size: 16px;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }

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

/* ─────────────── Final CTA ─────────────── */
.section-final {
  padding-top: var(--section-y-lg);
  padding-bottom: var(--section-y-lg);
  text-align: center;
}
.final-content { max-width: 800px; margin: 0 auto; }
.final-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 128px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: var(--title-gap);
}
.final-sub {
  font-size: clamp(21px, 2vw, 28px);
  color: var(--text-muted);
  margin-bottom: var(--content-gap);
}

/* ─────────────── Footer ─────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--section-y-sm) var(--gutter) var(--space-5);
  margin-top: 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--grid-gap);
  padding-bottom: var(--content-gap);
}
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-brand { gap: var(--space-3); }
.footer-mark { display: inline-block; }
.footer-mark .wordmark { font-size: 26px; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.footer-parent {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 260px;
}
.footer-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
  font-weight: 500;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-nav a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: color 200ms var(--easing);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-nav a:hover { color: var(--primary); }
.footer-location {
  font-size: 13px;
  color: var(--text-faint);
  margin: 8px 0 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}
.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-4);
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 200ms var(--easing);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-legal a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--content-gap);
    padding-bottom: var(--content-gap);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .footer-legal { flex-wrap: wrap; gap: var(--space-4); }
}

/* Scroll transforms are progressive enhancement. Everything is visible without JS. */
[data-reveal], [data-motion] { opacity: 1; }
[data-motion] { transform-origin: center; }
.feature-copy [data-motion] { transform-origin: left center; }
[data-motion]:focus-within { opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
  [data-motion], [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ─── Lightbox ─── */
.lightbox{
  position: fixed; inset: 0; z-index: 9999; margin: auto;
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: #10100f; color: #eee; border: 0; padding: 0;
}
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox-bar {
  display: flex; align-items: center; gap: 16px; flex: 0 0 auto;
  padding: 16px clamp(16px, 3vw, 40px); border-bottom: 1px solid #393836;
}
#lightbox-caption { margin: 0 auto 0 0; font-size: 14px; line-height: 1.4; max-width: 70ch; }
.lightbox-stage {
  flex: 1; min-height: 0; overflow: auto; display: flex;
  align-items: safe center; justify-content: safe center; padding: 20px;
}
.lightbox-img{
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 8px; cursor: zoom-in;
}
.lightbox.is-zoomed .lightbox-img {
  max-width: none; max-height: none; width: max(100%, 1200px); height: auto;
  flex-shrink: 0; cursor: zoom-out; align-self: flex-start;
}
.lightbox-close, .lightbox-zoom {
  flex-shrink: 0; min-height: 44px; padding: 10px 16px; border-radius: 8px;
  background: #242320; border: 1px solid #59564f; color: #eee;
  cursor: pointer; font: inherit; font-size: 14px;
}
.lightbox-close span { margin-left: 10px; font-size: 20px; }
.lightbox-close:hover, .lightbox-zoom:hover { background: #393836; }
.lightbox button:focus-visible { outline: 2px solid #72c6c0; outline-offset: 3px; }
.screenshot-trigger { cursor: zoom-in; }
.screenshot-trigger:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 8px;
}

/* The final content block: home-screen installation. */
.section-install { background: var(--surface); border-top: 1px solid var(--border); }
.install-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--row-gap) var(--grid-gap); max-width: var(--container); margin: 0 auto;
}
.install-guide { border-top: 1px solid var(--border); padding-top: var(--space-4); }
.install-platform { color: var(--primary); font-size: 14px; margin-bottom: var(--space-3); }
.install-guide h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin-bottom: 24px;
}
.install-guide ol { list-style: decimal; padding-left: 24px; }
.install-guide li { padding-left: 8px; margin-bottom: var(--space-3); color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.install-guide a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.install-guide a:hover { color: var(--primary); }
.install-help { display: inline-block; margin-top: 12px; font-size: 14px; }
.install-note { max-width: 760px; margin: var(--content-gap) auto 0; text-align: center; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 720px) {
  .install-grid { grid-template-columns: 1fr; }
  .lightbox-bar { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  #lightbox-caption { width: 100%; max-width: none; font-size: 12px; }
  .lightbox-close { margin-left: auto; }
  .lightbox-stage { padding: 12px; }
  .section-hero { min-height: auto; padding-top: 128px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .feature-copy [data-motion] { transform-origin: center; }
  .price-per { display: block; margin: var(--space-2) 0 0; }
}
