html, body { margin: 0; min-height: 100%; }
html[data-sky="dawn"] body {
  background: radial-gradient(1100px 640px at 68% 42%, #4a2a32 0%, #1a0d12 55%, #10080c 100%) fixed;
}
html[data-sky="day"] body {
  background: radial-gradient(1100px 640px at 68% 42%, #1a3d5c 0%, #071422 55%, #050c14 100%) fixed;
}
html[data-sky="golden"] body {
  background: radial-gradient(1100px 640px at 68% 42%, #4a3018 0%, #1a100a 55%, #100c08 100%) fixed;
}
html[data-sky="lavender"] body {
  background: radial-gradient(1100px 640px at 68% 42%, #322448 0%, #120e1c 55%, #0c0a14 100%) fixed;
}
html[data-sky="night"] body, body {
  background: radial-gradient(1100px 640px at 68% 42%, #143049 0%, #071018 52%, #05080e 100%) fixed;
}
html { background: #05080e; }
body {
  color: #e8f0fa;
  font: 16px/1.55 Oswald, Futura, "Trebuchet MS", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
html[data-water="off"] canvas { display: none; }
.switch {
  position: fixed;
  left: clamp(20px, 4vw, 56px);
  bottom: clamp(18px, 4vh, 44px);
  margin: 0;
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 22px);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(236, 244, 252, 0.92);
  text-shadow: 0 1px 14px rgba(5, 8, 14, 0.7);
  user-select: none;
}
.switch a {
  position: relative;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.switch a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.46em;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.2s;
}
.switch a:hover::after, .switch a[aria-current="page"]::after { opacity: 0.75; }
.switch:has([aria-current="page"]) a:not([aria-current="page"]) { opacity: 0.5; }
.switch:has([aria-current="page"]) a:not([aria-current="page"]):hover { opacity: 0.9; }
.switch a:focus-visible { outline: 2px solid rgba(236, 244, 252, 0.85); outline-offset: 6px; }
.fleet {
  position: fixed;
  top: clamp(18px, 4vh, 36px);
  right: clamp(20px, 4vw, 48px);
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0.38;
}
.fleet.live { opacity: 1; }
.fleet li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(236, 244, 252, 0.4);
}
.fleet li[data-state="ok"] { background: rgba(236, 244, 252, 0.92); box-shadow: 0 0 0 1px rgba(5, 8, 14, 0.28); }
.fleet li[data-state="warn"] { background: #e2b15a; box-shadow: 0 0 0 1px rgba(5, 8, 14, 0.28); }
.fleet li[data-state="down"] { box-shadow: inset 0 0 0 1.5px rgba(236, 244, 252, 0.72); }
main {
  position: relative;
  box-sizing: border-box;
  width: min(520px, 100% - 32px);
  margin: 72px 0 96px;
  padding: 34px 32px 26px;
  border-radius: 24px;
  background: rgba(5, 8, 14, 0.62);
  box-shadow: 0 20px 60px rgba(5, 8, 14, 0.45), inset 0 0 0 1px rgba(236, 244, 252, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
h1 { margin: 0 0 4px; font-weight: 400; font-size: 32px; letter-spacing: 0.04em; }
.soft { color: rgba(232, 240, 250, 0.6); margin: 0; }
.get {
  display: inline-block;
  margin: 30px 0 8px;
  padding: 14px 30px;
  border-radius: 999px;
  background: rgba(236, 244, 252, 0.14);
  box-shadow: inset 0 0 0 1px rgba(236, 244, 252, 0.32);
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 15px;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.seg {
  display: flex;
  width: fit-content;
  margin: 22px 0 0;
  padding: 3px;
  border-radius: 999px;
  background: rgba(236, 244, 252, 0.06);
  box-shadow: inset 0 0 0 1px rgba(236, 244, 252, 0.12);
}
.seg button {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 7px 20px;
  border-radius: 999px;
  background: transparent;
  color: rgba(232, 240, 250, 0.6);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.seg button[aria-pressed="true"] { background: rgba(236, 244, 252, 0.16); color: #e8f0fa; }
.seg button:focus-visible { outline: 2px solid rgba(236, 244, 252, 0.85); outline-offset: 2px; }
div[hidden] { display: none; }
.get:hover { background: rgba(236, 244, 252, 0.24); }
.get:focus-visible { outline: 2px solid rgba(236, 244, 252, 0.85); outline-offset: 4px; }
.get[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
#notes { font-size: 14px; }
ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 34px 0 26px;
}
ol li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 52px;
  margin: 8px 0;
  border-radius: 14px;
  background: rgba(236, 244, 252, 0.06);
  backdrop-filter: blur(6px);
}
ol li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 14px;
  color: rgba(236, 244, 252, 0.5);
}
.small {
  font-size: 13px;
  color: rgba(232, 240, 250, 0.52);
  margin: 10px 0 0;
}
.small a { color: inherit; }
.sum {
  margin-top: 18px;
  font: 11px/1.5 ui-monospace, Menlo, Consolas, monospace;
  color: rgba(232, 240, 250, 0.38);
  word-break: break-all;
}
noscript .get { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .get, .seg button, .switch a, .switch a::after { transition: none; }
}
