/* Markise website: plain CSS, system fonts, no external requests. Dark by default (brand
   navy), light via prefers-color-scheme. The hero stays dark in both (its illustration is a
   night scene). */
:root {
  --navy: #1a1b26;
  --navy-2: #222436;
  --navy-3: #2a2c42;
  --lav: #c0caf5;
  --lav-dim: #a9b1d6;
  --gold: #e0af68;
  --gold-deep: #9a6a1c;

  --bg: var(--navy);
  --bg-alt: #1e2030;
  --card: var(--navy-2);
  --border: #343750;
  --text: #dfe3f7;
  --muted: #a9b1d6;
  --heading: #eef0fb;
  --accent: var(--gold);
  --link: #9ab4ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);

  --radius: 14px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf6ee;
    --bg-alt: #f2ecdf;
    --card: #ffffff;
    --border: #e4dccb;
    --text: #2a2b3a;
    --muted: #55576c;
    --heading: #1a1b26;
    --accent: var(--gold-deep);
    --link: #2f4fb5;
    --shadow: 0 18px 50px rgba(40, 30, 10, 0.16);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--heading); line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: 0.9em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 10; font-weight: 600; }
.skip:focus { top: 12px; }

/* Hero (always dark) */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: #dfe3f7;
  min-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after {
  /* keeps the headline legible where the illustration starts */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 21, 34, 0.92) 0%, rgba(20, 21, 34, 0.7) 38%, rgba(20, 21, 34, 0) 62%);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 8px 18px; border-radius: 999px; background: rgba(20, 21, 34, 0.62); backdrop-filter: blur(6px); }
.nav a { color: #dfe3f7; text-decoration: none; font-weight: 500; text-shadow: 0 1px 8px rgba(10, 10, 20, 0.9); }
.nav a:hover { color: var(--gold); }
.brand img { height: 44px; width: auto; }
.hero-copy { margin-block: auto; padding: 32px 0 72px; max-width: 1120px; }
.hero-copy > * { max-width: 560px; }
.eyebrow { display: inline-block; color: var(--gold); border: 1px solid rgba(224, 175, 104, 0.5); border-radius: 999px; padding: 2px 12px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.015em; color: #eef0fb; margin-top: 0.3em; }
.say { color: var(--lav); font-size: 1.05rem; }
.ipa { font-family: var(--mono); font-size: 0.92em; color: var(--gold); }
.lede { font-size: 1.15rem; color: #c8cde8; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.button { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.button.primary { background: var(--gold); color: #1a1b26; }
.button.primary:hover { background: #ebc283; }
.button.ghost { color: #eef0fb; border: 1px solid rgba(192, 202, 245, 0.45); }
.button.ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Pitch cards */
.pitch { padding: 72px 0 24px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.cards li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.cards h3 { color: var(--accent); }
.cards p { margin: 0; color: var(--muted); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 56px 0; }
@media (min-width: 960px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 56px; }
  .feature.reverse .feature-text { order: 2; }
}
.feature-text p { color: var(--muted); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 1.6em; position: relative; margin: 0.4em 0; }
.ticks li::before { content: ""; position: absolute; left: 0.2em; top: 0.55em; width: 0.7em; height: 0.4em; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.shot { margin: 0; }
.shot img, .gallery img { border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Themes */
.themes { background: var(--bg-alt); padding: 72px 0; margin-top: 32px; }
.section-lede { color: var(--muted); max-width: 760px; font-size: 1.05rem; }
.gallery { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; }
.gallery img { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.gallery figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 8px; }
.fineprint { font-size: 0.82rem; color: var(--muted); margin-top: 28px; }

/* Download */
.download { padding: 72px 0 40px; }
.notice { background: color-mix(in srgb, var(--accent) 12%, var(--card)); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border)); border-radius: var(--radius); padding: 14px 18px; max-width: 760px; }
.dl { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.dl-card { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; transition: border-color 0.15s, transform 0.15s; }
.dl-card:hover { border-color: var(--accent); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .dl-card { transition: none; } .dl-card:hover { transform: none; } }
.dl-card .os { display: block; color: var(--heading); font-size: 1.3rem; font-weight: 700; }
.dl-card .meta { display: block; color: var(--muted); font-size: 0.92rem; }
.small { font-size: 0.92rem; color: var(--muted); max-width: 820px; }

/* Roadmap */
.roadmap { padding: 40px 0 80px; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { border-top: 3px solid var(--border); padding-top: 14px; }
.steps li.done { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.steps li.now { border-color: var(--accent); }
.steps p { color: var(--muted); margin: 0; }
.when { display: inline-block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 4px; }

/* Footer (always dark, like the hero) */
.footer { background: var(--navy); color: #a9b1d6; padding: 36px 0; }
.footer .wrap { display: flex; gap: 18px; align-items: center; }
.footer p { margin: 0; font-size: 0.92rem; }
.footer a { color: #c0caf5; }
.foot-mark { flex: none; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav ul { display: none; }
  .hero { min-height: auto; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 21, 34, 0.55) 0%, rgba(20, 21, 34, 0.92) 55%); }
  .hero-art img { object-position: 78% 50%; }
  .hero-copy { padding: 140px 0 48px; }
  .footer .wrap { align-items: flex-start; }
}
