@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("schibsted-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("schibsted-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #06131c;
  --surface: #0b1d29;
  --surface-2: #112839;
  --surface-3: #183447;
  --ink: #eaf4f8;
  --muted: #93adbd;
  --faint: #5f7d8f;
  --accent: #00cbff;
  --accent-ink: #03141d;
  --accent-soft: #0b3a4f;
  --sand: #f2cfa8;
  --sand-ink: #2b1d14;
  --deep: #0a66d0;
  --water: #3fb8f5;
  --foam: #b9ecff;
  --good: #35e07a;
  --warn: #ffc24b;
  --bad: #ff5d62;
  --good-soft: #0f3a26;
  --warn-soft: #3d3010;
  --bad-soft: #42171b;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 1.3rem + 2.2vw, 3rem);
  --step-display: clamp(3rem, 1.6rem + 7vw, 8rem);

  --radius: 4px;
  --gutter: clamp(16px, 2.2vw, 32px);
  --bar-h: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: lining-nums proportional-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ocean-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--gutter);
  background: var(--bg);
}
.ocean-bar.is-scrolled { background: var(--surface); }
.ocean-bar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  flex: none;
}
.ocean-bar__brand img { width: 44px; height: auto; image-rendering: auto; }
.ocean-bar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ocean-bar__links::-webkit-scrollbar { display: none; }
.ocean-bar__links a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.ocean-bar__links a:hover { color: var(--ink); background: var(--surface-2); }
.ocean-bar__links a[aria-current="page"] { color: var(--ink); }
.ocean-bar__links a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--accent);
}
.ocean-bar__end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.ocean-bar__slot { display: flex; align-items: center; gap: 8px; }

.o-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, color .15s, transform .12s var(--ease);
}
.o-btn:hover { background: var(--surface-3); }
.o-btn:active { transform: translateY(1px) scale(.98); }
.o-btn[disabled], .o-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.o-btn--primary { background: var(--accent); color: var(--accent-ink); }
.o-btn--primary:hover { background: #4fdcff; }
.o-btn--sand { background: var(--sand); color: var(--sand-ink); }
.o-btn--sand:hover { background: #f8dcbd; }
.o-btn--ghost { background: transparent; color: var(--muted); }
.o-btn--ghost:hover { background: var(--surface-2); color: var(--ink); }
.o-btn--danger { background: var(--bad-soft); color: #ffb3b5; }
.o-btn--danger:hover { background: #5a1d22; }
.o-btn--sm { min-height: 32px; padding: 0 12px; font-size: 14px; }
.o-btn--lg { min-height: 52px; padding: 0 22px; font-size: 17px; }
.o-btn--discord { background: #5865f2; color: #fff; }
.o-btn--discord:hover { background: #6d78f5; }

.o-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .15s, transform .12s var(--ease);
}
.o-copy:hover { background: #4fdcff; }
.o-copy:active { transform: scale(.98); }
.o-copy__hint { font-weight: 600; opacity: .75; }
.o-copy.is-done { background: var(--good); }

.o-input, .o-select {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 15px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .15s, background-color .15s;
}
.o-input::placeholder { color: var(--faint); }
.o-input:hover, .o-select:hover { background: var(--surface-3); }
.o-input:focus, .o-select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.o-select { padding-right: 32px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2393adbd' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }

.o-panel { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.o-panel--2 { background: var(--surface-2); }

.o-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.o-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 10px 12px; font-size: 14px; }
.o-table td { padding: 10px 12px; border-top: 1px solid var(--surface-2); }
.o-table tbody tr { transition: background-color .12s; }
.o-table tbody tr:hover { background: var(--surface-2); }
.o-table .r { text-align: right; }

.o-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.o-dot--up { background: var(--good); }
.o-dot--down { background: var(--bad); }
.o-dot--warn { background: var(--warn); }

.o-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: var(--radius); background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.o-tag--good { background: var(--good-soft); color: #8ff0b6; }
.o-tag--bad { background: var(--bad-soft); color: #ffb3b5; }
.o-tag--warn { background: var(--warn-soft); color: #ffe09a; }
.o-tag--accent { background: var(--accent-soft); color: var(--foam); }

.o-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.o-tabs button, .o-tabs a {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.o-tabs button:hover, .o-tabs a:hover { color: var(--ink); background: var(--surface-2); }
.o-tabs [aria-selected="true"], .o-tabs [aria-current="page"] { background: var(--surface-2); color: var(--ink); }

.o-skel { background: var(--surface-2); border-radius: var(--radius); animation: o-pulse 1.4s ease-in-out infinite; }
@keyframes o-pulse { 50% { opacity: .55; } }

.o-empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.o-error { padding: 14px 16px; border-radius: var(--radius); background: var(--bad-soft); color: #ffc9cb; }

.o-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  transition: opacity .2s, transform .25s var(--ease);
  pointer-events: none;
}
.o-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.ocean-foot {
  margin-top: 120px;
  padding: 56px var(--gutter) 28px;
  background: var(--surface);
  color: var(--muted);
}
.ocean-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.ocean-foot__name { color: var(--ink); font-weight: 900; font-size: clamp(2.5rem, 1rem + 6vw, 6rem); letter-spacing: -0.05em; line-height: .9; }
.ocean-foot h2 { color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.ocean-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ocean-foot a { color: var(--muted); text-decoration: none; font-size: 15px; }
.ocean-foot a:hover { color: var(--ink); }
.ocean-foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; font-size: 13px; color: var(--faint); }

@media (max-width: 860px) {
  .ocean-foot__grid { grid-template-columns: 1fr 1fr; }
  .ocean-foot__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .ocean-bar__brand span { display: none; }
  .ocean-bar__end > .o-copy .o-copy__hint { display: none; }
}
@media (max-width: 640px) {
  :root { --bar-h: 52px; }
  .ocean-bar { gap: 10px; }
  .ocean-bar__brand span { display: none; }
  .ocean-bar__links a { padding: 8px 8px; font-size: 14px; }
  .o-copy__hint { display: none; }
  .ocean-bar__end > .o-copy { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.o-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.o-reveal.is-in { opacity: 1; transform: none; }
