:root {
  color-scheme: dark;
  --ink: #edf1e8;
  --muted: #b7c0b4;
  --deep: #040b08;
  --panel: rgba(5, 14, 10, 0.7);
  --stone-top: #f2f0df;
  --stone-mid: #aeb7aa;
  --stone-dark: #667169;
  --moss: #83b834;
  --fire: #ff9a3d;
  --rune: #59d8d3;
  --scene-shift-x: 0px;
  --scene-shift-y: 0px;
  --header-height: 88px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--deep);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a,
output {
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #d5f178;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eff5df;
  color: #07110e;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scene {
  position: relative;
  isolation: isolate;
  min-height: max(720px, 100svh);
  overflow: hidden;
  overflow: clip;
  background: #06100c;
}

.scene-backdrop,
.scene-plate,
.scene-plate img,
.scene-wash,
.fire-aura,
.scene-canvas,
.character-stage {
  position: absolute;
  inset: 0;
}

.scene-backdrop {
  z-index: -5;
  overflow: hidden;
  background: #07110e;
}

.scene-plate {
  opacity: 0;
  overflow: hidden;
  transition: opacity 12s linear;
  will-change: opacity;
}

html[data-scene-ready="false"] .scene-plate {
  transition: none;
}

.scene-plate img {
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  margin: -12px;
  object-fit: cover;
  object-position: 50% 50%;
  transform: translate3d(var(--scene-shift-x), var(--scene-shift-y), 0) scale(1.018);
  transition: transform 1.6s cubic-bezier(.2, .7, .2, 1);
}

.scene-wash {
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 70%, rgba(2, 6, 4, .14) 76%, rgba(2, 6, 4, .84) 87%, #020604 93%),
    linear-gradient(180deg, rgba(2, 8, 6, 0.78) 0, rgba(3, 10, 7, 0.18) 16%, rgba(4, 10, 8, 0.04) 44%, rgba(1, 5, 4, 0.48) 100%),
    radial-gradient(ellipse at 50% 38%, rgba(3, 12, 8, 0.1) 0 28%, rgba(3, 9, 7, 0.56) 74% 100%);
  pointer-events: none;
}

.fire-aura {
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 77%, rgba(255, 147, 43, .105) 0 2%, transparent 18%),
    radial-gradient(ellipse at 50% 74%, rgba(255, 92, 18, .035) 0 3%, transparent 28%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.scene-canvas {
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scene-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, auto);
  align-items: center;
  gap: 24px;
  height: var(--header-height);
  padding: 0 max(24px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid rgba(215, 233, 196, 0.16);
  background: linear-gradient(180deg, rgba(3, 10, 7, 0.88), rgba(3, 10, 7, 0.46));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  overflow: visible;
  color: #d5ef86;
  filter: drop-shadow(0 0 15px rgba(89, 216, 211, .28));
}

.brand-crest {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
}

.brand-letter {
  fill: currentColor;
}

.brand-mark circle {
  fill: #07120d;
}

.brand > span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.19rem;
  line-height: 1;
  letter-spacing: .01em;
}

.brand small {
  color: #a8b5a6;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.scene-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.scene-nav button,
.scene-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(223, 234, 213, .24);
  background: transparent;
  color: #d8dfd5;
  font-size: .83rem;
  font-weight: 720;
  letter-spacing: .02em;
  text-decoration: none;
}

.scene-nav a { cursor: pointer; }

.scene-nav a:hover { color: #eff8d7; border-bottom-color: rgba(213, 241, 120, .72); }

.scene-nav button:disabled,
.hero-action button:disabled {
  cursor: not-allowed;
}

.scene-nav button:disabled {
  opacity: .62;
}

.scene-nav .login-preview {
  min-width: 92px;
  border: 1px solid rgba(221, 237, 205, .36);
  border-radius: 2px 15px 2px 15px;
  background: rgba(7, 21, 14, .48);
  cursor: pointer;
  opacity: 1;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.scene-nav .login-preview:hover {
  border-color: rgba(213, 241, 120, .72);
  background: rgba(26, 52, 31, .72);
  color: #eff8d7;
  transform: translateY(-1px);
}

.hero {
  position: absolute;
  z-index: 12;
  top: clamp(132px, 16.5vh, 176px);
  left: 50%;
  width: min(980px, calc(100vw - 48px));
  text-align: center;
  transform: translateX(-50%);
  animation: hero-arrive 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 20% -8% -18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(2, 9, 6, .36), transparent 70%);
  content: "";
  filter: blur(16px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 5px 22px 6px;
  border: 1px solid rgba(219, 229, 206, .45);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(8, 21, 14, .5), rgba(21, 29, 20, .66), rgba(8, 21, 14, .5));
  color: #e9eee3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.82rem, 1.1vw, .98rem);
  font-style: italic;
  letter-spacing: .035em;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 8px 28px rgba(0, 0, 0, .22);
}

.stone-title {
  margin: 0;
  color: var(--stone-top);
  font-family: "Iowan Old Style", Baskerville, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.85rem, 4.15vw, 4.35rem);
  font-feature-settings: "kern" 1, "liga" 1;
  font-kerning: normal;
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.035em;
  text-rendering: optimizeLegibility;
  text-wrap: balance;
  -webkit-font-smoothing: antialiased;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, .12))
    drop-shadow(0 2px 0 rgba(53, 60, 55, .9))
    drop-shadow(0 4px 1px rgba(22, 28, 24, .72))
    drop-shadow(0 12px 22px rgba(0, 0, 0, .62))
    drop-shadow(0 20px 32px rgba(224, 105, 35, .11));
}

.stone-title span {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  background: none;
  color: #f1eee4;
  -webkit-text-fill-color: #f1eee4;
  -webkit-text-stroke: .18px rgba(255, 255, 255, .24);
  text-shadow:
    0 .5px 0 rgba(255, 255, 255, .36),
    0 1.25px 0 rgba(100, 108, 102, .78),
    0 2.5px 0 rgba(49, 56, 51, .88),
    0 6px 12px rgba(0, 0, 0, .35);
}

.stone-title span:nth-child(1) {
  font-size: inherit;
  letter-spacing: inherit;
}

.stone-title span:nth-child(2) {
  margin-top: .04em;
}

.stone-title span:nth-child(3) {
  margin-top: .04em;
  font-size: inherit;
  letter-spacing: inherit;
}

.stone-title em {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-shadow: inherit;
}

.market-proof {
  position: absolute;
  z-index: 13;
  top: 59%;
  left: 50%;
  display: grid;
  grid-template-columns: 78px minmax(430px, 610px) 78px;
  align-items: center;
  width: min(820px, calc(100vw - 40px));
  min-height: 166px;
  transform: translateX(-50%);
}

.vine-column {
  width: 76px;
  height: 184px;
  overflow: visible;
  color: #9abc46;
  filter: drop-shadow(0 0 8px rgba(99, 173, 49, .26));
  animation: vine-breathe 6s ease-in-out infinite alternate;
}

.vine-right {
  animation-delay: -3s;
}

.column-line {
  fill: none;
  stroke: rgba(178, 142, 70, .62);
  stroke-width: 1.4;
}

.vine-stem {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
}

.vine-leaf,
.vine-column circle {
  fill: currentColor;
}

.metric-pair {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 166px;
  padding: 17px 26px 18px;
  border-block: 1px solid rgba(214, 229, 197, .24);
  background:
    linear-gradient(90deg, rgba(3, 12, 8, .14), rgba(3, 12, 8, .72) 16% 84%, rgba(3, 12, 8, .14));
  backdrop-filter: blur(5px);
}

.metric-pair > i {
  width: 1px;
  height: 76px;
  background: linear-gradient(transparent, rgba(190, 213, 169, .4), transparent);
}

.metric-pair article {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  text-align: center;
}

.metric-pair article > span {
  color: #d9e3d3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(.9rem, 1.25vw, 1.1rem);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.metric-pair output {
  color: #f0f0df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.1vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .5), 0 0 24px rgba(255, 137, 53, .16);
}

.metric-pair small {
  min-height: 1.2em;
  color: #aebca9;
  font-size: .69rem;
  line-height: 1.2;
}

.metric-pair output[data-loaded="true"] {
  animation: metric-live 900ms ease both;
}

.metric-market {
  grid-column: 1 / -1;
  padding-top: 11px;
  border-top: 1px solid rgba(190, 213, 169, .22);
}

.metric-market-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, filter 180ms ease;
}

.metric-market-value b {
  color: var(--rune);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .64rem;
  letter-spacing: .12em;
}

.metric-market-value:hover {
  color: #f5fadf;
  filter: drop-shadow(0 0 10px rgba(213, 241, 120, .2));
}

.hero-action {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: clamp(32px, 4vh, 40px);
}

.hero-action button {
  min-width: min(370px, calc(100vw - 40px));
  min-height: 72px;
  padding: 0 48px;
  border: 1px solid rgba(218, 236, 188, .56);
  border-radius: 4px 22px 4px 22px;
  background:
    linear-gradient(180deg, rgba(176, 219, 72, .95), rgba(96, 148, 31, .94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 7px);
  color: #0b170e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.68rem;
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .38),
    inset 0 -3px rgba(18, 49, 13, .4),
    0 12px 30px rgba(0, 0, 0, .34),
    0 0 24px rgba(130, 192, 48, .13);
  cursor: pointer;
  opacity: .92;
}

.hero-action p {
  max-width: 420px;
  margin: 0;
  color: #c6d1c2;
  font-size: .67rem;
  letter-spacing: .025em;
  text-align: center;
  text-shadow: 0 2px 8px #000;
}

.payment-boundary {
  position: absolute;
  z-index: 11;
  right: 22px;
  bottom: 13px;
  max-width: 440px;
  margin: 0;
  color: rgba(219, 227, 215, .68);
  font-size: .6rem;
  line-height: 1.3;
  text-align: right;
  text-shadow: 0 1px 5px #000;
}

.payment-boundary code {
  color: rgba(222, 240, 196, .84);
  font-family: ui-monospace, "Cascadia Code", monospace;
}

.character-stage {
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.character-vignette {
  position: absolute;
  width: clamp(145px, 15vw, 245px);
  height: auto;
  opacity: 0;
  transform-origin: center bottom;
  will-change: transform, opacity;
  filter:
    saturate(.78)
    brightness(.72)
    drop-shadow(0 16px 18px rgba(0, 0, 0, .6));
  transition: filter 8s ease;
}

.character-vignette.is-active {
  opacity: .56;
}

.character-helping {
  right: 1.5vw;
  bottom: 3.5%;
}

.character-helping.is-active {
  animation: helping-pass var(--character-duration, 26s) ease-in-out both;
}

.character-wrestling {
  left: 1.5vw;
  bottom: 2.5%;
}

.character-wrestling.is-active {
  animation: friendly-wrestle var(--character-duration, 22s) ease-in-out both;
}

.character-walking {
  right: -4vw;
  bottom: 7%;
  width: clamp(270px, 30vw, 430px);
}

.character-walking.is-active {
  animation: walking-collaboration var(--character-duration, 30s) ease-in-out both;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 14px max(24px, calc((100vw - var(--content-width)) / 2));
  border-top: 1px solid rgba(197, 218, 180, .12);
  background: #040b08;
  color: #89978b;
  font-size: .72rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #d9ed9b;
}

.analytics-consent {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  width: min(410px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(202, 225, 177, .3);
  border-radius: 14px 3px 14px 3px;
  background: rgba(4, 13, 9, .96);
  color: #dbe4d6;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
  font-size: .78rem;
}

.analytics-consent p {
  margin: 0;
  line-height: 1.45;
}

.analytics-consent .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.analytics-consent .button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(206, 229, 178, .35);
  border-radius: 3px 12px 3px 12px;
  background: transparent;
  color: #e4eadf;
}

.analytics-consent .button.primary {
  background: #9bc444;
  color: #0c160d;
  font-weight: 800;
}

.noscript-note {
  position: fixed;
  z-index: 90;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 10px 14px;
  background: #fff1c8;
  color: #241b07;
}

.auth-dialog {
  width: min(472px, calc(100vw - 32px));
  max-height: min(760px, calc(100svh - 28px));
  margin: auto;
  padding: 34px 38px 30px;
  overflow: auto;
  border: 1px solid rgba(181, 219, 128, .34);
  border-radius: 3px 30px 3px 30px;
  background:
    linear-gradient(145deg, rgba(14, 30, 22, .985), rgba(4, 13, 10, .99) 64%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 8px);
  color: #edf2e8;
  box-shadow:
    inset 0 1px rgba(236, 248, 218, .12),
    inset 0 0 70px rgba(89, 216, 211, .025),
    0 30px 90px rgba(0, 0, 0, .76),
    0 0 0 1px rgba(2, 8, 5, .82);
  transition: width 220ms ease;
}

.auth-dialog[data-view="account"] {
  width: min(760px, calc(100vw - 32px));
  max-height: min(830px, calc(100svh - 28px));
}

.auth-dialog:not([open]) {
  display: none;
}

.auth-dialog[open] {
  animation: auth-enter 260ms cubic-bezier(.2, .75, .2, 1) both;
}

.auth-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 43%, rgba(35, 78, 57, .2), transparent 36%),
    rgba(1, 6, 4, .82);
  backdrop-filter: blur(7px) saturate(.72);
}

.auth-dialog::before,
.auth-dialog::after {
  position: absolute;
  width: 78px;
  height: 78px;
  border-color: rgba(89, 216, 211, .42);
  content: "";
  pointer-events: none;
}

.auth-dialog::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-radius: 2px 0 0;
}

.auth-dialog::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-radius: 0 0 2px;
}

.auth-rune {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: #badd68;
}

.auth-rune svg {
  width: 48px;
  height: 48px;
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(89, 216, 211, .22));
}

.auth-rune path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
}

.auth-rune path:nth-of-type(2) {
  fill: currentColor;
}

.auth-rune circle {
  fill: #07120d;
}

.auth-close {
  position: absolute;
  top: 20px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ba89d;
}

.auth-close:hover {
  color: #e4eedb;
}

.auth-close svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.auth-heading p {
  margin: 0 0 7px;
  color: #a7cc5c;
  font-size: .63rem;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.auth-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(2rem, 6vw, 2.55rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.025em;
}

.auth-heading > span {
  display: block;
  margin-top: 10px;
  color: #aab6aa;
  font-size: .8rem;
  line-height: 1.45;
}

.auth-form {
  display: grid;
  margin-top: 27px;
}

.auth-form[hidden],
.account-dashboard[hidden] {
  display: none;
}

.auth-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #bdc8ba;
  font-size: .69rem;
  font-weight: 730;
  letter-spacing: .035em;
}

.auth-input-shell {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid rgba(194, 216, 179, .16);
  border-radius: 3px 17px 3px 17px;
  background: rgba(2, 9, 6, .5);
  box-shadow: inset 0 1px 12px rgba(0, 0, 0, .24);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auth-input-shell:focus-within {
  border-color: rgba(89, 216, 211, .62);
  background: rgba(5, 18, 12, .72);
  box-shadow: inset 0 1px 14px rgba(0, 0, 0, .26), 0 0 0 3px rgba(89, 216, 211, .08);
}

.auth-input-shell > svg,
.password-toggle svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.auth-input-shell > svg {
  color: #839087;
}

.auth-input-shell input {
  width: 100%;
  height: 56px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #edf3e9;
  font-size: .94rem;
}

.auth-input-shell input::placeholder {
  color: #68746c;
}

.password-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #89968d;
}

.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: #cfe497;
}

.auth-recovery {
  justify-self: end;
  margin: -3px 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b5c0b3;
  font-size: .72rem;
}

.auth-recovery:hover,
.auth-switch button:hover {
  color: #dff09b;
}

.auth-legal {
  margin: 13px 0 0;
  color: #7f8d82;
  font-size: .65rem;
  line-height: 1.5;
  text-align: center;
}

.auth-legal a {
  color: #b9d578;
  text-underline-offset: 3px;
}

.auth-legal a:hover {
  color: #e1f2ad;
}

.auth-submit {
  min-height: 58px;
  border: 1px solid rgba(226, 244, 190, .48);
  border-radius: 3px 20px 3px 20px;
  background: linear-gradient(180deg, #b8d95c, #6d9e31);
  color: #0a160d;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: inset 0 1px rgba(255, 255, 255, .38), inset 0 -3px rgba(35, 69, 23, .32), 0 13px 28px rgba(0, 0, 0, .28);
  transition: filter 180ms ease, transform 180ms ease;
}

.auth-submit:hover {
  filter: brightness(1.08) saturate(1.04);
  transform: translateY(-1px);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 27px 0 21px;
  color: #7d8c81;
  font-size: .65rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(186, 210, 172, .2));
  content: "";
}

.auth-divider::after {
  background: linear-gradient(90deg, rgba(186, 210, 172, .2), transparent);
}

.auth-providers {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.auth-providers button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(197, 220, 181, .18);
  border-radius: 3px 17px 3px 17px;
  background: rgba(4, 14, 9, .58);
  color: #eef3eb;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.auth-providers button:hover {
  border-color: rgba(89, 216, 211, .54);
  background: rgba(11, 31, 21, .8);
  transform: translateY(-2px);
}

.auth-providers button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .4;
  filter: grayscale(.65);
}

.auth-providers button[aria-busy="true"] {
  border-color: rgba(103, 225, 199, .68);
  box-shadow: 0 0 18px rgba(56, 183, 153, .24);
  animation: auth-provider-pulse 800ms ease-in-out infinite alternate;
}

.auth-providers svg {
  width: 23px;
  height: 23px;
}

.provider-google path:nth-child(1) { fill: #4285f4; }
.provider-google path:nth-child(2) { fill: #34a853; }
.provider-google path:nth-child(3) { fill: #fbbc05; }
.provider-google path:nth-child(4) { fill: #ea4335; }
.provider-microsoft path:nth-child(1) { fill: #f25022; }
.provider-microsoft path:nth-child(2) { fill: #7fba00; }
.provider-microsoft path:nth-child(3) { fill: #00a4ef; }
.provider-microsoft path:nth-child(4) { fill: #ffb900; }
.provider-github { fill: currentColor; }
.provider-amazon { fill: #f5a623; }

/* Legal pages keep the approved palette without loading the animated scene. */
.legal-body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% -12%, rgba(80, 152, 116, .18), transparent 34rem),
    linear-gradient(180deg, #08140f 0, #030906 50%, #020604 100%);
}

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-header {
  min-height: 82px;
  border-bottom: 1px solid rgba(215, 233, 196, .14);
}

.legal-header nav,
.legal-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #b7c0b4;
  font-size: .78rem;
}

.legal-header nav a,
.legal-footer nav a {
  text-decoration: none;
}

.legal-header nav a:hover,
.legal-footer nav a:hover {
  color: #d7ee90;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #edf1e8;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-brand svg {
  width: 38px;
  color: #d5ef86;
  filter: drop-shadow(0 0 12px rgba(89, 216, 211, .2));
}

.legal-brand path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
}

.legal-brand path:nth-child(2),
.legal-brand circle {
  fill: currentColor;
}

.legal-main {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 116px) 0 96px;
}

.legal-main::before {
  display: block;
  width: 84px;
  height: 2px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, #b7dd58, #59d8d3, transparent);
  content: "";
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: #a7cc5c;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.legal-main h1 {
  max-width: 720px;
  margin: 0;
  color: #f1f1e6;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.045em;
}

.legal-main .legal-lede {
  max-width: 700px;
  margin: 27px 0 18px;
  color: #ced7c9;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(1.22rem, 3vw, 1.55rem);
  line-height: 1.5;
}

.legal-main section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(210, 231, 193, .12);
}

.legal-main h2 {
  margin: 0 0 13px;
  color: #e5eadc;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(1.42rem, 3vw, 1.9rem);
  font-weight: 600;
}

.legal-main p,
.legal-main li {
  color: #aeb9ad;
  font-size: .96rem;
  line-height: 1.82;
}

.legal-main strong,
.legal-main code {
  color: #dbe5d5;
}

.legal-main a {
  color: #bdda73;
  text-underline-offset: 3px;
}

.legal-main ul {
  padding-left: 1.2rem;
}

.legal-summary {
  border-top-color: rgba(183, 221, 88, .36) !important;
}

.legal-action {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(183, 221, 88, .42);
  border-radius: 2px 15px 2px 15px;
  background: rgba(134, 177, 64, .08);
  color: #dbeaa5;
  cursor: pointer;
}

.legal-action:hover {
  background: rgba(134, 177, 64, .17);
}

.legal-footer {
  min-height: 86px;
  border-top: 1px solid rgba(215, 233, 196, .12);
  color: #77857b;
  font-size: .72rem;
}

@media (max-width: 640px) {
  .legal-header,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
  }

  .legal-header nav,
  .legal-footer nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .legal-main {
    padding-top: 58px;
  }
}

.account-dashboard {
  margin-top: 26px;
}

.account-identity {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0 20px;
  border-top: 1px solid rgba(196, 221, 176, .16);
  border-bottom: 1px solid rgba(196, 221, 176, .12);
}

.account-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(207, 236, 187, .28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(218, 244, 151, .26), transparent 24%),
    linear-gradient(145deg, #6e9e35, #173d2f);
  color: #f2f5df;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: inset 0 0 18px rgba(3, 14, 9, .3), 0 0 18px rgba(111, 205, 101, .09);
}

.account-avatar img {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.account-avatar img[hidden],
.account-avatar img:not([src]) {
  display: none;
}

.account-identity > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-identity strong,
.account-identity > div span,
.account-identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-identity strong {
  color: #f0f2e9;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 1.05rem;
}

.account-identity > div span,
.account-identity small {
  color: #9fac9e;
  font-size: .7rem;
}

.account-identity button {
  padding: 8px 10px;
  border: 1px solid rgba(197, 220, 181, .2);
  border-radius: 2px 10px 2px 10px;
  background: rgba(4, 14, 9, .58);
  color: #d9e6d2;
  font-size: .7rem;
}

.account-identity button:hover {
  border-color: rgba(187, 221, 104, .5);
  color: #eef4e9;
}

.account-wallets {
  padding: 18px 0 17px;
  border-bottom: 1px solid rgba(196, 221, 176, .14);
}

.account-wallets > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.account-wallets h3 {
  margin: 0;
  color: #e9eee3;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: .92rem;
  font-weight: 650;
}

.account-wallets header p {
  margin: 4px 0 0;
  color: #849188;
  font-size: .64rem;
  line-height: 1.4;
}

.account-wallets > header > button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(193, 224, 116, .48);
  border-radius: 2px 12px 2px 12px;
  background: rgba(153, 193, 72, .1);
  color: #dcecaf;
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .03em;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.account-wallets > header > button:hover {
  border-color: rgba(203, 236, 121, .76);
  background: rgba(153, 193, 72, .18);
  transform: translateY(-1px);
}

.account-wallets > header > button:disabled {
  cursor: wait;
  opacity: .55;
  transform: none;
}

.account-wallets ul {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.account-wallets li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 9px 7px 11px;
  border-left: 1px solid rgba(177, 216, 94, .34);
  background: linear-gradient(90deg, rgba(150, 190, 70, .07), transparent 72%);
}

.account-wallets code {
  overflow: hidden;
  color: #d5ded0;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: .67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-verified {
  color: #a9cf67;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.account-wallets .wallet-remove {
  padding: 4px 6px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #7f8d82;
  font-size: .6rem;
}

.account-wallets .wallet-remove:hover,
.account-wallets .wallet-remove[data-confirming="true"] {
  border-bottom-color: currentColor;
  color: #d4ddcf;
}

.account-wallets li.wallet-empty {
  display: block;
  min-height: auto;
  padding: 8px 0 0;
  border-left: 0;
  background: none;
  color: #7f8d82;
  font-size: .66rem;
}

.wallet-proof-note {
  margin: 11px 0 0;
  color: #76847a;
  font-size: .58rem;
  line-height: 1.4;
}

.wallet-status {
  min-height: 1.25em;
  margin: 7px 0 0;
  color: #afd06d;
  font-size: .63rem;
  line-height: 1.4;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 22px 0 20px;
  border-bottom: 1px solid rgba(196, 221, 176, .14);
}

.account-stats > div {
  min-width: 0;
  padding: 0 13px;
  border-left: 1px solid rgba(196, 221, 176, .11);
}

.account-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.account-stats > div:last-child {
  padding-right: 0;
}

.account-stats dt {
  min-height: 2.4em;
  color: #aab7aa;
  font-size: .62rem;
  font-weight: 760;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.account-stats dd {
  min-height: 1.25em;
  margin: 6px 0 3px;
  overflow: hidden;
  color: #f1f2e8;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(1.25rem, 2.9vw, 1.75rem);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-stats span {
  color: #748178;
  font-size: .58rem;
  line-height: 1.25;
}

.account-stats[aria-busy="true"] dd {
  color: #9eb16f;
}

.account-activity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 22px 0 4px;
}

.account-activity > section {
  min-width: 0;
  padding-right: 22px;
}

.account-activity > section + section {
  padding-right: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(196, 221, 176, .12);
}

.account-activity header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.account-activity h3 {
  margin: 0;
  color: #e9eee3;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: .95rem;
  font-weight: 650;
}

.account-activity header span {
  flex: 0 0 auto;
  color: #94b957;
  font-size: .6rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.account-activity ul {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.account-activity li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(196, 221, 176, .08);
  color: #cfd8cb;
  font-size: .72rem;
  line-height: 1.35;
}

.account-activity li strong {
  overflow: hidden;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-activity li span {
  color: #7f8d82;
  font-size: .62rem;
  white-space: nowrap;
}

.account-activity li.account-empty {
  display: block;
  min-height: 45px;
  color: #7f8d82;
}

.account-evidence {
  position: relative;
  margin: 19px 0 0;
  padding: 12px 14px 12px 32px;
  border: 1px solid rgba(185, 219, 114, .13);
  border-radius: 2px 12px 2px 12px;
  background: rgba(112, 151, 56, .055);
  color: #99a696;
  font-size: .66rem;
  line-height: 1.45;
}

.account-evidence::before {
  position: absolute;
  top: 15px;
  left: 14px;
  width: 7px;
  height: 7px;
  border: 1px solid #a9ce5c;
  transform: rotate(45deg);
  content: "";
  box-shadow: 0 0 9px rgba(169, 206, 92, .25);
}

.auth-switch {
  margin: 24px 0 0;
  color: #8f9c91;
  font-size: .72rem;
  text-align: center;
}

.auth-switch button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #cad6c5;
}

.auth-status {
  min-height: 1.25em;
  margin: 12px 0 -2px;
  color: #a9cf67;
  font-size: .68rem;
  line-height: 1.35;
  text-align: center;
}

.bounty-launcher {
  width: min(620px, calc(100vw - 32px));
  max-height: min(780px, calc(100svh - 28px));
  margin: auto;
  padding: 34px 42px 30px;
  overflow: auto;
  border: 1px solid rgba(181, 219, 128, .38);
  border-radius: 3px 32px 3px 32px;
  background:
    linear-gradient(145deg, rgba(14, 31, 22, .99), rgba(3, 12, 8, .995) 66%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 8px);
  color: #edf2e8;
  box-shadow:
    inset 0 1px rgba(236, 248, 218, .12),
    inset 0 0 80px rgba(89, 216, 211, .025),
    0 32px 100px rgba(0, 0, 0, .78),
    0 0 0 1px rgba(2, 8, 5, .86);
}

.bounty-launcher:not([open]) {
  display: none;
}

.bounty-launcher[open] {
  animation: bounty-launcher-enter 280ms cubic-bezier(.2, .75, .2, 1) both;
}

.bounty-launcher::backdrop {
  background:
    radial-gradient(circle at 50% 42%, rgba(47, 90, 62, .2), transparent 38%),
    rgba(1, 6, 4, .84);
  backdrop-filter: blur(8px) saturate(.72);
}

.bounty-launcher::before,
.bounty-launcher::after {
  position: absolute;
  width: 86px;
  height: 86px;
  border-color: rgba(89, 216, 211, .38);
  content: "";
  pointer-events: none;
}

.bounty-launcher::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.bounty-launcher::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.bounty-launcher-rune {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: #badd68;
}

.bounty-launcher-rune svg {
  width: 50px;
  height: 50px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  filter: drop-shadow(0 0 8px rgba(176, 222, 90, .17));
}

.bounty-launcher-close {
  position: absolute;
  top: 19px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #95a097;
}

.bounty-launcher-close:hover {
  color: #eef4e8;
}

.bounty-launcher-close svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.bounty-launcher-heading > p {
  margin: 0 0 7px;
  color: #b9df65;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bounty-launcher-heading h2 {
  margin: 0;
  color: #f1f2e8;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: .98;
}

.bounty-launcher-heading > span {
  display: block;
  max-width: 470px;
  margin-top: 12px;
  color: #aab6aa;
  font-size: .78rem;
  line-height: 1.5;
}

.bounty-assistant-list {
  margin-top: 28px;
  border-top: 1px solid rgba(196, 221, 176, .14);
}

.bounty-assistant-list > button {
  position: relative;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 76px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid rgba(196, 221, 176, .14);
  background: transparent;
  color: #e9eee3;
  text-align: left;
  transition: background-color 150ms ease, padding 150ms ease, color 150ms ease;
}

.bounty-assistant-list > button:hover,
.bounty-assistant-list > button:focus-visible {
  padding-inline: 11px 7px;
  background: rgba(177, 222, 91, .065);
  color: #f6f7ef;
}

.assistant-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(177, 222, 91, .34);
  border-radius: 50%;
  color: #c5e477;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: inset 0 0 16px rgba(178, 222, 91, .035);
}

.assistant-mark img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: .92;
  transition: opacity 150ms ease, transform 150ms ease;
}

.assistant-mark--claude img {
  width: 23px;
  height: 23px;
}

.assistant-mark--cursor img {
  width: 20px;
  height: 23px;
}

.bounty-assistant-list > button:hover .assistant-mark img,
.bounty-assistant-list > button:focus-visible .assistant-mark img {
  opacity: 1;
  transform: scale(1.06);
}

.bounty-assistant-list strong,
.bounty-assistant-list small {
  display: block;
}

.bounty-assistant-list strong {
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -.01em;
}

.bounty-assistant-list small {
  margin-top: 3px;
  color: #859188;
  font-size: .65rem;
  line-height: 1.3;
}

.bounty-assistant-list em {
  color: #8fa35f;
  font-size: .57rem;
  font-style: normal;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bounty-assistant-list svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  opacity: .55;
  transition: transform 150ms ease, opacity 150ms ease;
}

.bounty-assistant-list > button:hover svg,
.bounty-assistant-list > button:focus-visible svg {
  opacity: 1;
  transform: translateX(3px);
}

.bounty-prompt-preview {
  margin-top: 18px;
  border-bottom: 1px solid rgba(196, 221, 176, .12);
}

.bounty-prompt-preview summary {
  padding: 9px 0 13px;
  color: #a8b3a9;
  cursor: pointer;
  font-size: .65rem;
  font-weight: 720;
  letter-spacing: .04em;
}

.bounty-prompt-preview pre {
  max-height: 190px;
  margin: 0 0 16px;
  padding: 14px 16px;
  overflow: auto;
  border-left: 1px solid rgba(177, 222, 91, .32);
  background: rgba(0, 7, 4, .48);
  color: #cbd5c8;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: .61rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.bounty-launch-actions {
  margin-top: 16px;
}

.bounty-launch-actions[hidden],
.bounty-web-fallback[hidden] {
  display: none;
}

.bounty-launch-actions button,
.bounty-web-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(181, 219, 128, .36);
  border-radius: 3px 14px 3px 14px;
  background: rgba(174, 218, 83, .08);
  color: #dcebc1;
  font-size: .67rem;
  font-weight: 760;
  text-decoration: none;
}

.bounty-launch-actions button:hover,
.bounty-web-fallback:hover {
  border-color: rgba(198, 233, 127, .64);
  background: rgba(174, 218, 83, .14);
}

.bounty-web-fallback {
  margin-top: 16px;
}

.bounty-launch-note {
  margin: 17px 0 0;
  color: #7f8c82;
  font-size: .62rem;
  line-height: 1.45;
}

.bounty-launch-status {
  min-height: 1.3em;
  margin: 10px 0 0;
  color: #b6dc65;
  font-size: .67rem;
  line-height: 1.4;
}

@keyframes bounty-launcher-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes auth-enter {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes auth-provider-pulse {
  from { transform: translateY(-1px); filter: brightness(.95); }
  to { transform: translateY(-2px); filter: brightness(1.12); }
}

@keyframes hero-arrive {
  from { opacity: 0; transform: translate(-50%, 24px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes vine-breathe {
  from { transform: rotate(-.6deg) scaleY(.99); filter: drop-shadow(0 0 5px rgba(99, 173, 49, .2)); }
  to { transform: rotate(.8deg) scaleY(1.01); filter: drop-shadow(0 0 12px rgba(99, 173, 49, .36)); }
}

@keyframes metric-live {
  from { opacity: .2; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes helping-pass {
  0% { opacity: 0; transform: translate3d(12vw, 5px, 0) scale(.91); }
  16%, 72% { opacity: .56; }
  56% { transform: translate3d(-7vw, -4px, 0) scale(.96); }
  100% { opacity: 0; transform: translate3d(-17vw, 4px, 0) scale(.93); }
}

@keyframes friendly-wrestle {
  0% { opacity: 0; transform: translate3d(-8vw, 5px, 0) rotate(-1deg) scale(.91); }
  16%, 78% { opacity: .52; }
  40% { transform: translate3d(2vw, -3px, 0) rotate(1deg) scale(.95); }
  64% { transform: translate3d(4vw, 1px, 0) rotate(-.7deg) scale(.95); }
  100% { opacity: 0; transform: translate3d(9vw, 5px, 0) rotate(.5deg) scale(.92); }
}

@keyframes walking-collaboration {
  0% { opacity: 0; transform: translate3d(12vw, 5px, 0) scale(.92); }
  15%, 76% { opacity: .5; }
  52% { transform: translate3d(-2vw, -3px, 0) scale(.96); }
  100% { opacity: 0; transform: translate3d(-9vw, 3px, 0) scale(.94); }
}

@media (min-width: 821px) {
  .stone-title {
    line-height: 1;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-height: 78px;
  }

  .scene-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-inline: 20px;
  }

  .brand small {
    display: none;
  }

  .scene-nav {
    gap: 6px;
  }

  .scene-nav button,
  .scene-nav a {
    padding-inline: 7px;
  }

  .hero {
    top: clamp(118px, 15vh, 146px);
  }

  .market-proof {
    top: 57%;
  }

  .hero-action {
    margin-top: 20px;
  }
}

@media (max-width: 820px) {
  .scene {
    min-height: max(700px, 100svh);
  }

  .scene-header {
    grid-template-columns: 1fr auto;
  }

  .scene-nav a {
    display: none;
  }

  .login-preview {
    min-width: 74px !important;
  }

  .hero {
    top: 13.5%;
  }

  .stone-title {
    font-size: clamp(2.7rem, 6.5vw, 3.7rem);
  }

  .market-proof {
    top: 57.5%;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
  }

  .vine-column {
    width: 56px;
    height: 156px;
  }

  .metric-pair {
    padding-inline: 14px;
  }

  .character-vignette {
    width: clamp(120px, 22vw, 170px);
    opacity: 0 !important;
    animation: none !important;
  }

  .payment-boundary {
    right: 14px;
    left: 14px;
    max-width: none;
    text-align: center;
  }

  .hero-action {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 70px;
  }

  .scene {
    min-height: max(680px, 100svh);
  }

  .scene-plate img {
    object-position: 50% 52%;
  }

  .scene-header {
    gap: 8px;
    padding-inline: 10px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: .92rem;
  }

  .login-preview {
    min-width: 58px !important;
    min-height: 36px !important;
    padding: 0 6px !important;
    font-size: .72rem !important;
  }

  .hero {
    top: 13.4%;
    width: calc(100vw - 24px);
  }

  .hero-eyebrow {
    min-height: 28px;
    margin-bottom: 10px;
    padding: 4px 14px;
    font-size: .7rem;
  }

  .stone-title {
    font-size: clamp(1.9rem, 8.2vw, 2.15rem);
    line-height: .98;
  }

  .stone-title span:nth-child(1) {
    font-size: inherit;
  }

  .stone-title span:nth-child(2) {
    width: 100%;
  }

  .stone-title span:nth-child(3) {
    width: 100%;
    font-size: inherit;
  }

  .market-proof {
    top: 56.5%;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    width: calc(100vw - 10px);
    min-height: 146px;
  }

  .vine-column {
    width: 39px;
    height: 137px;
  }

  .metric-pair {
    min-height: 142px;
    padding: 12px 6px 13px;
    backdrop-filter: blur(3px);
  }

  .metric-pair article > span {
    font-size: .69rem;
    line-height: 1.1;
  }

  .metric-pair output {
    font-size: 2rem;
  }

  .metric-pair small {
    font-size: .55rem;
  }

  .metric-pair > i {
    height: 65px;
  }

  .metric-market {
    padding-top: 8px;
  }

  .metric-market-value {
    gap: 5px;
  }

  .metric-market-value b {
    font-size: .52rem;
  }

  .hero-action {
    margin-top: 16px;
  }

  .hero-action button {
    min-width: min(310px, calc(100vw - 28px));
    min-height: 60px;
    padding-inline: 28px;
    font-size: 1.28rem;
  }

  .hero-action p {
    width: min(320px, calc(100vw - 28px));
    font-size: .58rem;
  }

  .payment-boundary {
    bottom: 9px;
    font-size: .5rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .auth-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
    padding: 27px 22px 23px;
    border-radius: 3px 23px 3px 23px;
  }

  .bounty-launcher {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
    padding: 27px 22px 23px;
    border-radius: 3px 23px 3px 23px;
  }

  .bounty-launcher-rune {
    margin-bottom: 16px;
  }

  .bounty-launcher-heading h2 {
    font-size: 2.35rem;
  }

  .bounty-launcher-heading > span {
    max-width: 310px;
    font-size: .73rem;
  }

  .bounty-assistant-list {
    margin-top: 21px;
  }

  .bounty-assistant-list > button {
    grid-template-columns: 39px minmax(0, 1fr) 18px;
    gap: 11px;
    min-height: 69px;
  }

  .bounty-assistant-list em {
    display: none;
  }

  .assistant-mark {
    width: 36px;
    height: 36px;
  }

  .bounty-launch-note {
    font-size: .59rem;
  }

  .auth-rune {
    margin-bottom: 17px;
  }

  .auth-heading > span {
    max-width: 300px;
  }

  .auth-form {
    margin-top: 21px;
  }

  .auth-input-shell {
    min-height: 54px;
  }

  .auth-input-shell input {
    height: 52px;
  }

  .auth-submit {
    min-height: 54px;
  }

  .account-identity {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 11px;
  }

  .account-avatar,
  .account-avatar img {
    width: 46px;
    height: 46px;
  }

  .account-identity button {
    padding-inline: 8px;
  }

  .account-wallets > header {
    align-items: flex-start;
    gap: 12px;
  }

  .account-wallets header p {
    max-width: 190px;
  }

  .account-wallets > header > button {
    min-height: 34px;
    padding-inline: 10px;
  }

  .account-wallets li {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
  }

  .account-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }

  .account-stats > div {
    padding-inline: 12px;
  }

  .account-stats > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .account-stats > div:nth-child(even) {
    padding-right: 0;
    border-left: 1px solid rgba(196, 221, 176, .11);
  }

  .account-stats > div:last-child {
    grid-column: 1 / -1;
    padding-top: 15px;
    padding-right: 0;
    border-top: 1px solid rgba(196, 221, 176, .1);
  }

  .account-stats dt {
    min-height: auto;
  }

  .account-stats dd {
    font-size: 1.42rem;
  }

  .account-activity {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .account-activity > section,
  .account-activity > section + section {
    padding: 0;
    border-left: 0;
  }

  .account-activity > section + section {
    padding-top: 18px;
    border-top: 1px solid rgba(196, 221, 176, .12);
  }
}

@media (max-height: 760px) and (min-width: 700px) {
  .hero {
    top: 12.5%;
  }

  .stone-title {
    font-size: clamp(2.65rem, 4.5vw, 3.55rem);
  }

  .market-proof {
    top: 57%;
    transform: translateX(-50%) scale(.9);
  }

  .hero-action {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .character-vignette {
    display: none;
  }
}
