/* ============================================
   Ravello — Marketing Website Styles
   Dark mode by default. Typography-led. Minimal.
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark theme (default) */
  --bg: #0a0a0b;
  --bg-elevated: #111113;
  --bg-subtle: #16161a;
  --bg-alt-warm: #12110f;
  --bg-alt-deep: #0c0e14;
  --surface: #1c1c21;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #f0ede8;
  --text-secondary: #9a978f;
  --text-tertiary: #6b6860;
  --accent: #e8d5b5;
  --accent-bright: #f5e6cc;
  --accent-dim: rgba(232, 213, 181, 0.12);
  --accent-glow: rgba(232, 213, 181, 0.08);

  /* CTA specific */
  --cta-bg: #f0dfc4;
  --cta-text: #1a1206;
  --cta-hover: #fff1dc;

  /* Typography scale */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: clamp(5rem, 12vh, 9rem);
  --container-max: 1200px;
  --container-narrow: 720px;
}

[data-theme="light"] {
  --bg: #f8f6f1;
  --bg-elevated: #ffffff;
  --bg-subtle: #f0ede6;
  --bg-alt-warm: #eee9df;
  --bg-alt-deep: #e8e4dc;
  --surface: #e0dbd2;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text-primary: #1a1a1a;
  --text-secondary: #5c5a54;
  --text-tertiary: #8a877f;
  --accent: #8a7656;
  --accent-bright: #6d5a3e;
  --accent-dim: rgba(138, 118, 86, 0.1);
  --accent-glow: rgba(138, 118, 86, 0.05);
  --cta-bg: #4a3c28;
  --cta-text: #f8f6f1;
  --cta-hover: #5c4a32;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 300;
  transition: background 0.5s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

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

.section {
  padding: var(--section-padding) 0;
}

/* --- Alternating section backgrounds --- */
.section-alt-warm {
  background: var(--bg-alt-warm);
}

.section-alt-deep {
  background: var(--bg-alt-deep);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(248, 246, 241, 0.85);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--accent-dim);
}

[data-theme="dark"] .icon-moon,
[data-theme="light"] .icon-sun {
  display: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-text);
  padding: 0.875rem 2.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(240, 223, 196, 0.25);
}

.btn-lg {
  padding: 1.125rem 3rem;
  font-size: 1rem;
}

.btn-nav {
  background: transparent;
  border: 1px solid var(--accent);
  padding: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--accent-bright);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
}

.btn-nav:hover {
  background: var(--accent-dim);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 6rem 0 4rem;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

[data-theme="light"] .orb {
  opacity: 0.2;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 213, 181, 0.3), transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation: float1 20s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(180, 160, 130, 0.2), transparent 70%);
  bottom: 20%;
  left: 15%;
  animation: float2 25s ease-in-out infinite;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(200, 185, 160, 0.15), transparent 70%);
  top: 30%;
  right: 10%;
  animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-30px); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(20px) translateX(15px); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

/* --- Split sections (text + image) --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split-image-left .split-text {
  order: 2;
}

.split-image-left .split-image {
  order: 1;
}

.image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(10, 10, 11, 0.3));
  pointer-events: none;
}

[data-theme="light"] .image-frame-overlay {
  background: linear-gradient(135deg, transparent 50%, rgba(248, 246, 241, 0.2));
}

/* Slide-in animations */
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible,
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Section typography --- */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.prose {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.prose p + p {
  margin-top: 1.25rem;
}

.prose em {
  font-style: italic;
  color: var(--text-primary);
}

.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--accent-bright);
  margin-top: 2.5rem;
  line-height: 1.4;
}

/* --- Platform visual / Dashboard mockup --- */
.platform-visual {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.dashboard {
  width: min(95%, 900px);
  aspect-ratio: 16 / 10;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  overflow: hidden;
  font-size: 11px;
  color: #c8c5bd;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .dashboard {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #5c5a54;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
}

/* Dashboard sidebar */
.dash-sidebar {
  width: 52px;
  background: #08080a;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 4px;
  flex-shrink: 0;
}

[data-theme="light"] .dash-sidebar {
  background: #f0ede6;
  border-right-color: rgba(0, 0, 0, 0.08);
}

.dash-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8d5b5, #c4a97a);
  color: #1a1206;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.dash-nav-icons {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-nav-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #555;
  transition: all 0.2s;
}

.dash-nav-icon.active {
  background: rgba(232, 213, 181, 0.12);
  color: #e8d5b5;
}

[data-theme="light"] .dash-nav-icon {
  color: #aaa;
}

[data-theme="light"] .dash-nav-icon.active {
  background: rgba(138, 118, 86, 0.1);
  color: #8a7656;
}

/* Dashboard main */
.dash-main {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-greeting {
  font-size: 13px;
  font-weight: 500;
  color: #f0ede8;
}

[data-theme="light"] .dash-greeting {
  color: #1a1a1a;
}

.dash-date {
  font-size: 10px;
  color: #666;
  margin-top: 1px;
}

.dash-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-search {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #555;
  font-size: 10px;
}

[data-theme="light"] .dash-search {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.dash-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8d5b5, #c4a97a);
  color: #1a1206;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
}

/* Dashboard grid */
.dash-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-height: 0;
}

.dash-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

[data-theme="light"] .dash-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dash-card-title {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}

.dash-card-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(232, 178, 100, 0.15);
  color: #e8b264;
  font-weight: 500;
}

.dash-card-count {
  font-size: 9px;
  color: #666;
}

/* Briefing card */
.dash-briefing-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.dash-briefing-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.3;
}

.dash-briefing-faded {
  opacity: 0.5;
}

.dash-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-dot-red { background: #e87c6c; }
.dash-dot-amber { background: #e8b264; }
.dash-dot-green { background: #6cbf8a; }
.dash-dot-blue { background: #6ca8e8; }

/* Inbox card */
.dash-inbox-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.dash-inbox-stat {
  display: flex;
  flex-direction: column;
}

.dash-stat-num {
  font-size: 16px;
  font-weight: 600;
  color: #f0ede8;
  line-height: 1.1;
}

[data-theme="light"] .dash-stat-num {
  color: #1a1a1a;
}

.dash-stat-label {
  font-size: 8px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-inbox-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-top: auto;
}

[data-theme="light"] .dash-inbox-bar {
  background: rgba(0, 0, 0, 0.06);
}

.dash-inbox-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6cbf8a, #e8d5b5);
  border-radius: 2px;
}

.dash-inbox-note {
  font-size: 8px;
  color: #6cbf8a;
  margin-top: 3px;
}

/* Tasks card */
.dash-task-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dash-task {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}

.dash-checkbox {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

[data-theme="light"] .dash-checkbox {
  border-color: rgba(0, 0, 0, 0.15);
}

.dash-checkbox.checked {
  background: #6cbf8a;
  border-color: #6cbf8a;
  position: relative;
}

.dash-checkbox.checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid #0d0d10;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.dash-task-done {
  text-decoration: line-through;
  opacity: 0.4;
}

/* Areas card */
.dash-areas {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dash-area-row {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
}

.dash-area-count {
  color: #666;
}

.dash-area-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
}

[data-theme="light"] .dash-area-bar {
  background: rgba(0, 0, 0, 0.06);
}

.dash-area-fill {
  height: 100%;
  background: linear-gradient(90deg, #e8d5b5, rgba(232, 213, 181, 0.4));
  border-radius: 1px;
}

/* Dashboard fade overlay */
.visual-blur {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg) 98%);
  pointer-events: none;
  border-radius: 12px;
}

.visual-caption {
  margin-top: -2rem;
  position: relative;
  z-index: 1;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* --- Testimonials --- */
.testimonial-grid {
  margin-top: 2.5rem;
  columns: 2;
  column-gap: 1.5rem;
}

.testimonial {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.testimonial:hover {
  border-color: var(--border-strong);
}

.testimonial-featured {
  column-span: all;
  background: linear-gradient(135deg, var(--bg-elevated), var(--accent-dim));
  border-color: rgba(232, 213, 181, 0.15);
  padding: 2.25rem 2.5rem;
}

.testimonial-featured .testimonial-quote {
  font-size: 1.1875rem;
  line-height: 1.75;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-quote strong,
.testimonial-featured .testimonial-quote {
  color: var(--text-primary);
}

.testimonial-attr {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-bright);
  font-style: normal;
  letter-spacing: 0.01em;
}

.testimonial-detail {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

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

  .testimonial {
    padding: 1.25rem 1.5rem;
  }

  .testimonial-featured {
    padding: 1.5rem 1.75rem;
  }

  .testimonial-featured .testimonial-quote {
    font-size: 1.0625rem;
  }
}

/* --- Capabilities --- */
.capabilities-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0;
}

.capability {
  border-bottom: 1px solid var(--border);
}

.capability-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  text-align: left;
  transition: color 0.2s ease;
}

.capability-header:hover {
  color: var(--accent-bright);
}

.capability-title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
}

.capability-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.capability-icon::before,
.capability-icon::after {
  content: '';
  position: absolute;
  background: var(--text-tertiary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.capability-icon::before {
  width: 14px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.capability-icon::after {
  width: 1px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.capability.open .capability-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.capability-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.capability.open .capability-body {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.capability-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
}

/* --- Expanding areas --- */
.expanding-areas {
  margin-top: 3.5rem;
  text-align: center;
}

.expanding-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.expanding-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.expanding-tag {
  display: inline-block;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.expanding-tag:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

/* --- How it works --- */
.steps {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.5;
  font-weight: 400;
  min-width: 2.5rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Who this is for --- */
.who-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.who-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.who-dash {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.85em;
  flex-shrink: 0;
}

.who-item p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.who-item em {
  color: var(--text-primary);
}

.who-closing {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-list {
  margin-top: 0.5rem;
}

.faq {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.375rem 0;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-tertiary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
  width: 12px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* --- CTA --- */
.section-cta {
  text-align: center;
  padding: var(--section-padding) 0;
  position: relative;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-email {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
}

.cta-email a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232, 213, 181, 0.3);
  transition: text-decoration-color 0.2s ease;
}

.cta-email a:hover {
  text-decoration-color: var(--accent-bright);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-image-left .split-text {
    order: 1;
  }

  .split-image-left .split-image {
    order: 2;
  }

  .image-frame {
    aspect-ratio: 3 / 2;
    max-width: 500px;
    margin: 0 auto;
  }
}

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

  .hero {
    padding: 5rem 0 3rem;
  }

  .hero-headline br {
    display: none;
  }

  .step {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step-number {
    font-size: 1.5rem;
  }

  .dashboard {
    width: 100%;
    aspect-ratio: auto;
    min-height: 300px;
    font-size: 10px;
  }

  .dash-sidebar {
    width: 40px;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .section-headline {
    font-size: 1.5rem;
  }

  .expanding-grid {
    gap: 0.5rem;
  }

  .expanding-tag {
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
  }

  .dash-header-right {
    display: none;
  }
}

/* --- Print --- */
@media print {
  .nav, .theme-toggle, .hero-bg-pattern, .visual-blur, .split-image {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
