/* Basket home: the template's layout with our type and the pieces we add (composer, tape, heatmap, canvases) */
:root { --ink: #0F0F0E; --con: #D9D6D0; --con2: #E6E3DD; --con3: #BDB9B1; --grn: #00A650; --dim: #8A8780; --red: #C2410C; }
body { font-family: 'Space Grotesk', Arial, sans-serif; }
[class*="-caps"], .caps, .text-14-caps, .nav-link, .field-name, .country-heading { font-family: 'JetBrains Mono', ui-monospace, monospace !important; letter-spacing: -0.02em; }
h1, h2, h3, .h2-style, .text-100-regular, .text-60-regular, .text-80-regular, .card-title, .text-32-regular, .text-30-regular, .text-27-regular, .heading-77 { font-family: 'Space Grotesk', Arial, sans-serif !important; letter-spacing: -0.035em; }
.text-80-regular { font-feature-settings: 'tnum' 1; }
.ix-inline { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ix-menu-ic { display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; }
.ix-menu-ic svg { width: 14px; height: 14px; }
.ix-logo { width: 7.5em; height: auto; display: block; }

/* hero composer: the weights bar is the hero */
.ix-hero-comp { padding-top: 15.5em !important; pointer-events: none; }
.ixc { pointer-events: auto; width: 31em; background: var(--con); color: var(--ink); padding: 1.15em 1.15em 1em; border: 1px solid var(--ink); position: relative; }
.ixc-top { display: flex; justify-content: space-between; align-items: baseline; font: 500 .82em/1 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: .85em; }
.ixc-nav { font-weight: 600; }
.ixc-nav.up { color: #00843F; } .ixc-nav.down { color: var(--red); }
.ixc-bar { display: flex; height: 3.6em; position: relative; touch-action: none; user-select: none; -webkit-user-select: none; background: var(--con3); }
.ixc-seg { position: relative; height: 100%; display: flex; align-items: flex-end; padding: 0 0 .35em .4em; overflow: hidden; font: 600 .74em/1 'JetBrains Mono', monospace; color: var(--con); min-width: 0; box-shadow: inset -2px 0 0 var(--con); }
.ixc-seg.c0 { background: var(--grn); color: var(--ink); } .ixc-seg.c1 { background: var(--ink); } .ixc-seg.c2 { background: #55524C; } .ixc-seg.c3 { background: #2A2A27; } .ixc-seg.c4 { background: #77736C; }
.ixc-seg span { white-space: nowrap; }
.ixc-h { position: absolute; top: -.35em; bottom: -.35em; width: 1.6em; margin-left: -.8em; cursor: ew-resize; z-index: 2; display: flex; justify-content: center; background: transparent; border: 0; padding: 0; }
.ixc-h::after { content: ''; width: 3px; height: 100%; background: var(--ink); }
.ixc-h:hover::after, .ixc-h.drag::after { background: var(--grn); width: 4px; }
.ixc-rows { margin-top: .9em; display: grid; gap: 0; border-top: 1px solid rgba(15, 15, 14, .25); }
.ixc-row { display: grid; grid-template-columns: .8em 1fr 4.2em 4.6em 1.6em; align-items: center; gap: .6em; padding: .42em 0; border-bottom: 1px solid rgba(15, 15, 14, .12); font: 400 .8em/1.1 'JetBrains Mono', monospace; }
.ixc-row i { width: .8em; height: .8em; display: block; }
.ixc-row b { font-weight: 600; }
.ixc-row .w { text-align: right; }
.ixc-row input { width: 100%; font: inherit; text-align: right; background: transparent; border: 0; border-bottom: 1px solid rgba(15, 15, 14, .3); padding: .1em 0; color: var(--ink); -moz-appearance: textfield; }
.ixc-row input::-webkit-outer-spin-button, .ixc-row input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ixc-row .ch { text-align: right; } .ixc-row .ch.up { color: #00843F; } .ixc-row .ch.down { color: var(--red); }
.ixc-row button { background: transparent; border: 0; font: inherit; cursor: pointer; color: var(--dim); padding: .2em; line-height: 1; }
.ixc-row button:hover { color: var(--ink); }
.ixc-add { display: flex; flex-wrap: wrap; gap: .35em; margin-top: .8em; }
.ixc-add button { font: 500 .72em/1 'JetBrains Mono', monospace; background: transparent; border: 1px solid rgba(15, 15, 14, .4); color: var(--ink); padding: .45em .55em; cursor: pointer; }
.ixc-add button:hover { background: var(--ink); color: var(--con); }
.ixc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .9em; gap: 1em; }
.ixc-n { font: 400 .72em/1.3 'JetBrains Mono', monospace; color: #55524C; }
.ixc-go { font: 600 .78em/1 'JetBrains Mono', monospace; text-transform: uppercase; background: var(--ink); color: var(--con); padding: .9em 1.1em; text-decoration: none; white-space: nowrap; }
.ixc-go:hover { background: var(--grn); color: var(--ink); }

/* live price tape in the old logo strip */
.logos-wrap { background-color: var(--ink) !important; }
.ix-tick { display: inline-flex; gap: .6em; align-items: baseline; font: 400 1.05em/1 'JetBrains Mono', monospace; color: var(--con); white-space: nowrap; }
.ix-tick b { font-weight: 600; color: #ECE9E3; }
.ix-tick i { font-style: normal; } .ix-tick i.up { color: var(--grn); } .ix-tick i.down { color: #E0663A; }

/* canvases standing in for the template's videos */
canvas.ix-cv { display: block; background: var(--ink); }
.corn-video-wrap-new, .numbers-video { background: var(--ink); }

/* heatmap in the old map slot */
.ix-mapwrap { align-items: stretch !important; }
.ix-heat { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.2em, 1fr)); gap: 3px; align-content: start; }
.ix-heat a { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.25; padding: .5em; text-decoration: none; color: var(--ink); background: var(--con2); font: 400 .72em/1.15 'JetBrains Mono', monospace; min-width: 0; }
.ix-heat a b { font-weight: 600; font-size: 1.12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ix-heat a span { display: flex; justify-content: space-between; gap: .4em; }
.ix-heat a em { font-style: normal; opacity: .75; }
.ix-heat a:hover { outline: 2px solid var(--ink); outline-offset: -2px; }
.ix-heat-load { font: 400 .9em/1.3 'JetBrains Mono', monospace; color: var(--dim); }
.ix-heat-more { grid-column: 1 / -1; font: 500 .8em/1 'JetBrains Mono', monospace; color: var(--ink); padding: .8em 0; }

/* capsule sequence canvas sits where the frames were */
#scroll-canvas { opacity: 1 !important; }

@media screen and (max-width: 991px) {
  .ix-hero-comp { padding-top: 13em !important; }
  .ixc { width: 30em; }
}
@media screen and (max-width: 479px) {
  .ix-hero-comp { padding-top: 10.5em !important; }
  .ixc { width: calc(100vw - 2em); font-size: 3.4vw; padding: .9em; }
  .ixc-rows .ixc-row:nth-child(n+4) { display: none; }
  .ixc-rows.all .ixc-row { display: grid; }
  .ix-heat { grid-template-columns: repeat(3, 1fr); }
  .ix-tick { font-size: 1em; }
}
.product-item { background-color: var(--ink) !important; color: var(--con); }
.product-item .text-32-regular, .product-item .text-16-regular-caps { color: var(--con) !important; }
.community-hero { background-color: var(--ink) !important; }
.capsule-bg { background-color: var(--ink) !important; }
.ix-tile { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 8%; overflow: hidden; container-type: inline-size; }
.ix-tile.dk { background: #242421; color: var(--con); } .ix-tile.lt { background: var(--con); color: var(--ink); }
.ix-tile b { font: 500 19cqw/1 'Space Grotesk', sans-serif; letter-spacing: -.04em; }
.ix-tile i { display: block; height: 3.4cqw; background: var(--grn); }
/* the composer stays on top of the hero's second heading block (it slides over it on phones while the hero scrolls away) */
.ix-hero-comp { z-index: 4 !important; }
.hero-heading-2 { pointer-events: none; }
.hero-heading-2 a, .hero-heading-2 button { pointer-events: auto; }
/* contract address + X, under the composer */
.ix-cax { pointer-events: auto; width: 31em; display: flex; gap: .6em; margin-top: .6em; }
.ix-ca, .ix-fx { flex: 1 1 0; min-width: 0; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: .6em; padding: 0 .9em; font: 500 13px/1 'JetBrains Mono', monospace; text-decoration: none; cursor: pointer; border: 1px solid var(--con); border-radius: 0; white-space: nowrap; }
.ix-ca { background: var(--ink); color: var(--con); justify-content: space-between; }
.ix-ca b { font-weight: 600; } .ix-ca em { font-style: normal; text-transform: uppercase; color: var(--con3); }
.ix-ca:hover em, .ix-ca.ok em { color: var(--con); text-decoration: underline; text-underline-offset: 3px; }
.ix-fx { background: var(--con); color: var(--ink); font-weight: 600; }
.ix-fx:hover { background: var(--grn); border-color: var(--grn); color: var(--ink); }
.ix-fx svg { flex: none; width: 15px; height: 15px; }
@media screen and (max-width: 991px) { .ix-cax { width: 30em; } }
@media screen and (max-width: 479px) { .ix-cax { width: calc(100vw - 6.8vw); gap: .5em; } .ix-ca, .ix-fx { padding: 0 .65em; gap: .5em; font-size: 12px; } }
@media screen and (max-width: 350px) { .ix-ca, .ix-fx { font-size: 11px; padding: 0 .5em; } }
img.logo-inside, img.icon-36 { object-fit: contain; object-position: left center; }
.ix-nc { text-transform: none; }
