:root {
  --ink: #111111;
  --ink-2: #6a6a6a;
  --ink-3: #9a9a9a;
  --paper: #f6f5f8;
  --pill: #e4e4e8;
  --rule: #111111;
  --rule-soft: #d4d4d4;
  --gutter: 24px;
  --pad: 24px;
  --col-max: 800px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-title: "Schibsted Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --font-num: "IBM Plex Mono", "Helvetica Neue", ui-monospace, monospace;
  --mode-fade: 640ms ease;
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
  min-height: 100dvh;
  background: #f6f5f8;
  overflow-x: clip;
  touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--mode-fade);
}

html:has(body[data-mode="personal"])::before {
  opacity: 1;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  overflow-x: clip;
  transition: color var(--mode-fade);
  font-synthesis: none;
}

body[data-mode="personal"] {
  --ink: #f3f3f3;
  --ink-2: #a8a8a8;
  --ink-3: #7a7a7a;
  --paper: #000000;
  --rule: #f3f3f3;
  --rule-soft: #2a2a2a;
  --pill: #2a2a2a;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { text-decoration: underline; text-underline-offset: 3px; }

.linkedin {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 55;
  display: flex;
  width: 20px;
  height: 20px;
  color: #000;
  transition: color var(--mode-fade);
}

body[data-mode="personal"] .linkedin {
  color: #fff;
}

.linkedin svg {
  display: block;
  width: 100%;
  height: 100%;
}

.linkedin:hover {
  text-decoration: none;
  opacity: 0.72;
}

button {
  font-family: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gutter);
  width: min(100% - (var(--pad) * 2), var(--col-max));
  margin-inline: auto;
}

.rule {
  width: min(100% - (var(--pad) * 2), var(--col-max));
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--rule);
}

.rule.soft { border-top-color: var(--rule-soft); }

/* Header */
.site-header {
  padding: 20px 0 16px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
}

.wordmark {
  grid-column: 1 / 3;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-meta {
  grid-column: 5 / 7;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  font-size: 13px;
}

.nav-meta a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }

.intro {
  padding: 72px 0 96px;
}

.intro-copy {
  grid-column: 4 / 7;
  align-self: start;
  max-width: 420px;
  padding-top: 72px;
  text-align: left;
}

.intro-title {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateZ(0);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  width: max-content;
  overflow: hidden;
  padding: 6px 6px 6px 18px;
  color: var(--ink);
  border-radius: 999px;
  /* html-in-canvas.dev liquid-glass + GlassKit floating tab bar */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: width 480ms cubic-bezier(0.32, 0.72, 0, 1), padding 480ms cubic-bezier(0.32, 0.72, 0, 1);
}

.dock.is-study {
  padding: 6px 18px;
}

.dock.case-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 18px;
  overflow: hidden;
  max-width: calc(100vw - 32px);
}

@media (max-width: 980px) {
  .dock.case-dock {
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    transform: none;
    border-radius: 999px;
    padding: 6px 6px 6px 18px;
  }
}

.dock.case-dock .dock-home-link {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.dock.case-dock .dock-home-link:hover { text-decoration: none; opacity: 0.72; }

.case-dock .outline {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  top: auto;
  background: transparent;
}

.case-dock .outline-scroll {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.case-dock .outline-scroll::-webkit-scrollbar {
  display: none;
}

.case-dock .outline a {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: none;
  transition: color 240ms ease;
}

.case-dock .outline a:hover { color: var(--ink); }

.case-dock .outline a.is-active {
  color: var(--ink);
  background: none;
}

body[data-mode="personal"] .dock {
  background: rgba(20, 20, 20, 0.22);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

.dock-home {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  transition:
    opacity 480ms cubic-bezier(0.32, 0.72, 0, 1),
    filter 480ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 480ms cubic-bezier(0.32, 0.72, 0, 1);
}

.dock-name {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 240ms ease;
}

.dock-cta {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0;
  filter: blur(7px);
  transform: scale(1.04);
  pointer-events: none;
  cursor: pointer;
  transition:
    opacity 480ms cubic-bezier(0.32, 0.72, 0, 1),
    filter 480ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 480ms cubic-bezier(0.32, 0.72, 0, 1);
}

.dock-cta:hover { text-decoration: none; }

.dock.is-study .dock-home {
  opacity: 0;
  filter: blur(7px);
  transform: scale(0.96);
  pointer-events: none;
}

.dock.is-study .dock-cta {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  pointer-events: auto;
}

.dock.is-study .dock-cta:hover { opacity: 0.72; }

@media (min-height: 900px) {
  .dock.is-study .dock-home {
    opacity: 1;
    filter: none;
    transform: none;
    pointer-events: auto;
  }

  .dock.is-study .dock-cta {
    opacity: 0;
    pointer-events: none;
  }

  .dock:not(.case-dock) {
    width: max-content !important;
  }
}

.dock.is-attention {
  animation: dock-attention 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-cta.is-swap .dock-cta-label,
.dock-cta.is-swap .icon-arrow {
  animation: dock-swap 520ms cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes dock-attention {
  0% { transform: translateX(-50%) scale(1); }
  34% { transform: translateX(-50%) scale(1.055); }
  100% { transform: translateX(-50%) scale(1); }
}

@keyframes dock-swap {
  0% { opacity: 0; filter: blur(8px); transform: translateY(5px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .dock-home,
  .dock-cta,
  .dock.is-attention,
  .dock-cta.is-swap .dock-cta-label,
  .dock-cta.is-swap .icon-arrow {
    animation: none;
    transition: none;
    filter: none;
  }

  .dock {
    transform: translateX(-50%);
  }

  .dock-cta,
  .dock.is-study .dock-cta {
    transform: none;
  }
}

.icon-arrow {
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.mode-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
}

.mode-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  box-shadow: none;
  pointer-events: none;
  transition: transform 320ms ease, width 320ms ease, background 320ms ease;
}

body[data-mode="personal"] .mode-pill {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.mode-toggle button {
  position: relative;
  z-index: 1;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 240ms ease;
}

.mode-toggle button[aria-checked="true"] {
  color: var(--ink);
}

.dock.is-on-dark {
  color: #fff;
}

.dock.is-on-dark .dock-name,
.dock.is-on-dark .dock-cta,
.dock.is-on-dark .dock-home-link,
.dock.is-on-dark .mode-toggle button[aria-checked="true"] {
  color: #fff;
}

.dock.is-on-dark .mode-toggle button {
  color: rgba(255, 255, 255, 0.55);
}

.dock.is-on-dark .mode-pill {
  background: rgba(255, 255, 255, 0.2);
}

.dock.is-on-dark.case-dock .outline a {
  color: rgba(255, 255, 255, 0.55);
}

.dock.is-on-dark.case-dock .outline a.is-active,
.dock.is-on-dark.case-dock .outline a:hover {
  color: #fff;
}

.studies {
  padding: 0 0 120px;
}

.portrait {
  grid-column: 1 / 4;
  position: relative;
  width: 400px;
  height: 400px;
  max-width: 100%;
  aspect-ratio: 1;
  justify-self: start;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  isolation: isolate;
}

.portrait video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  visibility: visible;
  transform: translate(-50%, -50%) scaleX(-1);
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--mode-fade);
}

.portrait video::-webkit-media-controls,
.portrait video::-webkit-media-controls-enclosure,
.portrait video::-webkit-media-controls-panel,
.portrait video::-webkit-media-controls-start-playback-button,
.portrait video::-webkit-media-controls-overlay-play-button,
.portrait video::-webkit-media-controls-overlay-enclosure {
  display: none !important;
  visibility: hidden !important;
  -webkit-appearance: none;
  appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

.portrait video.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.intro .grid {
  align-items: start;
}

.bio {
  position: relative;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink);
  display: none;
  width: 100%;
  text-align: left;
}

.bio.is-on { display: block; }

.bio-sizer {
  display: block;
  visibility: hidden;
}

.bio-live {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  text-align: left;
}

.bio.is-typing .bio-live::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 1px;
  background: currentColor;
  vertical-align: -0.12em;
  animation: bio-caret 0.72s steps(1) infinite;
}

@keyframes bio-caret {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bio.is-typing .bio-live::after { animation: none; display: none; }
}

.studies-title {
  grid-column: 1 / 3;
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: none;
}

.studies-title.is-on { display: block; }

.studies-work {
  display: block;
}

.personal-grid {
  display: none;
  width: min(100% - (var(--pad) * 2), var(--col-max));
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
}

body[data-mode="personal"] .studies-work {
  display: none;
}

body[data-mode="personal"] .personal-grid {
  display: grid;
}

.personal-item {
  min-width: 0;
}

.study-media.personal-media {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto;
  margin-bottom: 16px;
  border-radius: 24px;
  background: #111;
  overflow: hidden;
}

.personal-lede {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
}

.study {
  width: min(100% - (var(--pad) * 2), var(--col-max));
  margin: 0 auto 56px;
}

.study-media {
  display: block;
  position: relative;
  height: auto;
  aspect-ratio: 1024 / 682;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
  border: 0;
  border-radius: 40px;
  margin-bottom: 16px;
  overflow: hidden;
  isolation: isolate;
  --glow: 186, 154, 255;
  --glow-hot: 220, 196, 255;
}

.study-media.is-peach {
  background: #ffc6ab;
  aspect-ratio: 16 / 9;
  --glow: 255, 150, 108;
  --glow-hot: 255, 198, 164;
}

.study-media.is-peach img {
  object-fit: cover;
  object-position: center;
}

.study-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 40px;
  filter: grayscale(0.28);
  transition: filter 180ms ease;
}

.study-media.personal-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  filter: none;
}

.study-media.personal-media img[src*="figma-skill"] {
  object-position: 26% center;
}

.study-media.personal-media:hover img,
.study-media.personal-media:focus-visible img {
  filter: none;
}

.study-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
  background: linear-gradient(
    165deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

.study-go {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: auto;
  transition: transform 180ms cubic-bezier(0.2, 0.9, 0.22, 1);
}

.study-media:hover,
.study-media:focus-visible {
  text-decoration: none;
}

.study-media:hover img,
.study-media:focus-visible img {
  filter: grayscale(0);
}

.study-media:hover::before,
.study-media:focus-visible::before {
  opacity: 1;
}

.study-media:hover .study-go,
.study-media:focus-visible .study-go {
  transform: scale(1.08);
}

.study-media:has(.study-go:hover) .study-go {
  transform: scale(1.14);
}

@media (prefers-reduced-motion: reduce) {
  .study-media img,
  .study-media::before,
  .study-go { transition: none; }
  .study-media:hover .study-go,
  .study-media:focus-visible .study-go,
  .study-media:has(.study-go:hover) .study-go { transform: none; }
}

.case-enter {
  position: fixed;
  inset: 0;
  height: 100dvh;
  min-height: 100dvh;
  overflow: visible;
  z-index: 80;
  pointer-events: auto;
}

.case-enter-frame {
  position: fixed;
  top: var(--from-top);
  left: var(--from-left);
  width: var(--from-w);
  height: var(--from-h);
  border-radius: 40px;
  overflow: hidden;
  z-index: 1;
  transform-origin: 0 0;
  transform: translate3d(0, 0, 0) scale(1, 1);
  transition:
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 560ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.case-enter.is-expand .case-enter-frame {
  border-radius: 0;
  transform: translate3d(calc(-1 * var(--from-left)), calc(-1 * var(--from-top)), 0)
    scale(calc(100vw / var(--from-w)), calc(100dvh / var(--from-h)));
}

.case-enter-frame .case-wash {
  position: absolute;
  inset: 0;
  opacity: 1;
  z-index: 1;
}

.case-enter-photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: grayscale(0);
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1) 80ms;
}

.case-enter.is-expand .case-enter-photo {
  opacity: 0;
}

.case-enter .case-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  grid-column: auto;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.case-enter.is-title .case-intro {
  opacity: 1;
}

.case-enter .case-fox {
  z-index: 4;
  transform: translate3d(0, 100%, 0);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.case-enter.is-fox .case-fox {
  transform: translate3d(0, 0, 0);
}

body.is-leaving {
  overflow: visible;
  touch-action: none;
}

body.is-leaving .dock {
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms cubic-bezier(0.33, 0, 0.2, 1);
}

html.from-case-enter .case-wash {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .case-enter-frame,
  .case-enter-photo,
  .case-enter .case-intro,
  .case-enter .case-fox {
    transition: none;
  }
}

.study-meta {
  align-items: start;
  width: 100%;
  margin-inline: 0;
  text-align: left;
}

.study-facts {
  grid-column: 1 / 4;
  color: var(--ink-2);
  font-size: 12px;
}

.study-facts p { margin: 0 0 4px; }

.study-sum { grid-column: 4 / 7; }

.study-name {
  margin: 0 0 4px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.study-sum p { margin: 0; color: var(--ink-2); }

.study-sum .study-name { margin: 0 0 4px; color: var(--ink); }

/* Home */
.hero {
  padding: 72px 0 80px;
}

.hero h1 {
  grid-column: 1 / 5;
  margin: 0;
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero p {
  grid-column: 5 / 7;
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}

.index-head {
  padding: 14px 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.index-head span:nth-child(1) { grid-column: 1; }
.index-head span:nth-child(2) { grid-column: 2 / 4; }
.index-head span:nth-child(3) { grid-column: 4; }
.index-head span:nth-child(4) { grid-column: 5; }
.index-head span:nth-child(5) { grid-column: 6; text-align: right; }

.study-row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  padding: 28px 0;
  align-items: baseline;
  color: inherit;
}

.study-row:hover { text-decoration: none; background: transparent; }

.study-row .idx {
  grid-column: 1;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.study-row .title {
  grid-column: 2 / 4;
  font-family: var(--font-title);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.study-row .role { grid-column: 4; color: var(--ink-2); }
.study-row .year {
  grid-column: 5;
  font-family: var(--font-num);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.study-row .go { grid-column: 6; text-align: right; font-size: 13px; }

.study-row:hover .title { text-decoration: underline; text-underline-offset: 4px; }

.site-footer {
  padding: 40px 0 48px;
  color: var(--ink-3);
  font-size: 12px;
}

.site-footer p { grid-column: 1 / 4; margin: 0; }
.site-footer .end { grid-column: 5 / 7; margin: 0; text-align: right; }

/* Case study shell */
html:has(.case-shell) {
  background: #fafafa;
}

html:has(.case-shell) body {
  --paper: #fafafa;
}

.case-wash {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% 12%, #f7efff 0%, transparent 52%),
    radial-gradient(90% 80% at 88% 18%, #d9c4ff 0%, transparent 48%),
    linear-gradient(165deg, #f3eaff 0%, #ecd7ff 46%, #e0d0fb 100%);
  z-index: 0;
  pointer-events: none;
}

.case-wash::before,
.case-wash::after {
  content: "";
  position: absolute;
  inset: -28%;
  pointer-events: none;
}

.case-wash::before {
  background:
    radial-gradient(circle at 22% 28%, rgba(214, 186, 255, 0.62) 0%, transparent 42%),
    radial-gradient(circle at 78% 22%, rgba(196, 168, 255, 0.48) 0%, transparent 38%),
    radial-gradient(circle at 62% 78%, rgba(232, 210, 255, 0.55) 0%, transparent 44%);
  animation: washDriftA 26s ease-in-out infinite alternate;
}

.case-wash::after {
  background:
    radial-gradient(circle at 30% 72%, rgba(255, 236, 255, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 86% 68%, rgba(176, 158, 245, 0.32) 0%, transparent 36%),
    radial-gradient(circle at 48% 40%, rgba(236, 215, 255, 0.35) 0%, transparent 34%);
  animation: washDriftB 34s ease-in-out infinite alternate;
}

body.is-predictions .case-wash,
.case-enter.is-predictions-enter .case-wash {
  background:
    radial-gradient(120% 90% at 16% 10%, #ffd8c4 0%, transparent 52%),
    radial-gradient(90% 80% at 90% 16%, #ffb597 0%, transparent 48%),
    linear-gradient(165deg, #ffd0ba 0%, #ffc6ac 48%, #f3b89a 100%);
}

body.is-predictions .case-wash::before,
.case-enter.is-predictions-enter .case-wash::before {
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 232, 214, 0.7) 0%, transparent 42%),
    radial-gradient(circle at 78% 22%, rgba(255, 186, 154, 0.45) 0%, transparent 38%),
    radial-gradient(circle at 62% 78%, rgba(255, 210, 188, 0.5) 0%, transparent 44%);
}

body.is-predictions .case-wash::after,
.case-enter.is-predictions-enter .case-wash::after {
  background:
    radial-gradient(circle at 30% 72%, rgba(255, 244, 236, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 86% 68%, rgba(255, 176, 140, 0.28) 0%, transparent 36%),
    radial-gradient(circle at 48% 40%, rgba(255, 220, 200, 0.32) 0%, transparent 34%);
}

@keyframes washDriftA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(4.5%, -3.5%, 0) scale(1.08); }
}

@keyframes washDriftB {
  0% { transform: translate3d(0, 0, 0) scale(1.04); }
  100% { transform: translate3d(-3.5%, 4%, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .case-wash::before,
  .case-wash::after {
    animation: none;
  }
}

.case-shell {
  --phone-screen-w: 393px;
  --phone-screen-h: 852px;
  --phone-frame-w: 403px;
  --phone-frame-h: 862px;
  --phone-scale: 0.74;
  --phone-h: calc(var(--phone-frame-h) * 0.74);
  --case-top: max(48px, calc((100vh - (862px * 0.74) - 88px) / 2));
  --gutter: 40px;
  --pad: 40px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px;
  width: calc(100% - 80px);
  max-width: none;
  margin-inline: 40px;
  align-items: start;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.case-intro {
  grid-column: 1 / -1;
  min-height: 100vh;
  margin: 0;
  padding: 0 24px 18vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  scroll-margin-top: 0;
}

.case-intro-copy {
  position: relative;
  z-index: 1;
}

.case-intro h1 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.05;
}

.case-intro p {
  margin: 0 auto;
  max-width: 62ch;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink);
  white-space: normal;
}

.case-fox {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  overflow: visible;
  z-index: 40;
  pointer-events: none;
  line-height: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.case-fox img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

html:has(.case-fox),
html:has(.case-fox) body {
  overflow-x: clip;
  overflow-y: visible;
}

.outline {
  grid-area: outline;
  position: sticky;
  top: var(--case-top);
  padding: 0 0 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.outline a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
  line-height: 1.2;
}

.outline a:hover { color: var(--ink); }

.outline a.is-active { color: var(--ink); }

.outline-head {
  margin: 0 0 28px;
}

.outline .case-kicker,
.outline .case-title,
.outline .case-lede {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
  text-transform: none;
}

.outline .case-kicker {
  margin: 0 0 4px;
  color: var(--ink-2);
}

.outline .case-title {
  margin: 0 0 8px;
  font-weight: 500;
  color: var(--ink);
}

.outline .case-lede {
  margin: 0;
  color: var(--ink-2);
}

.solution-block {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  width: min(100%, 800px);
  margin-inline: auto;
  align-items: start;
  min-height: 0;
  padding-top: var(--case-top);
  padding-bottom: 0;
}

.solution-phone {
  min-width: 0;
  display: flex;
  justify-content: center;
  position: sticky;
  top: var(--case-top);
  align-self: start;
  z-index: 2;
}

.solution-copy-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.solution-copy {
  min-width: 0;
  min-height: calc(100vh - var(--case-top));
}

.solution-copy:last-child {
  min-height: var(--phone-h);
}

.solution-copy h2,
.section .solution-copy h2 {
  max-width: none;
}

.solution-copy p,
.section .solution-copy p {
  max-width: none;
}

.solution-copy .context-stats {
  margin-top: 28px;
}

.context-block {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
  width: min(100%, 800px);
  margin-inline: auto;
  align-items: start;
  align-content: start;
  padding-top: var(--case-top);
  padding-bottom: 80px;
  min-height: 92vh;
}

.context-figure {
  grid-column: 1;
  margin: 0;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.context-figure img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
  background: transparent;
}

.asset-slot,
.asset-slot-col {
  margin: 0;
  min-width: 0;
  background: #ececef;
}

.context-figure.asset-slot {
  min-height: 480px;
  align-self: stretch;
}

.asset-slot-col {
  grid-column: 2;
  min-height: 280px;
  align-self: stretch;
}

.section.pred-cards-block {
  min-height: 0;
  padding-bottom: 48px;
}

.pred-motion-copy {
  grid-column: 2;
}

.pred-cards {
  grid-column: 1 / -1;
  display: block;
  column-count: 2;
  column-gap: 12px;
  min-width: 0;
  font-family: var(--font-ui);
}

.pred-card {
  display: inline-flex;
  width: 100%;
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 12px;
  background: #18181b;
  color: #fff;
  font-family: var(--font-ui);
  flex-direction: column;
  gap: 12px;
  height: auto;
  break-inside: avoid;
  page-break-inside: avoid;
}

.pred-card-event {
  border-radius: 16px;
}

.pred-card h3,
.section .pred-card h3 {
  margin: 0;
  max-width: none;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0;
  color: #fff;
}

.section .pred-card p {
  margin: 0;
  max-width: none;
}

.pred-card-versus {
  padding: 16px;
  border-radius: 16px;
  gap: 0;
}

.pred-card-versus h3 {
  width: 100%;
  padding-bottom: 12px;
  text-align: center;
}

.pred-versus-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 16px;
}

.pred-versus-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 56px;
  flex: none;
}

.pred-versus-side .pred-crest {
  object-fit: contain;
  background: transparent;
}

.pred-versus-abbr {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #9b9b9b;
}

.pred-versus-live {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  flex: none;
}

.pred-versus-live .pred-card-live,
.section .pred-versus-live .pred-card-live {
  display: grid;
  grid-template-columns: 8px auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 0;
  align-items: center;
  justify-content: center;
}

.pred-versus-live .pred-live-dot {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.pred-versus-live .pred-live-word {
  grid-column: 2;
  grid-row: 1;
  line-height: 16px;
}

.pred-versus-live .pred-live-meta {
  grid-column: 2;
  grid-row: 2;
  line-height: 20px;
}

.pred-live-word {
  color: #baf24a;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
}

.pred-live-meta,
.section .pred-live-meta,
.pred-card-live .pred-live-meta {
  color: #9b9b9b;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pred-live-green,
.section .pred-live-green {
  gap: 8px;
  color: #baf24a;
  letter-spacing: 0;
  line-height: 20px;
}

.pred-live-green .pred-live-dot {
  width: 8px;
  height: 8px;
  background: #baf24a;
  box-shadow: none;
}

.pred-versus-period,
.section .pred-versus-period {
  margin: 0;
  max-width: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  color: #baf24a;
  text-align: center;
}

.pred-card-versus .pred-score {
  flex: 1;
  min-width: 0;
  line-height: 32px;
}

.pred-card-versus .pred-prob-split {
  display: flex;
  width: 100%;
  height: 2px;
  margin-bottom: 8px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  gap: 2px;
}

.pred-card-versus .pred-prob-split span {
  width: var(--a);
  border-radius: 99px;
}

.pred-card-versus .pred-prob-split::after {
  content: "";
  flex: 1;
  min-width: 0;
  height: 100%;
  border-radius: 99px;
  background: var(--bc);
}

.pred-card-versus .pred-versus-btns {
  width: 100%;
  padding-top: 8px;
}

.pred-card-versus .pred-card-meta {
  padding-top: 12px;
}

.pred-btn-fill {
  height: 48px;
  padding: 0 16px;
  color: #131416;
}

.pred-card-live,
.section .pred-card-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  max-width: none;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
  color: #baf24a;
}

.pred-card-standard .pred-card-live {
  justify-content: flex-start;
}

.pred-card-live span:last-child {
  font-weight: 500;
  letter-spacing: 0;
}

.pred-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #baf24a;
  box-shadow: none;
  flex: none;
}

.pred-live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #baf24a;
  animation: pred-live-pulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes pred-live-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}

.pred-versus-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pred-score {
  font-family: var(--font-ui);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  min-width: 2.2ch;
  text-align: center;
}

.pred-score-dash {
  color: #9b9b9b;
  font-size: 20px;
}

.pred-crest {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: transparent;
  flex: none;
}

.pred-crest-lg {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent;
}

.pred-crest-empty {
  background: transparent;
}

.pred-row .pred-crest {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.pred-crest-eth {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #627eea;
  object-fit: none;
}

.pred-crest-btc {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f7931a;
}

.pred-prob-split {
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bc, #222226);
  flex: none;
}

.pred-prob-split span {
  display: block;
  width: var(--a);
  height: 100%;
  background: var(--ac);
}

.pred-versus-btns {
  display: flex;
  gap: 8px;
}

.pred-card button {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 64px;
  padding: 0 10px;
  border-radius: 12px;
  background: #222226;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  cursor: default;
}

.pred-versus-btns button {
  flex: 1;
}

.pred-card-versus .pred-versus-btns button {
  background: none;
}

.pred-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pred-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pred-row-main {
  flex: 1 1 auto;
  min-width: 0;
}

.pred-bar {
  width: 100%;
  height: 2px;
  margin-top: 8px;
  border-radius: 99px;
  background: transparent;
  overflow: visible;
}

.pred-row-main p,
.section .pred-row-main p {
  margin: 0;
  max-width: none;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  color: #fff;
}

.pred-card-tennis .pred-row-main p,
.section .pred-card-tennis .pred-row-main p {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.pred-bar {
  width: 100%;
  height: 2px;
  margin-top: 8px;
  border-radius: 99px;
  background: transparent;
  overflow: visible;
}

.pred-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  transform-origin: left center;
  transition: width 540ms cubic-bezier(0.18, 0.89, 0.32, 1.13);
}

.pred-slot {
  display: inline-flex;
  align-items: center;
  height: 24px;
  overflow: hidden;
}

.pred-slot-prefix,
.pred-slot-suffix {
  flex: none;
}

.pred-reel {
  display: block;
  width: 0.65em;
  height: 24px;
  overflow: hidden;
}

.pred-reel-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: transform 540ms cubic-bezier(0.18, 0.89, 0.32, 1.13);
}

.pred-reel-strip span {
  display: block;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

.pred-chip {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(133, 139, 154, 0.2);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0;
  flex: none;
}

.pred-chip-ghost {
  border-color: transparent;
}

.pred-sets {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: none;
}

.pred-sets li {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0;
  color: #9b9b9b;
  min-width: 0.7em;
  text-align: center;
}

.pred-sets .is-live {
  color: #fff;
  font-weight: 700;
}

.pred-sets sup {
  font-size: 9px;
  font-weight: 600;
  line-height: 0;
}

.pred-card-tennis .pred-versus-btns {
  width: 100%;
  padding-top: 12px;
}

.pred-card-tennis .pred-card-meta {
  padding-top: 12px;
}

.pred-event-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pred-event-head h3 {
  flex: 1;
  min-width: 0;
}

.pred-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  color: #9b9b9b;
}

.pred-tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: #222226;
  color: #9b9b9b;
}

.pred-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #9b9b9b;
}

.pred-more::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M5.925 14.404 4.742 13.22l5.483-5.483L4.742 2.254 5.925 1.07 12.592 7.737 5.925 14.404Z' fill='black'/></svg>") center / 12px 12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M5.925 14.404 4.742 13.22l5.483-5.483L4.742 2.254 5.925 1.07 12.592 7.737 5.925 14.404Z' fill='black'/></svg>") center / 12px 12px no-repeat;
}

.pred-lead {
  grid-column: 1;
}

.pred-detail-board {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.pred-detail-board img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.pred-detail-board figcaption,
.section .pred-detail-board figcaption {
  margin: 12px 0 0;
  max-width: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
}

.pred-caption-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  margin: 12px 0 0;
}

.pred-caption-pair p {
  margin: 0;
  max-width: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
}

.pred-cards-block .pred-card-explorations {
  margin-top: 40px;
}

.pred-core-flow {
  min-height: 0;
}

.pred-core-flow .pred-detail-board + .ux-copy {
  padding-top: 80px;
}

.pred-phone-demo {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.section.explore-solution-block,
.section.act-growth-block {
  isolation: isolate;
  position: relative;
  padding-bottom: 96px;
}

.pred-finale {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.section.pred-demo-block {
  isolation: isolate;
  position: relative;
  min-height: 0;
  padding-top: calc(var(--case-top) + 120px);
  padding-bottom: 120px;
}

.pred-demo-block .solution-phone {
  grid-column: 1;
  justify-content: flex-start;
  z-index: 1;
}

.pred-demo-block .ux-copy {
  grid-column: 2;
  padding-top: 0;
  align-self: start;
}

.pred-demo-block .ux-copy h2,
.section.pred-demo-block .ux-copy h2 {
  max-width: none;
}

.pred-demo-block .ux-copy p,
.section.pred-demo-block .ux-copy p {
  max-width: none;
}

body.is-predictions .journey-block .journey {
  margin-bottom: 40px;
}

body.is-predictions .journey-block .journey p {
  margin-bottom: 0;
}

body.is-predictions .journey-block .pred-lead {
  margin-top: 0;
  padding-top: 0;
}

.pred-lead .icon-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  width: 14px;
  height: 1em;
  line-height: 1;
  vertical-align: -0.18em;
  margin: 0 2px;
}

.pred-list,
.section .pred-list {
  margin: 0 0 14px;
  padding-left: 1.15em;
  max-width: none;
}

.pred-list li {
  margin: 0 0 8px;
}

.context-copy {
  grid-column: 2;
  min-width: 0;
}

.context-copy p {
  max-width: none;
}

.context-stats {
  max-width: none;
}

.case-brow,
.context-brow {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
}

.context-copy h2 {
  max-width: none;
}

.context-fragment-copy {
  grid-column: 1;
  min-width: 0;
  padding-top: 80px;
}

.context-fragment-copy h2,
.section .context-fragment-copy h2 {
  max-width: none;
}

.context-fragment-copy p,
.section .context-fragment-copy p {
  max-width: none;
}

.context-fragment-board {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.context-fragment-board img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.case-hero {
  grid-column: 1 / -1;
  min-height: 100vh;
  margin: 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  scroll-margin-top: 0;
}

.case-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-split {
  width: min(100%, 800px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
  align-items: start;
  text-align: left;
}

.impact-copy {
  grid-column: 1;
  min-width: 0;
}

.case-hero .impact-copy p,
.section.case-hero .impact-copy p {
  margin: 16px 0 0;
  max-width: none;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  text-align: left;
}

.case-hero h1 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 7.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: normal;
  max-width: 100%;
  line-height: 1.05;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.token-orbit {
  --orbit-size: 44px;
  --orbit-r: 210px;
  --orbit-n: 8;
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--orbit-r) * 2 + var(--orbit-size));
  height: calc(var(--orbit-r) * 2 + var(--orbit-size));
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.token-orbit-ring {
  width: 100%;
  height: 100%;
  position: relative;
  animation: tokenOrbit 64s linear infinite;
}

.token-orbit-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--orbit-size);
  height: var(--orbit-size);
  margin: calc(var(--orbit-size) / -2);
  transform: rotate(calc(var(--i) * 360deg / var(--orbit-n))) translate(var(--orbit-r)) rotate(calc(var(--i) * -360deg / var(--orbit-n)));
}

.token-orbit-spin {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  animation: tokenOrbitFace 64s linear infinite;
}

.token-orbit-spin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at 30% 22%,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.28) 22%,
    rgba(255, 255, 255, 0) 48%
  );
  mix-blend-mode: soft-light;
}

.token-orbit-spin.is-light {
  background: #fff;
}

.token-orbit-spin.is-light img {
  object-fit: contain;
  padding: 7px;
  box-sizing: border-box;
}

.token-orbit-spin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

@keyframes tokenOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes tokenOrbitFace {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.token-orbit.is-paused .token-orbit-ring,
.token-orbit.is-paused .token-orbit-spin {
  animation-play-state: paused;
}

.strategy-block {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
  width: min(100%, 800px);
  margin-inline: auto;
  align-content: start;
  padding-top: var(--case-top);
}

.journey-block {
  padding-bottom: 80px;
}

.strategy-head {
  grid-column: 1;
  min-width: 0;
}

.ux-copy {
  grid-column: 1;
  min-width: 0;
}

.pred-cards-block .pred-motion-copy {
  grid-column: 2;
}

.pred-combos-intro .pred-combos-lead,
.pred-combos-intro .pred-combos-aside {
  padding-top: 0;
}

.pred-combos-intro .pred-combos-aside {
  grid-column: 2;
}

.pred-combos-intro .pred-combos-lead h2,
.section.pred-combos-intro .pred-combos-lead h2 {
  max-width: none;
  margin-bottom: 16px;
}

.journey,
.ux-stage {
  grid-column: 1 / -1;
}

.strategy-head h2 {
  max-width: none;
  margin-bottom: 16px;
}

.journey-block .strategy-head h2 {
  margin-bottom: 40px;
}

.journey-block,
.act-units-block,
.act-unify-block {
  row-gap: 0;
}

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.journey-top {
  display: flex;
  align-items: center;
  position: relative;
  height: 22px;
  margin-bottom: 14px;
}

.journey-num {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.journey-rule {
  position: absolute;
  left: 11px;
  right: -40px;
  top: 50%;
  height: 1px;
  background: var(--ink);
}

.journey li:last-child .journey-rule {
  right: calc(-100% - 40px);
  background: linear-gradient(90deg, var(--ink), rgb(17 17 17 / 0));
}

.journey h3 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.journey p {
  margin: 0 0 10px;
  max-width: 28ch;
}

.journey-meta {
  color: var(--ink-2);
}

.journey ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.journey ul li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  column-gap: 6px;
  align-items: start;
  margin: 0 0 2px;
}

.journey ul li .icon-arrow {
  margin-top: 2px;
  color: var(--ink);
}

.ux-copy {
  padding-top: 48px;
}

.ux-copy h2 {
  max-width: none;
}

.ux-eval-split {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: start;
  padding-top: 80px;
}

.ux-eval-copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding-top: 0;
  align-self: start;
}

.ux-eval-copy h2,
.section .ux-eval-copy h2 {
  max-width: none;
}

.ux-eval-copy p,
.section .ux-eval-copy p {
  max-width: none;
}

.ux-eval-chart {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  align-self: start;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.ux-eval-price strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #121314;
}

.ux-eval-price p,
.section .ux-eval-price p {
  margin: 8px 0 0;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: #6a6a6a;
  max-width: none;
}

.ux-eval-price .is-up { color: #457a39; }

.ux-eval-tv {
  width: 100%;
  height: 160px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding-right: 2px;
}

.ux-eval-tv-inner {
  width: 100%;
  height: 160px;
}

.ux-eval-chart .quick-swap-price-slot {
  position: relative;
  overflow: visible;
  flex-shrink: 0;
}

.ux-eval-tv a {
  display: none !important;
}

@keyframes ux-tv-live-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}

.ux-eval-tv .quick-swap-live-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 1.5px solid rgba(69, 122, 57, 0.8);
  animation: ux-tv-live-pulse 2s ease-out infinite;
  pointer-events: none;
}

.ux-eval-tv .quick-swap-chart-tag {
  position: absolute;
  z-index: 4;
  padding: 1px 4px;
  border-radius: 4px;
  font-family: Geist, Inter, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  box-sizing: border-box;
}

.ux-eval-chart .quick-swap-ohlc {
  display: none;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  padding: 12px 16px 0;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  row-gap: 0;
  align-content: stretch;
  font-family: Geist, Inter, sans-serif;
  pointer-events: none;
}

.ux-eval-chart .quick-swap-ohlc-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.ux-eval-chart .quick-swap-ohlc-col-end {
  align-items: flex-start;
}

.ux-eval-chart .quick-swap-ohlc-col-end .quick-swap-ohlc-item {
  justify-content: flex-start;
}

.ux-eval-chart .quick-swap-ohlc-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.ux-eval-chart .quick-swap-ohlc-item span:first-child {
  color: #6a6a6a;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.ux-eval-chart .quick-swap-ohlc-item span:last-child {
  color: #121314;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.ux-eval-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0;
}

.ux-eval-times button {
  flex: 1;
  height: 28px;
  padding: 0;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: #457a39;
  text-align: center;
}

.ux-eval-times button.is-on {
  background: #457a39;
  color: #fff;
}

.ux-eval-mode {
  margin-left: 0;
  width: auto;
  min-width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #457a39;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ux-eval-mode.is-on,
.ux-eval-times .ux-eval-mode {
  background: transparent;
  color: #457a39;
}

.ux-eval-mode .icon-arrow {
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}

.ux-explore-board {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.ux-eval-split + .ux-explore-board,
.ux-eval-copy + .ux-explore-board {
  padding-top: 80px;
}

.ux-explore-board img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: transparent;
}

.ux-explore-board figcaption,
.section .ux-explore-board figcaption {
  margin: 12px 0 0;
  max-width: none;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #6a6a6a;
}

.ux-ai-copy {
  grid-column: 1;
  min-width: 0;
  padding-top: 80px;
  align-self: start;
}

.ux-ai-copy h2,
.section .ux-ai-copy h2 {
  max-width: none;
}

.ux-ai-copy p,
.section .ux-ai-copy p {
  max-width: none;
}

.ux-risk-copy {
  grid-column: 1;
  min-width: 0;
  padding-top: 80px;
  align-self: start;
}

.ux-risk-copy h2,
.section .ux-risk-copy h2 {
  max-width: none;
}

.ux-risk-copy p,
.section .ux-risk-copy p {
  max-width: none;
}

.ux-ai-demo {
  grid-column: 2;
  min-width: 0;
  padding-top: 80px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-stage {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.ai-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.ai-ctrls {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 20px;
}

.ai-ctrl-block {
  min-width: 0;
}

.ai-ctrl-label,
.section .ai-ctrl-label {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: #6a6a6a;
  max-width: none;
}

.ai-ctrl {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  border: 0.5px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(24px) saturate(1.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
}

.ai-ctrl-pill {
  position: absolute;
  top: 4px;
  left: 0;
  height: 32px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  pointer-events: none;
  transition: transform 320ms ease, width 320ms ease;
}

.ai-ctrl button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  color: var(--ink-2);
  background: none;
  transition: color 240ms ease;
}

.ai-ctrl button:hover,
.ai-ctrl button.is-on {
  color: var(--ink);
}

.ai-ctrl button svg {
  display: block;
}

.ux-stage {
  --ux-up: #457a39;
  --ux-down: #ca3542;
  --ux-text: #121314;
  --ux-muted: #6a6a6a;
  --ux-fill: #f2f2f4;
  --ux-surface: #fff;
  --avatar-token-sm: 24px;
  --avatar-token-lg: 40px;
  --avatar-network: 12px;
  --avatar-network-border: 2px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
  width: 100%;
  font-family: var(--font-ui);
  color: var(--ux-text);
}

.ux-list {
  grid-column: 1;
  min-width: 0;
}

.ux-aside {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.ux-carousel {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  width: 100%;
  min-width: 0;
  height: 136px;
  position: relative;
  overflow: visible;
  padding: 0;
  align-self: start;
}

.ux-card {
  position: relative;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  box-sizing: border-box;
}

.ux-card:first-child,
.ux-card:nth-child(2) {
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  box-shadow: none;
}

.ux-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ux-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.ux-card-name,
.section .ux-card-name {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--ux-text);
  max-width: none;
}

.ux-card-chg,
.section .ux-card-chg {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  max-width: none;
}

.ux-spark {
  position: relative;
  flex: 1 1 auto;
  min-height: 48px;
  line-height: 0;
  overflow: visible;
}

.ux-spark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ux-spark polyline {
  fill: none;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ux-spark.is-playing polyline {
  animation: uxSparkDraw 1.4s ease-out forwards;
}

.ux-spark.is-drawn polyline {
  animation: none;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.ux-spark-up polyline { stroke: var(--ux-up); }
.ux-spark-down polyline { stroke: var(--ux-down); }

.ux-card:nth-child(2) .ux-spark.is-playing polyline { animation-delay: 0.22s; }
.ux-card:nth-child(3) .ux-spark.is-playing polyline { animation-delay: 0.44s; }

.ux-spark-pulse,
.ux-spark-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.ux-spark-pulse {
  width: 16px;
  height: 16px;
}

.ux-spark-up .ux-spark-pulse,
.ux-spark-up .ux-spark-dot { background: var(--ux-up); }

.ux-spark-down .ux-spark-pulse,
.ux-spark-down .ux-spark-dot { background: var(--ux-down); }

.ux-spark-dot {
  width: 8px;
  height: 8px;
}

.ux-spark.is-drawn .ux-spark-dot {
  opacity: 1;
}

.ux-spark.is-drawn .ux-spark-pulse {
  animation: sparklinePulse 2.4s ease-out infinite;
}

.ux-pills {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  pointer-events: none;
  padding: 0;
}

.ux-pills::before,
.ux-pills::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 1;
  pointer-events: none;
}

.ux-pills::before {
  left: 0;
  background: linear-gradient(90deg, #fafafa, rgb(250 250 250 / 0));
}

.ux-pills::after {
  right: 0;
  background: linear-gradient(90deg, rgb(250 250 250 / 0), #fafafa);
}

.ux-pill-row {
  overflow: hidden;
  width: 100%;
}

.ux-pill-track {
  display: flex;
  width: max-content;
  animation: uxPillsRight 42s linear infinite;
}

.ux-pill-row:nth-child(2) .ux-pill-track {
  animation-duration: 48s;
  animation-delay: -8s;
}

.ux-pill-set {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding-right: 8px;
}

.ux-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
}

.ux-avatar {
  position: relative;
  flex: 0 0 auto;
}

.ux-avatar-sm {
  width: var(--avatar-token-sm);
  height: var(--avatar-token-sm);
}

.ux-pill .ux-avatar-sm {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.ux-pill .ux-avatar > img {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
}

.ux-pill .ux-avatar .net {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 0;
  box-sizing: border-box;
  right: -3px;
  bottom: -3px;
  box-shadow: 0 0 0 2px var(--ux-surface);
}

.ux-avatar.is-eth::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #627eea;
}

.ux-avatar.is-eth > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 22%;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: 0;
  filter: brightness(0) invert(1);
}

.ux-pill .ux-avatar.is-eth > img {
  padding: 22%;
  object-fit: contain;
  border-radius: 0;
  filter: brightness(0) invert(1);
}

.ux-avatar-lg {
  width: var(--avatar-token-lg);
  height: var(--avatar-token-lg);
}

.ux-avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.ux-avatar .net {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: var(--avatar-network);
  height: var(--avatar-network);
  border-radius: 4px;
  border: var(--avatar-network-border) solid var(--ux-surface);
  box-sizing: content-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ux-avatar .net img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
}

.net-btc { background: #f7931a; }
.net-eth { background: #627eea; }
.net-eth img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.net-sol { background: #111; }
.net-base { background: #0052ff; }

.ux-list {
  width: 100%;
  max-width: none;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: none;
  overflow: visible;
  padding: 16px 0;
}

.ux-row {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 16px;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}

.ux-list .ux-avatar,
.ux-card .ux-avatar {
  overflow: visible;
}

.ux-list .ux-avatar-lg,
.ux-card .ux-avatar-lg {
  width: 32px;
  height: 32px;
}

.ux-list .ux-avatar .net,
.ux-card .ux-avatar .net {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 0;
  box-sizing: border-box;
  right: -3px;
  bottom: -3px;
  box-shadow: 0 0 0 2px var(--ux-surface);
}

.ux-row-mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ux-row-mid strong,
.ux-row-end strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}

.ux-row-end strong,
.ux-row-end span,
.ux-card-chg,
.ux-pill .is-up,
.ux-pill .is-down {
  font-variant-numeric: tabular-nums;
}

.ux-row-mid span,
.ux-row-end span {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: var(--ux-muted);
  white-space: nowrap;
}

.ux-row-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.ux-pill .is-up,
.ux-card-chg.is-up,
.ux-row-end .is-up { color: var(--ux-up); }

.ux-pill .is-down,
.ux-card-chg.is-down,
.ux-row-end .is-down { color: var(--ux-down); }

@keyframes uxSparkDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes uxPillsRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes sparklinePulse {
  0% { transform: translate(-50%, -50%) scale(0.25); opacity: 0.55; }
  70% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.context-sub {
  margin: 28px 0 10px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.context-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-top: 28px;
  max-width: none;
}

.context-stats.impact-stats {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 32px;
  margin: 0;
}


.context-stat-num {
  display: flex;
  align-items: flex-end;
  margin: 0 0 12px;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.context-stat-num .n {
  font-size: 56px;
  line-height: 0.72;
}

.context-stat-num .u {
  font-size: 24px;
  line-height: 0.72;
  margin-left: 0.08em;
}

.context-stat-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: none;
}

.context-stat-label {
  margin: 0;
  font-size: 12px;
  color: var(--ink-2);
  max-width: none;
}

.phone-col {
  position: relative;
  z-index: 2;
  height: var(--phone-h);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.case-kicker {
  margin: 8px 0 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.case-title {
  margin: 0 0 20px;
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.case-lede {
  margin: 0 0 56px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
}

.section {
  min-height: 92vh;
  padding: 0 0 64px;
  scroll-margin-top: var(--case-top);
}

.section.solution-block {
  min-height: 0;
  padding-bottom: 0;
}

.section.act-growth-block {
  min-height: 0;
  padding-bottom: 48px;
}

.act-growth-block .solution-copy,
.act-growth-block .solution-copy:last-child {
  min-height: var(--phone-h);
}

.act-growth-block .phone-glass {
  background: #000;
}

.act-growth-block .island {
  display: none;
}

.act-growth-block .phone-embed {
  width: 393px;
  height: 852px;
}

.section.journey-block {
  min-height: 0;
  padding-bottom: 24px;
}

.section.act-flow-block {
  padding-bottom: 48px;
}

.act-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 16px;
}

.act-flow .journey-rule {
  right: -16px;
}

.act-flow li:last-child .journey-rule {
  right: calc(-100% - 16px);
}

.act-flow p,
.section .act-flow p {
  max-width: none;
}

.act-units-block {
  min-height: 0;
  padding-bottom: 48px;
}

.act-unify-block {
  min-height: 0;
  padding-bottom: 48px;
}

.act-units-board {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.act-units-board img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.act-units-board + .act-units-board {
  margin-top: 40px;
}

.act-units-board figcaption,
.section .act-units-board figcaption {
  margin: 12px 0 0;
  max-width: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
}

.section.case-hero,
.section.case-intro {
  min-height: 100vh;
}

.section.case-intro {
  padding: 0 24px;
}

.section.case-hero {
  padding: 0 24px;
}

.section h2 {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 22ch;
}

.section .strategy-head h2,
.section .ux-copy h2 {
  max-width: none;
}

.section p {
  margin: 0 0 14px;
  color: var(--ink);
  max-width: 66ch;
}

.section p.note {
  color: var(--ink-2);
  font-size: 12px;
}

.phone-scale {
  width: calc(var(--phone-frame-w) * var(--phone-scale));
  height: calc(var(--phone-frame-h) * var(--phone-scale));
  pointer-events: auto;
}

.phone {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: calc(5px * var(--phone-scale));
  border: 0;
  border-radius: calc(67px * var(--phone-scale));
  background: #8a8a8a;
  position: relative;
  pointer-events: auto;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.18);
}

.phone-glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(62px * var(--phone-scale));
  overflow: hidden;
  background: #000;
  z-index: 1;
  --explore-opacity: 1;
  --details-shift: 100%;
}

.phone-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 393px;
  height: 852px;
  border: 0;
  transform: scale(var(--phone-scale));
  transform-origin: top left;
  z-index: 2;
  pointer-events: none;
  will-change: transform, opacity;
}

.phone-embed[data-screen="explore"] {
  opacity: var(--explore-opacity);
  z-index: 2;
}

.phone-embed[data-screen="details"] {
  z-index: 3;
  opacity: 1;
  transform: scale(var(--phone-scale)) translate3d(var(--details-shift), 0, 0);
}

.phone-embed.is-on {
  pointer-events: auto;
}

.phone-glass.is-live .phone-ui {
  visibility: hidden;
  pointer-events: none;
}

.phone-ui {
  width: var(--phone-screen-w);
  height: var(--phone-screen-h);
  transform: scale(var(--phone-scale));
  transform-origin: top left;
  position: relative;
}

.island {
  position: absolute;
  top: calc(11px * var(--phone-scale));
  left: 50%;
  transform: translateX(-50%);
  width: calc(126px * var(--phone-scale));
  height: calc(37px * var(--phone-scale));
  border-radius: calc(24px * var(--phone-scale));
  background: #000;
  z-index: 5;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #000;
  overflow: hidden;
  position: relative;
  color: #f3f3f3;
}

.screen-state {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
}

.screen-state.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.status {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 8px;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.app {
  padding: 0 14px 18px;
  height: calc(100% - 40px);
}

.app h3 {
  margin: 6px 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.bar {
  height: 8px;
  background: #cfcfcf;
  margin-bottom: 8px;
}

.bar.w2 { width: 62%; }
.bar.w3 { width: 40%; }
.bar.ink { background: #111; }
.bar.mid { background: #888; }

.card {
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 8px;
}

.row-ui {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.row-ui:last-child { border-bottom: 0; }

.dot {
  width: 18px;
  height: 18px;
  background: #bbb;
  flex-shrink: 0;
}

.pills {
  display: flex;
  gap: 6px;
  margin: 8px 0 12px;
}

.pill {
  height: 22px;
  padding: 0 8px;
  border: 1px solid #111;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
}

.pill.fill { background: #111; color: #ececec; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.tile {
  height: 54px;
  background: #fff;
  border: 1px solid #d0d0d0;
}

.metric,
.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.metric {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 8px 0 4px;
}

.caption {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

.sketch {
  height: 100%;
  background-image:
    linear-gradient(#d8d8d8 1px, transparent 1px),
    linear-gradient(90deg, #d8d8d8 1px, transparent 1px);
  background-size: 16px 16px;
}

.home-ind {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 4px;
  border-radius: 4px;
  background: #f3f3f3;
  z-index: 2;
}

.screen .status { color: #f3f3f3; }
.screen .app h3 { color: #f3f3f3; }
.screen .caption { color: #8a8a8a; }
.screen .metric { color: #f3f3f3; }
.screen .bar { background: #3a3a3a; }
.screen .bar.ink { background: #f3f3f3; }
.screen .bar.mid { background: #888; }
.screen .card,
.screen .tile {
  background: #1c1c1c;
  border-color: #2e2e2e;
}
.screen .row-ui { border-bottom-color: #2e2e2e; }
.screen .dot { background: #555; }
.screen .pill { border-color: #f3f3f3; color: #f3f3f3; }
.screen .pill.fill { background: #f3f3f3; color: #111; }
.screen .sketch {
  background-image:
    linear-gradient(#2a2a2a 1px, transparent 1px),
    linear-gradient(90deg, #2a2a2a 1px, transparent 1px);
}

@media (max-width: 980px) {
  .pred-caption-pair {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .hero h1 { grid-column: 1 / -1; }
  .hero p { grid-column: 1 / -1; }

  .portrait,
  .intro-copy,
  .studies-title,
  .study-facts,
  .study-sum { grid-column: 1 / -1; }

  .linkedin {
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .study-media,
  .study-media img,
  .study-media.personal-media,
  .study-media.personal-media img {
    border-radius: 0;
  }

  .dock.is-study .dock-home {
    opacity: 1;
    filter: none;
    transform: none;
    pointer-events: auto;
  }

  .dock.is-study .dock-cta {
    opacity: 0;
    pointer-events: none;
  }

  .portrait {
    width: min(400px, 100%);
    height: auto;
    max-width: 100%;
    justify-self: center;
    margin-inline: auto;
  }
  .intro { padding: 24px 0 64px; }
  .intro .grid {
    justify-items: stretch;
    width: calc(100% - (var(--pad) * 2));
  }
  .intro-copy {
    padding-top: 8px;
    max-width: none;
    width: 100%;
    justify-self: stretch;
    text-align: left;
  }
  .intro-title,
  .intro-copy .bio,
  .intro-copy .bio-live {
    text-align: left;
  }

  .case-intro h1 {
    white-space: nowrap;
    font-size: clamp(1.25rem, 7.4vw, 2rem);
  }

  .case-intro p {
    white-space: normal;
    max-width: 62ch;
    padding-inline: 0.25rem;
  }

  .context-stats.impact-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
    column-gap: 16px;
  }

  .index-head { display: none; }

  .study-row .idx { grid-column: 1; }
  .study-row .title { grid-column: 2 / -1; }
  .study-row .role,
  .study-row .year,
  .study-row .go { display: none; }

  .case-shell {
    --case-top: 24px;
    --pad: 1.5rem;
    --gutter: 1.5rem;
    --phone-scale: min(0.74, (100vw - 3rem) / var(--phone-frame-w));
    --phone-h: calc(var(--phone-frame-h) * var(--phone-scale));
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    box-sizing: border-box;
    overflow-x: clip;
  }

  .case-shell > * {
    grid-column: 1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .case-shell > *:not(#strategy) {
    padding-inline: 1.5rem;
  }

  .case-intro,
  .case-hero,
  .section.case-intro,
  .section.case-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .case-intro {
    overflow-x: hidden;
  }

  .phone-scale,
  .phone-col,
  .solution-phone,
  .pred-phone-demo {
    max-width: 100%;
    min-width: 0;
  }

  .solution-phone,
  .phone-col,
  .pred-phone-demo,
  .pred-demo-block .solution-phone {
    container-type: inline-size;
    width: 100%;
  }

  .phone-scale {
    --phone-scale: min(0.74, 100cqi / var(--phone-frame-w));
    width: calc(var(--phone-frame-w) * var(--phone-scale));
    height: calc(var(--phone-frame-h) * var(--phone-scale));
    max-width: 100%;
  }

  .study-media {
    margin-bottom: 16px;
  }

  .study-meta {
    row-gap: 20px;
  }

  .study-sum { order: 1; }
  .study-facts { order: 2; margin-top: 0; }

  .case-intro,
  .case-hero,
  .context-block,
  .strategy-block,
  .solution-block,
  .phone-col {
    grid-column: 1;
    grid-row: auto;
  }

  .context-block,
  .strategy-block,
  .solution-block,
  .impact-split {
    grid-template-columns: 1fr;
  }

  .context-figure,
  .context-copy,
  .context-fragment-copy,
  .context-fragment-board,
  .strategy-head,
  .journey,
  .act-units-board,
  .ux-copy,
  .ux-stage,
  .asset-slot-col,
  .pred-cards,
  .pred-lead,
  .pred-combos-lead,
  .pred-combos-aside,
  .pred-detail-board,
  .pred-phone-demo,
  .pred-finale,
  .pred-demo-block .solution-phone,
  .pred-demo-block .ux-copy,
  .solution-phone,
  .solution-copy-stack {
    grid-column: 1;
  }

  .solution-phone,
  .pred-demo-block .solution-phone {
    position: relative;
    top: auto;
    z-index: 0;
  }

  .solution-copy,
  .solution-copy:last-child,
  .act-growth-block .solution-copy,
  .act-growth-block .solution-copy:last-child {
    min-height: 0;
    padding-bottom: 32px;
  }

  .ux-stage {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .ux-list,
  .ux-aside,
  .ux-row {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  .ux-aside {
    gap: 16px;
  }

  .pred-cards,
  .pred-detail-board,
  .pred-card-explorations,
  .pred-cards-block .pred-motion-copy,
  .pred-combos-intro .pred-combos-lead,
  .pred-combos-intro .pred-combos-aside {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
  }

  .pred-combos-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .pred-combos-intro .pred-combos-aside {
    padding-top: 0;
  }

  .section h2,
  .ux-copy h2,
  .pred-combos-intro h2 {
    max-width: none;
  }

  .section p,
  .ux-copy p {
    max-width: none;
  }

  .pred-cards {
    column-count: 1;
  }

  .personal-grid {
    grid-template-columns: 1fr;
  }

  .ux-eval-split,
  .ux-eval-copy,
  .ux-eval-chart,
  .ux-explore-board,
  .ux-ai-copy,
  .ux-ai-demo,
  .ux-risk-copy,
  .ux-list,
  .ux-aside,
  .ux-carousel,
  .ux-pills {
    grid-column: 1;
    grid-row: auto;
  }

  .ux-eval-split {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 0;
  }

  .ux-carousel {
    min-height: 0;
    height: auto;
  }

  .case-hero,
  .section.case-hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  .case-hero-copy {
    min-height: 0;
    width: 100%;
  }

  .case-hero:has(> .case-hero-copy):not(:has(.token-orbit)),
  .section.case-hero:has(> .case-hero-copy):not(:has(.token-orbit)) {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .case-hero:has(> .case-hero-copy):not(:has(.token-orbit)) .case-hero-copy {
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .case-hero:has(> .case-hero-copy):not(:has(.token-orbit)) h1 {
    text-align: center;
  }

  #strategy.case-hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    justify-content: center;
    min-height: calc(100vw + 2rem);
    overflow: visible;
  }

  #strategy .case-hero-copy {
    width: auto;
    min-height: 0;
    position: relative;
    z-index: 1;
  }

  #strategy .token-orbit {
    --orbit-size: 1.75rem;
    --orbit-r: calc((100% - var(--orbit-size)) / 2);
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .case-shell {
    --space: 16px;
    --space-section: 32px;
  }

  .case-brow,
  .context-brow {
    margin: 0 0 8px;
  }

  .section h2,
  .ux-copy h2,
  .ux-eval-copy h2,
  .ux-ai-copy h2,
  .ux-risk-copy h2,
  .context-copy h2,
  .context-fragment-copy h2,
  .pred-combos-intro h2,
  .strategy-head h2 {
    margin: 0 0 var(--space);
  }

  .section p,
  .ux-copy p,
  .ux-eval-copy p,
  .ux-ai-copy p,
  .ux-risk-copy p,
  .context-copy p,
  .context-fragment-copy p {
    margin: 0 0 12px;
  }

  .ux-copy p:last-child,
  .ux-eval-copy p:last-child,
  .ux-ai-copy p:last-child,
  .ux-risk-copy p:last-child,
  .context-copy p:last-child,
  .context-fragment-copy p:last-child,
  .section figcaption {
    margin-bottom: 0;
  }

  .section figcaption,
  .ux-explore-board figcaption,
  .pred-detail-board figcaption,
  .act-units-board figcaption {
    margin-top: 12px;
  }

  .ux-copy,
  .ux-eval-copy,
  .ux-eval-split,
  .ux-ai-copy,
  .ux-risk-copy,
  .ux-ai-demo,
  .context-fragment-copy,
  .ux-eval-chart,
  .ux-explore-board,
  .context-fragment-board,
  .pred-detail-board,
  .ux-eval-split + .ux-explore-board,
  .ux-eval-copy + .ux-explore-board,
  .pred-core-flow .pred-detail-board + .ux-copy {
    padding-top: 0;
    margin-top: 0;
  }

  .ux-eval-split {
    gap: 12px;
  }

  .ux-eval-chart {
    width: calc(100% + 3rem);
    max-width: none;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 16px;
    border-radius: 0;
    box-sizing: border-box;
  }

  .context-block,
  .strategy-block,
  .journey-block,
  .act-units-block,
  .act-unify-block,
  .section.journey-block,
  .section.act-flow-block {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
    row-gap: 12px;
  }

  .ux-stage + .ux-eval-split,
  .ux-stage + .ux-eval-copy,
  .ux-eval-chart + .ux-explore-board,
  .ux-explore-board + .ux-ai-copy,
  .ux-ai-demo + .ux-risk-copy,
  .context-copy + .context-fragment-copy,
  .context-figure + .context-copy,
  .pred-detail-board + .ux-copy,
  .pred-cards + .pred-detail-board,
  .pred-cards + .pred-card-explorations,
  .pred-motion-copy,
  .pred-combos-lead + .pred-combos-aside,
  .act-units-board + .act-units-board {
    margin-top: var(--space-section);
  }

  .case-hero .impact-copy p,
  .section.case-hero .impact-copy p {
    margin: var(--space) 0 0;
  }

  .section.explore-solution-block,
  .section.act-growth-block,
  .section.pred-cards-block {
    padding-bottom: 2.5rem;
  }

  .ux-aside,
  .ux-stage {
    gap: 16px;
    row-gap: 16px;
  }

  .asset-slot-col {
    min-height: 0;
  }

  .context-stats {
    margin-top: var(--space);
  }

  .impact-split {
    row-gap: var(--space-section);
  }

  .journey-block {
    row-gap: 28px;
  }

  .journey-block .strategy-head h2 {
    margin-bottom: 0;
  }

  .journey,
  .act-flow {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .journey > li,
  .act-flow > li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 12px;
    align-items: start;
    position: relative;
  }

  .journey > li > .journey-top,
  .act-flow > li > .journey-top {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    height: 22px;
  }

  .journey > li > h3,
  .journey > li > p,
  .journey > li > ul,
  .act-flow > li > h3,
  .act-flow > li > p {
    grid-column: 2;
    margin: 0;
  }

  .journey > li > h3,
  .act-flow > li > h3 {
    grid-row: 1;
    align-self: start;
  }

  .journey > li > ul li,
  .act-flow > li > ul li {
    margin: 0 0 12px;
  }

  .journey > li > ul li:last-child,
  .act-flow > li > ul li:last-child {
    margin-bottom: 0;
  }

  .journey > li:not(:last-child)::before,
  .act-flow > li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 10.5px;
    top: 22px;
    bottom: -28px;
    width: 1px;
    background: var(--ink);
    z-index: 0;
  }

  .journey-rule {
    display: none;
  }

  .phone-col {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    justify-content: center;
    transform: none;
    height: auto;
    padding: 24px 0 48px;
  }

  .outline {
    position: sticky;
    top: 56px;
    background: var(--paper);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 12px 0;
    z-index: 20;
  }

  .case-dock .outline {
    position: relative;
    top: auto;
    flex-wrap: nowrap;
    background: transparent;
    padding: 0;
    z-index: auto;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 36px), transparent 100%);
  }

  .section { min-height: 0; }

  .study,
  .personal-grid,
  .personal-item,
  .study-media,
  .study-meta {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .case-shell img,
  .study-media img,
  .context-figure img,
  .context-fragment-board img,
  .ux-explore-board img,
  .act-units-board img,
  .pred-detail-board img {
    max-width: 100%;
    height: auto;
  }

  .case-shell figure img,
  .case-shell .context-figure img,
  .case-shell .context-fragment-board img,
  .case-shell .ux-explore-board img,
  .case-shell .act-units-board img,
  .case-shell .pred-detail-board img {
    border-radius: 0;
  }

  .study-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .case-shell figure,
  .case-shell .context-figure,
  .case-shell .context-fragment-board,
  .case-shell .ux-explore-board,
  .case-shell .act-units-board,
  .case-shell .pred-detail-board,
  .case-shell .ux-stage,
  .case-shell .ux-list,
  .case-shell .strategy-block,
  .case-shell .context-block {
    min-width: 0;
    max-width: 100%;
  }

  .token-orbit img,
  .ux-avatar img,
  .ux-avatar .net img,
  .case-fox img {
    max-width: none;
    height: auto;
  }
}

.case-gate {
  display: none;
}

html:has(#case-gate):not(.case-unlocked) body {
  overflow: hidden;
}

html:has(#case-gate):not(.case-unlocked) body > *:not(.case-gate) {
  pointer-events: none;
  user-select: none;
}

html:has(#case-gate):not(.case-unlocked) .case-gate {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 24px;
  background: rgba(246, 245, 248, 0.38);
  backdrop-filter: blur(22px) saturate(1.05);
  -webkit-backdrop-filter: blur(22px) saturate(1.05);
}

.case-gate-card {
  width: min(100%, 280px);
  text-align: center;
}

.case-gate-card p {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.case-gate-card input {
  width: 100%;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--ink);
  appearance: none;
  -webkit-appearance: none;
  background: none;
  background-color: transparent;
  box-shadow: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 8px 0;
  outline: none;
}

.case-gate-card input:-webkit-autofill,
.case-gate-card input:-webkit-autofill:hover,
.case-gate-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  box-shadow: 0 0 0 1000px transparent inset;
  background-color: transparent;
  transition: background-color 99999s ease-out;
}

.case-gate-card button {
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: -0.01em;
  cursor: pointer;
  padding: 0;
}

.case-gate-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-2);
}

.case-gate.is-wrong input {
  border-bottom-color: #c45b5b;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .ux-pill-track { animation: none !important; transform: none; }
  .token-orbit-ring,
  .token-orbit-spin {
    animation: none !important;
  }
}
