/*
 * marketing — the signed-out root's own look (src/views/marketing/, ch. 16
 * E-NEW-marketing-site-1). Every rule is scoped under `.mk` (the body's
 * class) so nothing here can reach a page that does not wear it. The header
 * is the shared shell's (shell.css, linked first); colours are the Final
 * Drive board's (src/views/final-drive/styles.css). Dark only, like the app.
 */
:root {
  --mk-bg: #0f0f0f;
}
.mk {
  --bg: #0f0f0f;
  --card: #1a1a1a;
  --sunk: #141414;
  --line: #2a2a2a;
  --line-soft: #232323;
  --muted: #666;
  --sub: #999;
  --text: #fff;
  --green: #00a86b;
  --green-dim: rgba(0, 168, 107, 0.14);
  --red: #e74c3c;
  --red-dim: rgba(231, 76, 60, 0.14);
  --amber: #f39c12;
  --amber-dim: rgba(243, 156, 18, 0.14);
  --accent: #6366f1;
  --accent-hi: #818cf8;
  --accent-soft: rgba(99, 102, 241, 0.16);
  --radius: 14px;
  --radius-sm: 9px;
  --gutter: 16px;
  --max: 1120px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html {
  scroll-behavior: smooth;
}
.mk *,
.mk *::before,
.mk *::after {
  box-sizing: border-box;
}
.mk a {
  color: inherit;
}
.mk .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.mk .mm-shell-in {
  max-width: var(--max);
}
.mk .nav-links {
  display: none;
}
@media (min-width: 760px) {
  .mk .nav-links {
    display: flex;
    gap: 18px;
  }
}
.mk .nav-links a {
  color: #999;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}
.mk .nav-links a:hover {
  color: #fff;
}
/* The rotating product object: five cards in one grid cell, so the stage is
   as tall as the tallest and every card is the same size. Without the script
   only the first (.is-current in the markup) shows. */
.mk .stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.mk .stage > .object {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0s linear 0.6s;
}
.mk .stage > .object.is-current {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.6s ease,
    visibility 0s;
}
.mk .dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
}
.mk .dots[hidden] {
  display: none;
}
.mk .dots button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mk .dots button::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  transition:
    background 0.3s,
    transform 0.3s;
}
.mk .dots button[aria-current='true']::before {
  background: var(--amber);
  transform: scale(1.25);
}
.mk .dots button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -4px;
  border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .mk .stage > .object {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
.mk .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.mk .btn-primary {
  background: var(--accent);
  color: #fff;
}
.mk .btn-primary:hover {
  background: var(--accent-hi);
}
.mk .btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.mk .btn-wide {
  width: 100%;
}
@media (min-width: 560px) {
  .mk .btn-wide {
    width: auto;
  }
}
.mk .hero {
  padding: 40px 0 28px;
}
.mk .eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sub);
  font-weight: 700;
  margin: 0 0 14px;
}
.mk h1 {
  font-size: clamp(34px, 7.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-weight: 800;
}
.mk h1 .line {
  display: block;
}
.mk h1 .hi {
  color: var(--amber);
  text-wrap: balance;
}
.mk .lede {
  font-size: 18px;
  color: #c9c9c9;
  max-width: 34ch;
  margin: 0 0 22px;
}
.mk .cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 560px) {
  .mk .cta-row {
    flex-direction: row;
    align-items: center;
  }
}
.mk .platforms {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--sub);
  font-size: 13px;
  flex-wrap: wrap;
}
.mk .plat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ccc;
  font-weight: 600;
}
.mk .plat i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.mk .hero-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .mk .hero {
    padding: 64px 0 40px;
  }
  .mk .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
  }
  .mk .lede {
    font-size: 20px;
  }
}
.mk .alive {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sunk);
  color: var(--sub);
  font-size: 14px;
  margin-top: 28px;
}
.mk .alive b {
  color: var(--text);
}
.mk .alive .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.mk .alive .sep {
  color: var(--muted);
}

.mk .hero-grid > * {
  min-width: 0;
}
.mk .object-col {
  min-width: 0;
}
