:root {
  color-scheme: light;
  --ink: #17141F;
  --paper: #F6F3FB;
  --white: #FFFFFF;
  --purple: #7A3FE0;
  --purple-deep: #5E2EBA;
  --link: #5B2BB5;
  --lilac: #A77BFF;
  --line: #4A4458;
  --muted: #4A4458;
  --green: #0C6B3C;
  --green-soft: #E5F6EC;
  --gold: #7A5C00;
  --gold-soft: #FBF6E8;
  --gold-bright: #F0D78C;
  --loss: #7A5C00;
  --loss-soft: #FBF6E8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.45 system-ui, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip:focus {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  display: inline-block;
  margin: 0.5rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
}
.banner {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.35;
  border-bottom: 3px solid var(--purple);
}
.banner strong { color: var(--gold-bright); font-weight: 750; }
.top {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 1rem 1rem 0;
}
.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.brand-name {
  margin: 0;
  color: var(--purple);
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
}
.brand-name a { color: inherit; text-decoration: none; }
.brand-name a:hover, .brand-name a:focus { text-decoration: underline; }
.product {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fine, footer, .lede { color: var(--muted); }
.tag {
  display: inline-block;
  max-width: 100%;
  margin: 0.35rem 0 0;
  background: #7A3FE0;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-weight: 650;
}
.mast > div { min-width: 0; }
.stamp {
  margin: 0;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: var(--white);
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
nav a {
  flex: 1 1 auto;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
}
nav a[aria-current="page"] {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
main {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 1rem 1rem 1.5rem;
}
main > * + * { margin-top: 0.9rem; }
h1 { font-size: 1.7rem; line-height: 1.15; margin: 0 0 0.4rem; }
h2 { font-size: 1.05rem; margin: 0 0 0.45rem; }
h3 { font-size: 1rem; margin: 0; }
p { margin: 0.4rem 0; }
.lede { margin-top: 0; }
.notice {
  background: var(--gold-soft);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
.hero, .metrics article, form, .cards article, .marks article, .trade, details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.hero { border-top: 4px solid var(--purple); }
.metrics, .marks, .cards, .form-grid, .stack {
  display: grid;
  gap: 0.7rem;
}
.metrics { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.marks { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
.cards, .form-grid, .stack { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.stack { grid-template-columns: 1fr; }
.figure {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  margin: 0.15rem 0;
  overflow-wrap: anywhere;
}
.fine { font-size: 0.88rem; margin: 0.25rem 0 0; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  margin: 0.7rem 0 0;
}
.facts div { min-width: 0; }
.facts dt { color: var(--muted); font-size: 0.78rem; font-weight: 650; }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.card-head, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  justify-content: space-between;
}
.actions a { flex: 1 1 12rem; }
a { color: var(--link); }
a:visited { color: var(--link); }
a.button-link, button {
  font: inherit;
  font-weight: 700;
  border-radius: 10px;
  min-height: 44px;
  padding: 0.65rem 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: pointer;
}
a.button-link, button {
  background: var(--purple);
  color: var(--white);
  border: 2px solid var(--purple);
}
a.button-link:visited, button:visited { color: var(--white); }
a.button-link:hover, button:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
a.button-link.secondary, button.secondary {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--purple);
}
a.button-link.secondary:visited, button.secondary:visited { color: var(--ink); }
a.button-link.secondary:hover, button.secondary:hover { background: #F3ECFC; }
button.danger {
  background: var(--white);
  color: var(--loss);
  border: 2px solid var(--loss);
}
button.danger:hover { background: var(--loss-soft); }
button.danger:visited { color: var(--loss); }
.field { margin: 0 0 0.75rem; }
label { font-weight: 650; }
.field label { display: block; margin-bottom: 0.3rem; }
input[type="text"], input:not([type]), select {
  width: 100%;
  min-height: 44px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
  margin: 0.2rem 0 0.75rem;
}
.check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}
.profit { color: var(--green); }
.loss { color: var(--loss); }
.flat { color: var(--ink); }
.side {
  margin: 0;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-weight: 750;
  font-size: 0.85rem;
}
.side.buy { background: var(--green-soft); color: var(--green); }
.side.sell { background: var(--loss-soft); color: var(--loss); }
.latches { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.chart {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.chart svg { display: block; width: 100%; height: auto; }
details { margin-top: 0.7rem; }
details summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 750;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "Show";
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 750;
  flex: 0 0 auto;
}
details[open] summary::after { content: "Hide"; }
details p, details ul, details form { margin-top: 0.7rem; }
.inline-form { margin-top: 0.2rem; }
footer {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 1rem 2rem;
  font-size: 0.92rem;
}
ul.stack { list-style: none; padding: 0; margin: 0.7rem 0 0; }
ul.stack li {
  background: var(--paper);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}
@media (min-width: 800px) {
  .hero button, .hero .button-link, .actions a { width: auto; min-width: 14rem; }
  .actions { justify-content: flex-start; }
}
@media (max-width: 430px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  h1, .product { font-size: 1.45rem; }
  .top, main, footer { padding-left: 0.85rem; padding-right: 0.85rem; }
}
