/* Mars website. White, black, one dark gray. Outfit, light weights. */
:root {
  --bg: #fff;
  --fg: #000;
  --mute: #4a4a4a;
  --line: #000;
  --font: 'Outfit', system-ui, sans-serif;
}
[data-theme="dark"] { --bg: #000; --fg: #fff; --mute: #c4c4c4; --line: #fff; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--fg); font: 300 18px/1.65 var(--font); }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 720px; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; font-size: 17px; }
.nav .brand { font-weight: 400; font-size: 20px; letter-spacing: 1px; text-decoration: none; }
.nav .links { display: flex; gap: 32px; }
.nav .links a { text-decoration: none; }
.nav .links a:hover, .nav .links a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }

.nav .toggle { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.nav .toggle:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Type */
h1 { font-weight: 300; font-size: clamp(56px, 10vw, 128px); line-height: 1; letter-spacing: -2px; }
h2.label { font-weight: 400; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; border-top: 2px solid var(--line); padding-top: 16px; margin-bottom: 8px; }
.sub { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--mute); margin: 20px 0 32px; }
.lead { font-size: 26px; line-height: 1.45; max-width: 520px; }
.mute { color: var(--mute); }

/* Buttons */
.btn { display: inline-block; font-weight: 400; font-size: 16px; text-decoration: none; border: 1.5px solid var(--line); border-radius: 99px; padding: 10px 24px; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.solid { background: var(--fg); color: var(--bg); }
.btn.solid:hover { background: var(--bg); color: var(--fg); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; padding: 70px 0 110px; }
.hero .shot { justify-self: center; width: 100%; max-width: 280px; }
.shot img { width: 100%; height: auto; border: 2px solid var(--line); border-radius: 32px; }

/* Statement */
.statement { padding: 90px 0; border-top: 2px solid var(--line); }
.statement p { font-weight: 300; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.18; letter-spacing: -0.5px; max-width: 880px; }
.statement p span { color: var(--mute); }

/* Apps */
section { padding: 0 0 90px; }
.app { display: grid; grid-template-columns: 72px 1fr 24px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.app:first-of-type { border-top: 1px solid var(--line); }
.app img.icon { width: 64px; height: 64px; border-radius: 15px; }
.app h3 { font-weight: 400; font-size: 26px; line-height: 1.2; }
.app p { color: var(--mute); margin-top: 4px; max-width: 560px; }
.app .go { font-size: 22px; transition: transform .2s; }
.app:hover .go { transform: translateX(6px); }
.app:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.app.lead-app { padding: 44px 0; grid-template-columns: 112px 1fr 24px; }
.app.lead-app img.icon { width: 104px; height: 104px; border-radius: 24px; }
.app.lead-app h3 { font-size: 40px; }
.app.lead-app p { font-size: 20px; }

.maybe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.maybe b { font-weight: 400; display: block; }
.maybe span { color: var(--mute); font-size: 16px; }

/* Who */
.who p.big { font-size: 24px; line-height: 1.5; margin-top: 24px; }
.who p.mute { margin-top: 20px; }
.who .actions { margin-top: 28px; }

/* Footer */
footer { border-top: 2px solid var(--line); padding: 36px 0 60px; font-size: 15px; color: var(--mute); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--fg); }

/* App subpage */
.app-head { display: flex; gap: 28px; align-items: center; padding: 50px 0 36px; }
.app-head img { width: 112px; height: 112px; border-radius: 26px; }
.app-head h1 { font-size: clamp(40px, 7vw, 76px); letter-spacing: -1px; }
.app-head .tag { color: var(--mute); font-size: 20px; margin-top: 6px; }
.strip { display: flex; gap: 20px; overflow-x: auto; padding: 40px 0 50px; scroll-snap-type: x proximity; }
.strip img:first-child { margin-left: auto; }
.strip img:last-child { margin-right: auto; }
.strip img { height: 520px; width: auto; flex: none; border: 2px solid var(--line); border-radius: 28px; scroll-snap-align: start; }
.facts { padding: 8px 0 40px; }
.facts h2.label { margin-top: 40px; }
.facts p { margin-top: 14px; font-size: 20px; line-height: 1.55; }
.facts p.mute { font-size: 18px; }
.back { display: inline-block; margin-bottom: 4px; font-size: 15px; letter-spacing: 1px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 70px; }
  .lead { font-size: 22px; }
  .maybe { grid-template-columns: 1fr; }
  .app, .app.lead-app { grid-template-columns: 56px 1fr 20px; gap: 16px; }
  .app img.icon, .app.lead-app img.icon { width: 56px; height: 56px; border-radius: 13px; }
  .app.lead-app h3 { font-size: 30px; }
  .app.lead-app p { font-size: 17px; }
  .app-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .strip img { height: 400px; }
  .nav .links { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
