/* ============================================
   SORTEDWEB v2 — DESIGN TOKENS & STYLES
   Editorial luxury meets web agency confidence
   ============================================ */

/* --- Type Scale (Fluid) --- */
:root {
  --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.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  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,    7rem);

  /* --- 4px Spacing System --- */
  --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: 'Inter', 'Helvetica Neue', sans-serif;

  /* --- Content Widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* --- Radius (sharp, editorial — minimal rounding) --- */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ============================================
   LIGHT MODE (Default)
   ============================================ */
:root, [data-theme="light"] {
  --color-bg:           #FAFAF8;
  --color-surface:      #F5F5F2;
  --color-surface-2:    #EEEDE9;
  --color-divider:      #E0DFD9;
  --color-border:       #D4D3CC;

  --color-text:         #0A0A0A;
  --color-text-muted:   #666666;
  --color-text-faint:   #AAAAAA;
  --color-text-inverse: #FAFAF8;

  --color-accent:       #F5A623;
  --color-accent-hover: #E09010;
  --color-accent-active:#CC7E00;

  --color-dark-bg:      #0A0A0A;
  --color-dark-surface: #141414;
  --color-dark-text:    #FAFAF8;
  --color-dark-muted:   #999999;

  --shadow-sm: 0 1px 2px oklch(0.1 0.01 80 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.1 0.01 80 / 0.08);
  --shadow-lg: 0 12px 40px oklch(0.1 0.01 80 / 0.12);
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] {
  --color-bg:           #0A0A0A;
  --color-surface:      #141414;
  --color-surface-2:    #1A1A1A;
  --color-divider:      #222222;
  --color-border:       #2A2A2A;

  --color-text:         #FAFAF8;
  --color-text-muted:   #999999;
  --color-text-faint:   #555555;
  --color-text-inverse: #0A0A0A;

  --color-accent:       #F5A623;
  --color-accent-hover: #FFB940;
  --color-accent-active:#FFCA66;

  --color-dark-bg:      #141414;
  --color-dark-surface: #1A1A1A;
  --color-dark-text:    #FAFAF8;
  --color-dark-muted:   #888888;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:           #0A0A0A;
    --color-surface:      #141414;
    --color-surface-2:    #1A1A1A;
    --color-divider:      #222222;
    --color-border:       #2A2A2A;
    --color-text:         #FAFAF8;
    --color-text-muted:   #999999;
    --color-text-faint:   #555555;
    --color-text-inverse: #0A0A0A;
    --color-accent:       #F5A623;
    --color-accent-hover: #FFB940;
    --color-accent-active:#FFCA66;
    --color-dark-bg:      #141414;
    --color-dark-surface: #1A1A1A;
    --color-dark-text:    #FAFAF8;
    --color-dark-muted:   #888888;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.4);
  }
}


/* ============================================
   GLOBAL TYPOGRAPHY
   ============================================ */
.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

.italic {
  font-style: italic;
}

.text-accent {
  color: var(--color-accent);
}


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding var(--transition-interactive),
              background var(--transition-interactive),
              backdrop-filter var(--transition-interactive);
}

.nav.scrolled {
  padding: var(--space-3) var(--space-6);
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
}

.nav__logo img {
  height: 36px;
  width: auto;
  transition: height var(--transition-interactive);
}

.nav.scrolled .nav__logo img {
  height: 30px;
}

/* Invert logo in dark mode */
[data-theme="dark"] .nav__logo img,
.dark-section .nav__logo img {
  filter: invert(1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .nav__logo img {
    filter: invert(1);
  }
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition-interactive);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition-interactive);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-5);
  background: var(--color-accent);
  color: #0A0A0A;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive);
}

.nav__cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.nav__cta:active {
  transform: translateY(0);
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
  padding: 0;
}

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

/* Mobile nav toggle */
.nav__mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.nav__mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background var(--transition-interactive);
}

.nav__mobile-toggle span::before,
.nav__mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 300ms var(--ease-out);
}

.nav__mobile-toggle span::before { top: -6px; }
.nav__mobile-toggle span::after  { bottom: -6px; }

.nav__mobile-toggle.active span { background: transparent; }
.nav__mobile-toggle.active span::before { transform: rotate(45deg) translate(4px, 4px); }
.nav__mobile-toggle.active span::after  { transform: rotate(-45deg) translate(4px, -4px); }

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-32) var(--space-8) var(--space-8);
    background: var(--color-bg);
    border-left: 1px solid var(--color-divider);
    transform: translateX(100%);
    transition: transform 400ms var(--ease-out);
    z-index: 99;
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--text-lg);
    color: var(--color-text);
  }

  .nav__cta {
    margin-top: var(--space-4);
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-6);
  }

  .nav__mobile-toggle {
    display: flex;
  }
}


/* ============================================
   SECTION CONTAINERS
   ============================================ */
.section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
}

.section__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}

.section__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.section__subtext {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 55ch;
  line-height: 1.6;
}


/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-32) var(--space-6) var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: var(--content-wide);
  width: 100%;
}

.hero__headline {
  font-family: var(--font-body);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.hero__headline-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-muted);
}

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

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__accent-line {
  position: absolute;
  bottom: var(--space-16);
  left: var(--space-6);
  width: 60px;
  height: 2px;
  background: var(--color-accent);
}

/* Hero entrance animations (CSS only, no JS dependency) */
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-enter {
  from { width: 0; }
  to { width: 60px; }
}

.hero__headline {
  animation: hero-enter 800ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
}

.hero__subtext {
  animation: hero-enter 700ms cubic-bezier(0.16, 1, 0.3, 1) 450ms both;
}

.hero__buttons {
  animation: hero-enter 700ms cubic-bezier(0.16, 1, 0.3, 1) 650ms both;
}

.hero__accent-line {
  animation: line-enter 800ms cubic-bezier(0.16, 1, 0.3, 1) 850ms both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              border-color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
  cursor: pointer;
  min-height: 48px;
}

.btn--primary {
  background: var(--color-accent);
  color: #0A0A0A;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px oklch(from var(--color-accent) l c h / 0.3);
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.2);
}

.btn--ghost:hover {
  border-color: oklch(from var(--color-text) l c h / 0.5);
  transform: translateY(-1px);
}

.btn--ghost:active {
  transform: translateY(0);
}

.btn--large {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  min-height: 56px;
}

/* Arrow icon in button */
.btn__arrow {
  transition: transform var(--transition-interactive);
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}


/* ============================================
   PROBLEM SECTION (Dark BG)
   ============================================ */
.dark-section {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
}

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

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .dark-section {
    background: var(--color-surface);
  }
}

.dark-section .section__heading {
  color: var(--color-dark-text);
}

.dark-section .section__subtext {
  color: var(--color-dark-muted);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.problem-card {
  padding: var(--space-6);
  border-left: 1px solid oklch(1 0 0 / 0.08);
}

.problem-card__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  line-height: 1;
}

.problem-card__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-dark-text);
  margin-bottom: var(--space-2);
}

.problem-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-dark-muted);
  line-height: 1.6;
}


/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.step {
  position: relative;
  padding-top: var(--space-16);
}

.step__number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: oklch(from var(--color-text) l c h / 0.04);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  user-select: none;
}

[data-theme="dark"] .step__number {
  color: oklch(1 0 0 / 0.04);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .step__number {
    color: oklch(1 0 0 / 0.04);
  }
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  position: relative;
}

.step__desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  position: relative;
}


/* ============================================
   WHAT YOU GET
   ============================================ */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--space-4) var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
}

.feature-item__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  margin-top: 2px;
}

.feature-item__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.5;
}

.feature-item__text strong {
  font-weight: 600;
}

.feature-item__text span {
  color: var(--color-text-muted);
  display: block;
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}


/* ============================================
   WHO WE HELP
   ============================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--space-4);
  margin-top: var(--space-12);
}

.industry-card {
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color var(--transition-interactive),
              background var(--transition-interactive);
}

.industry-card:hover {
  border-color: var(--color-accent);
  background: var(--color-surface-2);
}

.industry-card__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  line-height: 1;
}

.industry-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}

.industry-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  line-height: 1.5;
}


/* ============================================
   BEFORE / AFTER
   ============================================ */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

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

.comparison__panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.comparison__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.comparison__label--before {
  color: #CC4444;
  background: oklch(from #CC4444 l c h / 0.06);
}

.comparison__label--after {
  color: var(--color-accent);
  background: oklch(from var(--color-accent) l c h / 0.08);
}

/* Before mockup — intentionally ugly */
.mockup-before {
  padding: var(--space-4);
  background: #f0f0f0;
  min-height: 320px;
  font-family: 'Times New Roman', serif;
}

.mockup-before__header {
  background: linear-gradient(135deg, #003366, #006699);
  padding: var(--space-3) var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0;
}

.mockup-before__logo {
  color: #FFD700;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Comic Sans MS', 'Times New Roman', serif;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.mockup-before__nav {
  display: flex;
  gap: var(--space-3);
  font-size: 11px;
}

.mockup-before__nav a {
  color: #fff;
  text-decoration: underline;
  font-family: 'Times New Roman', serif;
}

.mockup-before__hero {
  background: #fff;
  padding: var(--space-4);
  margin: var(--space-3) 0;
  border: 2px solid #003366;
  text-align: center;
}

.mockup-before__hero h3 {
  font-size: 16px;
  color: #003366;
  font-family: 'Comic Sans MS', 'Times New Roman', serif;
  line-height: 1.4;
  text-wrap: initial;
}

.mockup-before__hero p {
  font-size: 12px;
  color: #333;
  margin-top: var(--space-2);
  max-width: 100%;
}

.mockup-before__cta {
  display: inline-block;
  background: #FF0000;
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  margin-top: var(--space-2);
  font-family: 'Arial', sans-serif;
  border: 2px outset #ccc;
  text-decoration: none;
  cursor: default;
}

.mockup-before__footer {
  font-size: 10px;
  color: #666;
  text-align: center;
  padding: var(--space-2);
  border-top: 1px dashed #ccc;
  margin-top: var(--space-3);
}

/* After mockup — beautiful */
.mockup-after {
  padding: var(--space-4);
  background: #FAFAF8;
  min-height: 320px;
  font-family: var(--font-body);
}

.mockup-after__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid #eee;
}

.mockup-after__logo {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #0A0A0A;
  letter-spacing: -0.02em;
}

.mockup-after__nav {
  display: flex;
  gap: var(--space-4);
  font-size: 10px;
  color: #666;
  font-family: var(--font-body);
}

.mockup-after__hero {
  padding: var(--space-8) 0 var(--space-6);
}

.mockup-after__hero h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #0A0A0A;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: initial;
}

.mockup-after__hero p {
  font-size: 11px;
  color: #666;
  margin-top: var(--space-2);
  line-height: 1.5;
  max-width: 100%;
}

.mockup-after__cta {
  display: inline-block;
  background: var(--color-accent);
  color: #0A0A0A;
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 600;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: 0.01em;
  cursor: default;
}

.mockup-after__cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.mockup-after__card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: var(--space-2);
}

.mockup-after__card-bar {
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  width: 30%;
  margin-bottom: var(--space-1);
}

.mockup-after__card-text {
  height: 5px;
  background: #eee;
  border-radius: 1px;
  margin-bottom: 3px;
}

.mockup-after__card-text:last-child {
  width: 60%;
}


/* ============================================
   PRICING
   ============================================ */
.pricing-card {
  max-width: 600px;
  margin: var(--space-12) auto 0;
  padding: var(--space-10) var(--space-8);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  text-align: center;
}

.pricing-card__headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.pricing-card__subline {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.pricing-card__list {
  list-style: none;
  text-align: left;
  max-width: 380px;
  margin: 0 auto var(--space-8);
}

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

.pricing-card__list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  margin-top: 2px;
}

.pricing-card__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
}


/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 720px;
  margin: var(--space-12) auto 0;
}

.faq-item {
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-interactive);
  min-height: 48px;
}

.faq-item__question:hover {
  color: var(--color-accent);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--color-accent);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 300ms var(--ease-out);
}

.faq-item__icon::before {
  width: 14px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 1.5px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease-out),
              opacity 300ms var(--ease-out);
  opacity: 0;
}

.faq-item.open .faq-item__answer {
  opacity: 1;
}

.faq-item__answer-inner {
  padding: 0 0 var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================
   CONTACT CTA
   ============================================ */
.contact {
  text-align: center;
}

.contact-form {
  max-width: 480px;
  margin: var(--space-10) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  text-align: left;
}

.form-field label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-field input {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
  min-height: 48px;
}

.form-field input::placeholder {
  color: var(--color-text-faint);
}

.form-field input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.15);
}

.contact-form .btn {
  margin-top: var(--space-4);
  justify-content: center;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-12) var(--space-6) var(--space-8);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.06);
}

.footer__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo img {
  height: 30px;
  width: auto;
  margin-bottom: var(--space-3);
}

/* Invert footer logo in dark mode */
[data-theme="dark"] .footer__logo img {
  filter: invert(1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .footer__logo img {
    filter: invert(1);
  }
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: var(--space-8);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.footer__col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__col-list li a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__col-list li a:hover {
  color: var(--color-text);
}

.footer__bottom {
  max-width: var(--content-wide);
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__email a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__email a:hover {
  color: var(--color-accent);
}


/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* Clip reveal for special elements */
.reveal-clip {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-clip {
    clip-path: inset(100% 0 0 0);
    animation: reveal-clip-anim linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes reveal-clip-anim {
  to { clip-path: inset(0 0 0 0); }
}

/* Stagger delays */
.reveal-delay-1 { animation-delay: 60ms; }
.reveal-delay-2 { animation-delay: 120ms; }
.reveal-delay-3 { animation-delay: 180ms; }
.reveal-delay-4 { animation-delay: 240ms; }

/* Fallback for browsers without scroll-driven animations */
.js-reveal {
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}

.js-reveal.visible {
  opacity: 1;
}

/* Stagger for JS fallback */
.js-reveal[data-delay="1"] { transition-delay: 60ms; }
.js-reveal[data-delay="2"] { transition-delay: 120ms; }
.js-reveal[data-delay="3"] { transition-delay: 180ms; }
.js-reveal[data-delay="4"] { transition-delay: 240ms; }


/* ============================================
   MOBILE OVERLAY
   ============================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* ============================================
   MOBILE TAP STATES & HOVER HANDLING
   ============================================ */
@media (hover: none) {
  .btn:active {
    opacity: 0.85;
    transform: scale(0.98);
  }

  .nav__link:active {
    color: var(--color-accent);
  }

  .industry-card:active {
    border-color: var(--color-accent);
    background: var(--color-surface-2);
  }

  .faq-item__question:active {
    color: var(--color-accent);
  }
}

/* Mobile refinements */
@media (max-width: 768px) {
  .hero {
    padding-top: var(--space-24);
    align-items: flex-start;
    padding-bottom: var(--space-12);
  }

  .hero__headline {
    font-size: clamp(2.25rem, 0.5rem + 8vw, 3.5rem);
    letter-spacing: -0.02em;
  }

  .section__heading {
    font-size: var(--text-2xl);
  }

  .steps-grid {
    gap: var(--space-8);
  }

  .step__number {
    font-size: clamp(4rem, 10vw, 6rem);
  }

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

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

  .footer__inner {
    flex-direction: column;
    gap: var(--space-6);
  }

  .footer__links {
    flex-direction: column;
    gap: var(--space-6);
  }

  .pricing-card {
    padding: var(--space-8) var(--space-6);
  }
}

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

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-accent);
  color: #0A0A0A;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 200;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 200ms var(--ease-out);
}

.skip-link:focus {
  top: var(--space-4);
}
