/* ============================================================
   EXHIBIT HELPER — Black & White Redesign
   Palette: Pure white / near-black / light gray
   Aesthetic: Clean Scandinavian desktop app
   Fonts: Playfair Display (display) + DM Sans (body)
   ============================================================ */

:root, [data-theme="light"] {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Colors — Black & White only */
  --color-bg:              #FFFFFF;
  --color-surface:         #FFFFFF;
  --color-surface-2:       #FFFFFF;
  --color-surface-offset:  #F7F6F4;
  --color-divider:         #E5E5E5;
  --color-border:          #DDD9D1;

  --color-text:            #1a1a1a;
  --color-text-muted:      #8A8680;
  --color-text-faint:      #B5B2AE;
  --color-text-inverse:    #FFFFFF;

  /* Primary = black for buttons/accents */
  --color-primary:         #1a1a1a;
  --color-primary-hover:   #333333;
  --color-primary-active:  #000000;
  --color-primary-highlight: #E5E5E5;

  /* No accent color — use neutral grays */
  --color-accent:          #1a1a1a;
  --color-accent-hover:    #333333;
  --color-accent-active:   #000000;
  --color-accent-light:    #F7F6F4;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transition */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — neutral, no color tint */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);

  /* Widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1160px;
}

[data-theme="dark"] {
  --color-bg:              #111111;
  --color-surface:         #161616;
  --color-surface-2:       #1c1c1c;
  --color-surface-offset:  #1e1e1e;
  --color-divider:         #2a2a2a;
  --color-border:          #333333;
  --color-text:            #F0EFED;
  --color-text-muted:      #8A8680;
  --color-text-faint:      #555555;
  --color-text-inverse:    #111111;
  --color-primary:         #F0EFED;
  --color-primary-hover:   #FFFFFF;
  --color-primary-active:  #CCCCCC;
  --color-primary-highlight: #2a2a2a;
  --color-accent:          #F0EFED;
  --color-accent-hover:    #FFFFFF;
  --color-accent-active:   #CCCCCC;
  --color-accent-light:    #222222;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #111111;
    --color-surface:         #161616;
    --color-surface-2:       #1c1c1c;
    --color-surface-offset:  #1e1e1e;
    --color-divider:         #2a2a2a;
    --color-border:          #333333;
    --color-text:            #F0EFED;
    --color-text-muted:      #8A8680;
    --color-text-faint:      #555555;
    --color-text-inverse:    #111111;
    --color-primary:         #F0EFED;
    --color-primary-hover:   #FFFFFF;
    --color-primary-active:  #CCCCCC;
    --color-primary-highlight: #2a2a2a;
    --color-accent:          #F0EFED;
    --color-accent-hover:    #FFFFFF;
    --color-accent-active:   #CCCCCC;
    --color-accent-light:    #222222;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.40);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
  }
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

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

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

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 94%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition);
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-logo svg {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: transparent;
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.mobile-menu-btn:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-4) 0 var(--space-6);
  border-top: 1px solid var(--color-divider);
  gap: var(--space-2);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  font-weight: 500;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
}

.mobile-nav a:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Primary: black bg, white text */
.btn-primary {
  background: #1a1a1a;
  color: #ffffff;
}

.btn-primary:hover {
  background: #333333;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: #000000;
  transform: translateY(0);
  box-shadow: none;
}

/* Dark mode: invert to white bg, black text */
[data-theme="dark"] .btn-primary {
  background: #F0EFED;
  color: #111111;
}

[data-theme="dark"] .btn-primary:hover {
  background: #FFFFFF;
}

[data-theme="dark"] .btn-primary:active {
  background: #CCCCCC;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface-offset);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #FFFFFF;
}

[data-theme="dark"] .hero {
  background: #111111;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Grayscale image, very faint — purely decorative texture */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
  filter: grayscale(100%);
}

[data-theme="dark"] .hero-bg img {
  opacity: 0.05;
}

/* No color overlay — just a very subtle fade from white */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 60%,
    rgba(255, 255, 255, 0.70) 100%
  );
}

[data-theme="dark"] .hero-bg::after {
  background: linear-gradient(
    to right,
    rgba(17, 17, 17, 0.97) 0%,
    rgba(17, 17, 17, 0.88) 60%,
    rgba(17, 17, 17, 0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-text-muted);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

/* Italic em — no color, just the natural serif italic */
.hero h1 em {
  font-style: italic;
  color: var(--color-text);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: var(--space-10);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Hero outline button — visible on white bg */
.hero-actions .btn-outline {
  color: var(--color-text);
  border-color: var(--color-border);
}

.hero-actions .btn-outline:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface-offset);
}

.hero-price-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
  margin-bottom: var(--space-8);
}

/* ============================================================
   SOCIAL PROOF STRIP
   ============================================================ */

.proof-strip {
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-6);
}

.proof-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.proof-item svg {
  color: var(--color-text);
  flex-shrink: 0;
}

/* ============================================================
   FEATURES
   ============================================================ */

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-text-muted);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 100%;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-section {
  background: var(--color-surface-offset);
  color: var(--color-text);
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

[data-theme="dark"] .how-section {
  background: var(--color-surface);
}

.how-section .section-label {
  color: var(--color-text-muted);
}

.how-section .section-title {
  color: var(--color-text);
}

.how-section .section-sub {
  color: var(--color-text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-divider);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.04em;
}

[data-theme="dark"] .step-num {
  color: var(--color-border);
}

.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 100%;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-section {
  background: var(--color-bg);
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.pricing-card {
  background: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  border-radius: calc(var(--radius-xl) * 1.5);
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  display: inline-block;
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-divider);
  margin-bottom: var(--space-6);
}

.price-display {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-bottom: var(--space-1);
}

.price-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  max-width: 100%;
}

.pricing-features li svg {
  color: var(--color-text);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-disclaimer {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 720px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.faq-question:hover {
  background: var(--color-surface-offset);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 100%;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-section {
  background: #1a1a1a;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  text-align: center;
}

[data-theme="dark"] .cta-section {
  background: #000000;
  border-top: 1px solid #2a2a2a;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-base);
  color: #8A8680;
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: 1.65;
}

/* CTA button — white bg, black text (inverted since section is dark) */
.cta-section .btn-primary {
  background: #ffffff;
  color: #1a1a1a;
}

.cta-section .btn-primary:hover {
  background: #F0EFED;
}

.cta-section .btn-primary:active {
  background: #CCCCCC;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #1a1a1a;
  color: #8A8680;
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
  border-top: 1px solid #2a2a2a;
}

[data-theme="dark"] .site-footer {
  background: #000000;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: #555555;
  font-size: var(--text-sm);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: var(--text-xs);
  color: #444444;
  width: 100%;
  padding-top: var(--space-6);
  border-top: 1px solid #2a2a2a;
  margin-top: var(--space-4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

  .mobile-menu-btn {
    display: flex;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

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

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

  .pricing-card {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}
