/* Minimal dark entrance; the authentic Off White theme logo stays byte-identical.
 * No product illustration, cards, particles or decorative animation. */
:root {
  color-scheme: dark;
  --home-canvas: #09090e;
  --home-ink: #111018;
  --home-text: #fffafe;
  --home-muted: #b6b0c2;
  --home-line: #45404f;
  --home-control: #18151f;
  --home-control-hover: #27212f;
  --home-lime: #b9ff00;
  --home-lime-hover: #d1ff58;
  --home-focus: #c7afff;
  --home-header-height: 64px;
}
* { box-sizing: border-box; }
html { background: var(--home-canvas); scrollbar-gutter: stable both-edges; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--home-text);
  font-family: 'Outfit', system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% 38%, #191225 0, transparent 64%), var(--home-canvas);
  overflow-x: clip;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('assets/off-white-grain.svg') repeat;
  opacity: .025;
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible { outline: 3px solid var(--home-focus); outline-offset: 5px; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 16px; z-index: 10; background: var(--home-lime); color: var(--home-ink); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.home-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: var(--home-header-height);
  padding: 10px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid #ffffff0d;
}
.home-back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--home-line); border-radius: 10px; font-size: 14px; font-weight: 500; transition: background .18s, border-color .18s; }
.home-back:hover { background: var(--home-control-hover); border-color: var(--home-muted); }
.home-header-label { grid-column: 2; justify-self: center; text-align: center; color: var(--home-muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
html[data-mg-embedded="true"] { --home-header-height: 0px; }
html[data-mg-embedded="true"] .home-header { display: none; }
.home-main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(820px, calc(100svh - var(--home-header-height)));
  padding: clamp(40px, 8vh, 88px) 24px;
  padding-bottom: max(clamp(40px, 8vh, 88px), env(safe-area-inset-bottom));
}
.entrance-hero { width: min(100%, 640px); text-align: center; }
.home-brand { display: block; width: min(100%, 440px); min-height: 44px; margin: 0 auto 32px; border-radius: 8px; }
.home-brand img { display: block; width: 100%; height: auto; object-fit: contain; mix-blend-mode: screen; }
h1 { margin: 0; color: var(--home-text); font-size: 14px; line-height: 1.5; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.hero-description { margin: 14px auto 32px; color: var(--home-muted); font-size: 16px; line-height: 1.6; }
.entrance-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.entrance-cta,
.saved-build-link { display: inline-flex; align-items: center; justify-content: center; gap: 24px; width: min(100%, 280px); max-width: 100%; min-height: 56px; padding: 16px 24px; border: 1px solid var(--home-line); border-radius: 10px; font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .18s, border-color .18s; }
.entrance-cta { background: var(--home-lime); border-color: var(--home-lime); color: var(--home-ink); }
.entrance-cta:hover { background: var(--home-lime-hover); border-color: var(--home-lime-hover); }
.entrance-cta:active { background: #a7e800; border-color: #a7e800; }
.saved-build-link { background: var(--home-control); color: var(--home-text); }
.saved-build-link:hover { background: var(--home-control-hover); border-color: var(--home-muted); }
.saved-build-link:active { background: #32293f; }
@media (max-width: 600px) {
  .home-header { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; padding: 10px 16px; }
  .home-back { width: 44px; padding: 11px; justify-content: center; }
  .home-back span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .home-header-label { font-size: 10px; letter-spacing: .1em; }
  .home-main { padding-inline: 24px; }
  .home-brand { width: min(100%, 340px); margin-bottom: 28px; }
  h1 { font-size: 12px; letter-spacing: .24em; }
  .hero-description { max-width: 250px; margin-bottom: 28px; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .home-main { padding-block: 24px; }
  .home-brand { width: 290px; margin-bottom: 16px; }
  .hero-description { margin: 8px auto 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
