/* Starfall Launcher website — the launcher's own design system (OneClient
   palette, Poppins/Rubik, 80px navbar, space art with vignette). */

@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/fonts/Rubik.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMonoVariable.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --page: #11171c;
  --page-elevated: #151c22;
  --component: #1a2228;
  --component-hover: #1d242b;
  --component-pressed: #222c35;
  --fg: #d5dbff;
  --fg-secondary: #78818d;
  --faint: #5f6874;
  --brand: #2b4bff;
  --brand-hover: #2843dd;
  --brand-pressed: #3957ff;
  --brand-soft: color-mix(in oklab, var(--brand) 18%, var(--component));
  --info: #7aa2ff;
  --success: #239a60;
  --ghost: rgb(255 255 255 / 0.047);
  --ghost-hover: rgb(255 255 255 / 0.102);
  --border: rgb(255 255 255 / 0.047);
  --border-hover: rgb(255 255 255 / 0.098);
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 18px;
  --nav-height: 80px;
  --font: "Poppins", "Rubik", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgb(97 175 239 / 0.235); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
* { scrollbar-width: thin; scrollbar-color: color-mix(in oklab, var(--fg-secondary) 38%, transparent) transparent; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 48px); }
.muted { color: var(--fg-secondary); }
.faint { color: var(--faint); }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--brand); border-radius: 8px; color: var(--white); }
.skip-link:focus { top: 12px; }

/* ---- Buttons (launcher button variants) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding-inline: 18px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn--sm { height: 36px; padding-inline: 14px; font-size: 14px; border-radius: 9px; }
.btn--lg { height: 52px; padding-inline: 26px; font-size: 16px; border-radius: 12px; }
.btn--primary { background: var(--brand); color: var(--fg); box-shadow: 0 8px 30px -10px rgb(43 75 255 / 0.65); }
.btn--primary:hover { background: color-mix(in oklab, var(--brand) 86%, black); transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgb(43 75 255 / 0.8); }
.btn--primary:active { background: var(--brand-pressed); transform: none; }
.btn--ghost { background: rgb(17 23 28 / 0.55); border-color: var(--border-hover); color: var(--fg); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: var(--ghost-hover); }

.iconbtn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; min-width: 36px; padding-inline: 9px;
  border-radius: 9px; border: 0; background: transparent; color: var(--fg); font: 500 13px var(--font); cursor: pointer;
  transition: background-color 120ms var(--ease);
}
.iconbtn:hover { background: var(--ghost-hover); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgb(43 75 255 / 0.15); color: var(--info); font-size: 13px; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgb(43 75 255 / 0.35); backdrop-filter: blur(8px);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--info); box-shadow: 0 0 10px var(--info); animation: pulse 2.4s ease-in-out infinite; }

/* ---- Navbar (launcher navbar: logo, centered links, actions) ---- */
.navbar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-height); transition: background-color 260ms var(--ease), box-shadow 260ms var(--ease), backdrop-filter 260ms; }
.navbar.is-scrolled { background: rgb(17 23 28 / 0.78); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--border); }
.navbar__inner { height: 100%; width: min(1400px, 100% - 48px); margin-inline: auto; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.brand__logo { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 12px rgb(122 162 255 / 0.45)); }
.brand__name { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--fg); white-space: nowrap; }
.navlinks { display: flex; align-items: center; gap: 4px; }
.navlink { padding: 8px 16px; border-radius: 10px; border: 1px solid transparent; color: var(--fg-secondary); font-size: 16px; transition: color 120ms, background-color 120ms; }
.navlink:hover { color: var(--fg); background: var(--ghost-hover); }
.navlink.is-active { color: var(--fg); background: var(--ghost); border-color: var(--border); }
.navbar__actions { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.menu-toggle { display: none; }
.menu-toggle .icon--close { display: none; }
.menu-open .menu-toggle .icon--open { display: none; }
.menu-open .menu-toggle .icon--close { display: block; }

/* ---- Hero: launcher home screen ---- */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__art { position: absolute; inset: -4%; z-index: -4; background: url("/img/background.jpg") center / cover no-repeat; will-change: transform; transform: scale(1.04); }
/* In Hebrew the text sits on the right, so the art is mirrored to keep the
   ship on the open side, like the launcher keeps the hero clear. */
[dir="rtl"] .hero__art, [dir="rtl"] .cta__art { transform: scale(1.04) scaleX(-1); }
.hero__stars { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; pointer-events: none; }
.hero__vignette { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 58% 72% at 80% 45%, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.12) 30%, rgb(0 0 0 / 0.42) 62%, rgb(0 0 0 / 0.8) 100%); }
[dir="rtl"] .hero__vignette { background: radial-gradient(ellipse 58% 72% at 20% 45%, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.12) 30%, rgb(0 0 0 / 0.42) 62%, rgb(0 0 0 / 0.8) 100%); }
.hero__fade { position: absolute; inset: auto 0 0; height: 38%; z-index: -1; background: linear-gradient(to bottom, rgb(17 23 28 / 0), var(--page) 92%); }
.hero__content { padding-top: calc(var(--nav-height) + 120px); padding-bottom: 56px; display: flex; flex-direction: column; gap: 120px; }
.hero__copy { max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__title { font-size: clamp(42px, 6.2vw, 76px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; color: var(--white); text-shadow: 0 6px 40px rgb(0 0 0 / 0.55); }
[dir="rtl"] .hero__title { letter-spacing: 0; line-height: 1.15; }
.hero__subtitle { font-size: clamp(16px, 1.6vw, 19px); color: color-mix(in oklab, var(--fg) 85%, transparent); max-width: 560px; text-shadow: 0 2px 20px rgb(0 0 0 / 0.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__meta { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-secondary); font-size: 13px; }

/* Launcher "cluster cards" along the bottom of the home screen */
.cluster-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cluster-card { position: relative; height: 200px; border-radius: 12px; overflow: hidden; outline: 1px solid var(--border); box-shadow: 0 0 24px 12px rgb(0 0 0 / 0.3); transition: outline-color 160ms, transform 260ms var(--ease); }
.cluster-card:hover { outline: 2px solid var(--brand); transform: translateY(-4px); }
.cluster-card__art { position: absolute; inset: 0; background: url("/img/background.jpg") no-repeat; background-size: 260% auto; transition: transform 600ms var(--ease); }
.cluster-card__art--a { background-position: 62% 28%; }
.cluster-card__art--b { background-position: 12% 40%; }
.cluster-card__art--c { background-position: 96% 70%; }
.cluster-card:hover .cluster-card__art { transform: scale(1.06); }
.cluster-card__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(25 25 25 / 0) 24.5%, rgb(17 17 21 / 0.78) 68%); }
.cluster-card__icon { position: absolute; top: 16px; inset-inline-start: 18px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgb(17 23 28 / 0.6); color: var(--info); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--border-hover); }
.cluster-card__title { position: absolute; inset-inline: 24px; bottom: 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.2; color: var(--fg); }

/* ---- Stat bar ---- */
.statbar { position: relative; z-index: 1; margin-top: -8px; }
.statbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); background: var(--page-elevated); box-shadow: inset 0 0 0 1px var(--border), 0 20px 50px -30px rgb(0 0 0 / 0.8); overflow: hidden; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 24px 12px; }
.stat + .stat { border-inline-start: 1px solid var(--border); }
.stat__value { font-size: 34px; font-weight: 700; color: var(--white); line-height: 1.1; }
.stat__label { color: var(--fg-secondary); font-size: 14px; }

/* ---- Sections ---- */
.section { padding: 120px 0 0; position: relative; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--component); color: var(--info); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--border-hover); }
.eyebrow--glow { background: linear-gradient(135deg, rgb(43 75 255 / 0.28), rgb(124 92 255 / 0.22)); color: var(--white); box-shadow: inset 0 0 0 1px rgb(122 162 255 / 0.45), 0 0 30px -6px rgb(122 162 255 / 0.6); }
.section__title { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--white); }
[dir="rtl"] .section__title { letter-spacing: 0; }
.section__subtitle { color: var(--fg-secondary); font-size: 17px; }

/* Features grid (launcher card style + spotlight on hover) */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { position: relative; overflow: hidden; padding: 24px; border-radius: 14px; background: var(--page-elevated); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; gap: 10px; transition: transform 260ms var(--ease), box-shadow 200ms; }
.feature:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--border-hover), 0 18px 40px -24px rgb(0 0 0 / 0.9); }
.feature__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--info); box-shadow: inset 0 0 0 1px rgb(43 75 255 / 0.3); margin-bottom: 6px; }
.feature__title { font-size: 17px; font-weight: 600; color: var(--fg); }
.feature__text { font-size: 14.5px; color: var(--fg-secondary); line-height: 1.6; }
.feature--accent { background: linear-gradient(160deg, rgb(43 75 255 / 0.22), var(--page-elevated) 60%); box-shadow: inset 0 0 0 1px rgb(122 162 255 / 0.32); }
.feature--accent .feature__icon { background: var(--brand); color: var(--white); box-shadow: 0 0 26px -4px rgb(43 75 255 / 0.9); }
.spotlight::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgb(255 255 255 / 0.07), transparent 70%); opacity: 0; transition: opacity 180ms; }
.spotlight:hover::before { opacity: 1; }

/* Split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 72px; }
.split--reverse .split__copy { order: 2; }
.split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.split__visual { position: relative; }
.checklist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--fg); font-size: 15.5px; }
.checklist .icon { margin-top: 4px; width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: rgb(35 154 96 / 0.18); color: #3fcf8a; }
.core-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.core-chip { padding: 6px 12px; border-radius: 9px; background: var(--component); font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--border-hover); }

/* Cosmetics panel */
.cosmetic-panel { position: relative; overflow: hidden; padding: 28px; border-radius: 22px; background: linear-gradient(170deg, #182033, var(--page-elevated) 55%); box-shadow: inset 0 0 0 1px rgb(122 162 255 / 0.22), 0 40px 80px -40px rgb(43 75 255 / 0.55); }
.cosmetic-panel__glow { position: absolute; width: 360px; height: 360px; top: -170px; inset-inline-end: -120px; border-radius: 50%; background: radial-gradient(circle, rgb(124 92 255 / 0.55), transparent 65%); filter: blur(10px); animation: float 9s ease-in-out infinite; }
.cosmetic-panel__head { position: relative; display: flex; align-items: center; gap: 14px; }
.cosmetic-panel__avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--brand), #7c5cff); color: var(--white); box-shadow: 0 0 30px -4px rgb(124 92 255 / 0.9); }
.cosmetic-panel__title { font-weight: 600; font-size: 17px; color: var(--white); }
.cosmetic-panel__level { color: var(--info); font-size: 14px; }
.cosmetic-panel__badge { margin-inline-start: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgb(229 192 123 / 0.12); color: #e5c07b; box-shadow: inset 0 0 0 1px rgb(229 192 123 / 0.3); }
.progress { position: relative; margin-top: 22px; height: 10px; border-radius: 999px; background: var(--component); overflow: hidden; }
.progress__bar { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #7c5cff, #4fc3f7); background-size: 200% 100%; animation: shimmer 3s linear infinite; transition: width 1.6s var(--ease); }
.cosmetic-panel__hint { position: relative; margin-top: 10px; color: var(--fg-secondary); font-size: 13px; }
.cosmetic-grid { position: relative; margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cosmetic { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 12px 18px; border-radius: 16px; background: var(--component); box-shadow: inset 0 0 0 1px var(--border); text-align: center; transition: transform 260ms var(--ease); }
.cosmetic:hover { transform: translateY(-3px); }
.cosmetic__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; }
.cosmetic__icon .icon { width: 26px; height: 26px; }
.cosmetic__name { font-weight: 600; font-size: 14px; color: var(--fg); }
.cosmetic__state { font-size: 12px; color: var(--fg-secondary); }
.cosmetic--unlocked { background: linear-gradient(180deg, rgb(43 75 255 / 0.2), var(--component)); box-shadow: inset 0 0 0 1px rgb(122 162 255 / 0.35); }
.cosmetic--unlocked .cosmetic__icon { background: rgb(43 75 255 / 0.25); color: var(--white); box-shadow: 0 0 24px -4px rgb(122 162 255 / 0.9); animation: glow 3.6s ease-in-out infinite; }
.cosmetic--locked { opacity: 0.6; }
.cosmetic--unlocked .cosmetic__icon { animation-delay: var(--delay, 0s); }
.cosmetic--unlocked .cosmetic__state { color: var(--info); }
.cosmetic-panel__hint { margin-top: 22px; font-size: 13px; font-weight: 500; color: var(--fg-secondary); }
.cosmetic-panel__winner { position: relative; margin-top: 18px; display: flex; align-items: center; gap: 8px; color: var(--fg); font-size: 14px; }
.cosmetic-panel__winner .icon { color: #e5c07b; }
.btn--discord { position: relative; margin-top: 16px; width: 100%; background: #5865f2; color: var(--white); box-shadow: 0 10px 30px -12px rgb(88 101 242 / 0.8); }
.btn--discord:hover { background: #4752c4; transform: translateY(-1px); }
.cosmetic--locked .cosmetic__icon { background: var(--page-elevated); color: var(--faint); }

/* App window frame for screenshots */
.window { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--page); box-shadow: inset 0 0 0 1px var(--border-hover), 0 50px 100px -40px rgb(0 0 0 / 0.95), 0 0 0 1px rgb(0 0 0 / 0.4); aspect-ratio: 1440 / 900; }
.window img { width: 100%; height: 100%; object-fit: cover; }
.window--wide { max-width: 1120px; margin-inline: auto; }
.window--wide::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity 420ms var(--ease), transform 600ms var(--ease); }
.shot.is-active { opacity: 1; transform: none; }
.address-chip { position: absolute; bottom: -22px; inset-inline-start: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: rgb(21 28 34 / 0.92); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--border-hover), 0 20px 40px -18px rgb(0 0 0 / 0.9); animation: float 7s ease-in-out infinite; }
.address-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: #3fcf8a; box-shadow: 0 0 12px #3fcf8a; }
.address-chip__label { color: var(--fg-secondary); font-size: 13px; }
.address-chip code { font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--white); }

/* Tabs (launcher tab bar) */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: -24px auto 28px; padding: 4px; width: fit-content; border-radius: 12px; background: var(--page-elevated); box-shadow: inset 0 0 0 1px var(--border); }
.tab { border: 0; background: transparent; color: var(--fg-secondary); font: 500 14px var(--font); padding: 8px 16px; border-radius: 9px; cursor: pointer; transition: color 120ms, background-color 120ms; }
.tab:hover { color: var(--fg); }
.tab.is-active { background: var(--component-pressed); color: var(--fg); box-shadow: inset 0 0 0 1px var(--border-hover); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: 16px; background: var(--page-elevated); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.step__number { position: absolute; top: 10px; inset-inline-end: 20px; font-size: 72px; font-weight: 800; line-height: 1; color: rgb(255 255 255 / 0.04); }
.step__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--brand); color: var(--white); box-shadow: 0 10px 30px -10px rgb(43 75 255 / 0.9); }
.step__title { font-size: 19px; font-weight: 600; color: var(--white); margin-top: 6px; }
.step__text { color: var(--fg-secondary); font-size: 15px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border-radius: 14px; background: var(--page-elevated); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow 160ms; }
.faq__item[open] { box-shadow: inset 0 0 0 1px var(--border-hover); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 500; font-size: 16px; color: var(--fg); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { color: var(--fg-secondary); transition: transform 220ms var(--ease); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__item p { padding: 0 22px 20px; color: var(--fg-secondary); }

/* Final CTA */
.cta { position: relative; margin-top: 140px; padding: 120px 0; overflow: hidden; isolation: isolate; text-align: center; }
.cta__art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--page), rgb(17 23 28 / 0.35) 30%, rgb(17 23 28 / 0.55) 70%, var(--page)), url("/img/background.jpg") center 30% / cover no-repeat; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta__logo { width: 88px; height: 88px; filter: drop-shadow(0 0 30px rgb(122 162 255 / 0.7)); animation: float 6s ease-in-out infinite; }
.cta__title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; color: var(--white); line-height: 1.1; }
.cta__text { color: color-mix(in oklab, var(--fg) 85%, transparent); font-size: 18px; margin-bottom: 8px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; background: var(--page); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.footer__brand .brand__name { font-size: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; color: var(--fg-secondary); font-size: 15px; }
.footer__links a:hover { color: var(--fg); }
.footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--fg-secondary); }

/* Toast shown when a download starts */
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--component); color: var(--fg); font-size: 14px; box-shadow: inset 0 0 0 1px var(--border-hover), 0 20px 40px -16px rgb(0 0 0 / 0.9); transform: translate(-50%, 140%); opacity: 0; transition: transform 320ms var(--ease), opacity 320ms; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast .icon { color: var(--info); }

/* Simple pages (404 / download unavailable) */
.page-simple { display: flex; flex-direction: column; }
.simple { position: relative; flex: 1; min-height: 100vh; display: grid; place-items: center; padding: 120px 24px 60px; isolation: isolate; }
.simple__art { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, rgb(17 23 28 / 0.3), var(--page) 75%), url("/img/background.jpg") center / cover no-repeat; }
.simple__card { width: min(520px, 100%); padding: 40px 32px; border-radius: 20px; text-align: center; background: rgb(21 28 34 / 0.86); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--border-hover), 0 40px 80px -40px rgb(0 0 0 / 0.9); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.simple__card h1 { font-size: 28px; color: var(--white); }
.simple__card .btn { margin-top: 10px; }
.simple__code { font-size: 64px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--info), #7c5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 800ms var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 18px -6px rgb(122 162 255 / 0.8); } 50% { box-shadow: 0 0 34px -2px rgb(124 92 255 / 1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .navlinks { position: fixed; inset: var(--nav-height) 12px auto; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 16px; background: var(--page-elevated); box-shadow: inset 0 0 0 1px var(--border-hover), 0 30px 60px -20px rgb(0 0 0 / 0.9); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 200ms, transform 200ms var(--ease); }
  .menu-open .navlinks { opacity: 1; transform: none; pointer-events: auto; }
  .navlink { padding: 12px 14px; font-size: 16px; }
  .menu-toggle { display: inline-flex; }
  .navbar { background: rgb(17 23 28 / 0.6); backdrop-filter: blur(12px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split__copy { order: 0; }
}
@media (max-width: 760px) {
  :root { --nav-height: 68px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .navbar__inner { width: calc(100% - 24px); }
  .brand__name { font-size: 19px; }
  .brand__logo { width: 30px; height: 30px; }
  .lang-switch span, .nav-download span { display: none; }
  .nav-download { width: 36px; padding: 0; }
  .hero { min-height: auto; }
  .hero__content { padding-top: calc(var(--nav-height) + 70px); gap: 56px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .cluster-row { grid-template-columns: 1fr; gap: 12px; }
  .cluster-card { height: 120px; }
  .statbar__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .section { padding-top: 88px; }
  .section__head { margin-bottom: 36px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cosmetic-panel { padding: 20px; }
  .cosmetic-grid { gap: 8px; }
  .address-chip { inset-inline-start: 12px; bottom: -18px; padding: 10px 14px; }
  .address-chip code { font-size: 14px; }
  .tabs { width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .cta { margin-top: 100px; padding: 90px 0; }
}
