/* CrewBot application tokens: the landing follows the app's light/dark shell. */
:root {
  color-scheme: light;
  --background: #FFF8F0;
  --foreground: #1C1E21;
  --card: #FFFFFF;
  --card-foreground: #1C1E21;
  --popover: #FFFFFF;
  --primary: #2564BC;
  --primary-foreground: #FFFFFF;
  --primary-bright: #4C8DFF;
  --secondary: #FBEBD9;
  --muted: #FBEBD9;
  --muted-foreground: #68645F;
  --border: #E7DFD6;
  --input: #E7DFD6;
  --ring: #2564BC;
  --radius: .75rem;
  --radius-card: 1.625rem;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Grandstander", "DM Sans", system-ui, sans-serif;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
  --type-h1: 40px;
  --type-h2: 28px;
  --type-body: 16px;
  --type-helper: 14px;
  --type-caption: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-24: 96px;
  --cream: var(--background);
  --ink: var(--foreground);
  --blue: var(--primary-bright);
  --ui-accent: var(--primary);
  --muted: var(--muted-foreground);
  --line: var(--border);
  --surface: var(--card);
  --white: var(--card);
  --card-ink: var(--foreground);
  --control: var(--foreground);
  --control-copy: #FFF8F0;
  --heading-accent: var(--primary);
  --focus: var(--ring);
  --art-paper: #FBEBD9;
  --art-ink: #1C1E21;
  --art-muted: #61564E;
  --radius-30: 1.625rem;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --background: #14181F;
  --foreground: #FFF8F0;
  --card: #1C222C;
  --card-foreground: #FFF8F0;
  --popover: #1C222C;
  --primary: #4C8DFF;
  --primary-foreground: #101722;
  --primary-button: #2564BC;
  --secondary: #252E3B;
  --muted: #252E3B;
  --muted-foreground: #B7B4AE;
  --border: #414C5E;
  --input: #414C5E;
  --ring: #4C8DFF;
  --cream: var(--background);
  --ink: var(--foreground);
  --blue: #4C8DFF;
  --ui-accent: var(--primary);
  --muted: var(--muted-foreground);
  --line: var(--border);
  --surface: var(--card);
  --white: var(--card);
  --card-ink: var(--foreground);
  --control: #1C222C;
  --control-copy: #FFF8F0;
  --heading-accent: var(--primary);
  --focus: var(--ring);
}




@font-face { font-family: "Grandstander"; src: url("../fonts/Grandstander-Variable.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { font-family: var(--font-body); color: var(--foreground); background: var(--background); font-synthesis: none; }
body { background: var(--background); color: var(--foreground); font-size: var(--type-body); line-height: 1.5; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; }
h1 { font-size: var(--type-h1); line-height: 1.1; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(32px, 3.333vw, var(--type-h1)); line-height: 1.1; letter-spacing: -.035em; }
h2 { font-size: var(--type-h2); line-height: 1.2; letter-spacing: -.025em; }
.site-header { min-height: 88px; }
.brand { gap: 0; }
.brand img.brand-wordmark { display: block; width: 148px; height: auto; }
html[data-theme="dark"] .wordmark-light, html:not([data-theme="dark"]) .wordmark-dark { display: none; }
.nav-cta, .button { min-height: 44px; border-radius: var(--radius); font: 550 14px/1.4 var(--font-ui); }
.nav-cta { display: inline-flex; align-items: center; padding: 0 16px; color: var(--primary-foreground); background: var(--primary); }
.button-dark { background: var(--primary-button, var(--primary)); color: var(--primary-foreground); }
.button-dark:hover { background: var(--ui-accent); }
.nav-cta:hover, .button:hover { filter: brightness(.97); }
.feature-card { background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: 0 .5rem 1.5rem color-mix(in srgb, var(--foreground) 10%, transparent); }
.feature-card:nth-child(2), .feature-card:nth-child(3) { background: var(--card); }
.feature-card p, .crew-personalities p, .section-heading > p, .hero-description, .details p { color: var(--muted-foreground); }
.card-category, .eyebrow { font: 600 var(--type-caption)/1.5 var(--font-ui); letter-spacing: .08em; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border-radius: 999rem; background: var(--secondary); color: var(--foreground); font-size: var(--type-caption); }
.control-section { background: var(--foreground); color: var(--background); border-radius: var(--radius-card); }
html[data-theme="dark"] .control-section { background: var(--card); color: var(--foreground); border: 1px solid var(--border); }
.control-layout h2, .control-layout h3 { color: inherit; }
.control-layout .display-accent { color: var(--primary-bright); }
.closing { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: 0 .5rem 1.5rem color-mix(in srgb, var(--foreground) 8%, transparent); }
.theme-picker { right: 24px; bottom: 24px; }
.theme-toggle { min-height: 44px; border-radius: var(--radius); background: var(--card); color: var(--foreground); border: 1px solid var(--border); box-shadow: 0 .25rem 1rem color-mix(in srgb, var(--foreground) 12%, transparent); }
.skip-link { --focus-ring: var(--skip-foreground); outline-offset: -4px; }
.theme-toggle { --focus-ring: var(--foreground); }
.theme-indicator { width: 16px; height: 16px; background: var(--primary-bright); }
.site-footer { min-height: 112px; }
.site-footer nav { font-size: var(--type-helper); }
.display-accent { font-family: var(--font-display); font-weight: 900; }
.coming-soon-status, .coming-soon-copy { display: none; }
.coming-soon-status { margin: 0 0 var(--space-3); background: var(--secondary); color: var(--foreground); }
html[data-coming-soon="true"] .coming-soon-status { display: inline-flex; }
html[data-coming-soon="true"] .coming-soon-copy { display: inline; }
@media (max-width: 1050px) { .hero h1 { font-size: var(--type-h1); } }
@media (max-width: 700px) {
  .brand img.brand-wordmark { width: 132px; }
  h1, .hero h1 { font-size: 32px; line-height: 1.1; }
  h2 { font-size: 28px; }
  .nav-cta { min-height: 40px; padding-inline: 12px; font-size: 12px; }
  .feature-card { border-radius: var(--radius-card); padding: 24px; }
  .theme-picker { right: 16px; bottom: 16px; }
}
.button-dark { color: #FFFFFF; }
.nav-cta { background: #2564BC; color: #FFFFFF; }
.hero-description { color: var(--foreground); }
.control-section .light-eyebrow { color: #FFF8F0; }
.hero-copy { padding: 24px; background: var(--background); border: 1px solid var(--border); border-radius: 1.25rem; color: var(--foreground); }
.hero .eyebrow { color: var(--muted-foreground); }
.hero-description { color: var(--foreground); font-size: 16px; line-height: 1.5; }
.hero-note { color: var(--muted-foreground); font-size: 14px; }
.connections > p, .section-heading > p, .crew-personalities p, .feature-card p, .control-intro, .steps p, .details p { font-size: 14px; line-height: 1.5; }
.card-foot, .control-bottom p, .control-bottom > span, .site-footer > p { font-size: 12px; line-height: 1.5; }
summary, .app-connection { font-size: 16px; }
.card-category { font-size: 12px; }
.site-header nav, .site-footer nav { font-size: 14px; }
.closing .waitlist-label, .waitlist-privacy { font-size: 14px; }
.button-dark:hover, .nav-cta:hover { background: #1C4A90; filter: none; }
@media (max-width: 1050px) {
  .hero-copy { background: var(--background); border: 0; border-radius: 0; }
}
.hero { --focus-ring: #1C4A90; }
.hero h1 .display-accent { color: #2564BC; }
html[data-theme="dark"] .hero h1 .display-accent { color: #4C8DFF; }
.hero { --focus-ring: #1C1E21; }
html[data-theme="dark"] .hero { --focus-ring: #FFF8F0; }

/* App display scale wins over the landing's legacy heading selectors. */
.hero h1 { font-family: var(--font-display); font-size: var(--type-h1); font-weight: 900; line-height: 1.1; letter-spacing: -.035em; }
.features .section-heading h2 { font-family: var(--font-display); font-size: var(--type-h2); font-weight: 900; line-height: 1.2; letter-spacing: -.025em; }
h3 { font-family: var(--font-display); font-size: 20px; font-weight: 900; line-height: 1.2; letter-spacing: -.025em; }
@media (max-width: 1050px) { .hero h1 { font-size: var(--type-h1); } }
@media (max-width: 700px) {
  .hero h1 { font-size: 32px; }
  .features .section-heading h2 { font-size: var(--type-h2); }
}
