/* Shared base for the brand sites (Views/Brands). Hand-written on purpose: the site's Tailwind builds are purged
   and would silently drop classes used only here. The page uses the chart's own palette: the chart canvas as the
   background, its grid as the rules, teal = call side / positive gamma, red = put side / negative gamma,
   amber = gamma flip. Each brand's theme.css sets --accent. */

:root {
    color-scheme: dark;
    --paper: #131722;
    --surface: #181d2a;
    --sunk: #0e1119;
    --ink: #eef1f6;
    --ink-soft: #a4adbb;
    --ink-faint: #7e8798;
    --rule: #2a2f3c;
    --rule-strong: #3b4252;
    --call: #26a69a;
    --put: #ef5350;
    --flip: #e6b444;
    --magnet: #4db6ec;
    --tag-ink: #0b1210;
    --plate: #0f1218;
    --plate-ink: #d9e0e7;
    --plate-soft: #96a2ae;
    --plate-rule: #262b37;
    --accent: var(--call);
    --accent-ink: #04201c;
    --radius: 3px;
    --wrap: 76rem;
    --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--magnet); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--surface); padding: .5rem 1rem; }

/* Type: one family, width does the work. Condensed for display, normal width for reading. */
h1, h2, h3 { margin: 0; font-weight: 750; line-height: 1.02; letter-spacing: -0.012em; color: #ffffff; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); font-stretch: 66%; font-variation-settings: "wdth" 66; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-stretch: 76%; font-variation-settings: "wdth" 76; }
h3 { font-size: 1.1875rem; line-height: 1.25; font-variation-settings: "wdth" 92; }
p { margin: 0 0 1rem; max-width: 36em; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); max-width: 30em; margin: 0; }
.note { font-size: .9375rem; color: var(--ink-soft); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.button {
    display: inline-block;
    padding: .8rem 1.3rem;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}
.button:hover { filter: brightness(1.12); }
.button--ghost { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
.button--ghost:hover { border-color: var(--ink-soft); filter: none; }
.button--small { padding: .45rem .85rem; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.75rem; }

/* Price-axis tags, drawn the way the chart labels its levels */
.tag {
    display: inline-block;
    padding: .05rem .5rem;
    border-radius: 3px;
    background: var(--ink);
    color: var(--tag-ink);
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.55;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.tag--call { background: var(--call); }
.tag--put { background: var(--put); }
.tag--flip { background: var(--flip); }
.tag--magnet { background: var(--magnet); }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
    font-variation-settings: "wdth" 72;
}
.site-footer { padding: 3rem 0 4rem; border-top: 1px solid var(--rule); background: var(--sunk); color: var(--ink-soft); font-size: .9375rem; }
.site-footer__inner p { max-width: 44em; }
.wordmark__mark { display: block; width: 28px; height: 28px; flex: none; }
.site-footer__name { margin-bottom: .75rem; }
.site-footer a { color: var(--ink); }
.site-footer__small { color: var(--ink-faint); font-size: .875rem; }

/* Sections */
.section { padding: 5rem 0; border-bottom: 1px solid var(--rule); }
.section--surface { background: var(--surface); }
.section__head { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.75rem; }
.section__head p { margin: 0; color: var(--ink-soft); }

/* Hero */
.hero { padding: 4rem 0 3.5rem; border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 12.5rem; gap: 2.5rem; }
.hero__text { padding: 1.5rem 0 2rem; }
.hero__text .lede { margin-top: 1.25rem; }
.hero__note { margin-top: 1rem; }
.hero__intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; }
.hero__figure { margin: 3rem 0 0; }
.hero__figure figcaption { margin-top: .9rem; color: var(--ink-faint); font-size: .875rem; }

/* Hero chart: inline SVG built from real data (docs/brand-sites/hero-chart). Candles reveal left to right once. */
.hero-chart {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    border: 1px solid var(--rule);
    border-radius: 4px;
    background: var(--plate);
    font-family: var(--font);
    font-variant-numeric: tabular-nums;
}
.hc-grid line { stroke: var(--plate-rule); stroke-width: 1; }
.hc-profile rect { opacity: .6; }
.hc-profile .up { fill: var(--call); }
.hc-profile .dn { fill: var(--put); }
.hc-levels line { stroke-width: 1.5; }
.hc-levels .call { stroke: var(--call); stroke-dasharray: 6 5; }
.hc-levels .put { stroke: var(--put); stroke-dasharray: 6 5; }
.hc-levels .flip { stroke: var(--flip); stroke-dasharray: 2 4; }
.hc-candles line { stroke-width: 1.4; }
.hc-candles .up line { stroke: var(--call); }
.hc-candles .up rect { fill: var(--call); }
.hc-candles .dn line { stroke: var(--put); }
.hc-candles .dn rect { fill: var(--put); }
.hc-legend { fill: var(--plate-soft); font-size: 15px; }
.hc-legend .sym { fill: #ffffff; font-weight: 700; }
.hc-time text { fill: var(--plate-soft); font-size: 14px; text-anchor: middle; }
.hc-axis line { stroke: var(--plate-rule); }
.hc-axis text { fill: var(--plate-soft); font-size: 14px; }
.hc-tags text { fill: var(--tag-ink); font-size: 15px; font-weight: 650; }
.hc-tags text.v { text-anchor: end; font-weight: 750; }
.hc-tags .call rect { fill: var(--call); }
.hc-tags .put rect { fill: var(--put); }
.hc-tags .flip rect { fill: var(--flip); }
.hc-tags .last rect { fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
    .hc-candles .k { animation: hc-in .35s ease-out both; animation-delay: calc(var(--i) * 13ms); }
    .hc-profile rect { animation: hc-grow .6s ease-out 1s both; transform-box: fill-box; transform-origin: right center; }
    .hc-levels, .hc-tags { animation: hc-fade .5s ease-out .9s both; }
}
@keyframes hc-in { from { opacity: 0; transform: translateY(4px); } }
@keyframes hc-grow { from { transform: scaleX(0); } }
@keyframes hc-fade { from { opacity: 0; } }

/* Chart plates */
.plate { margin: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 4px; background: var(--plate); }
.plate img { width: 100%; }
.plate figcaption { padding: .8rem 1rem; border-top: 1px solid var(--plate-rule); color: var(--plate-soft); font-size: .875rem; }
.plate--wide { margin-bottom: 3.5rem; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }

/* Legend: the three levels get the chart's axis tags; the layers are named plainly. */
.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; margin: 0; }
.legend > div { padding-top: 1rem; border-top: 1px solid var(--rule); }
.legend dt { margin-bottom: .5rem; font-weight: 700; font-size: 1.125rem; color: #ffffff; }
.legend dd { margin: 0; color: var(--ink-soft); }
.legend--levels { margin-bottom: 3.5rem; }
.legend--levels > div { border-top: 0; padding-top: 0; }
.legend--levels dt .tag { font-size: 1.0625rem; padding: .15rem .65rem; }
.subhead { margin: 0 0 1.25rem; font-size: 1rem; font-weight: 650; color: var(--ink-soft); }

/* Plain facts, short paragraphs in two (or three) columns */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 3rem; }
.facts h3 { margin-bottom: .4rem; }
.facts > div { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.facts p { margin: 0; color: var(--ink-soft); }
.facts--marked > div { border-top: 2px solid var(--accent); }

/* Price */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.price__amount { display: flex; align-items: baseline; gap: .75rem; margin: 1.5rem 0 .75rem; }
.price__figure {
    color: #ffffff;
    font-size: clamp(5rem, 12vw, 8.5rem);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    font-variation-settings: "wdth" 62;
}
.price__unit { font-size: 1.25rem; color: var(--ink-soft); }

/* Price scale: our price as an axis tag against what other tools charge (--at, --from, --to in % of $0 to $130) */
.scale { position: relative; max-width: 32rem; margin-top: 2rem; padding-top: 2.5rem; }
.scale__track { position: relative; height: 1.9rem; border-radius: 3px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.scale__band {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--from);
    right: calc(100% - var(--to));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 3px;
    background: var(--rule-strong);
    color: var(--ink);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}
.scale__mark { position: absolute; top: -.4rem; bottom: -.4rem; left: var(--at); width: 3px; margin-left: -1px; background: var(--accent); }
.scale__tag { position: absolute; bottom: 100%; left: var(--at); margin-bottom: .45rem; transform: translateX(-30%); }
.scale__tag .tag { background: var(--accent); color: var(--accent-ink); }
.scale__ticks { position: relative; height: 1.5rem; margin-top: .5rem; font-size: .8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.scale__ticks span { position: absolute; left: var(--at); transform: translateX(-50%); }
.scale__ticks span:first-child { transform: none; }
.scale__ticks span:last-child { transform: translateX(-100%); }
.scale + .note { margin-top: 1.25rem; font-size: .875rem; }

/* Side-by-side comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 1rem 1.25rem 1rem 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th, .compare thead td { border-top: 0; padding-bottom: .75rem; font-size: 1.0625rem; color: #ffffff; }
.compare tbody th { width: 22%; color: var(--ink-soft); font-weight: 600; }
.compare td { color: var(--ink-soft); }
.compare .compare__ours { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); padding-left: 1rem; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: .7rem 0 .7rem 1.6rem; border-top: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: .65rem; height: .65rem; border-radius: 2px; background: var(--accent); }

/* Questions */
.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 650; list-style: none; position: relative; color: #ffffff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-size: 1.4rem; line-height: 1; color: var(--ink-soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); }

/* Contract board: a quote board with one row per futures root, beside the hero text */
.hero__grid--board { grid-template-columns: minmax(0, 1fr) minmax(0, 33rem); align-items: center; gap: 3rem; }
.board {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border: 1px solid var(--rule);
    border-radius: 4px;
    background: var(--plate);
    color: var(--plate-ink);
}
.board__cell {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 0 1.25rem;
    padding: 1.4rem 1.5rem;
    border-top: 1px solid var(--plate-rule);
}
.board__cell:first-child { border-top: 0; }
.board__root {
    grid-row: span 2;
    margin: 0;
    color: var(--flip);
    font-size: 4.25rem;
    font-weight: 800;
    line-height: .85;
    letter-spacing: -0.02em;
    font-variation-settings: "wdth" 62;
}
.board__name { font-size: 1.1875rem; font-variation-settings: "wdth" 90; color: #ffffff; }
.board__meta { margin: .6rem 0; font-size: .875rem; }
.board__meta div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; border-top: 1px solid var(--plate-rule); }
.board__meta dt { color: var(--plate-soft); }
.board__meta dd { margin: 0; text-align: right; }

.notfound { border-bottom: 0; }
.notfound .lede { margin-top: 1.25rem; }

@media (max-width: 1100px) {
    .facts--3, .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__grid--board { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
    .hero__grid, .hero__intro { grid-template-columns: minmax(0, 1fr); }
    .section__head, .price, .facts, .facts--3, .legend, .pair { grid-template-columns: minmax(0, 1fr); }
    .legend--levels { gap: 1.25rem; }
    .section { padding: 3.5rem 0; }
    .compare tbody th { width: 28%; }
}
@media (max-width: 700px) {
    /* The chart keeps its right side (price axis and tags) and crops the morning, so labels stay readable. */
    .hero-chart { aspect-ratio: auto; height: 24rem; }
    .hero__figure { margin-top: 2.25rem; }
}
@media (max-width: 480px) {
    body { font-size: 1rem; }
    .lede { font-size: 1.125rem; }
    .board__cell { grid-template-columns: 4.5rem minmax(0, 1fr); padding: 1.25rem 1rem; }
    .board__root { font-size: 3.25rem; }
    .compare { font-size: .9375rem; }
    .compare th, .compare td { padding-right: .75rem; }
}
