:root {
  color-scheme: dark;
  --deep: #071c24;
  --panel: #0d2931;
  --foam: #f4f4e8;
  --muted: #b3c9c7;
  --mint: #91e7cd;
  --gold: #ebcb86;
  --line: #ffffff21;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; background: var(--deep); }
body { margin: 0; color: var(--foam); font: 17px/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; }
a, summary, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 3px; }
a:hover { color: var(--mint); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 em, h2 em { color: var(--mint); font-weight: 400; }
h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
p { text-wrap: pretty; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 30; padding: 12px 20px; background: var(--mint); color: var(--deep); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { max-width: 1600px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px clamp(20px, 4vw, 72px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; }
.brand span { display: grid; gap: 7px; }
.brand b { font-size: 20px; line-height: 1; letter-spacing: .14em; }
.brand small { font: 12px/1 var(--mono); letter-spacing: .3em; color: var(--mint); }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.site-header nav a { font-size: 14px; text-decoration: none; padding-block: 10px; }
.site-header nav .nav-steam { border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px; font-weight: bold; }
.nav-steam span { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: normal; }
.hero { max-width: 1600px; margin: auto; padding: 72px clamp(20px, 4vw, 72px) 54px; display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(30px, 4vw, 72px); }
.eyebrow { color: var(--mint); font: 600 12px/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.signal-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px #91e7cd66; margin-right: 8px; vertical-align: middle; }
.game-name { color: var(--foam); font-size: 15px; letter-spacing: .04em; margin-bottom: 14px; }
h1 { font-size: clamp(58px, 6.4vw, 98px); line-height: .98; letter-spacing: -.055em; margin-bottom: 30px; }
.intro { font-size: 18px; color: var(--muted); max-width: 560px; }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.primary { display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 14px 23px; min-height: 52px; color: #09242b; background: var(--mint); border: 1px solid var(--mint); border-radius: 7px; text-decoration: none; font-size: 15px; font-weight: bold; transition: background .2s, transform .2s; }
.primary:hover { color: #09242b; background: #c0f7e4; transform: translateY(-2px); }
.store-soon { min-height: 52px; padding: 14px 23px; border: 1px solid #91e7cd66; border-radius: 7px; background: #12353dcc; color: var(--mint); font: bold 15px/1.7 var(--sans); opacity: 1; cursor: default; }
.text-link { display: inline-block; font-size: 14px; text-decoration-color: #91e7cd77; padding-block: 10px; }
.text-link span { color: var(--mint); margin-left: 8px; }
.hero-note { color: var(--muted); font-size: 12px; margin-top: 22px; }
.hero-note span { color: var(--mint); padding: 0 6px; }
.hero-world { min-width: 0; }
.aquarium { position: relative; height: clamp(450px, 43vw, 640px); overflow: hidden; border-radius: 46% 46% 18px 18px; isolation: isolate; background: linear-gradient(180deg, #05323f22, #071c2411 60%, #071c2499), url("./assets/generated/habitat-crystal-basin.png") center/cover; border: 1px solid #91e7cd44; box-shadow: inset 0 0 100px #071c2466, 0 30px 80px #0004; }
.aquarium::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 50px #052d3a88; pointer-events: none; }
.aquarium img { position: absolute; object-fit: contain; }
.light-rays { position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 12%, #a5f5ef12 13% 15%, transparent 18% 38%); }
.hero-gloomkite { width: 70%; height: 66%; left: 23%; top: 7%; filter: drop-shadow(0 22px 20px #00101c80); }
.hero-plibble { width: 35%; height: 36%; top: 49%; left: 5%; animation-delay: -3s !important; filter: drop-shadow(0 10px 12px #00101c88); }
.hero-mopple { width: 14%; height: 14%; }
.mopple-one { top: 63%; left: 61%; animation-delay: -1s !important; }
.mopple-two { top: 69%; left: 75%; animation-delay: -1.5s !important; }
.mopple-three { top: 76%; left: 60%; animation-delay: -2s !important; }
.world-flora { bottom: 4%; opacity: .9; width: 33%; height: 34%; }
.flora-left { left: -10%; }
.flora-right { right: -9%; }
.world-label { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 22px; color: #d2f0ec; font: 12px/1.7 var(--mono); letter-spacing: .13em; }
.world-label i { display: block; font: normal 12px/1.7 var(--sans); color: #c0d7d5; letter-spacing: 0; }
.hero-world figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; font-size: 12px; color: var(--muted); }
.motion-switch { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; min-height: 44px; white-space: nowrap; }
.motion-switch input { accent-color: var(--mint); width: 16px; height: 16px; cursor: pointer; }
.drifter { animation: drift 7s ease-in-out infinite; }
body:has(#pause-motion:checked) .drifter { animation-play-state: paused; }
.promise-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 65px; padding: 26px 24px; border-block: 1px solid var(--line); background: #0b242c; font-size: 14px; }
.promise-strip span { display: inline-block; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); margin-right: 10px; vertical-align: middle; }
.section { max-width: 1320px; margin: 0 auto; padding: 72px 40px; }
.section-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 60px; margin-bottom: 46px; }
.section-heading > p { max-width: 480px; color: var(--muted); }
.center-heading { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.center-heading > p:last-child { color: var(--muted); margin: 24px auto 0; max-width: 560px; }
.creature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.creature-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 24px 28px; }
.creature-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.creature-art::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(ellipse, var(--glow), transparent 70%); }
.creature-art img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.creature-card:hover .creature-art img { transform: translateY(-6px) rotate(-2deg); }
.mint { --glow: #70d9b433; }
.peach { --glow: #f2a88333; }
.lavender { --glow: #c5a3eb44; }
.gold { --glow: #ffdd9633; }
.specimen-label { color: var(--mint); font: 12px/1.6 var(--mono); margin-block: 12px 9px; }
.creature-card h3 { margin-bottom: 10px; font: 400 30px/1.2 var(--serif); }
.creature-card > p:last-child { color: var(--muted); font-size: 14px; }
.section-footnote { color: var(--muted); font-size: 12px; margin-top: 24px; text-align: center; }
.experience { border-top: 1px solid var(--line); }
.story-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; margin-top: 40px; }
.story-row.reverse { grid-template-columns: 1fr 1.1fr; }
.story-row.reverse .story-art { order: 2; }
.story-art { min-height: 320px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(ellipse at 50% 75%, #26565588, transparent 70%), #102b32; }
.story-copy h3 { font: 400 clamp(30px, 3vw, 42px)/1.1 var(--serif); margin-bottom: 22px; }
.story-copy > p:not(.step-label) { color: var(--muted); margin-top: 15px; }
.step-label { color: var(--gold); font: 12px/1.8 var(--mono); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.clutch-art { display: flex; align-items: center; justify-content: center; padding: 34px 18px 58px; }
.clutch-art img { width: 29%; height: 230px; object-fit: contain; position: relative; filter: drop-shadow(0 18px 10px #0005); }
.clutch-art .clutch-center { width: 34%; height: 260px; }
.clutch-side:first-of-type { transform: rotate(-13deg); }
.clutch-side:last-of-type { transform: rotate(13deg); }
.art-caption { position: absolute; bottom: 22px; left: 15px; right: 15px; text-align: center; font-size: 12px; color: var(--muted); }
.art-orbit { position: absolute; inset: 30px 50px; border: 1px dashed #91e7cd33; border-radius: 50%; transform: rotate(-20deg); }
.growth-art { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1.5fr; align-items: end; gap: 3px; padding: 38px 24px; }
.growth-art div { display: grid; align-content: end; justify-items: center; height: 230px; }
.growth-art img { object-fit: contain; width: 100%; }
.growth-art div:first-child img { height: 75px; }
.growth-art div:nth-child(3) img { height: 125px; }
.growth-art div:nth-child(5) img { height: 185px; }
.growth-art div span { font: 12px/1.6 var(--mono); color: var(--muted); margin-top: 16px; }
.growth-arrow { align-self: center; color: var(--mint); margin-top: 70px; }
.flora-art { display: flex; align-items: end; justify-content: center; padding: 30px 10px 55px; background: linear-gradient(#071c2444, #071c2477), url("./assets/generated/habitat-grotto.png") center/cover; }
.flora-art img { width: 33%; height: 260px; object-fit: contain; filter: drop-shadow(0 10px 10px #0005); }
.flora-art img:nth-child(2) { height: 295px; }
.habitat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.habitat-grid figure { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 1.32; background: var(--panel); }
.habitat-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.habitat-grid figure:hover img { transform: scale(1.04); }
.habitat-grid figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(transparent 35%, #021016ee 100%); padding: 24px; }
.habitat-grid figcaption span { font-size: 12px; color: #d1e5e0; margin-bottom: 5px; }
.habitat-grid h3 { font: 400 29px/1.15 var(--serif); }
.progress { border-top: 1px solid var(--line); }
.system-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.system-grid img { height: 72px; width: 72px; object-fit: contain; margin: 0 0 24px; }
.system-grid h3 { font-size: 20px; margin-bottom: 16px; }
.system-grid p { color: var(--muted); font-size: 15px; }
.companion { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.companion-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 20px; }
.feature-list li { border-left: 2px solid #91e7cd55; padding-left: 18px; }
.feature-list b { font-size: 15px; }
.feature-list span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.companion-visual { padding-bottom: 20px; min-width: 0; }
.desktop-scene { position: relative; aspect-ratio: 1.22; border: 1px solid #91e7cd55; border-radius: 14px; background: url("./assets/generated/habitat-grotto.png") center/cover; box-shadow: 0 30px 60px #0004; margin-bottom: 55px; }
.window-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 6px; background: #102b32; padding: 14px; border-radius: 13px 13px 0 0; border-bottom: 1px solid var(--line); }
.window-bar i { height: 6px; width: 6px; border-radius: 50%; background: var(--mint); opacity: .7; flex-shrink: 0; }
.window-bar b { margin-left: auto; font: 12px var(--sans); color: var(--muted); }
.desktop-floater { position: absolute; width: 53%; height: 60%; object-fit: contain; left: 28%; top: 20%; }
.desktop-plant { position: absolute; width: 30%; height: 55%; object-fit: contain; left: 2%; bottom: 3%; }
.mini-scene { position: absolute; width: 52%; aspect-ratio: 16/9; right: -12px; bottom: -40px; border: 3px solid #97bcb7; border-radius: 10px; box-shadow: 0 16px 40px #0008; background: url("./assets/generated/habitat-crystal-basin.png") center/cover; }
.mini-scene span { position: absolute; left: 10px; top: 8px; font: 12px var(--mono); }
.mini-scene img { position: absolute; top: 10%; left: 32%; width: 50%; height: 85%; object-fit: contain; }
.questions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; border-top: 1px solid var(--line); }
.questions > div:first-child > p:last-child { margin-top: 24px; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 21px 4px; font-size: 16px; line-height: 1.5; }
.faq-list summary::marker { color: var(--mint); }
.faq-list details[open] summary { color: var(--mint); }
.faq-list details p { color: var(--muted); font-size: 15px; padding: 0 18px 24px; }
.steam-section { position: relative; isolation: isolate; overflow: hidden; padding: 90px max(40px, calc((100vw - 1240px) / 2)); border-top: 1px solid var(--line); background: linear-gradient(90deg, #071c24e8 0%, #071c24cf 55%, #071c2477), url("./assets/generated/habitat-crystal-basin.png") center/cover; min-height: 540px; }
.steam-copy { max-width: 700px; position: relative; }
.steam-copy h2 { font-size: clamp(42px, 5vw, 72px); }
.steam-copy > p:not(.eyebrow) { margin-top: 24px; }
.closing-floater { position: absolute; right: max(-80px, calc((100vw - 1400px) / 2)); top: 0; height: 100%; width: 48%; object-fit: contain; z-index: -1; opacity: .7; transform: rotate(-10deg); }
.site-footer { max-width: 1600px; padding: 48px clamp(20px, 4vw, 72px) 28px; margin: auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 32px; }
.footer-top > p { color: var(--muted); font-size: 14px; }
.footer-top nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 28px; font-size: 13px; }
.footer-bottom { padding-top: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: start; gap: 45px; color: var(--muted); font-size: 12px; }
.footer-bottom p:first-child { max-width: 750px; }
.footer-bottom p:last-child { flex-shrink: 0; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@media (min-width: 1700px) { .hero { padding-top: 90px; padding-bottom: 70px; } }
@media (max-width: 1050px) {
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 12px; }
  .nav-steam span { display: block; margin-left: 0; }
  .site-header nav .nav-steam { padding: 6px 16px; text-align: center; }
  .section { padding: 60px 28px; }
  .hero { gap: 30px; padding-top: 48px; }
  .hero-world figcaption { flex-direction: column; align-items: start; padding-bottom: 0; }
  .hero .intro { font-size: 16px; }
  .section-heading { gap: 35px; }
  .creature-grid, .system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creature-art { max-height: 230px; }
  .story-row, .story-row.reverse { gap: 35px; }
  .habitat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .habitat-grid figure:last-child { grid-column: 1 / -1; aspect-ratio: 2.8; }
  .companion { gap: 35px; }
  .window-bar b { font-size: 12px; }
  .questions { gap: 40px; }
  .footer-top { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 20px; }
}
@media (max-width: 700px) {
  .site-header { flex-wrap: wrap; gap: 15px; padding: 16px 20px 12px; }
  .site-header nav { width: 100%; display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
  .site-header nav .nav-steam { border: 0; padding: 10px 0; }
  .nav-steam span { display: none; }
  .hero { grid-template-columns: 1fr; gap: 0; padding: 32px 20px 30px; }
  h1 { font-size: clamp(57px, 11vw, 78px); }
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 0; }
  .hero .game-name { order: 1; }
  .hero h1 { order: 2; margin-bottom: 24px; }
  .hero-world { order: 3; margin-bottom: 24px; }
  .hero .intro { order: 4; }
  .hero .actions { order: 5; }
  .hero .hero-note { order: 6; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; margin-bottom: 16px; }
  .hero .intro { font-size: 17px; }
  .actions { gap: 12px 24px; }
  .hero-note { line-height: 1.9; }
  .aquarium { height: clamp(360px, 95vw, 540px); border-radius: 40% 40% 16px 16px; }
  .hero-world figcaption { flex-direction: row; align-items: center; }
  .hero-world figcaption > span { max-width: 55%; }
  .promise-strip { flex-direction: column; gap: 10px; padding: 23px 20px; }
  .section { padding: 48px 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; }
  .section-heading > p { max-width: none; }
  .creature-grid { gap: 12px; }
  .creature-card { padding: 8px 14px 22px; }
  .creature-card h3 { font-size: 26px; }
  .creature-card > p:last-child { font-size: 13px; }
  .specimen-label { font-size: 12px; }
  .center-heading { text-align: left; margin-bottom: 35px; }
  .center-heading > p:last-child { margin-left: 0; }
  .story-row, .story-row.reverse { grid-template-columns: 1fr; gap: 26px; margin-top: 46px; }
  .story-row.reverse .story-art { order: 0; }
  .story-art { min-height: 280px; }
  .clutch-art img { height: 190px; }
  .clutch-art .clutch-center { height: 220px; }
  .growth-art { padding: 24px 20px; }
  .flora-art img { height: 210px; }
  .flora-art img:nth-child(2) { height: 235px; }
  .habitat-grid { gap: 14px; }
  .habitat-grid figure { aspect-ratio: 1; }
  .habitat-grid figcaption { padding: 16px; background: linear-gradient(transparent 15%, #021016ee 100%); }
  .habitat-grid h3 { font-size: 25px; }
  .habitat-grid figure:last-child { aspect-ratio: 1.8; }
  .system-grid { gap: 34px 22px; }
  .system-grid img { margin-bottom: 17px; }
  .system-grid h3 { font-size: 19px; }
  .system-grid p { font-size: 14px; }
  .companion { grid-template-columns: 1fr; gap: 36px; }
  .companion-visual { margin-right: 12px; }
  .questions { grid-template-columns: 1fr; gap: 30px; }
  .steam-section { padding: 62px 20px; background: linear-gradient(90deg, #071c24e8, #071c24cc), url("./assets/generated/habitat-crystal-basin.png") center/cover; }
  .closing-floater { width: 100%; right: -36%; top: 15%; height: 65%; opacity: .16; }
  .steam-copy { max-width: 540px; }
  .footer-top { align-items: start; flex-direction: column; gap: 25px; }
  .footer-top nav { gap: 16px 30px; }
}
@media (max-width: 370px) {
  .site-header nav { justify-content: start; gap: 0 18px; }
  .creature-grid, .habitat-grid, .system-grid { grid-template-columns: 1fr; }
  .creature-art { aspect-ratio: 1.3; max-height: 240px; }
  .habitat-grid figure, .habitat-grid figure:last-child { aspect-ratio: 1.3; }
  .window-bar b { max-width: 155px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
