/* ============================================
   SchaffZeit – Design System & Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Brand reference: SchaffZeit indigo with a subtle lilac accent */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --primary-bg: #eef2ff;
  --secondary: #8b5cf6;
  --brand-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --black: #000000;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

[data-theme="dark"] {
  --primary-bg: #20213d;
  --gray-50: #0d111c;
  --gray-100: #171d2b;
  --gray-200: #283145;
  --gray-300: #3c465c;
  --gray-400: #7f8aa3;
  --gray-500: #9aa5ba;
  --gray-600: #b7c0d1;
  --gray-700: #d2d8e3;
  --gray-800: #e8ebf1;
  --gray-900: #f8fafc;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.28);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.22);
  --shadow-lg: 0 18px 38px rgba(0,0,0,0.28);
  --shadow-xl: 0 28px 60px rgba(0,0,0,0.34);
}

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

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id] {
  scroll-margin-top: 68px;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

.theme-toggle {
  z-index: 2100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--gray-700);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color var(--transition), background-color var(--transition), color var(--transition), transform var(--transition);
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: rgba(99,102,241,0.35);
  background: var(--primary-bg);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--primary-bg);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle-sidebar {
  justify-content: flex-start;
  margin: 0 12px 12px;
  box-shadow: none;
}

.notification-center-button {
  position: relative;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 42px;
  margin: 0 12px 8px;
  padding: 8px 12px;
  color: var(--gray-700);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color var(--transition), background-color var(--transition), color var(--transition), transform var(--transition);
}

.notification-center-button:hover {
  color: var(--primary);
  border-color: rgba(99,102,241,0.35);
  background: var(--primary-bg);
  transform: translateY(-1px);
}

.notification-center-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--primary-bg);
}

.notification-center-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-center-badge {
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: 0.875rem;
  line-height: 20px;
  text-align: center;
}

.notification-center-panel {
  position: fixed;
  z-index: 2600;
  top: 18px;
  bottom: 18px;
  left: 270px;
  width: min(390px, calc(100vw - 288px));
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  color: var(--gray-800);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 28px 80px rgba(15,23,42,0.22);
  transform: translateX(-24px);
  opacity: 0;
  visibility: hidden;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.notification-center-panel.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.notification-center-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.notification-center-heading span {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-center-heading h2 {
  margin: 3px 0 0;
  font-size: 1.18rem;
}

.notification-center-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
}

.notification-center-list {
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 12px 0;
}

.notification-item {
  display: flex;
  gap: 11px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--gray-100);
  color: inherit;
}

.notification-item:hover {
  background: var(--gray-50);
}

.notification-item.unread {
  border-radius: 12px;
  background: rgba(99,102,241,0.07);
}

.notification-item-active {
  margin-bottom: 8px;
  border: 1px solid rgba(99,102,241,0.28);
  border-radius: 12px;
  background: rgba(99,102,241,0.09);
}

.notification-item-active:hover {
  background: rgba(99,102,241,0.15);
}

.notification-item-active .notification-item-icon {
  color: #fff;
  background: var(--primary);
}

.notification-item-icon {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--primary);
  background: var(--primary-bg);
  font-weight: 800;
}

.notification-item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  font-size: 0.875rem;
  line-height: 1.45;
}

.notification-item-copy strong {
  color: var(--gray-900);
  font-size: 0.875rem;
}

.notification-item-copy time {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.notification-center-empty {
  padding: 28px 12px;
  color: var(--gray-500);
  text-align: center;
}

.theme-toggle-nav {
  flex: 0 0 auto;
  border-radius: var(--radius-full);
  box-shadow: none;
}

.theme-toggle-fallback {
  position: fixed;
  right: 20px;
  bottom: 20px;
}

[data-theme="dark"] body { background: #0b0f18; }
[data-theme="dark"] .theme-toggle { border-color: #30394d; background: #171d2b; color: #e8ebf1; }
[data-theme="dark"] .theme-toggle-icon { color: #c4b5fd; background: #252348; }
[data-theme="dark"] .notification-center-button,
[data-theme="dark"] .notification-center-panel,
[data-theme="dark"] .notification-center-close { border-color: #30394d; background: #171d2b; color: #e8ebf1; }
[data-theme="dark"] .notification-center-icon,
[data-theme="dark"] .notification-item-icon { color: #c4b5fd; background: #252348; }
[data-theme="dark"] .notification-item { border-color: #293144; }
[data-theme="dark"] .notification-item:hover { background: #1d2434; }
[data-theme="dark"] .notification-item.unread { background: rgba(129,140,248,0.13); }
[data-theme="dark"] .notification-item-active { border-color: rgba(129,140,248,0.35); background: rgba(129,140,248,0.17); }
[data-theme="dark"] .notification-item-active:hover { background: rgba(129,140,248,0.23); }
[data-theme="dark"] .notification-item-copy strong { color: #f8fafc; }

@media (max-width: 760px) {
  .notification-center-panel {
    inset: 12px;
    width: auto;
  }
}
[data-theme="dark"] .navbar { background: rgba(11,15,24,0.88); border-bottom-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .hero { background: linear-gradient(180deg, #171a32 0%, #0b0f18 100%); }
[data-theme="dark"] .video-preview,
[data-theme="dark"] .motivation-card,
[data-theme="dark"] .body-doubling-callout,
[data-theme="dark"] .price-card,
[data-theme="dark"] .modal { background: #121827; border-color: #293144; }
[data-theme="dark"] .video-card { background: #171d2b; border-color: #283145; }
[data-theme="dark"] .video-card:hover { background: #1d2434; }
[data-theme="dark"] .session-goal { background: #171d2b; border-color: #30394d; }
[data-theme="dark"] .session-goal strong { color: #a5b4fc; }
[data-theme="dark"] .session-task-list { background: #121827; border-color: #293144; }
[data-theme="dark"] .session-timer-display { background: #121827; border-color: #293144; }
[data-theme="dark"] .session-timer-ring {
  background: conic-gradient(
    var(--primary) 0deg,
    var(--secondary) var(--progress),
    #293144 var(--progress)
  );
}
[data-theme="dark"] .session-timer-ring span { background: #121827; }
[data-theme="dark"] .session-task-list-title,
[data-theme="dark"] .session-task-preview-row.active { color: #e8ebf1; }
[data-theme="dark"] .session-task-input-preview { color: #7f8aa3; background: #0f1420; border-color: #30394d; }
[data-theme="dark"] .session-task-preview-row { color: #aab2c2; }
[data-theme="dark"] .session-task-check { border-color: #3c465c; background: #0f1420; }
[data-theme="dark"] .session-task-preview-row.done .session-task-check { color: var(--white); border-color: var(--primary); background: var(--primary); }
[data-theme="dark"] .body-doubling-section { background: linear-gradient(180deg, #0b0f18, #11162a); }
[data-theme="dark"] .section-dark { background: #111827; }
[data-theme="dark"] .section-badge,
[data-theme="dark"] .badge-light {
  color: #c4b5fd;
  border: 1px solid rgba(129, 140, 248, 0.3);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.22));
}
[data-theme="dark"] .motivation-card-pain { background: linear-gradient(145deg, #121827, #21171f); }
[data-theme="dark"] .motivation-card-relief { background: linear-gradient(145deg, #121827, #1b1935); }
[data-theme="dark"] .scenario-strip > span { background: rgba(18, 24, 39, 0.78); border-color: #293144; }
[data-theme="dark"] .body-doubling-intro,
[data-theme="dark"] .research-footnote { border-color: #293144; }
[data-theme="dark"] .body-doubling-intro {
  background:
    radial-gradient(circle at 12% 8%, rgba(129, 140, 248, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(23, 29, 43, 0.88), rgba(18, 24, 39, 0));
}
[data-theme="dark"] .research-footnote-title {
  color: var(--gray-700);
  border-color: #30394d;
  background: #171d2b;
}
[data-theme="dark"] .research-footnote-title:hover,
[data-theme="dark"] .research-footnote[open] .research-footnote-title {
  color: #a5b4fc;
  border-color: rgba(129, 140, 248, 0.42);
  background: rgba(99, 102, 241, 0.12);
}
[data-theme="dark"] .section:not(.section-dark):not(.cta-section) { color: var(--gray-800); }
[data-theme="dark"] .section-light { background: #0f1420; }
[data-theme="dark"] .cal-nav-btn {
  color: #c4b5fd;
  border-color: #30394d;
  background: #171d2b;
}
[data-theme="dark"] .cal-nav-btn:hover {
  color: var(--white);
  border-color: var(--primary);
  background: var(--primary);
}
[data-theme="dark"] .step-arrow { color: rgba(129, 140, 248, 0.62); }
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea { color: var(--gray-800); background: #0f1420; border-color: #30394d; }
[data-theme="dark"] .legal-section { color: var(--gray-700); }

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

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

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: none; }
.btn:active { transform: none; }

.btn-primary {
  background: var(--brand-gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 5px 16px rgba(99, 102, 241, 0.2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #7c3aed);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn-social {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  font-weight: 500;
}
.btn-social:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-sm { padding: 6px 14px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-900);
}

.navbar .logo {
  font-size: 1.9rem;
}

.brand-lockup {
  display: block;
  width: auto;
  height: 1.05em;
  max-width: none;
  flex: 0 0 auto;
}

.brand-lockup-pro {
  display: none;
}

.brand-lockup-dark {
  display: none;
}

.logo.is-pro .brand-lockup-standard {
  display: none;
}

.logo.is-pro .brand-lockup-pro {
  display: block;
}

[data-theme="dark"] .logo .brand-lockup-standard,
[data-theme="dark"] .logo .brand-lockup-pro {
  display: none;
}

[data-theme="dark"] .logo .brand-lockup-standard-dark {
  display: block;
}

[data-theme="dark"] .logo.is-pro .brand-lockup-standard-dark {
  display: none;
}

[data-theme="dark"] .logo.is-pro .brand-lockup-pro-dark {
  display: block;
}

.logo-icon {
  color: var(--primary);
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.nav-actions .btn {
  padding: 11px 24px;
  font-size: 0.98rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   SchaffZeit-Startwoche announcement
   ============================================ */
.founder-week-announcement {
  position: relative;
  padding: 0 0 34px;
  background: var(--white);
}

.founder-week-announcement[hidden] {
  display: none;
}

.founder-week-announcement > .container {
  max-width: 1220px;
}

.founder-week-announcement-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  padding: 26px 30px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(110deg, rgba(99, 102, 241, 0.09), rgba(139, 92, 246, 0.035) 55%, rgba(255, 255, 255, 0.9)),
    var(--white);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.08);
}

.founder-week-announcement-copy {
  display: grid;
  gap: 10px;
}

.founder-week-announcement-heading {
  display: grid;
  gap: 5px;
}

.founder-week-announcement-kicker {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.founder-week-announcement-heading strong {
  color: var(--gray-900);
  font-size: clamp(1.16rem, 1.65vw, 1.45rem);
  line-height: 1.22;
}

.founder-week-announcement-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 780px;
}

.founder-week-announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.founder-week-announcement-link:hover,
.founder-week-announcement-link:focus-visible {
  text-decoration: underline;
}

.founder-week-announcement-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

[data-theme="dark"] .founder-week-announcement {
  background: var(--white);
}

[data-theme="dark"] .founder-week-announcement-card {
  border-color: rgba(129, 140, 248, 0.3);
  background:
    linear-gradient(100deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.08) 48%, rgba(17, 23, 36, 0.82)),
    #111724;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  padding: 110px 0 52px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary-bg) 0%, var(--white) 100%);
}

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

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(60px);
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -50px;
  left: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(100%, 900px);
  text-align: center;
}

.hero-content h1 {
  margin-bottom: 32px;
  line-height: 1.05;
}

.hero-title-brand {
  display: inline-block;
  font-size: 1.12em;
  letter-spacing: -3px;
}

.hero-title-schaff {
  font-weight: 800;
}

.hero-title-zeit {
  font-weight: 500;
}

.gradient-text {
  font-weight: 700;
  letter-spacing: -2.1px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* Hero Visual (Video Preview) */
.hero-visual {
  position: relative;
  width: min(100%, 760px);
}

.hero-visual-real {
  display: none;
  isolation: isolate;
  border-radius: var(--radius-xl);
}

.hero-visual-real::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(224,231,255,0.58), rgba(99,102,241,0.12));
  transform: rotate(0.6deg);
}

html[data-session-preview="real"] .hero-visual-current {
  display: none;
}

html[data-session-preview="real"] .hero-visual-real {
  display: block;
}

.session-real-frame-shell {
  width: 100%;
  height: 578px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.32);
  border-radius: var(--radius-xl);
  background: #f4f3ff;
  box-shadow: 0 32px 80px rgba(79, 70, 229, 0.17), var(--shadow-glow);
}

.session-real-frame {
  display: block;
  width: 1380px;
  height: 1050px;
  border: 0;
  pointer-events: none;
  transform: scale(0.55);
  transform-origin: top left;
}

.video-preview {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: 0 32px 80px rgba(79, 70, 229, 0.17), var(--shadow-glow);
  border: 1px solid rgba(99, 102, 241, 0.16);
}

.video-preview::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(99,102,241,0.12));
  transform: rotate(2deg);
}

.session-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}

.session-preview-header > div {
  display: flex;
  flex-direction: column;
}

.session-preview-header strong { font-size: 1.05rem; }

.session-kicker {
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-secure {
  padding: 7px 11px;
  border-radius: var(--radius-full);
  color: #047857;
  background: #ecfdf5;
  font-size: 0.875rem;
  font-weight: 700;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.video-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.session-goal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-md);
  background: #f5f7ff;
  font-size: 0.875rem;
}

.session-goal span { color: var(--gray-500); }
.session-goal strong { color: var(--primary-dark); }

.session-workspace {
  display: grid;
  grid-template-columns: minmax(175px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  margin-top: 12px;
}

.session-task-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0;
  padding: 24px 16px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.session-task-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.session-task-list-title {
  color: var(--gray-800);
  font-size: 0.84rem;
  font-weight: 700;
}

.session-task-list-title small {
  margin-left: 4px;
  color: var(--gray-400);
  font-size: 0.72rem;
  font-weight: 500;
}

.session-task-preview-share {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-dark);
  font-size: 0.66rem;
  font-weight: 700;
  white-space: nowrap;
}

.session-task-preview-share > span {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  color: var(--white);
  background: var(--primary);
  font-size: 0.58rem;
}

.session-task-input-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 4px 4px 10px;
  margin-bottom: 5px;
  border: 1px solid var(--gray-200);
  border-radius: 9px;
  color: var(--gray-400);
  background: var(--white);
  font-size: 0.7rem;
}

.session-task-input-preview > span:first-child {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-task-add-preview {
  display: inline-grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  color: var(--white);
  background: var(--brand-gradient);
  font-size: 1rem;
  line-height: 1;
}

.session-task-preview-rows {
  display: flex;
  flex-direction: column;
}

.session-task-preview-row {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 25px;
  gap: 6px;
  color: var(--gray-600);
  font-size: 0.7rem;
  line-height: 1.2;
}

.session-task-check {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  background: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
}

.session-task-preview-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-task-preview-action {
  display: inline-grid;
  place-items: center;
  flex: 0 0 13px;
  color: var(--gray-400);
}

.session-task-preview-action svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.session-task-preview-action.shared {
  color: var(--primary);
}

.session-task-preview-action.is-private {
  color: var(--gray-300);
}

.session-task-preview-row.done {
  color: var(--gray-400);
}

.session-task-preview-row.done .session-task-preview-text {
  text-decoration: line-through;
}

.session-task-preview-row.done .session-task-check {
  color: var(--white);
  border-color: var(--primary);
  background: var(--primary);
  text-decoration: none;
}

.session-task-preview-row.active {
  color: var(--gray-800);
  font-weight: 700;
}

.video-card:hover {
  box-shadow: var(--shadow-md);
}

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

.video-feed-image-man {
  object-position: 50% 47%;
}

.video-feed-image-woman {
  object-position: 50% 42%;
}

.video-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 34px 12px 11px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.84));
}

.video-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.video-task {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
}

.video-status.live {
  background: rgba(220, 252, 231, 0.92);
  color: #166534;
}

.session-timer-display {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px;
  margin-top: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.session-timer-ring {
  --progress: 184deg;
  display: grid;
  place-items: center;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0deg,
    var(--secondary) var(--progress),
    #e9e7ff var(--progress)
  );
  transform: rotate(-90deg);
}

.session-timer-ring span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--white);
}

.session-timer-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.session-timer-kicker {
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timer-text {
  font-size: 2.55rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

/* ============================================
   Body Doubling / Motivation
   ============================================ */
.body-doubling-section {
  background: linear-gradient(180deg, var(--white), #f7f7ff);
}

.body-doubling-section .section-header {
  margin-bottom: 38px;
}

.focus-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 18px;
}

.focus-explainer-card {
  position: relative;
  padding: 27px 30px;
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.focus-explainer-pain {
  border-color: var(--gray-200);
  background: linear-gradient(145deg, #f8fafc, #f3f4f6);
  box-shadow: none;
}

.focus-explainer-solution {
  border-color: #c4b5fd;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.2), transparent 40%),
    linear-gradient(135deg, #eef2ff, #f5f3ff 56%, #ede9fe);
  box-shadow: 0 18px 38px rgba(99, 102, 241, 0.14);
}

.focus-explainer-label {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 750;
}

.focus-explainer-pain .focus-explainer-label,
.focus-explainer-pain h3 {
  color: var(--gray-500);
}

.focus-explainer-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--gray-400);
  background: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 800;
}

.focus-explainer-solution .focus-explainer-symbol {
  color: var(--white);
  border-color: transparent;
  background: var(--brand-gradient);
  box-shadow: 0 7px 18px rgba(99, 102, 241, 0.25);
}

.focus-explainer-card h3 {
  margin: 0;
  font-size: 1.55rem;
}

.focus-explainer-card p {
  color: var(--gray-600);
  line-height: 1.65;
}

.focus-explainer-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.focus-explainer-bridge::before,
.focus-explainer-bridge::after {
  content: '';
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
}

.focus-explainer-bridge img {
  width: 34px;
  height: 34px;
}

.body-doubling-simple {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 48px auto 0;
  padding: 28px 30px 22px;
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.82);
}

.body-doubling-content {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
}

.body-doubling-mark {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
}

.body-doubling-content .section-badge {
  margin-bottom: 16px;
}

.body-doubling-content h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.body-doubling-content p {
  max-width: 790px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.78;
}

.body-doubling-content sup a {
  margin-left: 2px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}

.research-notes.body-doubling-sources {
  display: block;
  width: 100%;
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0;
  padding-top: 15px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.82rem;
  text-align: left;
}

.body-doubling-sources .research-notes-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  text-align: left;
}

.body-doubling-source-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.body-doubling-sources .research-source {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 0;
  line-height: 1.45;
  text-decoration-thickness: 1px;
}

.body-doubling-sources .research-source span {
  min-width: 13px;
  margin-right: 0;
}

[data-theme="dark"] .focus-explainer-card,
[data-theme="dark"] .body-doubling-simple {
  border-color: #293144;
  background: #121827;
}

[data-theme="dark"] .focus-explainer-pain {
  border-color: #293144;
  background: linear-gradient(145deg, #111722, #171d2b);
}

[data-theme="dark"] .focus-explainer-solution {
  border-color: rgba(139, 92, 246, 0.58);
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.22), transparent 42%),
    linear-gradient(145deg, #17172d, #211b3d);
}

.motivation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 18px;
}

.motivation-card {
  padding: 30px;
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.motivation-card-pain {
  background: linear-gradient(145deg, #fff, #fff7f7);
}

.motivation-card-relief {
  border-color: #ddd6fe;
  background: linear-gradient(145deg, #fff, #f3f1ff);
}

.motivation-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.motivation-card h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.motivation-card p,
.body-doubling-copy p {
  color: var(--gray-600);
  line-height: 1.65;
}

.scenario-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.scenario-strip > span {
  padding: 14px 16px;
  border: 1px solid rgba(99, 102, 241, 0.13);
  border-radius: 14px;
  color: var(--gray-600);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.45;
}

.scenario-strip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--primary);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.body-doubling-callout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  padding: 38px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(79, 70, 229, 0.1);
}

.body-doubling-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: start;
  min-height: 100%;
  padding: 24px 38px 24px 24px;
  border-right: 1px solid var(--gray-200);
  border-radius: 18px 0 0 18px;
  background:
    radial-gradient(circle at 12% 8%, rgba(99, 102, 241, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(247, 247, 255, 0.88), rgba(255, 255, 255, 0));
}

.body-doubling-callout h3 {
  margin-top: 18px;
  font-size: 1.8rem;
  line-height: 1.15;
}

.body-doubling-promise {
  max-width: 360px;
  margin-top: 22px;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.65;
}

.body-doubling-lead {
  font-size: 0.98rem;
}

.body-doubling-copy-title {
  margin: 0 0 14px;
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
}

.body-doubling-copy sup a {
  margin-left: 2px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}

.body-doubling-conclusion {
  margin-top: 16px;
  color: var(--gray-800) !important;
  font-weight: 600;
}

.body-doubling-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.body-doubling-principles span {
  padding: 13px 12px;
  border-radius: 13px;
  color: var(--gray-700);
  background: var(--gray-50);
  font-size: 0.875rem;
  line-height: 1.4;
}

.body-doubling-principles strong {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand-gradient);
  font-size: 0.875rem;
}

.research-footnote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.research-footnote-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-800);
  background: var(--gray-50);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.research-footnote-title::-webkit-details-marker {
  display: none;
}

.research-footnote-title::after {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.research-footnote-title:hover {
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.3);
  background: var(--primary-bg);
}

.research-footnote-title:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.22);
  outline-offset: 2px;
}

.research-footnote[open] .research-footnote-title::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.research-footnote[open] .research-footnote-title {
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.24);
  background: var(--primary-bg);
}

.research-footnote > p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.65;
}

.research-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  align-items: center;
  margin-top: 16px;
  font-size: 0.875rem;
}

.research-notes-label {
  color: var(--gray-400);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.research-source {
  color: var(--gray-600);
  text-decoration-color: rgba(99, 102, 241, 0.35);
  text-underline-offset: 3px;
}

.research-source span {
  margin-right: 3px;
  color: var(--primary);
  font-weight: 800;
}

.research-source:hover {
  color: var(--primary);
}

/* ============================================
   Section Layout
   ============================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--gray-900);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--gray-400);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

#how-it-works { padding-top: 92px; }
#dashboard-section { padding-bottom: 88px; }
#calendar-section { padding-top: 88px; padding-bottom: 78px; }
#faq { padding-top: 78px; padding-bottom: 82px; }
#pricing { padding-top: 88px; }

.section-badge {
  display: inline-block;
  padding: 7px 16px;
  background: linear-gradient(135deg, var(--primary-bg), #f5f3ff);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.badge-light {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(139,92,246,0.18));
  color: #c4b5fd;
}

.section-header h2 {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 18px;
  letter-spacing: -0.03em;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 68px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  transform: translateX(-50%);
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.14rem;
}

/* ============================================
   Steps / How It Works – Compact Row
   ============================================ */
.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.step-pill {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 28px;
  min-height: 218px;
  flex: 1;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.11), transparent 42%),
    linear-gradient(155deg, var(--white) 45%, #f3f4ff 100%);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.07);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  min-width: 0;
}

.step-pill:hover {
  border-color: var(--primary-light);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.11);
  transform: translateY(-3px);
}

.step-pill-num {
  min-width: 0;
  min-height: 40px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.22);
}

.step-pill:nth-child(1) .step-pill-num  { background: #7c3aed; }
.step-pill:nth-child(3) .step-pill-num  { background: #6366f1; }
.step-pill:nth-child(5) .step-pill-num  { background: #3b82f6; }
.step-pill:nth-child(7) .step-pill-num  { background: var(--primary); }
.step-pill:nth-child(9) .step-pill-num  { background: var(--secondary); }

.step-arrow:nth-child(2)  { color: #6d50f5; }
.step-arrow:nth-child(4)  { color: #4d74f3; }
.step-arrow:nth-child(6)  { color: var(--primary); }
.step-arrow:nth-child(8)  { color: var(--secondary); }

.step-pill-content {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  gap: 8px;
}

.step-pill-content strong {
  font-size: 1.22rem;
  color: var(--gray-900);
}

.step-pill-content span {
  min-height: 3em;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--gray-500);
}

.step-arrow {
  padding: 0 2px;
  color: var(--gray-300);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.step-arrow svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Features – Editorial dark section
   ============================================ */
.features-editorial {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(64px, 9vw, 140px);
  align-items: start;
}

.features-intro {
  position: sticky;
  top: 120px;
}

.features-intro h2 {
  margin: 24px 0 20px;
  font-size: clamp(2.4rem, 4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.features-intro h2 span {
  color: transparent;
  background: linear-gradient(100deg, #8b8cff, #b66cff);
  -webkit-background-clip: text;
  background-clip: text;
}

.features-intro > p {
  max-width: 460px;
  color: #a7afc0;
  font-size: 1rem;
  line-height: 1.75;
}

.features-signature {
  width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 112px);
  gap: 14px;
  margin-top: 44px;
}

.signature-ring {
  display: none;
}

.duration-option {
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(139, 140, 255, 0.42);
  border-radius: 50%;
  text-align: center;
}

.duration-option + .duration-option {
  border-color: rgba(182, 108, 255, 0.42);
}

.duration-option strong {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.06em;
}

.duration-option span {
  margin-top: 6px;
  color: #858da0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.features-signature small {
  grid-column: 1 / -1;
  max-width: 240px;
  margin-top: 2px;
  color: #858da0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.feature-lines {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.feature-line {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: padding-left var(--transition), border-color var(--transition);
}

.feature-line:hover {
  padding-left: 12px;
  border-bottom-color: rgba(139, 140, 255, 0.56);
}

.feature-word {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(139, 140, 255, 0.36);
  border-radius: 50%;
  color: #8b8cff;
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feature-line:nth-child(even) .feature-word {
  color: #ad7cff;
}

.feature-line h3 {
  margin: 0 0 7px;
  color: #f8fafc;
  font-size: 1.16rem;
  line-height: 1.3;
}

.feature-line p {
  max-width: 570px;
  color: #969fb2;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ============================================
   Calendar
   ============================================ */
.calendar-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.calendar-sidebar {
  background: var(--gray-50);
  padding: 28px;
  border-right: 1px solid var(--gray-100);
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--gray-700);
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.session-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.session-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.session-dot.booked { background: var(--primary); }
.session-dot.available { background: var(--success); }

.session-item-info {
  flex: 1;
}

.session-item-time {
  font-weight: 600;
  color: var(--gray-800);
}

.session-item-type {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Streak Display */
.streak-display {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary-bg), #ddd6fe);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}

.streak-count {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.streak-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 4px;
}

.streak-week {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.streak-day {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-500);
}

.streak-day.active {
  background: var(--primary);
  color: var(--white);
}

.streak-day.today {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: var(--white);
}

/* Session Types */
.session-types {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.session-type-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.875rem;
}

.session-type-option:hover {
  border-color: var(--primary-light);
}

.session-type-option.active {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.session-type-option input {
  display: none;
}

.type-icon {
  font-size: 1.2rem;
}

.type-label {
  font-weight: 500;
}

/* Calendar Main */
.calendar-main {
  padding: 28px;
}

.calendar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.calendar-header h3 {
  flex: 1;
  font-size: 1.1rem;
}

.cal-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--gray-600);
}

.cal-nav-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cal-nav-btn.cal-nav-static {
  cursor: default;
}

.cal-nav-btn.cal-nav-static:hover {
  background: var(--white);
  color: var(--gray-600);
  border-color: var(--gray-200);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 24px;
}

.cal-day-header {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  padding: 8px 0;
}

.cal-days-container {
  display: contents;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-700);
  position: relative;
}

.cal-day:hover:not(.empty):not(.past) {
  background: var(--primary-bg);
  color: var(--primary);
}

.cal-day.today {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

.cal-day.today:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.cal-day.selected {
  background: var(--primary-bg);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cal-day.today.selected {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary-dark);
}

.cal-day.past {
  color: var(--gray-300);
  cursor: default;
}

.cal-day.empty {
  cursor: default;
}

.cal-day.has-sessions::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

.cal-day.today.has-sessions::after {
  background: var(--white);
}

/* Time Slots */
.time-slots-panel {
  border-top: 1px solid var(--gray-100);
  padding-top: 24px;
}

.time-slots-panel h4 {
  margin-bottom: 16px;
  font-weight: 600;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}

.time-slot {
  padding: 10px 12px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
}

.time-slot:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary);
}

.time-slot.booked {
  background: var(--primary-bg);
  border-color: var(--primary-light);
  color: var(--primary);
}

.time-slot .slot-status {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-400);
  margin-top: 2px;
}

.time-slot.booked .slot-status {
  color: var(--primary-light);
}

/* ============================================
   Week Calendar Preview (Landing Page)
   ============================================ */
.week-preview {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.week-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 34px;
  border-bottom: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.week-preview-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.week-preview-nav h3 {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.week-preview-types {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wkp-type {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  cursor: default;
}

.wkp-type-active {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 600;
}

.week-preview-grid {
  display: grid;
  grid-template-columns: 64px repeat(7, 1fr);
  padding: 0 0 8px;
}

.wkp-corner {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.wkp-day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--gray-100);
  gap: 2px;
}

.wkp-day-name {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray-400);
}

.wkp-day-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-700);
}

.wkp-today .wkp-day-name {
  color: var(--primary);
}

.wkp-today-num {
  background: var(--primary);
  color: var(--white) !important;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.wkp-time {
  font-size: 0.875rem;
  color: var(--gray-400);
  font-weight: 500;
  padding: 2px 8px 0;
  background: var(--gray-50);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 36px;
  border-top: 1px solid transparent;
}

.wkp-time-full {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-100);
}

.wkp-slot {
  min-height: 36px;
  border-top: 1px solid var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.wkp-past {
  background: var(--gray-50);
}

.wkp-today-col {
  background: rgba(99, 102, 241, 0.03);
}

.wkp-available {
  cursor: pointer;
}

.wkp-available:hover {
  background: var(--primary-bg);
}

.wkp-avail-label {
  font-size: 0.875rem;
  color: var(--gray-400);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.15s;
}

.wkp-available:hover .wkp-avail-label {
  opacity: 1;
}

.wkp-booked-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 100%;
  padding: 4px 6px;
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
}

.wkp-booked-deep {
  background: linear-gradient(135deg, #f3e8ff, #ede9fe);
  border-left-color: #8b5cf6;
}

.wkp-booked-group {
  background: #dcfce7;
  border-left-color: #22c55e;
}

.wkp-booked-type {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.wkp-booked-deep .wkp-booked-type { color: #6d28d9; }
.wkp-booked-group .wkp-booked-type { color: #15803d; }

.wkp-booked-goal {
  font-size: 0.875rem;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 768px) {
  .week-preview-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .week-preview-grid {
    grid-template-columns: 48px repeat(7, 1fr);
    overflow-x: auto;
  }
  .wkp-time { font-size: 0.875rem; padding: 2px 4px 0; }
  .wkp-day-num { font-size: 0.9rem; }
  .wkp-booked-goal { display: none; }
}

/* ============================================
   Dashboard Preview (light section)
   ============================================ */
.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.dash-goals-wide {
  grid-column: 1 / -1;
}

.dash-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.dash-card h4 {
  margin-bottom: 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
}

.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dash-stat-item {
  text-align: center;
  padding: 22px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.dash-stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.dash-stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding-top: 10px;
}

.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 100%;
  max-width: 36px;
  border-radius: 6px 6px 0 0;
  transition: height 1s ease;
  position: relative;
}

.bar-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.bar-value {
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 600;
}

/* Goals */
.goals-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 4px 2px;
}

.goal-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition);
}

.goal-check.done {
  background: var(--primary);
  border-color: var(--primary);
}

.goal-check.done::after {
  content: '✓';
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
}

.goal-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
}

.goal-item.completed .goal-title {
  text-decoration: line-through;
  opacity: 0.5;
}

/* section-light */
.section-light {
  background: var(--gray-50);
}

/* ============================================
   Pricing
   ============================================ */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  cursor: pointer;
  transition: color var(--transition);
}

.toggle-label.active {
  color: var(--gray-900);
  font-weight: 600;
}

.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--gray-200);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}

.toggle-switch.yearly {
  background: var(--brand-gradient);
}

.toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.toggle-switch.yearly .toggle-dot {
  transform: translateX(22px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 940px;
  margin: 0 auto;
}

.price-card {
  padding: 44px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}

.price-card:hover {
  box-shadow: var(--shadow-lg);
}

.price-card-popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.price-card-popular:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--brand-gradient);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.price-header {
  margin-bottom: 20px;
}

.price-header h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.price-header p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.price-amount {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-billing-note {
  min-height: 20px;
  margin: -4px 0 20px;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.trial-disclosure {
  margin: 12px 4px 0;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

.pricing-legal-links {
  margin: 8px 4px 0;
  color: var(--gray-500);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.pricing-legal-links a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.billing-cancellation-link {
  align-self: center;
  color: var(--gray-500);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-tax-note {
  margin: 24px auto 0;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.price-period {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  font-size: 0.875rem;
  flex-shrink: 0;
}

.price-features li.included {
  color: var(--gray-700);
}

.price-features li.included::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

.price-features li.excluded {
  color: var(--gray-400);
}

.price-features li.excluded::before {
  content: '✗';
  color: var(--gray-300);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid-simple {
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand .brand-lockup {
  height: 1.5rem;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-size: 0.875rem;
}

.footer-settings-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  cursor: pointer;
}

.footer-settings-button:hover {
  color: var(--white);
}

.footer-bottom-legal {
  gap: 20px;
}

.footer-legal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-actions a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-actions a:hover {
  color: var(--white);
}

/* Contact */
.contact-page {
  min-height: calc(100vh - 240px);
  background:
    radial-gradient(circle at 15% 0%, rgba(99, 102, 241, 0.11), transparent 34%),
    var(--gray-50);
}

.contact-section {
  padding-top: 132px;
}

.contact-container {
  max-width: 760px;
}

.contact-header {
  margin-bottom: 32px;
  text-align: center;
}

.contact-eyebrow {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-header h1 {
  margin-bottom: 12px;
}

.contact-header > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: var(--gray-600);
}

.contact-header a,
.contact-privacy a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form {
  padding: 34px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  color: var(--gray-800);
  background: var(--white);
  font: inherit;
  font-weight: 400;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-field textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-privacy {
  margin: -2px 0 18px;
  color: var(--gray-500);
  font-size: 0.8rem;
}

.contact-status {
  min-height: 24px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-status.is-success { color: var(--success); }
.contact-status.is-error { color: var(--danger); }

.contact-form .btn {
  width: 100%;
}

.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.cancellation-result {
  padding: 34px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.cancellation-result h2 {
  margin-bottom: 12px;
}

.cancellation-result p {
  margin-bottom: 12px;
  color: var(--gray-600);
  line-height: 1.65;
}

.cancellation-alternative {
  margin: 24px auto 0;
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.65;
  text-align: center;
}

.cancellation-alternative a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-theme="dark"] .contact-page {
  background:
    radial-gradient(circle at 15% 0%, rgba(129, 140, 248, 0.12), transparent 34%),
    #0b0f18;
}

[data-theme="dark"] .contact-form {
  border-color: #293144;
  background: #121827;
}

[data-theme="dark"] .cancellation-result {
  border-color: #4c4f8f;
  background: #121827;
}

[data-theme="dark"] .contact-field input,
[data-theme="dark"] .contact-field select,
[data-theme="dark"] .contact-field textarea {
  border-color: #30394d;
  background: #0f1420;
}

@media (max-width: 640px) {
  .contact-section { padding-top: 108px; }
  .contact-form { padding: 24px 20px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 0; }
}

.analytics-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2200;
  width: 100%;
  padding: 14px 24px;
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -10px 32px rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.analytics-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.analytics-consent-copy {
  max-width: 820px;
}

.analytics-consent-copy p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.55;
}

.analytics-consent-copy a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.analytics-consent-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.analytics-consent-options {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-50);
}

.analytics-consent-options[hidden] {
  display: none;
}

.analytics-consent-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.analytics-consent-options input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.analytics-consent-options span,
.analytics-consent-options small {
  display: block;
}

.analytics-consent-options small {
  margin-top: 2px;
  color: var(--gray-500);
  line-height: 1.4;
}

.analytics-consent-options .btn {
  justify-self: start;
}

[data-theme="dark"] .analytics-consent {
  background: rgba(18, 24, 39, 0.97);
  border-top-color: #293144;
}

[data-theme="dark"] .analytics-consent-options {
  border-color: #30394d;
  background: #0f1420;
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  width: 100%;
  position: relative;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-700);
}

.modal-form h2 {
  margin-bottom: 6px;
}

.modal-form > p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.modal-divider {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.modal-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.modal-divider span {
  position: relative;
  background: var(--white);
  padding: 0 14px;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.referral-invite-notice {
  display: grid;
  gap: 3px;
  margin: 14px 0 18px;
  padding: 12px 14px;
  color: var(--gray-700);
  font-size: 0.84rem;
  line-height: 1.45;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: var(--radius-md);
  background: rgba(238, 242, 255, 0.72);
}

.referral-invite-notice[hidden] {
  display: none;
}

.referral-invite-notice strong {
  color: var(--primary-dark);
}

.modal-switch {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 20px;
}

.modal-switch a {
  color: var(--primary);
  font-weight: 600;
}

.modal-switch a:hover {
  text-decoration: underline;
}

/* Booking Modal */
.booking-modal {
  max-width: 500px;
}

.booking-modal h2 {
  margin-bottom: 20px;
}

#bookingDetails {
  padding: 16px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Form Checkbox */
.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--gray-600);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.form-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

/* ============================================
   Toast
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--primary); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .founder-week-announcement-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .founder-week-announcement-actions {
    justify-self: start;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .focus-explainer { grid-template-columns: 1fr; }
  .body-doubling-simple {
    padding: 24px;
  }
  .body-doubling-source-list { gap: 6px; }
  .body-doubling-sources .research-source { padding: 0; }
  .body-doubling-sources .research-source + .research-source {
    padding-top: 0;
    border-top: 0;
    border-left: 0;
  }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .steps-row { flex-wrap: wrap; gap: 8px; }
  .step-arrow { display: none; }
  .step-pill { flex: 1; min-width: 140px; }

  .features-editorial { grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); gap: 48px; }

  .calendar-wrapper { grid-template-columns: 1fr; }
  .calendar-sidebar { border-right: none; border-bottom: 1px solid var(--gray-100); }

  .dashboard-preview { grid-template-columns: 1fr; }
  .dash-goals-wide { grid-column: 1; }
  .footer-grid, .footer-grid-simple { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
    border-bottom: 1px solid var(--gray-100);
  }

  .founder-week-announcement { padding: 0 0 26px; }
  .founder-week-announcement-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }
  .founder-week-announcement-actions {
    grid-column: auto;
    flex-wrap: wrap;
  }

  .hero { padding: 92px 0 42px; }
  .hero-container { gap: 36px; }
  .hero-visual-real { width: 100%; }
  .session-real-frame-shell {
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(79, 70, 229, 0.15), var(--shadow-glow);
  }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 42px; }
  #how-it-works,
  #dashboard-section,
  #calendar-section,
  #faq,
  #pricing { padding-top: 68px; padding-bottom: 68px; }
  .session-goal { align-items: flex-start; flex-direction: column; gap: 2px; }
  .session-task-list { grid-template-columns: 1fr; }

  .steps-row { flex-direction: column; align-items: stretch; }
  .step-pill { min-width: 0; min-height: 0; padding: 24px; }

  .features-editorial { grid-template-columns: 1fr; gap: 46px; }
  .features-intro { position: static; }
  .features-signature { margin-top: 30px; }
  .feature-line { grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
  .scenario-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .motivation-grid,
  .body-doubling-callout { grid-template-columns: 1fr; }
  .motivation-card,
  .body-doubling-callout { padding: 28px; }
  .body-doubling-callout { gap: 24px; }
  .body-doubling-intro {
    min-height: 0;
    padding: 22px 22px 26px;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 16px 16px 0 0;
  }
  .body-doubling-promise { max-width: none; }
  .body-doubling-principles { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid-2 { grid-template-columns: 1fr; max-width: 100%; }
  .price-card-popular,
  .price-card-popular:hover { transform: none; }

  .footer-grid, .footer-grid-simple { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom,
  .analytics-consent-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .analytics-consent {
    padding: 14px 16px;
  }
  .analytics-consent-inner { gap: 12px; }
  .analytics-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .analytics-consent-actions .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
  .analytics-consent-actions [data-consent="necessary"] {
    grid-column: 1 / -1;
  }
  .footer-legal-actions {
    justify-content: flex-start;
  }
  .form-row { grid-template-columns: 1fr; }
}

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

  .analytics-consent-actions [data-consent="necessary"] {
    grid-column: auto;
  }

  .navbar .logo {
    flex-shrink: 0;
    font-size: 1.55rem;
  }

  .navbar .theme-toggle-nav {
    min-height: 38px;
    padding: 6px;
    gap: 0;
  }

  .navbar .theme-toggle-nav .theme-toggle-label {
    display: none;
  }

  .hero { padding-bottom: 48px; }
  .hero-container { gap: 30px; }
  .session-real-frame-shell { border-radius: 16px; }
  .scenario-strip { grid-template-columns: 1fr; }
  .session-workspace { grid-template-columns: 1fr; }
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-section h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.legal-section p,
.legal-section li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.legal-section ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.legal-section li {
  margin-bottom: 4px;
}

.legal-section a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-template {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-50);
}

[data-theme="dark"] .legal-template {
  border-color: #30394d;
  background: #0f1420;
}

/* ============================================
   FAQ
   ============================================ */
.faq-container {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--gray-900);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 24px 22px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item a {
  color: var(--primary);
  font-weight: 600;
}

[data-theme="dark"] .faq-item {
  background: #121827;
  border-color: #283145;
}

/* Final dark-mode surface overrides */
[data-theme="dark"] .step-pill,
[data-theme="dark"] .calendar-wrapper,
[data-theme="dark"] .dashboard-preview,
[data-theme="dark"] .week-preview,
[data-theme="dark"] .modal,
[data-theme="dark"] .social-proof-card {
  background-color: #121827;
  border-color: #283145;
}

[data-theme="dark"] .step-pill {
  background: linear-gradient(155deg, #151b2b 55%, #191936 100%);
}

[data-theme="dark"] .price-card,
[data-theme="dark"] .session-item,
[data-theme="dark"] .dashboard-card,
[data-theme="dark"] .dash-card {
  background: #121827;
  border-color: #283145;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  color: var(--gray-800);
  background: #0f1420;
  border-color: #30394d;
}

[data-theme="dark"] .footer {
  color: var(--gray-400);
  background: #0b0f18;
  border-top: 1px solid rgba(255,255,255,0.08);
}
/* --- Versioned legal acknowledgement after authentication --- */
.legal-gate-active {
  overflow: hidden;
}

.legal-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(8px);
}

.legal-gate-card {
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 36px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
}

.legal-gate-logo {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}

.legal-gate-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.legal-gate-eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-gate-card h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.25;
}

.legal-gate-intro {
  margin: 14px 0 24px;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal-gate-options {
  display: grid;
  gap: 12px;
}

.legal-gate-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.55;
  cursor: pointer;
}

.legal-gate-option:has(input:checked) {
  border-color: rgba(99, 102, 241, 0.45);
  background: var(--primary-bg);
}

.legal-gate-option-optional {
  background: var(--gray-50);
}

.legal-gate-option-optional strong {
  color: var(--gray-900);
}

.legal-gate-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.legal-gate-option a,
.registration-legal-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-gate-error {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--danger);
  font-size: 0.875rem;
}

.legal-gate-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.registration-legal-note {
  margin: 0 0 18px;
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .legal-gate {
    padding: 12px;
  }

  .legal-gate-card {
    max-height: calc(100vh - 24px);
    padding: 26px 20px;
    border-radius: 18px;
  }

  .legal-gate-actions {
    flex-direction: column-reverse;
  }

  .legal-gate-actions .btn {
    width: 100%;
  }
}

/* --- Branded confirmations and warnings --- */
body.brand-dialog-open {
  overflow: hidden;
}

.brand-dialog {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.brand-dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(15, 23, 42, 0.72);
  cursor: default;
  backdrop-filter: blur(7px);
}

.brand-dialog-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 32px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.12), transparent 38%),
    var(--white);
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.34);
}

.brand-dialog-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--primary-bg);
}

.brand-dialog-mark img {
  width: 30px;
  height: 30px;
}

.brand-dialog-danger .brand-dialog-mark {
  background: #fef2f2;
}

.brand-dialog-eyebrow {
  margin: 0 0 7px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-dialog-danger .brand-dialog-eyebrow {
  color: var(--danger);
}

.brand-dialog-card h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  line-height: 1.25;
}

.brand-dialog-message {
  margin: 13px 0 20px;
  color: var(--gray-600);
  font-size: 0.94rem;
  line-height: 1.65;
}

.brand-dialog-fields {
  display: grid;
  gap: 14px;
}

.brand-dialog-field {
  display: grid;
  gap: 7px;
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 700;
}

.brand-dialog-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 11px;
  color: var(--gray-900);
  background: var(--white);
  font: inherit;
  font-weight: 500;
}

.brand-dialog-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.13);
}

.brand-dialog-danger .brand-dialog-field input:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.brand-dialog-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 0.875rem;
}

.brand-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.brand-dialog-confirm.btn-danger {
  border-color: var(--danger);
  color: var(--white);
  background: var(--danger);
}

.brand-dialog-confirm.btn-danger:hover {
  border-color: #dc2626;
  background: #dc2626;
  transform: translateY(-1px);
}

[data-theme="dark"] .brand-dialog-card {
  border-color: #30394d;
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.16), transparent 38%),
    #121827;
}

[data-theme="dark"] .brand-dialog-field input {
  color: #f8fafc;
  border-color: #3c465c;
  background: #0f1420;
}

[data-theme="dark"] .brand-dialog-danger .brand-dialog-mark {
  background: rgba(239, 68, 68, 0.13);
}

@media (max-width: 560px) {
  .brand-dialog {
    padding: 14px;
  }

  .brand-dialog-card {
    padding: 25px 20px;
    border-radius: 19px;
  }

  .brand-dialog-actions {
    flex-direction: column-reverse;
  }

  .brand-dialog-actions .btn {
    width: 100%;
  }
}
