/* ── Elyx ─────────────────────────────────────────────────── */

:root {
  /* Cream paper, engraved sage, one deep green. Variable names keep
     rynex's so the desk and docs share the grammar. */
  --mint:      #CFE3D2;
  --mint-2:    #DDEADB;
  --mint-3:    #E7EEDF;
  --mint-4:    #F7F1E6;
  --paper:     #F3EBDD;
  --paper-2:   #FBF7F0;

  --ink:       #1C2420;
  --ink-2:     #4A544C;
  --ink-3:     #7C847A;
  --ink-4:     #ABB0A4;

  --green:     #1F7A57;
  --green-deep:#0E4F3D;

  --line:      rgba(48, 40, 28, .12);
  --line-2:    rgba(48, 40, 28, .07);
  --line-3:    rgba(255, 255, 255, .5);

  --up:        #1F7A57;
  --down:      #B4462F;

  --surface:   rgba(251, 247, 240, .74);
  --surface-2: rgba(251, 247, 240, .9);
  --blur:      saturate(140%) blur(16px);

  --sh-sm: 0 1px 2px rgba(60,44,24,.05), 0 3px 12px rgba(60,44,24,.05);
  --sh-md: 0 10px 34px rgba(60,44,24,.09);
  --sh-lg: 0 28px 70px rgba(60,44,24,.13);

  --r:    18px;
  --r-sm: 12px;
  --r-lg: 24px;
  --maxw: 1180px;

  --sans:  "Geist", system-ui, -apple-system, sans-serif;
  --serif: "Geist", system-ui, -apple-system, sans-serif;
  --mono:  "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.22, .68, 0, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--mint); color: var(--ink); }

/* ── type ─────────────────────────────────────────────────── */

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; margin: 0; line-height: 1.04; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
p  { margin: 0 0 1.05em; }

.lede { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--ink-2); line-height: 1.62; max-width: 60ch; }

.tag {
  font-family: var(--mono);
  font-size: .685rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: .75;
}
.tag.plain::before { display: none; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num  { font-family: var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

/* ── layout ───────────────────────────────────────────────── */

.wrap { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }
section { position: relative; }
.pad { padding: clamp(72px, 11vw, 140px) 0; }
.band { background: var(--mint-4); }
.band-2 { background: linear-gradient(180deg, var(--paper) 0%, var(--mint-4) 40%, var(--mint-4) 100%); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 60px); }
.head .tag { margin-bottom: 20px; }
.head h2 { margin-bottom: 22px; }

/* ── scroll progress ──────────────────────────────────────── */

#progress {
  position: fixed; inset: 0 auto auto 0;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--mint));
  z-index: 200;
  will-change: transform;
}

/* ── nav ──────────────────────────────────────────────────── */

.nav {
  position: fixed; top: 14px; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(var(--maxw), calc(100% - 32px));
  display: flex; align-items: center; gap: 18px;
  padding: 9px 10px 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.60);
  border: 1px solid var(--line-3);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--sh-sm);
  transition: background .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.nav.stuck .nav-inner {
  background: rgba(255,255,255,.85);
  box-shadow: var(--sh-md);
  border-color: rgba(255,255,255,.7);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.015em; font-size: 1.02rem; }
.brand .mark { width: 26px; height: 26px; color: var(--green-deep); flex: none; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: .85rem; color: var(--ink-2); padding: 7px 13px; border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-links a:hover { background: rgba(11,26,23,.05); color: var(--ink); }
.nav-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  color: var(--ink-2); border: 1px solid var(--line);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.nav-x:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-x svg { width: 14px; height: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .875rem; font-weight: 500;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper-2);
  border: 1px solid var(--ink);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: rgba(255,255,255,.75); color: var(--ink); border-color: var(--line); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ── hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 132px 0 68px;
  overflow: hidden;
  background: linear-gradient(116deg, #C4EEDB 0%, #7FD9B2 38%, #98E3C2 62%, #CFF2E2 100%);
}
.hero-art { position: absolute; inset: -10% -5%; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 190px;
  background: linear-gradient(180deg, rgba(244,251,247,0), var(--paper));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero h1 { color: #06120F; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--green-deep); }
.hero .lede { color: #14352C; max-width: 46ch; margin-top: 26px; font-size: clamp(1.04rem, 1.5vw, 1.2rem); }
.hero-tag { color: #173A31; }
.hero-tag::before { background: var(--green-deep); opacity: .9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .btn.ghost { border-color: rgba(6,30,24,.22); color: #0F2A23; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px; margin-top: 56px; max-width: 680px;
}
.stat {
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-radius: var(--r-sm);
  padding: 15px 17px;
}
.stat .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #3A564E; }
.stat .v { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); color: #081512; margin-top: 4px; letter-spacing: -.03em; }
.stat .s { font-size: .75rem; color: #45615A; }

/* ── statement ────────────────────────────────────────────── */

.statement { padding: clamp(84px, 13vw, 168px) 0; }
.statement h2 { font-size: clamp(2.1rem, 5.6vw, 4rem); max-width: 17ch; }
.statement .lede { margin-top: 30px; }

/* ── method: sticky pairs ─────────────────────────────────── */

.method-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding: clamp(48px, 7vw, 86px) 0;
  border-top: 1px solid var(--line);
}
.method-row:first-of-type { border-top: 0; }
.method-copy .tag { margin-bottom: 16px; }
.method-copy h3 { margin-bottom: 16px; font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.method-copy p { color: var(--ink-2); max-width: 48ch; }
.method-visual { position: sticky; top: 104px; }

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--sh-sm);
}
.panel-h {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line-2);
}

.klist { display: grid; gap: 10px; }
.krow { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.krow:last-child { border-bottom: 0; }
.krow .k { font-size: .84rem; color: var(--ink-2); }
.krow .v { font-family: var(--mono); font-size: .84rem; }
.krow .v.good { color: var(--green); }
.krow .v.bad  { color: var(--down); }

.bar { height: 8px; border-radius: 99px; background: var(--mint-3); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--mint)); width: 0; transition: width 1.1s var(--ease); }

/* ── figures ──────────────────────────────────────────────── */

.fig { width: 100%; height: auto; display: block; }
.fig text { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; fill: var(--ink-3); text-transform: uppercase; }
.fig .lbl-lg { font-family: var(--sans); font-size: 11px; fill: var(--ink-2); letter-spacing: 0; text-transform: none; }
.fig .axis { stroke: var(--line); stroke-width: 1; }
.fig .band-ok { fill: var(--mint-3); }
.fig .ln { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fig .ln.a { stroke: var(--ink-3); }
.fig .ln.b { stroke: var(--ink-4); }
.fig .ln.r { stroke: var(--green); stroke-width: 2.4; }
.dash { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.5s var(--ease); }
.revealed .dash { stroke-dashoffset: 0; }

/* ── compare ──────────────────────────────────────────────── */

.compare { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 8px; }
.cmp {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px 22px; box-shadow: var(--sh-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cmp:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.cmp.lead { background: linear-gradient(165deg, #fff, var(--mint-4)); border-color: rgba(31,138,102,.22); }
.cmp .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cmp .v { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.035em; margin: 10px 0 6px; }
.cmp.lead .v { color: var(--green-deep); }
.cmp .s { font-size: .84rem; color: var(--ink-2); line-height: 1.5; }

/* ── legs strip ───────────────────────────────────────────── */

.legs { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.leg {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; box-shadow: var(--sh-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.leg:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.leg img { border-radius: 6px; flex: none; }
.leg b { display: block; font-size: .88rem; font-weight: 600; letter-spacing: -.01em; }
.leg .px { font-family: var(--mono); font-size: .76rem; color: var(--ink-2); }
.leg .px.dim { color: var(--ink-4); }

/* ── markets table ────────────────────────────────────────── */

.pairlogos { display: inline-flex; margin-right: 10px; vertical-align: -6px; }
.pairlogos img { border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 2px; }
.pairlogos img:last-child { margin-left: -8px; }

.live {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-4); margin-left: 6px; vertical-align: 1px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.live.on { background: var(--green); box-shadow: 0 0 0 3px rgba(31,138,102,.16); }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); box-shadow: var(--sh-sm); }
table { width: 100%; border-collapse: collapse; min-width: 660px; }
thead th {
  text-align: left; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 400;
  padding: 15px 18px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
tbody td { padding: 15px 18px; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .25s var(--ease); }
tbody tr:hover { background: var(--mint-4); }
td.r, th.r { text-align: right; }
.pair { font-weight: 500; letter-spacing: -.01em; }
.pair .q { color: var(--ink-3); font-weight: 400; }
.chip {
  display: inline-block; font-family: var(--mono); font-size: .7rem;
  padding: 3px 9px; border-radius: 999px; background: var(--mint-3); color: var(--green-deep);
}
.tfoot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 16px; }
.tfoot span { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ── numbers strip ────────────────────────────────────────── */

.figures { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.figure { padding: 26px 4px; border-top: 1px solid var(--line); }
.figure .v { font-family: var(--serif); font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.figure .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }

/* ── faq ──────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); }
.q {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  cursor: pointer;
}
.q summary {
  display: flex; align-items: flex-start; gap: 20px;
  list-style: none; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.12rem, 1.9vw, 1.42rem); letter-spacing: -.02em;
}
.q summary::-webkit-details-marker { display: none; }
.q summary .n { font-family: var(--mono); font-size: .72rem; color: var(--ink-4); padding-top: .45em; letter-spacing: .1em; }
.q summary .t { flex: 1; }
.q summary .pm {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); position: relative; margin-top: .2em;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.q summary .pm::before, .q summary .pm::after {
  content: ""; position: absolute; inset: 50% 7px auto 7px; height: 1px; background: var(--ink-2);
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.q summary .pm::after { transform: rotate(90deg); }
.q[open] summary .pm { background: var(--ink); border-color: var(--ink); transform: rotate(90deg); }
.q[open] summary .pm::before, .q[open] summary .pm::after { background: #fff; }
.q[open] summary .pm::after { transform: rotate(0deg); }
.q .a { padding: 16px 0 0 46px; color: var(--ink-2); max-width: 68ch; font-size: .95rem; }
.q .a p:last-child { margin-bottom: 0; }

/* ── closing ──────────────────────────────────────────────── */

.closing {
  background: linear-gradient(146deg, #C4EEDB 0%, #7FD9B2 52%, #C0EED9 100%);
  padding: clamp(88px, 13vw, 156px) 0;
  position: relative; overflow: hidden;
}
.closing h2 { color: #06120F; max-width: 23ch; font-size: clamp(2.2rem, 5.6vw, 4rem); }
.closing .hero-cta { margin-top: 34px; }
.closing .btn.ghost { border-color: rgba(6,30,24,.24); color: #0F2A23; }

footer { background: var(--paper); padding: 54px 0 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.foot .brand .mark { color: var(--green-deep); }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { font-size: .85rem; color: var(--ink-2); transition: color .25s var(--ease); }
.foot-links a:hover { color: var(--ink); }
.foot-note { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--ink-4); margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 78ch; line-height: 1.8; text-transform: uppercase; }

/* ── reveal ───────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].revealed { opacity: 1; transform: none; }

[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-22px); }

/* ── responsive ───────────────────────────────────────────── */

@media (max-width: 940px) {
  .nav-links { display: none; }
  .method-row { grid-template-columns: 1fr; }
  .method-visual { position: static; }
  .compare { grid-template-columns: 1fr; }
  .figures { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .legs { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 34px); }
  .hero-stats { grid-template-columns: 1fr; max-width: 340px; }
  .hero { min-height: auto; padding-top: 124px; }
  .q .a { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .dash { stroke-dashoffset: 0 !important; }
}


/* week grid */
.wk { fill: var(--mint-3); }
.wk.on { fill: var(--green); }
.wk { transition: fill .5s var(--ease), opacity .5s var(--ease); }

input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; height: 22px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line); border-radius: 2px; }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green-deep); margin-top: -7px; border: 2px solid #fff; box-shadow: var(--sh-sm);
}

/* ── the desk ─────────────────────────────────────────────── */

.deskpage { background: var(--mint-4); }
.desk-nav { position: sticky; top: 0; padding-top: 14px; }
.desk-nav .nav-inner { background: rgba(255,255,255,.86); box-shadow: var(--sh-sm); }
.deskname {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
}
.desk-nav .nav-links { margin-left: auto; }
.pill {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .08em;
  color: var(--ink-2); padding: 7px 12px; border-radius: 999px;
  background: var(--mint-3); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.pill.shut { background: rgba(11,26,23,.06); color: var(--ink-3); }

.desk {
  width: min(1360px, calc(100% - 40px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}
.col {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px; box-shadow: var(--sh-sm);
}
.col-h {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3); display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-2);
}
.fineprint {
  font-size: .72rem; line-height: 1.6; color: var(--ink-3);
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2);
}
.fineprint code { font-family: var(--mono); font-size: .95em; color: var(--ink-2); }

/* market list */
.mktlist { display: grid; gap: 2px; }
.mkt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: transparent; border: 0; border-radius: 12px;
  padding: 9px 10px; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink);
  transition: background .22s var(--ease);
}
.mkt:hover { background: var(--mint-4); }
.mkt.on { background: var(--mint-3); }
.mkt-name { font-size: .86rem; font-weight: 500; letter-spacing: -.01em; }
.mkt-name .q { color: var(--ink-3); font-weight: 400; }
.mkt-mark { margin-left: auto; font-size: .8rem; color: var(--ink-2); }
.mkt.on .mkt-mark { color: var(--green-deep); }

/* legs */
.leglist { display: grid; gap: 8px; }
.leglist .leg { border: 0; box-shadow: none; background: var(--mint-4); padding: 11px 12px; }
.leglist .leg:hover { transform: none; box-shadow: none; }
.leg-sub { margin-left: auto; font-size: .66rem; color: var(--ink-3); text-align: right; }

/* ticket */
.ticket-col { padding: 0; overflow: hidden; }
.ticket { padding: 20px 22px 22px; }
.ticket-h {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-2);
}
.ticket-pair { display: flex; align-items: center; gap: 14px; }
.ticket-pair .pairlogos { gap: 4px; }
.ticket-pair .pairlogos img { width: 34px; height: 34px; padding: 4px; }
.ticket-pair .pairlogos img:last-child { margin-left: 0; }
.ticket-pair b { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.03em; display: block; line-height: 1.1; }
.ticket-pair .sub { font-size: .78rem; color: var(--ink-3); }
.ticket-mark { text-align: right; }
.ticket-mark .k { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ticket-mark .v { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.03em; }

.side { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.sidebtn {
  border: 1px solid var(--line); background: var(--paper-2); border-radius: var(--r-sm);
  padding: 13px 15px; cursor: pointer; text-align: left; font: inherit; color: var(--ink-2);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.sidebtn b { display: block; font-size: .95rem; color: var(--ink); margin-bottom: 2px; }
.sidebtn span { font-size: .74rem; }
.sidebtn:hover { border-color: var(--ink-4); }
.sidebtn.on { background: var(--mint-3); border-color: rgba(31,138,102,.4); color: var(--green-deep); }
.sidebtn.on b { color: var(--green-deep); }

.field { display: block; margin-bottom: 18px; }
.field .k {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); display: block; margin-bottom: 8px;
}
.field .lev-k { display: flex; justify-content: space-between; align-items: baseline; }
.field .lev-k .mono { font-size: .82rem; color: var(--ink); letter-spacing: 0; text-transform: none; }
.inputwrap {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 15px;
  background: var(--paper); transition: border-color .25s var(--ease), background .25s var(--ease);
}
.inputwrap:focus-within { border-color: var(--green); background: var(--paper-2); }
.inputwrap input {
  flex: 1; border: 0; background: transparent; outline: none; min-width: 0;
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink);
}
.inputwrap em { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); font-style: normal; }
.levcap { font-size: .7rem; color: var(--ink-3); margin-top: 6px; }

.tk-out { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 4px 15px; background: var(--paper); }
.tk-out .krow:last-child { border-bottom: 0; }
.v.bad { color: var(--down); }

.scen { margin-top: 20px; }
.scentable { min-width: 0; }
.scentable td { padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: .84rem; }
.scentable tr:last-child td { border-bottom: 0; }
.scentable .up { color: var(--up); }
.scentable .dn { color: var(--down); }

.btn.wide {
  width: 100%; justify-content: center; margin-top: 20px; padding: 15px;
  font-size: .92rem;
}
.btn.wide:disabled {
  background: rgba(11,26,23,.07); border-color: transparent; color: var(--ink-3);
  cursor: not-allowed; transform: none; box-shadow: none;
}

.desk-foot { background: transparent; padding: 30px 0 46px; }
.desk-foot .wrap { width: min(1360px, calc(100% - 40px)); }
.desk-foot .foot-note { border-top: 1px solid var(--line); max-width: none; }

@media (max-width: 1120px) {
  .desk { grid-template-columns: 260px minmax(0, 1fr); }
  .legs-col { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .desk { grid-template-columns: 1fr; width: calc(100% - 28px); }
  .desk-nav .nav-links, .deskname { display: none; }
  .ticket-h { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ticket-mark { text-align: left; }
}

/* ── the vault panel ──────────────────────────────────────── */

.vault-intro { font-size: .8rem; color: var(--ink-2); line-height: 1.55; margin: 0 0 14px; }
#vaultPanel .btn.wide, #vaultLive .btn.wide { margin-top: 0; padding: 12px; font-size: .85rem; }
.vrow { display: flex; gap: 8px; margin: 14px 0 10px; }
.vrow .btn { padding: 12px 16px; font-size: .85rem; flex: none; }
.inputwrap.sm { flex: 1; padding: 8px 12px; min-width: 0; }
.inputwrap.sm input { font-size: 1.05rem; }
.vstatus {
  font-family: var(--mono); font-size: .68rem; line-height: 1.6; color: var(--ink-3);
  margin: 12px 0 0; min-height: 1.6em;
}
.vstatus.bad { color: var(--down); }
.vstatus.good { color: var(--green); }
.btn.busy { opacity: .55; pointer-events: none; }
#connect.on { background: var(--mint-3); color: var(--green-deep); border-color: transparent; }
.fineprint.warn { color: var(--down); border-top-color: rgba(180,70,47,.2); }

/* ── a market that has gone to sleep ──────────────────────── */
.stale {
  display: flex; align-items: center; gap: 16px;
  background: var(--mint-3); border-radius: var(--r-sm);
  padding: 15px 17px; margin-top: 20px;
}
.stale b { display: block; font-size: .9rem; margin-bottom: 3px; }
.stale span { font-size: .78rem; color: var(--ink-2); line-height: 1.5; }
.stale .btn { flex: none; padding: 10px 16px; font-size: .85rem; }

/* ── the wallet picker ────────────────────────────────────── */

.sheet { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.sheet[hidden] { display: none !important; }
.sheet-scrim {
  position: absolute; inset: 0;
  background: rgba(10, 22, 15, .38);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: sheetIn .25s var(--ease);
}
.sheet-card {
  position: relative;
  width: min(380px, calc(100vw - 40px));
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 20px;
  animation: cardIn .3s var(--ease);
}
@keyframes sheetIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(.985) } to { opacity: 1; transform: none } }

.sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sheet-h h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.sheet-x {
  border: 0; background: transparent; cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: var(--ink-3);
  width: 30px; height: 30px; border-radius: 50%;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.sheet-x:hover { background: rgba(11,26,23,.06); color: var(--ink); }

.sheet-list { display: grid; gap: 6px; }
.wopt {
  display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--paper-2);
  font: inherit; color: var(--ink); text-align: left; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.wopt:hover { background: var(--mint-4); border-color: rgba(31,138,102,.3); transform: translateY(-1px); }
.wopt img, .wopt .fallback {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  object-fit: contain; background: var(--mint-3);
}
.wopt .fallback {
  display: grid; place-items: center;
  font-family: var(--mono); font-size: .8rem; color: var(--green-deep);
}
.wopt b { font-weight: 500; font-size: .93rem; flex: 1; }
.wopt .go { color: var(--ink-4); transition: transform .25s var(--ease), color .25s var(--ease); }
.wopt:hover .go { transform: translateX(3px); color: var(--green); }

.sheet-note {
  font-size: .75rem; color: var(--ink-3); line-height: 1.5;
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2);
}

/* ── the token ────────────────────────────────────────────── */

.token {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.token-copy .tag { margin-bottom: 18px; }
.token-copy h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 20px; }
.token-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; box-shadow: var(--sh-sm);
}
.ca {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink);
  text-align: left;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.ca:hover { border-color: rgba(44,122,80,.35); background: var(--mint-4); }
.ca-addr { flex: 1; font-size: .78rem; letter-spacing: -.01em; word-break: break-all; line-height: 1.4; }
.ca-do {
  flex: none; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-deep);
  background: var(--mint-3); padding: 6px 11px; border-radius: 999px;
}
.ca-do.done { background: var(--green); color: #fff; }
.token-card .fineprint { margin-top: 16px; }

@media (max-width: 940px) { .token { grid-template-columns: 1fr; } }

/* ── the contract address, always on screen ───────────────── */
/* No data-reveal on this one. A contract address is the last thing that
   should be waiting on an animation to become visible. */

.ca-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 14px 16px; margin-top: 26px;
  background: var(--mint-4); border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.ca-bar .k {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
}
.ca-mini {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--ink); text-align: left;
}
.ca-mini .mono { font-size: .76rem; word-break: break-all; line-height: 1.4; }
.ca-mini:hover .mono { color: var(--green-deep); }
.ca-mini .ca-do { flex: none; }

/* ── docs ─────────────────────────────────────────────────── */

.docspage { background: var(--paper); }
.docs {
  width: min(1140px, calc(100% - 44px));
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.toc { position: sticky; top: 96px; }
.toc nav { display: grid; gap: 1px; }
.toc a {
  font-size: .84rem; color: var(--ink-3); padding: 7px 12px;
  border-radius: 8px; border-left: 2px solid transparent;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.toc a:hover { color: var(--ink); background: var(--mint-4); }
.toc a.on { color: var(--green-deep); background: var(--mint-4); border-left-color: var(--green); font-weight: 500; }
.toc .fineprint { margin-top: 18px; }
.toc .fineprint a { padding: 0; color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

.doc { padding-bottom: 90px; max-width: 68ch; }
.doc-head { padding-bottom: 34px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.doc-head .tag { margin-bottom: 18px; }
.doc-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.doc section { padding: 38px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 92px; }
.doc section:last-child { border-bottom: 0; }
.doc h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 18px; }
.doc h3 {
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: 0;
  margin: 28px 0 10px; color: var(--ink);
}
.doc p { color: var(--ink-2); line-height: 1.68; }
.doc p b, .doc li b { color: var(--ink); font-weight: 600; }
.doc .mono { font-size: .88em; color: var(--ink); background: var(--mint-4); padding: 1px 5px; border-radius: 4px; }
.doc .note { font-size: .84rem; color: var(--ink-3); }

.doclist { margin: 0 0 1.05em; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.doclist li {
  color: var(--ink-2); line-height: 1.62; padding-left: 20px; position: relative;
}
.doclist li::before {
  content: ""; position: absolute; left: 4px; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green); opacity: .5;
}

.callout {
  background: var(--mint-4); border-left: 2px solid var(--green);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 18px; margin: 24px 0;
}
.callout b { display: block; margin-bottom: 6px; font-size: .92rem; }
.callout p { margin: 0; font-size: .9rem; }
.callout.warn { background: rgba(180,70,47,.06); border-left-color: var(--down); }

.doctable { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .88rem; min-width: 0; }
.doctable th {
  text-align: left; font-family: var(--mono); font-size: .62rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 400;
  padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line);
}
.doctable td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.doctable tr:last-child td { border-bottom: 0; }
.doctable .what { color: var(--ink-2); font-size: .85rem; line-height: 1.5; }
.doctable td.mono, .doctable .mono { background: transparent; padding-left: 0; }
#paramTable { display: block; overflow-x: auto; }

.addrlist { display: grid; gap: 6px; margin: 18px 0; }
.addr {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  width: 100%; text-align: left; font: inherit; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.addr:hover { border-color: rgba(31,138,102,.3); background: var(--mint-4); }
.addr-k { font-size: .84rem; flex: 1; min-width: 140px; }
.addr .mono { font-size: .72rem; word-break: break-all; background: transparent; padding: 0; }

@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .toc a { border-left: 0; background: var(--mint-4); }
}
.stale.gate { background: rgba(180,70,47,.07); }
.stale.gate .btn { background: var(--ink); border-color: var(--ink); }

/* ── elyx: the builder ───────────────────────────────────── */

.wlist { display: grid; gap: 6px; }
.wrow {
  display: grid; grid-template-columns: 30px minmax(0,1fr) 64px; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: var(--r-sm); background: var(--mint-4);
}
.wrow img, .wrow .lg { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line); object-fit: cover; display: grid; place-items: center; font-family: var(--mono); font-size: .58rem; color: var(--ink-2); }
.wrow .nm { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.wrow .nm b { font-size: .86rem; font-weight: 600; letter-spacing: -.01em; }
.wrow .nm span { font-size: .72rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow .nm .px { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--ink-2); }
.wrow .bar { margin-top: 6px; background: rgba(11,26,23,.07); }
.wrow .bar > i { transition: width .35s var(--ease); background: linear-gradient(90deg, var(--green), var(--mint)); }
.wrow .bar.short > i { background: linear-gradient(90deg, var(--down), #E0A48F); }
.wrow input[type=range] { width: 100%; margin-top: 2px; height: 18px; }
.wrow .w { font-family: var(--serif); font-size: 1.15rem; letter-spacing: -.03em; text-align: right; font-variant-numeric: tabular-nums; }
.wrow .w small { font-family: var(--mono); font-size: .62rem; color: var(--ink-3); margin-left: 2px; }
.wrow .w.short { color: var(--down); }

.ctl { display: grid; grid-template-columns: 96px minmax(0,1fr) 62px; align-items: center; gap: 12px; margin-top: 10px; }
.ctl .k { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ctl .k small { display: block; letter-spacing: .04em; text-transform: none; color: var(--ink-4); font-size: .6rem; margin-top: 2px; }
.ctl .v { font-family: var(--serif); font-size: 1.15rem; letter-spacing: -.03em; text-align: right; }

.picker { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pk {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper-2); font: inherit; font-size: .78rem; font-weight: 500;
  color: var(--ink-2); cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.pk img, .pk .lg { width: 20px; height: 20px; border-radius: 6px; background: #fff; object-fit: cover; display: grid; place-items: center; font-family: var(--mono); font-size: .5rem; }
.pk:hover { border-color: var(--ink-4); color: var(--ink); }
.pk[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* the composition figure: five bars, height is weight times leverage, a short hangs below the axis */
.comp { width: 100%; height: auto; }
.comp rect { transition: height .5s var(--ease), y .5s var(--ease); }
.comp text { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; fill: var(--ink-3); text-transform: uppercase; }
.comp text.lbl-lg { font-family: var(--sans); font-size: 10px; fill: var(--ink-2); letter-spacing: 0; text-transform: none; }
.sum { display: flex; gap: 18px; margin-top: 14px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sum b { color: var(--ink); font-weight: 500; }

/* ── elyx: baskets ───────────────────────────────────────── */

.blogos { display: inline-flex; margin-right: 10px; vertical-align: -6px; }
.blogos img, .blogos .lg { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 2px; margin-left: -7px; object-fit: cover; display: inline-grid; place-items: center; font-family: var(--mono); font-size: .5rem; }
.blogos img:first-child, .blogos .lg:first-child { margin-left: 0; }
.chip.warn { background: rgba(180,70,47,.1); color: var(--down); }
.chip.dim { background: rgba(11,26,23,.06); color: var(--ink-3); }
.empty-row td { text-align: center; color: var(--ink-3); padding: 34px 18px; font-size: .9rem; }
.tk-out .krow .k { font-size: .8rem; }
.timelock {
  background: var(--mint-4); border-radius: var(--r-sm); padding: 14px 16px; margin: 0 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.timelock .k { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); display: block; margin-bottom: 2px; }
.timelock .cd { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.03em; line-height: 1; }
.timelock .s { font-size: .74rem; color: var(--ink-2); margin-top: 4px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.acts .btn { padding: 9px 14px; font-size: .8rem; }
.mkt .blogos { margin-right: 0; }
.mkt .mkt-name small { display: block; font-size: .7rem; color: var(--ink-3); font-weight: 400; }
.segs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--mint-4); margin-bottom: 16px; }
.segs button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: 8px 10px; font: inherit; font-size: .82rem; color: var(--ink-2); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.segs button.on { background: var(--paper-2); color: var(--ink); box-shadow: var(--sh-sm); }
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(14px); z-index: 400;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: .86rem;
  box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  max-width: min(560px, 92vw);
}
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast.err { background: var(--down); }
.brand .mark { color: var(--green-deep); }
.state { display: inline-flex; align-items: center; gap: 6px; }
.deskpage .desk { grid-template-columns: 290px minmax(0, 1fr) 320px; }
@media (max-width: 1120px) { .deskpage .desk { grid-template-columns: 260px minmax(0, 1fr); } .legs-col { grid-column: 1 / -1; } }
@media (max-width: 780px) { .deskpage .desk { grid-template-columns: 1fr; } .comp { height: 100px; } }
.leg img, .leg .lg { width: 30px; height: 30px; border-radius: 8px; flex: none; object-fit: cover; background: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: .55rem; color: var(--ink-2); }
.leg > div { min-width: 0; }
.leglist .leg img, .leglist .leg .lg { width: 26px; height: 26px; }
.legs-col .stale { flex-direction: column; align-items: stretch; }
.legs-col .stale .btn { justify-content: center; }

/* ── Elyx additions ──────────────────────────────────────── */
.hero-note { max-width: 560px; margin: 14px 0 0; font-size: .95rem; color: var(--ink-2); }
.pk-note { width: 100%; margin: 0 0 6px; font-size: .8rem; color: var(--ink-3); }
.leg-sub.neg { color: var(--down); }
img[src^="/assets/mk/"] { border-radius: 50%; background: #E3ECE8; object-fit: cover; }
.side > * { min-width: 0; }
.inputwrap input { min-width: 0; }


/* ── cream: the elev-style landing ─────────────────────────── */

body.cream { background: var(--paper); color: var(--ink); }
.accent { color: var(--green); }
.cream .nav-inner { background: rgba(243,235,221,.72); border: 1px solid rgba(255,255,255,.55); box-shadow: 0 8px 30px rgba(60,44,24,.08); }
.cream .nav.stuck .nav-inner { background: rgba(243,235,221,.9); }
.nav-pill { background: rgba(48,40,28,.05); border-radius: 12px; padding: 4px; }
.nav-pill a { font-size: .86rem; color: var(--ink-2); }
.brand-tile { width: 30px; height: 30px; border-radius: 9px; background: radial-gradient(120% 120% at 30% 25%, #3FA57E, #1F7A57 55%, #0E4F3D); display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.brand-tile .mark { width: 19px !important; height: 19px !important; color: #F6EFE2 !important; }
.cream .btn { border-radius: 10px; background: var(--green); border-color: var(--green); color: #FBF7F0; font-weight: 500; }
.cream .btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.cream .btn.ghost { background: transparent; color: var(--ink); border-color: rgba(48,40,28,.2); }
.cream .btn.ghost:hover { background: rgba(255,255,255,.5); }

.hero-e { background: var(--paper); min-height: auto; padding: 172px 0 72px; align-items: flex-start; }
.h-e { font-family: var(--sans); font-weight: 300; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.04; letter-spacing: -.045em; color: var(--ink); max-width: 17ch; }
.h-e .accent { font-weight: 400; }
.chips, .chip1 { display: inline-flex; vertical-align: -.1em; margin: 0 .06em; }
.chips img, .chip1 img { width: .78em; height: .78em; border-radius: .2em; background: #fff; padding: .07em; box-shadow: 0 2px 8px rgba(60,44,24,.12), inset 0 0 0 1px rgba(48,40,28,.08); }
.chips img + img { margin-left: -.18em; }
.chip1 img { background: #0F1A17; }
.hero-e .lede { color: var(--ink-2); max-width: 52ch; margin-top: 26px; font-size: clamp(1rem, 1.35vw, 1.12rem); }
.stats-e { display: flex; flex-wrap: wrap; gap: 18px 64px; margin-top: 46px; }
.stats-e .v { font-size: clamp(1.6rem, 2.4vw, 2.05rem); letter-spacing: -.02em; color: var(--ink); }
.stats-e .v.neg { color: var(--down); }
.stats-e .s { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--ink-3); margin-top: 2px; }
.stats-e .s img, .stats-e .s .lg, .stats-e .s svg { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.stats-e .s svg { color: var(--green); }
.stats-e .s .lg { display: inline-grid; place-items: center; overflow: hidden; }
.stats-e .s .lg img { width: 16px; height: 16px; }
.dotlive { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(31,122,87,.16); }

/* engraved objects drifting around the hero */
.floats { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float { position: absolute; will-change: transform; }
.float img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; opacity: .9; animation: bob 9s ease-in-out infinite; }
.f1 { width: clamp(120px, 12vw, 180px); right: 5%; top: 17%; }
.f2 { width: clamp(80px, 7.5vw, 112px); right: 20%; top: 11%; }
.f2 img { animation-delay: -2s; }
.f3 { width: clamp(90px, 8.5vw, 128px); right: 21%; top: 40%; }
.f3 img { animation-delay: -4s; }
.f4 { width: clamp(64px, 5.5vw, 84px); right: 15%; top: 74%; }
.f4 img { animation-delay: -1s; }
.f5 { width: clamp(100px, 9.5vw, 140px); right: 3%; top: 54%; }
.f5 img { animation-delay: -6s; }
.f6 { width: clamp(64px, 5.5vw, 84px); right: 33%; top: 62%; }
.f6 img { animation-delay: -3s; }
.f7 { width: clamp(60px, 5.5vw, 84px); right: 4%; top: 80%; }
.f7 img { animation-delay: -5s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .float img { animation: none; } }

.h2-e { font-family: var(--sans); font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.04em; line-height: 1.08; max-width: 24ch; margin-bottom: 40px; }
.h2-e .accent { font-weight: 400; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: rgba(251,247,240,.7); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 20px 22px; box-shadow: var(--sh-sm); }
.step .art { height: 120px; border-radius: 12px; background: var(--mint-3); display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; }
.step .art img { height: 100px; width: auto; mix-blend-mode: multiply; }
.step .n { font-size: .7rem; color: var(--ink-3); letter-spacing: .08em; }
.step h3 { font-family: var(--sans); font-weight: 500; font-size: 1.08rem; letter-spacing: -.02em; margin: 6px 0 8px; }
.step p { font-size: .9rem; color: var(--ink-2); line-height: 1.55; margin: 0; }

.runs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.run { background: rgba(251,247,240,.7); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 20px 24px; box-shadow: var(--sh-sm); }
.run .dia { min-height: 120px; border-radius: 12px; background: var(--mint-3); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 16px; margin-bottom: 18px; }
.run .pill { display: inline-flex; align-items: center; gap: 6px; background: #FBF7F0; border: 1px solid var(--line-2); border-radius: 9px; padding: 6px 10px; font-size: .78rem; color: var(--ink); box-shadow: var(--sh-sm); }
.run .pill img, .run .pill svg { width: 15px; height: 15px; border-radius: 4px; }
.run .pill svg { color: var(--green); }
.run .arrow, .run .sep { color: var(--ink-3); font-size: .78rem; }
.run h3 { font-family: var(--sans); font-weight: 500; font-size: 1.08rem; letter-spacing: -.02em; margin-bottom: 8px; }
.run p { font-size: .9rem; color: var(--ink-2); margin: 0; line-height: 1.55; }

.cream .band, .cream .band-2 { background: transparent; }
.cream .panel, .cream .tablewrap, .cream .faq { background: rgba(251,247,240,.72); }
.cream h3 { font-family: var(--sans); font-weight: 400; letter-spacing: -.03em; }
.cream .head h2 { font-weight: 300; letter-spacing: -.04em; }

.closing-e { position: relative; overflow: hidden; padding: clamp(90px, 14vw, 190px) 0 clamp(120px, 20vw, 280px); }
.closing-e .scene { position: absolute; inset: 0; z-index: 0; }
.closing-e .scene img { width: 100%; height: 115%; object-fit: cover; object-position: 70% 60%; }
.closing-e::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--paper) 0%, rgba(243,235,221,.7) 28%, rgba(243,235,221,0) 60%); }
.closing-e .wrap { position: relative; z-index: 2; }
.closing-e .h2-e { margin-bottom: 0; }
.closing-e .hero-cta { margin-top: 30px; }
.cream footer { background: var(--paper); }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .runs { grid-template-columns: 1fr; }
  .f2, .f6, .f7, .f3 { display: none; }
  .f1 { right: 4%; top: 12%; width: 110px; } .f4 { left: auto; right: 34%; top: 11%; } .f5 { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .hero-e { padding-top: 220px; }
  .f1 { width: 96px; top: 96px; } .f4 { width: 64px; top: 110px; right: 40%; }
  .stats-e { gap: 16px 36px; }
}

.cream .pad { padding: clamp(52px, 7vw, 96px) 0; }
.cream .head { margin-bottom: 32px; }
.faq code, .faq .mono { word-break: break-all; }
.cream .method-row { padding-top: 0; padding-bottom: 0; border: 0; }

.brand-logo { width: 30px; height: 30px; border-radius: 9px; display: block; box-shadow: 0 1px 3px rgba(14,79,61,.25); }
.stats-e .s img.mk, .run .pill img.mk { border-radius: 50%; }


/* ── combined: stockcore's live product frame, prowl's live band ── */
.deskframe-sec { padding: 8px 0 0; }
.deskframe { border-radius: 20px; overflow: hidden; background: #0F1A17; box-shadow: var(--sh-lg); border: 1px solid #0F1A17; }
.df-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: #E9E2D3; font-size: .84rem; flex-wrap: wrap; }
.df-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin-right: 10px; }
.df-brand img { border-radius: 6px; }
.df-tab { padding: 5px 10px; border-radius: 8px; color: #A9B3AA; }
.df-tab.on { background: rgba(255,255,255,.08); color: #F3EBDD; }
.df-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .7rem; color: #A9B3AA; }
.df-cta { background: #F3EBDD; color: #0F1A17; padding: 7px 14px; border-radius: 9px; font-weight: 500; }
.df-body { display: grid; grid-template-columns: 1fr 300px; gap: 1px; background: rgba(255,255,255,.06); }
.df-main, .df-side { background: var(--paper-2); padding: 16px 18px; }
.df-head { display: flex; justify-content: space-between; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.mini-legs { max-height: 520px; overflow-y: auto; display: grid; gap: 2px; }
.ml { display: grid; grid-template-columns: 22px 1fr auto 64px; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px dashed var(--line-2); font-size: .82rem; }
.ml .lg, .ml img { width: 20px; height: 20px; border-radius: 5px; }
.ml .px { font-size: .76rem; color: var(--ink-2); }
.ml .chg { font-size: .72rem; text-align: right; color: var(--green); }
.ml .chg.neg { color: var(--down); }

.builton { padding: 46px 0 10px; }
.bo-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 30px; }
.bo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.bo img { width: 26px; height: 26px; border-radius: 6px; }
.bo.word { font-family: var(--mono); font-weight: 400; }
.bo-cap { margin-top: 16px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.statement-e .big { font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.16; letter-spacing: -.035em; max-width: 30ch; color: var(--ink); margin: 0; }
.statement-e .grey { color: var(--ink-4); }

.band-e { position: relative; background: #DCE8D8; padding: 74px 0 70px; margin: 20px 0; }
.band-e .wave { position: absolute; left: 0; width: 100%; height: 40px; fill: var(--paper); }
.band-e .wave.top { top: -1px; transform: scaleY(-1); }
.band-e .wave.bot { bottom: -1px; transform: scaleY(-1); }
.band-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; }
.band-head .h2-e { margin: 0; }
.band-head .lede { margin: 0; color: var(--ink-2); }
.strands { height: 300px; margin-top: 30px; }
.strands svg { width: 100%; height: 100%; display: block; overflow: visible; }
.strand { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite; animation-delay: var(--d); }
.strand path { fill: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.strand path.fillr { stroke: none !important; opacity: 1; }
.strand.upc path.fillr { fill: rgba(31,122,87,.16); } .strand.dnc path.fillr { fill: rgba(180,70,47,.16); } .strand.na path.fillr { fill: rgba(154,167,154,.16); }
.strand.upc path { stroke: #1F7A57; } .strand.upc circle { fill: #1F7A57; }
.strand.dnc path { stroke: #B4462F; } .strand.dnc circle { fill: #B4462F; }
.strand.na path { stroke: #9AA79A; } .strand.na circle { fill: #9AA79A; }
@keyframes sway { 0%,100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@media (prefers-reduced-motion: reduce) { .strand { animation: none; } }
.band-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 14px; font-size: .74rem; color: var(--ink-2); }

.figs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figc { margin: 0; padding: 22px 24px 26px; border-right: 1px solid var(--line); }
.figc:last-child { border-right: 0; }
.figno { font-size: .66rem; letter-spacing: .12em; color: var(--ink-3); }
.figsvg { width: 100%; height: 160px; display: block; margin: 8px 0 14px; }
.figsvg .ax, .figsvg .dash { stroke: var(--ink-3); stroke-width: 1; }
.figsvg .dash { stroke-dasharray: 3 4; }
.figsvg .up { fill: none; stroke: #1F7A57; stroke-width: 1.4; }
.figsvg .dn { fill: none; stroke: #B4462F; stroke-width: 1.4; }
.figsvg .house { fill: rgba(31,122,87,.18); stroke: #1F7A57; stroke-width: 1.4; }
.figsvg .ring { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.figsvg .ticks line { stroke: var(--ink-3); stroke-width: 1; }
.figsvg .hand { stroke: #1F7A57; stroke-width: 2; stroke-linecap: round; }
.figsvg .hand.thin { stroke-width: 1.2; }
.figsvg .dot { fill: #1F7A57; }
.figsvg text { font-family: var(--mono); font-size: 9px; fill: var(--ink-3); letter-spacing: .05em; }
.figc figcaption b { display: block; font-weight: 500; font-size: .98rem; margin-bottom: 6px; }
.figc figcaption span { font-size: .88rem; color: var(--ink-2); line-height: 1.55; }

.numbered .nhead { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: start; margin-bottom: 34px; }
.numbered .nno { font-size: .7rem; color: var(--green); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.numbered h2 { font-family: var(--sans); font-weight: 300; letter-spacing: -.04em; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.numbered .nhead p { font-size: 1.08rem; color: var(--ink-2); margin: 0; }
.feats { display: grid; grid-template-columns: 160px repeat(2, 1fr); gap: 0 30px; margin-top: 30px; border-top: 1px solid var(--line); }
.feats > span { padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: .88rem; display: flex; justify-content: space-between; }
.feats > span:not(.fk)::after { content: "+"; color: var(--ink-3); }
.feats .fk { grid-row: span 3; color: var(--ink-3); border-bottom: 0; font-size: .8rem; }

@media (max-width: 980px) {
  .df-body { grid-template-columns: 1fr; }
  .mini-legs { max-height: 260px; }
  .figs { grid-template-columns: 1fr; }
  .figc { border-right: 0; border-bottom: 1px solid var(--line); }
  .band-head, .numbered .nhead { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feats .fk { grid-column: 1 / -1; grid-row: auto; }
  .strands { height: 220px; }
}
@media (max-width: 600px) {
  .df-tab { display: none; }
  .feats { grid-template-columns: 1fr; }
  .bo { font-size: 1.1rem; }
}
