/* =========================================================================
   CE Market Solutions

   Two rules in here are compliance decisions, not aesthetic ones:

   1. No figure is ever colored by sentiment. There is no green for a
      favorable number and no red for an unfavorable one, because coloring a
      figure characterizes it, and this product does not characterize
      results (spec 6.2). Every number renders in --text. If you find
      yourself adding .metric--positive, stop.

   2. The 4.41 disclaimer is styled for prominence, not tucked away. Its
      body text sits at full contrast, not --muted, and at body size. CFTC
      guidance regulates placement as well as wording (spec 6.1).
   ========================================================================= */

:root {
  /* Base palette. Dark navy with a single blue accent, per spec section 1. */
  --ink: #060911;
  --surface: #0d1424;
  --surface-raised: #121c31;
  --line: #1c2942;
  --line-bright: #2b3c5e;
  --text: #e9eef8;
  --muted: #8494b4;
  --accent: #4c8dff;
  --accent-dim: #2f6ae0;
  --accent-wash: rgba(76, 141, 255, 0.12);

  /* Type scale, major-third-ish with a wider jump at display sizes. */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-xl: 1.5rem;
  --t-2xl: 2rem;
  --t-3xl: 2.625rem;
  --t-hero: clamp(2.5rem, 5.6vw, 4.25rem);

  --rail: 1140px;
  --gutter: 1.5rem;
  --radius: 14px;
  --radius-lg: 20px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- layout primitives ------------------------------------------------ */

.rail {
  width: 100%;
  max-width: var(--rail);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.25rem, 5.5vw, 5rem);
}

/* Modifiers only adjust; they never re-declare the shorthand. */
.section--tight {
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.section--divided {
  border-top: 1px solid var(--line);
}

/* Section headings sit on a left rail; the hero is the only centered block. */
.section__head {
  max-width: 46ch;
  margin-bottom: 2.25rem;
}

.section__title {
  font-size: var(--t-2xl);
}

.section__lede {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--t-lg);
}

/* ---- navigation ------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 17, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 66px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.nav__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-inline: auto;
  font-size: var(--t-sm);
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--t-sm);
  white-space: nowrap;
}

.nav__signin {
  color: var(--muted);
  text-decoration: none;
}

.nav__signin:hover {
  color: var(--text);
}

@media (max-width: 820px) {
  .nav__links {
    display: none;
  }
  .nav__inner {
    justify-content: space-between;
  }
}

/* ---- buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--solid {
  background: var(--text);
  color: #0a1020;
}

.btn--solid:hover {
  background: #fff;
}

.btn--outline {
  border-color: var(--line-bright);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn--accent {
  background: var(--accent);
  color: #04101f;
}

.btn--accent:hover {
  background: #6ba0ff;
}

.btn--sm {
  padding: 0.5rem 1.05rem;
}

/* ---- hero ------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

/* The single soft blue glow called for in the spec's visual direction. */
.hero::before {
  content: '';
  position: absolute;
  top: -34%;
  left: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 1.5 / 1;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(76, 141, 255, 0.42) 0%,
    rgba(76, 141, 255, 0.16) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.34rem 0.9rem 0.34rem 0.6rem;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  background: rgba(76, 141, 255, 0.07);
  color: var(--muted);
  font-size: var(--t-xs);
  text-decoration: none;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero__headline {
  margin-top: 1.75rem;
  font-size: var(--t-hero);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* Gradient on the emphasized phrase, per the spec's visual direction. */
.grad {
  background: linear-gradient(96deg, #dfe9fb 4%, var(--accent) 58%, #8fb8ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 56ch;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: var(--t-lg);
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hero__note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: var(--t-xs);
}

/* ---- report preview card ---------------------------------------------- */

.report {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  text-align: left;
}

.report__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.report__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-bright);
}

.report__path {
  margin-left: 0.65rem;
  color: var(--muted);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-xs);
}

.report__body {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
}

.report__side {
  padding: 1.35rem 1rem;
  border-right: 1px solid var(--line);
}

.report__sidelabel {
  color: var(--muted);
  font-size: var(--t-xs);
  padding-inline: 0.6rem;
  margin-bottom: 0.6rem;
}

.report__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.report__navitem {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: var(--t-sm);
}

.report__navitem[aria-current='true'] {
  background: var(--accent-wash);
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--accent);
}

.report__main {
  padding: 1.6rem clamp(1rem, 2.5vw, 1.85rem);
  min-width: 0;
}

.report__title {
  font-size: var(--t-xl);
}

.report__meta {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

@media (max-width: 780px) {
  .report__body {
    grid-template-columns: 1fr;
  }
  .report__side {
    display: none;
  }
}

/* ---- metrics: deliberately uniform, never color-coded ------------------ */

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 1px;
  margin-top: 1.5rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.metric {
  padding: 0.95rem 1.05rem;
  background: var(--surface-raised);
}

.metric__label {
  color: var(--muted);
  font-size: var(--t-xs);
}

.metric__value {
  margin-top: 0.3rem;
  color: var(--text); /* uniform by design - see file header */
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 1.375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ---- trade table ------------------------------------------------------ */

.tablewrap {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.trades {
  width: 100%;
  border-collapse: collapse;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.trades th {
  padding: 0.5rem 0.9rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: var(--t-xs);
  font-weight: 500;
  text-align: left;
}

.trades td {
  padding: 0.6rem 0.9rem 0.6rem 0;
  border-bottom: 1px solid rgba(28, 41, 66, 0.6);
  color: var(--text); /* results are not colored - see file header */
}

.trades th:last-child,
.trades td:last-child {
  padding-right: 0;
  text-align: right;
}

.tablenote {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: var(--t-xs);
}

/* "Read the full ..." link that closes a condensed landing section. */
.morelink {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--accent);
  font-size: var(--t-sm);
  text-decoration: none;
}

.morelink:hover {
  text-decoration: underline;
}

/* ---- caveats ---------------------------------------------------------- */

.caveats {
  margin-top: 1.75rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.014);
}

.caveats__title {
  font-size: var(--t-sm);
  font-weight: 600;
}

.caveats__list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

.caveats__list li::marker {
  color: var(--accent);
}

/* ---- required disclosure ---------------------------------------------
   Prominence is the compliance requirement. Full-contrast body text, body
   size, accent border. Do not mute, shrink, or collapse this.
   --------------------------------------------------------------------- */

.disclaimer {
  border: 1px solid rgba(76, 141, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(76, 141, 255, 0.06);
  padding: 1.15rem 1.35rem;
}

.disclaimer--panel {
  margin-top: 1.75rem;
}

.disclaimer--inline {
  margin-top: 1.25rem;
}

.disclaimer__label {
  color: var(--accent);
  font-size: var(--t-xs);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.disclaimer__body {
  color: var(--text);
  font-size: var(--t-xs);
  line-height: 1.75;
  letter-spacing: 0.012em;
  max-width: 92ch;
}

/* ---- numbered steps (a genuine sequence) ------------------------------ */

.steps {
  /* Rendered as <ol> because the steps are a real sequence; the list's
     default indent and block margin have to go for the grid to sit flush. */
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step {
  padding: 1.75rem 1.6rem;
  background: var(--surface);
}

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-bright);
  color: var(--accent);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-xs);
}

.step__title {
  margin-top: 1rem;
  font-size: var(--t-lg);
}

.step__body {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

/* ---- generic card grid ------------------------------------------------ */

/* Two columns exactly. auto-fit gave three tracks at desktop width, which
   left the fourth card stranded alone on a second row next to a hole. */
.grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 820px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card__title {
  font-size: var(--t-lg);
}

.card__body {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

/* ---- markets ---------------------------------------------------------- */

.markets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.market {
  padding: 1.4rem 1.5rem;
  background: var(--surface);
}

.market__sym {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.market__name {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

.market__roll {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: var(--t-xs);
}

/* ---- pricing ---------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.tier {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.tier--featured {
  border-color: var(--line-bright);
  background: var(--surface-raised);
}

.tier__name {
  font-size: var(--t-lg);
}

.tier__price {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.tier__amount {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-3xl);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.tier__unit {
  color: var(--muted);
  font-size: var(--t-sm);
}

.tier__summary {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

.tier__turnaround {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: var(--t-sm);
}

.tier__turnaround span {
  color: var(--muted);
}

.tier__features {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

.tier__features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.5rem;
}

.tier__tick {
  color: var(--accent);
}

.tier__cta {
  margin-top: 1.5rem;
  width: 100%;
}

/* ---- risk strip ------------------------------------------------------- */

.riskstrip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.riskstrip__text {
  max-width: 74ch;
  color: var(--muted);
  font-size: var(--t-sm);
}

.riskstrip__link {
  color: var(--accent);
  font-size: var(--t-sm);
  white-space: nowrap;
}

/* ---- faq -------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
  padding-block: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 2rem;
}

.faq__q {
  font-size: var(--t-lg);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.faq__a {
  color: var(--muted);
  font-size: var(--t-sm);
}

@media (max-width: 720px) {
  .faq__item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ---- final cta -------------------------------------------------------- */

.finalcta {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.finalcta__title {
  font-size: var(--t-2xl);
  text-wrap: balance;
}

.finalcta__sub {
  max-width: 52ch;
  margin: 1rem auto 0;
  color: var(--muted);
}

.finalcta__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ---- footer ----------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2.5rem;
  font-size: var(--t-sm);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.5rem;
}

.footer__blurb {
  max-width: 34ch;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

.footer__coltitle {
  font-size: var(--t-xs);
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.footer__list {
  display: grid;
  gap: 0.55rem;
}

.footer__list a {
  color: var(--muted);
  text-decoration: none;
}

.footer__list a:hover {
  color: var(--text);
}

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: var(--t-xs);
}

/* ---- long-form legal / content pages ---------------------------------- */

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: var(--t-xl);
  margin-top: 2.75rem;
}

.prose h3 {
  font-size: var(--t-lg);
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose p {
  margin-top: 1rem;
}

.prose ul {
  margin-top: 1rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.prose li::marker {
  color: var(--accent);
}

.prose a {
  color: var(--accent);
}

.pagehead {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.pagehead__title {
  font-size: var(--t-3xl);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.pagehead__lede {
  max-width: 58ch;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: var(--t-lg);
}

.stub {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px dashed var(--line-bright);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: var(--t-sm);
}

.notfound__cta {
  margin-top: 2rem;
}

/* Sits under the tier grid. Carries a compliance-relevant statement, so it is
   set at body size and full width rather than as a footnote. */
.tiernote {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.014);
  color: var(--muted);
  font-size: var(--t-sm);
  max-width: 78ch;
}

/* ---- tier price: floor, not fixed ------------------------------------- */

.tier__from {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: var(--t-xs);
}

.tier__price {
  margin-top: 0.15rem;
}

.tier__ceiling {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: var(--t-xs);
}

/* ---- order page ------------------------------------------------------- */

.order__eyebrow {
  color: var(--muted);
  font-size: var(--t-sm);
  margin-bottom: 0.9rem;
}

.order__eyebrow a {
  color: var(--accent);
  text-decoration: none;
}

.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .order {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
  }
  /* Summary tracks the form on long pages rather than scrolling away. */
  .order__summary {
    position: sticky;
    top: 90px;
  }
}

.order__main {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
}

.order__block {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.order__legend {
  padding: 0;
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.order__hint {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: var(--t-sm);
}

.order__error {
  margin-top: 0.9rem;
  color: #ffb4a2;
  font-size: var(--t-sm);
}

/* ---- symbol picker ---------------------------------------------------- */

.symbols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.symbol {
  position: relative;
  display: block;
  cursor: pointer;
}

/* Input stays in the accessibility tree and keeps keyboard behaviour; the
   visible state is drawn by the sibling. */
.symbol input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.symbol__body {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.symbol:hover .symbol__body {
  border-color: var(--muted);
}

.symbol input:checked + .symbol__body {
  border-color: var(--accent);
  background: var(--accent-wash);
}

.symbol input:focus-visible + .symbol__body {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.symbol__sym {
  display: block;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-lg);
  font-weight: 500;
}

.symbol__name {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: var(--t-xs);
}

/* ---- date fields ------------------------------------------------------ */

.dates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem 1.25rem;
  align-items: end;
  margin-top: 1.15rem;
}

/* Read-only echo of the window the chosen year count buys. */
.field__derived {
  align-self: end;
  padding-bottom: 0.65rem;
}

.field__value {
  display: block;
  margin-top: 0.4rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
}

.field {
  display: block;
}

.field__label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: var(--t-xs);
}

.field__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: var(--ink);
  color: var(--text);
  font: inherit;
  font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
}

.field__input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Native select chrome does not follow the dark palette, so it is replaced
   with a drawn chevron. appearance:none also removes the OS background. */
select.field__input {
  appearance: none;
  cursor: pointer;
  padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* The dropdown list itself is drawn by the OS; this keeps it legible. */
select.field__input option {
  background: var(--surface-raised);
  color: var(--text);
}

/* ---- order summary ---------------------------------------------------- */

.order__summary {
  padding: 1.5rem;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}

.order__summary--wide {
  max-width: 460px;
}

.summary__tier {
  color: var(--muted);
  font-size: var(--t-xs);
}

.summary__price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.summary__amount {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: var(--t-3xl);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.summary__unit {
  color: var(--muted);
  font-size: var(--t-sm);
}

.summary__rows {
  margin: 1.35rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.6rem;
  font-size: var(--t-sm);
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary__row dt {
  color: var(--muted);
}

.summary__row dd {
  margin: 0;
  text-align: right;
}

.summary__scale {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: var(--t-xs);
}

.summary__cta {
  margin-top: 1.25rem;
  width: 100%;
}

.summary__cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.summary__note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: var(--t-xs);
}
