/* The Native MP website while in development (Claude Design canvas "Native MP Launcher", page 2, "Website · while in
   development"). The launcher's look and local fonts (launcher/ui/style.css): plum-black over the sunset skyline, one
   warm accent. Fonts are Google Fonts' variable latin and latin-ext subsets (SIL OFL 1.1, the licences in fonts/),
   served from here so a visit makes no third-party request. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap; src: url("fonts/BricolageGrotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap; src: url("fonts/BricolageGrotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("fonts/Figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("fonts/Figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("fonts/JetBrainsMono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("fonts/JetBrainsMono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #15121c;
  --surface: #221c2c;   /* cards that float: preview, notify band, main download card */
  --card: #1d1826;      /* cards in the page flow */
  --raised: #2a2236;    /* active nav, chips, disabled button */
  --field: #3f3550;
  --border: #3a3048;
  --line: #2b2437;
  --text: #f3ece4;
  --lede: #ede4ee;
  --nav: #e6ddea;
  --soft: #d9cfe0;
  --muted: #cfc5d6;
  --dim: #b5abbd;
  --accent: #f2a65a;
  --accent-hover: #ffc98a;
  --on-accent: #1b130a;
  --yellow: #e8cf6a;
  --green: #7ed492;
  --blue: #8fb0f5;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --gutter: 24px;
}

body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--body); }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, p, ol, ul { margin: 0; }
img { display: block; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { max-width: 1160px; margin: 0 auto; box-sizing: border-box; padding-left: var(--gutter); padding-right: var(--gutter); }

/* --- Hero: the skyline under a plum fade, with the header on top --- */
.hero { position: relative; background: var(--bg) url("img/background.jpg") 50% 35% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21, 18, 28, .72) 0%, rgba(21, 18, 28, .5) 40%, rgba(21, 18, 28, .88) 82%, var(--bg) 100%); }
.hero.page { background-position: 50% 30%; }
.hero.page::before { background: linear-gradient(180deg, rgba(21, 18, 28, .78) 0%, rgba(21, 18, 28, .7) 45%, var(--bg) 100%); }
.hero > * { position: relative; }

.site-header { position: relative; z-index: 20; display: flex; align-items: center; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { flex: none; display: flex; line-height: 0; }
.logo img { width: 76px; height: 56px; object-fit: contain; }
.menu { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.menu > .btn { margin-left: auto; }
.menu-toggle { display: none; }
.menu-toggle[aria-expanded="true"] .i-open, .menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 22px; color: var(--nav);
  text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--text); background: rgba(42, 34, 54, .6); }
.site-nav a[aria-current="page"] { background: rgba(42, 34, 54, .9); color: var(--text); font-weight: 600; }
.soon { padding: 2px 8px; border-radius: 10px; background: rgba(21, 18, 28, .8); font-size: 12px; font-weight: 600; color: var(--nav); }

/* --- Buttons --- */
.btn { height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px;
  border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: 600 16px var(--body);
  text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn.big { height: 52px; padding: 0 26px; border-radius: 12px; font-size: 17px; }
.btn.ghost { padding: 0 24px; border: 1px solid rgba(243, 236, 228, .3); background: rgba(34, 28, 44, .8); color: var(--text); }
.btn.ghost:hover { border-color: rgba(243, 236, 228, .55); }
.btn.outline { padding: 0 18px; border: 1px solid var(--accent); background: transparent; color: var(--accent); }
.btn.outline:hover { background: rgba(242, 166, 90, .1); color: var(--accent-hover); }
.btn:disabled { border: 1px dashed #5a4f6a; background: var(--raised); color: var(--muted); cursor: not-allowed; }

/* --- Chips --- */
.chip { align-self: flex-start; padding: 3px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.chip.now { background: rgba(242, 166, 90, .16); color: var(--accent-hover); }
.chip.next { background: var(--raised); color: var(--muted); }
.chip.dev { padding: 4px 10px; border-radius: 12px; background: rgba(232, 207, 106, .16); color: #f0dd8e; font-size: 13px; }

/* --- Home hero --- */
.hero-body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 72px; padding-bottom: 96px; }
.status { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 20px;
  background: rgba(21, 18, 28, .72); font-size: 13px; font-weight: 600; }
.status b { padding: 4px 10px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.hero-title { max-width: 760px; font: 700 clamp(40px, 6.4vw, 76px)/1.02 var(--display); letter-spacing: -.015em;
  text-shadow: 0 2px 24px rgba(12, 9, 16, .6); }
.lede { max-width: 600px; font-size: 19px; line-height: 1.5; color: var(--lede); text-shadow: 0 1px 12px rgba(12, 9, 16, .7); }
.actions { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--nav); list-style: none; padding: 0; }
.facts li:first-child { display: flex; align-items: center; gap: 8px; }
.facts li:first-child::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* --- Launcher preview, overlapping the hero --- */
.preview { position: relative; margin: -48px 0 0; overflow: hidden; aspect-ratio: 16 / 9; max-height: 620px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(8, 6, 12, .6); }
.preview img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.preview .chip { position: absolute; right: 16px; bottom: 16px; padding: 4px 12px; border-radius: 12px; font-size: 13px;
  background: rgba(21, 18, 28, .85); color: #f0dd8e; box-shadow: 0 0 0 1px rgba(232, 207, 106, .35); }

/* --- Sections --- */
.block { display: flex; flex-direction: column; gap: 28px; padding-top: 88px; }
.block.tight { gap: 20px; padding-top: 72px; }
.h2 { font: 700 clamp(28px, 3.6vw, 40px)/1.1 var(--display); }
.block.tight .h2, .band .h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.note { font-size: 14px; color: var(--dim); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { box-sizing: border-box; padding: 24px; display: flex; flex-direction: column; gap: 12px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); }
.card h3 { font: 700 20px var(--display); }
.card p { color: var(--muted); }
.icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 14px; }
.icon.green { background: rgba(126, 212, 146, .14); }
.icon.orange { background: rgba(242, 166, 90, .14); }
.icon.blue { background: rgba(143, 176, 245, .14); }

.steps { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--border); }
.steps li.now { border-top-color: var(--accent); }
.steps h3 { font-size: 18px; font-weight: 600; }
.steps p { color: var(--muted); }

.band { box-sizing: border-box; padding: 40px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.band > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.band p { color: var(--muted); }

/* --- Downloads page --- */
.page-head { display: flex; flex-direction: column; gap: 14px; padding-top: 48px; padding-bottom: 56px; }
.page-head h1 { font: 700 clamp(36px, 5vw, 56px)/1.05 var(--display); letter-spacing: -.01em; }
.page-head p { max-width: 560px; font-size: 18px; color: var(--lede); }

.downloads { display: flex; flex-wrap: wrap; gap: 20px; }
.download { flex: 999 1 520px; min-width: 0; box-sizing: border-box; padding: 28px; display: flex; flex-direction: column; gap: 18px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.download .h2 { font-size: clamp(26px, 3.2vw, 34px); }
.download > p { max-width: 520px; color: var(--muted); }
.download-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.download-get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.download-get span { font-size: 14px; color: var(--muted); }
.follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px;
  border-radius: 12px; background: var(--bg); border: 1px solid var(--field); }
.follow p { flex: 1 1 240px; color: var(--muted); }
.follow strong { display: block; color: var(--text); }
.follow .btn { height: 48px; padding: 0 22px; }

.needs { flex: 1 1 300px; min-width: 0; box-sizing: border-box; padding: 28px; display: flex; flex-direction: column; gap: 14px;
  border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.needs h2 { font: 700 22px var(--display); }
.needs ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--soft); }
.needs li { display: flex; gap: 10px; }
.needs li svg { flex: none; margin-top: 3px; }

.warning-wrap { padding-top: 32px; }
.warning { box-sizing: border-box; padding: 18px 20px; display: flex; gap: 14px; border-radius: 14px;
  background: rgba(232, 207, 106, .08); border: 1px solid rgba(232, 207, 106, .4); }
.warning svg { flex: none; margin-top: 2px; }
.warning strong { display: block; }
.warning p { color: var(--soft); }

.host { box-sizing: border-box; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; border-radius: 14px; background: var(--card); border: 1px dashed var(--field); }
.host p { flex: 1 1 360px; color: var(--muted); }

.empty { box-sizing: border-box; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.empty .round { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--raised); }
.empty strong { font-size: 18px; }
.empty p { max-width: 440px; color: var(--muted); }

/* --- Footer --- */
.site-footer { display: flex; flex-direction: column; gap: 20px; padding-top: 64px; padding-bottom: 40px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px;
  border-top: 1px solid var(--line); }
.footer-row img { width: 76px; height: 56px; object-fit: contain; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-row nav a { height: 44px; display: flex; align-items: center; padding: 0 10px; color: var(--muted); text-decoration: none; }
.footer-row nav a:hover { color: var(--text); }
.legal { max-width: 720px; font-size: 13px; color: var(--dim); }

/* --- Narrow screens: the menu folds behind a toggle into a panel under the header. Only with JavaScript (site.js sets
   .js on <html>); without it the menu stays in the header and wraps. 760px keeps tablets in portrait on the full row. --- */
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; justify-content: space-between; }
  html:not(.js) .menu { flex-basis: 100%; } /* no JavaScript: the menu gets its own row under the logo */
  .js .menu-toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
    border: 1px solid rgba(243, 236, 228, .2); border-radius: 12px; background: rgba(21, 18, 28, .72); color: var(--text); cursor: pointer; }
  .js .menu { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column;
    align-items: stretch; gap: 12px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(8, 6, 12, .7); }
  .js .menu.open { display: flex; }
  .js .site-nav { flex-direction: column; gap: 2px; }
  .js .site-nav a { height: 48px; padding: 0 14px; border-radius: 10px; font-size: 17px; }
  .js .site-nav .nav-discord { display: none; } /* the Join the Discord button under it goes to the same place */
  .js .menu > .btn { margin-left: 0; height: 48px; justify-content: center; }
}

/* --- Phones: the 16px gutter, tighter rhythm, full-width actions --- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .site-header { padding-top: 10px; padding-bottom: 10px; }
  .logo img { width: 64px; height: 47px; }
  .hero-body { gap: 18px; padding-top: 28px; padding-bottom: 72px; }
  .lede { font-size: 17px; }
  .actions { align-self: stretch; flex-direction: column; }
  .actions .btn, .band .btn, .follow .btn, .host .btn, .download-get .btn { width: 100%; justify-content: center; }
  .facts { gap: 6px 16px; font-size: 13px; }
  .preview { margin-top: -40px; border-radius: 12px; }
  .preview .chip { right: 10px; bottom: 10px; padding: 3px 10px; font-size: 12px; }
  .block { gap: 20px; padding-top: 56px; }
  .block.tight { padding-top: 48px; }
  .card { padding: 20px; }
  .band { padding: 24px 20px; }
  .page-head { padding-top: 24px; padding-bottom: 40px; }
  .page-head p { font-size: 17px; }
  .download, .needs { padding: 20px; }
  .warning-wrap { padding-top: 24px; }
  .warning { padding: 16px; }
  .host { padding: 20px; }
  .empty { padding: 32px 20px; }
  .site-footer { padding-top: 48px; padding-bottom: 32px; }
}
