/* Open Otter: launching soon page. Plain CSS, no build step. */

:root {
  --body: #252936;
  --shell: #202330;
  --card: #1c1e29;
  --inset: #181b26;
  --deep: #0c0f18;
  --border: #4e5564;
  --border-2: #3c424f;

  --gold: #d69e02;
  --primary: #efbd43;
  --hover: #e7b230;
  --gold-d1: #c18500;
  --gold-d2: #64400e;
  --gold-d3: #2a1c0c;
  --indigo: #8794c0;

  --h: #e8ecf1;
  --text: #d7dee6;
  --muted: #a3b3c7;

  --teal: #3fb8ac;
  --teal-d: #1d5d63;
  --foam: #c8f6ee;

  --font-h: "Fraunces", Georgia, "Times New Roman", serif;
  --font-b: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-m: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  /* Cap height of Fraunces 800, used to size the eye O's and the TT bridge. */
  --cap: .7em;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --wave-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cpath d='M0 5 Q12 0 24 5 T48 5' fill='none' stroke='%23c18500' stroke-width='1.5'/%3E%3Cpath d='M0 10 Q12 5 24 10 T48 10' fill='none' stroke='%232f8f88' stroke-width='1.5'/%3E%3C/svg%3E");

  --look-x: 0;
  --look-y: 0;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--shell);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--body);
  color: var(--text);
  font: 400 16px/24px var(--font-b);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--hover); }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px;
  background: var(--gold-d3); color: var(--primary);
  border: 2px solid var(--gold-d1);
  font: 800 14px/1 var(--font-h); text-transform: uppercase; letter-spacing: .1em;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; }

.nowrap, .pun { white-space: nowrap; }

/* ---------- Headings ---------- */

h1, h2, h3 {
  margin: 0;
  color: var(--h);
  font-family: var(--font-h);
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: 48px; line-height: 1; letter-spacing: -.01em; }
h2 { font-size: 36px; line-height: 40px; letter-spacing: -.005em; }
h3 { font-size: 24px; line-height: 30px; }

.pun { color: var(--primary); }

/* ---------- The double O: letters that are otter eyes ---------- */

.eye {
  display: inline-block;
  position: relative;
  width: calc(var(--cap) * .92);
  height: calc(var(--cap) * 1.04);
  margin: 0 .025em calc(var(--cap) * -.02);
  border: calc(var(--cap) * .19) solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 58%, #2c1b11 0 40%, #120c08 80%);
  vertical-align: baseline;
  transform-origin: 50% 60%;
  animation: blink 7s infinite;
}
.eye::before,
.eye::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease-out;
  transform: translate(calc(var(--look-x) * 30%), calc(var(--look-y) * 24%));
}
.eye::before { width: 38%; height: 38%; left: 44%; top: 10%; }
.eye::after  { width: 18%; height: 18%; left: 20%; top: 58%; opacity: .8; }

.pun .eye:nth-of-type(2) { animation-delay: 0s; }
h2 .eye { animation-delay: 1.3s; }
.plaque-tag .eye { animation-delay: 2.4s; }
.divider .eye { animation-delay: 3.1s; }

@keyframes blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.1); }
}

/* ---------- The double T: one arched crossbar, a little bridge ---------- */

.tt {
  display: inline-block;
  width: calc(var(--cap) * 1.5);
  height: var(--cap);
  margin: 0 .01em;
  vertical-align: baseline;
  overflow: visible;
  color: inherit;
}

/* ---------- Wordmark ---------- */

.wordmark {
  font-family: var(--font-h);
  font-weight: 800;
  color: var(--h);
  white-space: nowrap;
}
.wordmark .eye,
.wordmark .tt { color: var(--primary); }

.wordmark--hero {
  margin: 0;
  font-size: clamp(42px, 9vw, 84px);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--primary);
  text-shadow: 0 2px 0 var(--gold-d2), 0 6px 24px rgba(214, 158, 2, .28);
}
.wordmark--hero .eye { box-shadow: 0 2px 0 var(--gold-d2); }
.wordmark--hero .tt { filter: drop-shadow(0 2px 0 var(--gold-d2)); }

/* ---------- Nav ---------- */

.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 2px;
}
.nav-face { width: 38px; height: 30px; flex: none; overflow: visible; }
.wordmark--nav { font-size: 22px; line-height: 1; }

.nav-link {
  padding: 8px 16px;
  border: 1px solid var(--gold-d2);
  border-radius: 2px;
  background: rgba(42, 28, 12, .55);
  color: var(--primary);
  font: 800 13px/1 var(--font-h);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.nav-link:hover { color: #fff3d0; border-color: var(--gold); background: var(--gold-d3); }

/* ---------- Sections ---------- */

.section {
  position: relative;
  isolation: isolate;
  padding: 96px 16px 112px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.section::before,
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--noise);
  background-size: 240px 240px;
  mix-blend-mode: overlay;
  opacity: .32;
  pointer-events: none;
}
.section--light { background: linear-gradient(#121620, #181b26); }
.section--dark {
  background:
    radial-gradient(120% 85% at 50% 45%, transparent 45%, rgba(0, 0, 0, .55) 100%),
    var(--deep);
}

.section > h2 { max-width: 896px; margin: 0 auto; }
.sub {
  max-width: 512px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: balance;
}
.content { margin: 40px auto 0; }
.content--lg { max-width: 1152px; }
.content--md { max-width: 896px; }
.content--sm { max-width: 672px; }

/* Section divider: a gold-and-teal water line with a pair of otter eyes peeking out */
.divider {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}
.divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 14px;
  transform: translateY(-50%);
  background: var(--wave-tile) repeat-x center / 48px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: .9;
}
.divider-orn {
  --cap: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px 8px;
  background: var(--deep);
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--primary);
  box-shadow: 0 0 0 3px var(--deep), 0 0 0 4px var(--gold-d2), 0 6px 14px rgba(0, 0, 0, .55);
}
.divider-orn .eye { margin: 0; }
.divider-orn::before,
.divider-orn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.divider-orn::before { left: -14px; }
.divider-orn::after { right: -14px; }

/* ---------- Hero ---------- */

.hero {
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 88px;
  padding-bottom: 104px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 32% at 50% 30%, rgba(63, 184, 172, .14), transparent 70%),
    radial-gradient(50% 40% at 50% 52%, rgba(214, 158, 2, .10), transparent 70%);
  pointer-events: none;
}
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 896px;
}
.hero-mascot {
  position: relative;
  z-index: 2;
  width: clamp(230px, 26vw, 330px);
  margin-bottom: -30px;
}
.mascot--hero { width: 100%; height: auto; cursor: pointer; overflow: visible; -webkit-tap-highlight-color: transparent; }

.plaque {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 40px 14px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: linear-gradient(#1c1e29, #181b26);
  box-shadow:
    0 4px 6px -1px #64400e66,
    0 0 0 4px var(--deep),
    0 0 0 5px var(--border-2),
    0 24px 60px -24px rgba(214, 158, 2, .45);
}
.plaque::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(214, 158, 2, .22);
  pointer-events: none;
}
.corner {
  position: absolute;
  width: 9px; height: 9px;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--deep);
  transform: rotate(45deg);
}
.corner--tl { top: -5px; left: -5px; }
.corner--tr { top: -5px; right: -5px; }
.corner--bl { bottom: -5px; left: -5px; }
.corner--br { bottom: -5px; right: -5px; }

.plaque-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font: 800 14px/1 var(--font-h);
  letter-spacing: .28em;
  text-transform: uppercase;
}
.plaque-tag::before,
.plaque-tag::after {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.plaque-tag::after { transform: scaleX(-1); }
.plaque-tag .eye { margin: 0 .06em calc(var(--cap) * -.02); }

.hero-title { margin-top: 40px; }
.hero-sub { max-width: 540px; margin-top: 16px; }
.hero .btn-forged { margin-top: 32px; }

.sparkles i {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #ffe7a3;
  box-shadow: 0 0 6px 2px rgba(239, 189, 67, .55);
  opacity: 0;
  animation: twinkle 5s ease-in-out infinite;
}
.sparkles i:nth-child(1) { left: 12%; top: 22%; }
.sparkles i:nth-child(2) { left: 22%; top: 64%; animation-delay: 1.2s; }
.sparkles i:nth-child(3) { left: 31%; top: 14%; animation-delay: 2.6s; }
.sparkles i:nth-child(4) { left: 70%; top: 18%; animation-delay: .6s; }
.sparkles i:nth-child(5) { left: 81%; top: 46%; animation-delay: 3.3s; }
.sparkles i:nth-child(6) { left: 88%; top: 74%; animation-delay: 1.9s; }
.sparkles i:nth-child(7) { left: 8%; top: 82%; animation-delay: 4.1s; }
.sparkles i:nth-child(8) { left: 62%; top: 88%; animation-delay: 2.2s; background: #c8f6ee; box-shadow: 0 0 6px 2px rgba(63, 184, 172, .55); }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.6); }
  50% { opacity: .9; transform: scale(1); }
}

/* ---------- Mascot animation ---------- */

.mascot { overflow: visible; }
.mascot .bob { animation: bob 4.2s ease-in-out infinite; }
.mascot--hero .enter { animation: splash-in 1.15s cubic-bezier(.3, .6, .35, 1) both; }
.mascot--hero.is-hopping .enter { animation: hop .8s cubic-bezier(.3, .6, .35, 1); }
.mascot--hero.is-hopping .coin { animation: coin-flip .8s ease-in-out; }
.mascot .coin { transform-box: fill-box; transform-origin: center; }

.ripple {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: ripple 3.6s ease-out infinite;
}
.ripple--2 { animation-delay: 1.2s; }
.ripple--3 { animation-delay: 2.4s; }

.oo-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5.5s infinite;
}
.oo-pupils {
  transform: translate(calc(var(--look-x) * 2.6px), calc(var(--look-y) * 2px));
  transition: transform .2s ease-out;
}

.wave-arm { animation: wave 2.6s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes splash-in {
  0% { transform: translateY(-64px); opacity: 0; }
  12% { opacity: 1; }
  45% { transform: translateY(12px); }
  66% { transform: translateY(-7px); }
  84% { transform: translateY(3px); }
  100% { transform: translateY(0); }
}
@keyframes hop {
  0% { transform: translateY(0); }
  32% { transform: translateY(-30px); }
  58% { transform: translateY(8px); }
  78% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}
@keyframes coin-flip {
  0%, 100% { transform: scaleX(1); }
  25% { transform: scaleX(.08); }
  50% { transform: scaleX(1); }
  75% { transform: scaleX(.08); }
}
@keyframes ripple {
  0% { transform: scale(.7); opacity: 0; }
  12% { opacity: .65; }
  100% { transform: scale(2.3); opacity: 0; }
}
@keyframes wave {
  0%, 52%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(16deg); }
  22% { transform: rotate(-6deg); }
  34% { transform: rotate(14deg); }
  44% { transform: rotate(-3deg); }
}

/* ---------- Forged CTA ---------- */

.btn-forged {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border: 2px solid var(--gold-d1);
  border-radius: 2px;
  background:
    radial-gradient(120% 140% at 50% 30%, #3d2910 0%, var(--gold-d3) 55%, #160e05 100%);
  color: #f7d77e;
  font: 800 16px/24px var(--font-h);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 0 #000;
  box-shadow: 0 15px 40px -8px var(--gold-d1), inset 0 1px 0 rgba(255, 220, 140, .18);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-forged::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(239, 189, 67, .22);
  pointer-events: none;
}
.btn-forged:hover {
  color: #fff3d0;
  border-color: var(--hover);
  box-shadow: 0 18px 46px -6px var(--gold-d1), inset 0 1px 0 rgba(255, 220, 140, .28);
  transform: translateY(-1px);
}
.btn-forged:active { transform: translateY(1px); }
.btn-forged:focus-visible { outline-offset: 5px; }

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  background: var(--card);
  text-align: left;
  transition: border-color .15s ease, background-color .15s ease;
}
.card:hover { border-color: var(--border); }
.card h3 { margin-top: 16px; font-size: 22px; line-height: 28px; }
.card p { margin-top: 8px; color: var(--muted); }

.card--gold {
  border-color: var(--gold);
  background: linear-gradient(#1c1e29, #181b26);
  box-shadow: 0 4px 6px -1px #64400e66;
}
.card--gold:hover { border-color: var(--primary); }

.icon {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(214, 158, 2, .25));
}

.grid-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* How it works */
.float-otter {
  width: min(300px, 82%);
  margin: 28px auto 0;
}
.mascot--float { width: 100%; height: auto; }
.mascot--float .drift {
  transform-box: fill-box;
  transform-origin: 50% 70%;
  animation: drift 5.5s ease-in-out infinite;
}
.mascot--float .waves { animation: waves 7s linear infinite; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(3px) rotate(1.5deg); }
}
@keyframes waves {
  from { transform: translateX(0); }
  to { transform: translateX(120px); }
}

.grid-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 560px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}
.step { padding: 44px 24px 28px; text-align: center; }
.step h3 { margin-top: 0; }
.step-num {
  position: absolute;
  top: -19px; left: 50%;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  background: var(--gold-d3);
  box-shadow: 0 0 0 4px var(--deep), 0 4px 10px rgba(0, 0, 0, .5);
  transform: translateX(-50%) rotate(45deg);
}
.step-num span {
  transform: rotate(-45deg);
  color: var(--primary);
  font: 800 18px/1 var(--font-h);
}
.step code {
  font-family: var(--font-m);
  font-size: 14px;
  color: var(--primary);
  white-space: nowrap;
}

/* ---------- Code panel ---------- */

.code-wrap {
  position: relative;
  margin-top: 112px;
}
.peek {
  position: absolute;
  top: 0;
  left: 40px;
  z-index: 2;
  width: 150px;
  height: auto;
  transform: translateY(-89.8%);
}
.peek-paws g { transform-box: fill-box; transform-origin: center bottom; }

.code-panel {
  position: relative;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--card);
  box-shadow: 0 4px 6px -1px #64400e66, 0 30px 60px -30px rgba(0, 0, 0, .8);
  text-align: left;
  text-shadow: none;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px 0 4px;
  border-bottom: 1px solid var(--border-2);
  background: #161925;
}
.tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.tab {
  appearance: none;
  padding: 14px 14px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font: 700 14px/20px var(--font-b);
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.tab:hover { color: var(--h); }
.tab[aria-selected="true"] { color: var(--h); border-bottom-color: var(--gold); }
.tab:focus-visible { outline-offset: -4px; }

.badge {
  flex: none;
  padding: 4px 8px;
  border: 1px solid var(--gold-d1);
  border-radius: 2px;
  background: var(--gold-d3);
  color: var(--primary);
  font: 800 11px/14px var(--font-h);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.code-foot .badge { display: none; }

.code-body { background: var(--inset); }
.code-body:focus-visible { outline-offset: -2px; }
.code-body pre {
  margin: 0;
  padding: 20px 0;
  overflow-x: auto;
  color: var(--text);
  font: 13.5px/1.75 var(--font-m);
  tab-size: 4;
}
.code-body code {
  display: inline-block;
  min-width: 100%;
  padding: 0 20px;
  font: inherit;
}
.code-body .k { color: var(--indigo); }
.code-body .s { color: #86d9cc; }
.code-body .c { color: #8a98ad; font-style: italic; }
.code-body .f { color: #f0cf7a; }
.code-body .hl {
  display: inline-block;
  width: calc(100% + 40px);
  margin: 0 -20px;
  padding: 0 20px 0 17px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(214, 158, 2, .16), rgba(214, 158, 2, .04));
}
.code-body .hl .c { color: var(--primary); font-style: normal; }

.code-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 20px;
  border-top: 1px solid var(--border-2);
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}
.copy {
  flex: none;
  appearance: none;
  min-width: 72px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--inset);
  color: var(--text);
  font: 800 11px/14px var(--font-h);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.copy:hover, .copy.is-done { color: var(--primary); border-color: var(--gold); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; text-align: left; }
.faq details {
  border: 1px solid var(--border-2);
  border-radius: 2px;
  background: var(--card);
  transition: border-color .15s ease;
}
.faq details:hover { border-color: var(--border); }
.faq details[open] { border-color: var(--gold-d1); box-shadow: 0 4px 6px -1px #64400e66; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--h);
  font: 800 19px/26px var(--font-h);
  list-style: none;
  cursor: pointer;
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline-offset: -2px; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 14px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height .25s ease, content-visibility .25s allow-discrete;
}
.faq details[open]::details-content { height: auto; }

/* ---------- Final CTA ---------- */

.final {
  background:
    radial-gradient(50% 60% at 50% 30%, rgba(214, 158, 2, .09), transparent 70%),
    linear-gradient(#121620, #181b26);
}
.mascot--wave {
  width: clamp(190px, 20vw, 240px);
  height: auto;
  margin: -12px auto 12px;
}
.final .content { display: flex; flex-direction: column; align-items: center; }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  isolation: isolate;
  padding: 64px 16px 48px;
  background: #0a0c13;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-face { width: 46px; height: 37px; flex: none; overflow: visible; }
.wordmark--footer { font-size: 28px; line-height: 1; }
.footer-line { margin-top: 16px; }
.footer-line .pun { --cap: .7em; }
.footer-legal { margin-top: 8px; font-size: 13px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--primary); }

/* ---------- 404 ---------- */

.lost .mascot--lost { width: clamp(220px, 26vw, 300px); height: auto; margin: 0 auto 8px; }
.lost h1 { margin-top: 8px; }
.lost .btn-forged { margin-top: 32px; }
.lost .question {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: wobble 2.8s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

/* ---------- Scroll reveal (only when JS runs) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease var(--d, 0s), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), border-color .15s ease;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .peek-head { transform: translateY(56px); transition: transform .7s cubic-bezier(.3, 1.5, .5, 1) .35s; }
.js .peek-paws g { transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1) .8s; }
.js .is-in .peek-head { transform: none; }
.js .is-in .peek-paws g { transform: none; }

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .grid-features { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 860px) {
  .grid-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1152px; }
}

@media (max-width: 639px) {
  :root { --cap: .7em; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; line-height: 34px; }
  .section { padding: 80px 16px 96px; }
  .hero { padding-top: 80px; padding-bottom: 88px; }
  .nav { padding: 16px; }
  .nav-face { width: 33px; height: 26px; }
  .wordmark--nav { font-size: 19px; }
  .nav-link { padding: 8px 12px; font-size: 12px; }
  .plaque { padding: 16px 20px 12px; }
  .plaque-tag { font-size: 12px; letter-spacing: .22em; gap: 8px; }
  .plaque-tag::before, .plaque-tag::after { width: 16px; }
  .sub { font-size: 17px; line-height: 26px; }
  .card { padding: 24px; }
  .peek { width: 120px; left: 20px; }
  .code-wrap { margin-top: 96px; }
  .code-foot span { display: none; }
  .code-head .badge { display: none; }
  .code-foot .badge { display: inline-block; }
  .tab { padding: 14px 10px 12px; }
  .sparkles { display: none; }
  .faq summary { font-size: 17px; line-height: 24px; padding: 16px; }
  .faq details p { padding: 0 16px 16px; }
}

@media (max-width: 359px) {
  .nav-link { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .sparkles { display: none; }
  .ripple { opacity: 0; }
  .eye::before, .eye::after, .oo-pupils { transform: none !important; }
  .js [data-reveal] { transform: none; }
}
