:root {
  color-scheme: dark;
  --background: #0d0d11;
  --surface: #15151c;
  --text: #f7f6fa;
  --muted: #b9b6c6;
  --accent: #d4ffa5;
  --line: #ffffff24;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
.shell { width: min(1360px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; padding: 10px 16px; background: var(--accent); color: var(--background); transform: translateY(-130%); }
.skip:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #101015; }
.nav, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.nav { min-height: 75px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 760; letter-spacing: -.035em; white-space: nowrap; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 32px; color: var(--muted); font-size: .88rem; }
.nav-links a:hover, .footer-inner > a:not(.brand):hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; width: fit-content; padding: 13px 18px; border: 1px solid var(--accent); border-radius: 5px; color: #122006; background: var(--accent); font-weight: 760; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: #eeffd9; border-color: #eeffd9; }
.button.small { padding: 8px 13px; gap: 12px; font-size: .84rem; }
.button.secondary { color: var(--text); background: #121019a8; border-color: #ffffff63; }
.button.secondary:hover { color: var(--accent); border-color: var(--accent); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #151021; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; z-index: -2; inset: 0; background: #1d1429 url("portal.webp") 69% 55% / cover no-repeat; animation: settle 1.8s ease-out both; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#0d0b14 0%,#0d0b14e8 23%,#0d0b1460 57%,transparent 80%), linear-gradient(0deg,#0d0d11 1%,transparent 38%); }
@keyframes settle { from { transform: scale(1.045); } to { transform: scale(1); } }
.hero-inner { min-height: clamp(610px, 82svh, 850px); display: flex; flex-direction: column; justify-content: center; padding-block: 90px 115px; position: relative; }
.hero-copy { max-width: 780px; }
.label { display: flex; align-items: center; gap: 9px; color: var(--accent); font: 650 .72rem/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .15em; }
.label > span { width: 7px; height: 7px; background: var(--accent); }
h1 { font-size: clamp(4.3rem, 8.9vw, 9rem); line-height: .89; letter-spacing: -.088em; margin-block: 22px; font-weight: 790; }
.hero-copy > p:not(.label), .section-heading > p { max-width: 405px; color: #dad6e4; font-size: clamp(1rem, 1.48vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-next { position: absolute; bottom: 27px; left: 0; color: #d6cfdf; font-size: .85rem; }
.hero-next span { color: var(--accent); margin-left: 7px; }
.editor-section, .worlds, .closing { padding-block: clamp(58px, 8vw, 113px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 35px; }
h2 { margin-top: 11px; font-size: clamp(2.95rem, 6.5vw, 6.6rem); line-height: .94; letter-spacing: -.075em; }
.section-heading > p { padding-bottom: 4px; color: var(--muted); }
.editor-preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.preview-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.preview-bar a { color: var(--accent); }
.editor-preview img { width: 100%; height: auto; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.workflow article { border-top: 1px solid var(--line); padding-block: 17px 0; }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.035em; }
.workflow p { margin-top: 7px; color: var(--muted); max-width: 34ch; }
.worlds { background: #14141b; border-block: 1px solid var(--line); }
.world-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.world { position: relative; display: block; isolation: isolate; overflow: hidden; min-height: 280px; aspect-ratio: 1.22; border: 1px solid var(--line); border-radius: 10px; background: #25223a; }
.world img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.world::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#08080ff5 4%,#08080f00 70%); }
.world:hover img, .world:focus-visible img { transform: scale(1.055); }
.world-copy { position: absolute; bottom: 17px; left: 17px; right: 58px; }
.world-copy p { margin-top: 5px; color: #e6e2ee; font-size: .88rem; }
.world-arrow { position: absolute; right: 16px; bottom: 17px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #ffffff70; border-radius: 50%; background: #0d0d15a0; }
.world:hover .world-arrow { color: var(--background); background: var(--accent); }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.closing h2 { margin: 0; }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 78px; flex-wrap: wrap; padding-block: 14px; }
.footer-inner > a:not(.brand) { color: var(--muted); font-size: .88rem; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 56px); }
  .world { min-height: 250px; width: 100%; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .nav { min-height: 64px; gap: 8px; }
  .nav-links { display: none; }
  .hero-inner { min-height: 660px; justify-content: end; padding-block: 235px 75px; }
  .hero-art { background-position: 67% top; }
  .hero::after { background: linear-gradient(0deg,#0d0d11 3%,#0d0b14de 37%,#0d0b1430 75%,transparent); }
  h1 { font-size: clamp(3.35rem, 12vw, 5.7rem); }
  .section-heading, .closing { align-items: start; flex-direction: column; gap: 16px; }
  .workflow, .world-grid { grid-template-columns: 1fr; }
  .world { aspect-ratio: 1.6; min-height: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
