:root {
  --bg: #fbf7f9;
  --bg-alt: #f4eef2;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(43, 45, 51, 0.12);
  --text: #2a2c33;
  --muted: #636773;
  --cyan: #e2508f;
  --blue: #5d616b;
  --red: #ef7a2f;
  --pink: #f48fbe;
  --violet: #b5487f;
  --radius: 20px;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code { background: rgba(226, 80, 143, 0.12); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; }
section[id] { scroll-margin-top: 84px; }
::selection { background: rgba(226, 80, 143, 0.35); color: #fff; }

/* Fixed background art; --dim rises as the page scrolls, --shift gives a slow parallax */
.page-art {
  position: fixed; inset: 0; z-index: -2;
  background: url("assets/sakura-bg.jpg") center top / cover no-repeat;
  --dim: 0;
}
.page-art::before, .page-art::after { content: ""; position: absolute; inset: 0; }
.page-art::before {
  background:
    linear-gradient(90deg, rgba(251, 247, 249, 0.92) 0%, rgba(251, 247, 249, 0.72) 34%, rgba(251, 247, 249, 0.12) 68%, rgba(251, 247, 249, 0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(251, 247, 249, 0) 26%);
  opacity: calc(1 - var(--dim) * 0.45);
}
.page-art::after { background: var(--bg); opacity: calc(var(--dim) * 0.72); }
/* Wide screens: the art moves right so the fox sits beside the hero text, not behind it; its
   near-white edge blends into the page colour. */
@media (min-width: 1000px) {
  .page-art {
    left: 22vw; background-position: center top;
    /* Fade the art itself into the page on its left edge, at every scroll position. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .page-art::before {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(251, 247, 249, 0.75) 14%, rgba(251, 247, 249, 0.3) 26%, rgba(251, 247, 249, 0) 40%),
      linear-gradient(0deg, var(--bg) 0%, rgba(251, 247, 249, 0) 26%);
  }
}
#petals { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled { background: rgba(251, 247, 249, 0.72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav-brand img { height: 44px; width: auto; filter: drop-shadow(0 4px 14px rgba(74, 38, 58, 0.17)); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--red)); transition: right .25s ease; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a:hover::after { right: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 17px; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary {
  background: linear-gradient(100deg, var(--cyan), var(--violet) 55%, var(--red));
  color: #fff; box-shadow: 0 10px 34px rgba(226, 80, 143, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 14px 44px rgba(239, 122, 47, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: -30%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-primary:hover::after { left: 120%; }
.btn-ghost { border: 1.5px solid rgba(43, 45, 51, 0.6); background: rgba(251, 247, 249, 0.45); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(226, 80, 143, 0.1); }
.btn-small { padding: 8px 18px; font-size: 15px; border: 1px solid var(--line); background: rgba(43, 45, 51, 0.06); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px clamp(16px, 6vw, 96px) 96px;
}
.hero-content { position: relative; max-width: 720px; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.0; font-weight: 800; text-shadow: 0 4px 30px rgba(255, 255, 255, 0.9); }
.grad {
  background: linear-gradient(92deg, #b8306f 0%, var(--cyan) 38%, #e2602f 72%, #c94d1e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.tagline { margin: 18px 0 0; font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-style: italic; font-weight: 600; color: #4a4d57; }
.lead { margin: 16px 0 32px; font-size: clamp(17px, 1.5vw, 20px); color: #3d4049; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 20px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid rgba(43, 45, 51, 0.14); }
.trust li { display: flex; flex-direction: column; min-width: 120px; }
.trust b { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1.1; background: linear-gradient(90deg, #2a2c33, #e2508f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust span { color: var(--muted); font-size: 13px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(43, 45, 51, 0.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Sections */
.section { padding: 110px clamp(16px, 5vw, 72px); max-width: 1240px; margin: 0 auto; position: relative; }
.section-alt { max-width: none; background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt > .wrap { max-width: 1096px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head .eyebrow { display: flex; align-items: center; gap: 12px; }
.section-head .eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--red)); }
h2 { font-size: clamp(32px, 4.2vw, 54px); margin: 0 0 12px; line-height: 1.05; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 18px; margin: 0; }
.center { text-align: center; margin-top: 36px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 22px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--delay, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Downloads */
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.platform { background: var(--card); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.platform.yours { border: 2px solid transparent; background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) padding-box, linear-gradient(120deg, var(--cyan), var(--violet), var(--red)) border-box; }
.platform.yours::before { content: "Your system"; position: absolute; top: -11px; right: 18px; padding: 2px 10px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--violet)); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.platform-head { display: flex; align-items: center; gap: 12px; }
.platform-head svg { width: 28px; height: 28px; fill: var(--text); }
.platform-head h3 { margin: 0; font-size: 22px; }
.platform-note { color: var(--muted); font-size: 14px; margin: 10px 0 14px; }
.packages { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.package { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(43, 45, 51, 0.04); color: var(--text); transition: border-color .2s ease, background .2s ease; }
.package:hover { text-decoration: none; border-color: var(--cyan); background: rgba(226, 80, 143, 0.08); }
.pkg-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(43, 45, 51, 0.25); color: var(--muted); }
.pkg-tag.rec { border-color: rgba(61, 220, 132, 0.5); color: #3ddc84; background: rgba(61, 220, 132, 0.12); }
.pkg-text { font-size: 14px; color: #3d4049; }
.pkg-size { font-size: 13px; color: var(--muted); }
.packages .pending { color: var(--muted); font-size: 14px; padding: 10px 2px; }

/* Preview window */
.window {
  position: relative; margin: 0 auto; max-width: 1100px;
  border-radius: 22px; overflow: hidden;
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(43, 45, 51, 0.14);
  box-shadow: 0 40px 120px rgba(74, 38, 58, 0.21), 0 0 0 1px rgba(226, 80, 143, 0.08);
  transition: transform .25s ease; transform-style: preserve-3d;
}
.window::before { content: ""; position: absolute; inset: -2px; border-radius: 24px; padding: 2px; background: linear-gradient(120deg, var(--cyan), var(--violet), var(--red)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; z-index: 2; }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(43, 45, 51, 0.04); border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(43, 45, 51, 0.18); }
.window-bar span:nth-child(1) { background: #ff5f57; } .window-bar span:nth-child(2) { background: #febc2e; } .window-bar span:nth-child(3) { background: #28c840; }
.window-bar em { margin-left: auto; margin-right: auto; font-style: normal; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.window img { width: 100%; height: auto; }
.window-glow { position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(226, 80, 143, 0.18), transparent 70%); pointer-events: none; mix-blend-mode: screen; animation: drift 12s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(-10%, -10%); } 50% { transform: translate(10%, 12%); } }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 28px 0 0; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(43, 45, 51, 0.05); color: #3d4049; font-size: 14px; font-weight: 500; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card {
  background: var(--card); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 45, 51, 0.06), transparent 40%); pointer-events: none; }
.card, .status, .steps li, .req-card, .faq details { position: relative; }
.card::after, .status::after, .steps li::after, .req-card::after, .faq details::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(226, 80, 143, 0.14), transparent 60%);
}
.card:hover::after, .status:hover::after, .steps li:hover::after, .req-card:hover::after, .faq details:hover::after { opacity: 1; }
.card:hover { border-color: rgba(226, 80, 143, 0.55); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(74, 38, 58, 0.16); }
.card h3 { margin: 16px 0 6px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
.card-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(74, 38, 58, 0.12); }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.cyan { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.card-icon.red { background: linear-gradient(135deg, var(--red), #ff8a3c); }
.card-icon.pink { background: linear-gradient(135deg, var(--pink), var(--violet)); }

/* Game status with drawn cases */
.status-grid { display: grid; grid-template-columns: minmax(0, 760px); gap: 20px; }
.status { display: flex; gap: 26px; align-items: center; background: var(--card); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.status h3 { margin: 6px 0 8px; font-size: 20px; line-height: 1.25; }
.status h3 small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; letter-spacing: .06em; text-transform: uppercase; }
.status p { margin: 0; color: var(--muted); }
.status-tag { display: inline-block; margin: 0; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status-tag.good { background: rgba(61, 220, 132, 0.15); color: #3ddc84; border: 1px solid rgba(61, 220, 132, 0.4); }
.status-tag.ok { background: rgba(226, 80, 143, 0.12); color: var(--cyan); border: 1px solid rgba(226, 80, 143, 0.35); }
.boxart { flex: none; width: 160px; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px rgba(43, 45, 51, 0.12), 0 24px 50px rgba(74, 38, 58, 0.23), 0 0 60px rgba(226, 80, 143, 0.12); transition: transform .3s ease; }
.status:hover .boxart { transform: translateY(-4px) rotate(-1.5deg); }
.case { flex: none; width: 112px; height: 182px; border-radius: 7px; position: relative; overflow: hidden; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55); }
.case-switch { background: linear-gradient(135deg, rgba(236, 240, 248, 0.85), rgba(178, 186, 204, 0.85)); }
.case-switch2 { background: linear-gradient(135deg, #ec1e2c, #960612); }
.case::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.2)); z-index: 2; }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05) 40%, transparent 55%); z-index: 3; pointer-events: none; }
.case-band { position: absolute; left: 8px; right: 3px; top: 4px; height: 20px; background: #e4000f; z-index: 1; display: flex; align-items: center; gap: 4px; padding: 0 6px; }
.case-band i { font-style: normal; color: #fff; font-family: var(--display); font-weight: 800; font-size: 8px; letter-spacing: .08em; }
.case-band b { width: 9px; height: 9px; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 2.5px #e4000f, inset 0 0 0 4px #fff; }
.case-switch2 .case-band { justify-content: flex-end; }
.case-switch2 .case-band span { background: #fff; color: #e4000f; font-weight: 900; font-size: 9px; padding: 0 4px; border-radius: 3px 0 0 3px; line-height: 13px; }
.case-switch2 .case-band i { background: #fff; color: #e4000f; padding: 0 5px 0 2px; line-height: 13px; border-radius: 0 3px 3px 0; font-size: 7px; }
.case-art { position: absolute; left: 8px; right: 3px; top: 24px; bottom: 4px; z-index: 1; }
.case-art.zelda { background: radial-gradient(circle at 50% 35%, #7bd36b, #1f6a2b 55%, #0a2a16); }
.case-art.totk { background: radial-gradient(circle at 50% 30%, #c9f3f1, #4fbfc0 50%, #1a5f74); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--violet), var(--red)); opacity: .6; }
.timeline li { position: relative; padding: 0 0 34px 40px; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--cyan); box-shadow: 0 0 0 4px rgba(226, 80, 143, 0.15); }
.timeline time { color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.timeline h3 { margin: 4px 0 6px; font-size: 22px; }
.timeline p { margin: 0; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { display: flex; gap: 16px; background: var(--card); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps h3 { margin: 2px 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }
.step-num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #fff; box-shadow: 0 8px 20px rgba(226, 80, 143, 0.3); }

/* Requirements */
.reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.req-card { background: var(--card); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.req-card.featured { border: 2px solid transparent; background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) padding-box, linear-gradient(120deg, var(--cyan), var(--violet), var(--red)) border-box; }
.req-card h3 { margin: 0 0 14px; font-size: 22px; }
.req-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.req-card li { color: #3d4049; }
.req-card b { display: inline-block; min-width: 48px; color: var(--cyan); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(226, 80, 143, 0.45); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* Credits */
.credits { display: flex; gap: 22px; align-items: flex-start; }
.credits img { flex: none; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--line); }
.credits-text { color: #3d4049; font-size: 17px; max-width: 820px; margin: 0 0 14px; }
.disclaimer { padding: 16px 18px; border-left: 3px solid var(--red); background: rgba(239, 122, 47, 0.08); border-radius: 0 12px 12px 0; }

/* Footer */
.footer { background: rgba(251, 247, 249, 0.86); border-top: 1px solid var(--line); padding: 64px clamp(16px, 5vw, 72px) 40px; color: var(--muted); font-size: 14px; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 36px; }
.footer-grid h4 { margin: 0 0 12px; color: var(--text); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { display: block; color: var(--muted); padding: 4px 0; }
.footer-grid a:hover { color: var(--text); text-decoration: none; }
.footer-grid p { margin: 6px 0; }
.footer-logo { height: 52px; width: auto; }
.footer-tag { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--text); font-size: 17px; margin-top: 10px; }
.footer-bottom { max-width: 1240px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, border-color .2s ease; z-index: 9; }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--cyan); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero { min-height: 0; padding: 100px 16px 72px; }
  .page-art { background-position: 50% top; }
  .page-art::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(251, 247, 249, 0.7) 100%); }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .status-grid { grid-template-columns: 1fr; }
  .status { flex-direction: column; }
  .credits { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust { gap: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .window, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
  .grad, .window-glow, .scroll-cue span { animation: none; }
}
