.finance-main { padding: 45px 0 64px; }

.finance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--line);
}

.finance-hero h1 {
  max-width: 720px;
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.03;
}

.finance-intro {
  max-width: 590px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.snapshot {
  min-width: 160px;
  padding-left: 18px;
  border-left: 2px solid var(--green);
  color: var(--muted);
  font: 10px/1.7 "DM Mono", monospace;
  text-align: right;
  text-transform: uppercase;
}

.snapshot strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 26px 0 46px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.market-cell {
  min-height: 105px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 55%);
  text-decoration: none;
  transition: background 140ms ease;
}

.market-cell:hover,
.market-cell:focus-visible { background: var(--white); }

.market-label,
.market-change,
.table-symbol,
.section-kicker {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
}

.market-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.market-value {
  display: block;
  margin: 13px 0 4px;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.market-change { font-size: 10px; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.neutral { color: var(--muted); }

.finance-section { margin: 0 0 46px; }

.finance-heading {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-kicker { color: var(--green); font-size: 10px; }
.finance-heading h2 { margin: 0; font-size: 20px; font-weight: 600; }
.heading-note { margin-left: auto; color: var(--muted); font: 10px "DM Mono", monospace; text-align: right; }

.finance-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.finance-table { width: 100%; border-collapse: collapse; text-align: left; }
.finance-table th,
.finance-table td { padding: 11px 14px; border-bottom: 1px solid #e8e9e4; }
.finance-table th { color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.finance-table td { font-size: 13px; }
.finance-table tbody tr:last-child td { border-bottom: 0; }
.finance-table tbody tr:hover { background: #f8f8f5; }
.rank { width: 48px; color: var(--muted); font: 11px "DM Mono", monospace; }
.company-name { font-weight: 600; }
.table-symbol { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.finance-table a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.finance-table a:hover { color: var(--green); }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sector-row { padding: 16px 18px 17px; border-right: 1px solid var(--line); background: rgb(255 255 255 / 55%); }
.sector-row:first-child { border-left: 1px solid var(--line); }
.sector-name { color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.sector-ticker { display: block; margin: 12px 0 3px; color: var(--green); font: 11px "DM Mono", monospace; text-decoration: none; }
.sector-company { display: block; font: 600 21px "Playfair Display", Georgia, serif; }
.sector-price { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; font-size: 13px; font-variant-numeric: tabular-nums; }
.sector-price span:last-child { font: 10px "DM Mono", monospace; }

.benchmark-note,
.source-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.benchmark-note { margin: 12px 0 0; }
.source-note { margin: 13px 0 0; }
.source-note a { color: var(--green); }

.options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.option-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 86px; padding: 16px 18px; border-right: 1px solid var(--line); background: rgb(255 255 255 / 55%); text-decoration: none; }
.option-link:first-child { border-left: 1px solid var(--line); }
.option-link:hover { background: var(--white); }
.option-link strong { display: block; font: 600 19px "Playfair Display", Georgia, serif; }
.option-link small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.option-arrow { color: var(--green); font: 18px "DM Mono", monospace; }

.finance-footer { display: flex; justify-content: space-between; gap: 18px; padding: 17px 0 24px; border-top: 1px solid var(--line); color: var(--muted); font: 10px/1.6 "DM Mono", monospace; text-transform: uppercase; }
.finance-footer a { color: var(--green); }

.option-main { max-width: 790px; margin: 0 auto; padding: 62px 0 80px; }
.option-main h1 { font-size: clamp(42px, 6vw, 66px); line-height: 1.05; }
.option-main .intro { max-width: 630px; }
.option-panel { margin-top: 31px; padding: 20px 22px; border: 1px solid var(--line); border-top: 3px solid var(--green); background: var(--white); }
.option-panel h2 { margin: 0 0 10px; font-size: 17px; }
.option-panel p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.option-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.option-button { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 13px; border: 1px solid var(--line); color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.option-button.primary { border-color: var(--green); background: var(--green); color: var(--white); }
.option-button:hover { border-color: var(--green); }

.options-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin: 25px 0 22px; padding: 14px 16px; border: 1px solid var(--line); background: rgb(255 255 255 / 55%); }
.options-filter { display: grid; gap: 6px; min-width: 190px; color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.options-filter select { min-height: 40px; padding: 0 34px 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); font: 13px "DM Sans", sans-serif; }
.options-count { margin-left: auto; color: var(--muted); font: 10px "DM Mono", monospace; }
.option-kind { margin: 30px 0 36px; }
.option-kind-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 13px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.option-kind-heading h2 { margin: 0; font: 600 25px "Playfair Display", Georgia, serif; }
.option-kind-heading span { color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.expiry-group { margin: 15px 0 23px; }
.expiry-group h3 { margin: 0; padding: 10px 13px; border-top: 2px solid var(--green); background: #e9ede8; font: 500 11px "DM Mono", monospace; text-transform: uppercase; }
.expiry-group[data-type="PUT"] h3 { border-top-color: var(--red); }
.option-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-top: 0; background: var(--white); }
.option-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.option-table th, .option-table td { padding: 10px 11px; border-bottom: 1px solid #e8e9e4; white-space: nowrap; }
.option-table th { color: var(--muted); font: 9px "DM Mono", monospace; text-transform: uppercase; }
.option-table td { font-size: 12px; font-variant-numeric: tabular-nums; }
.option-table tbody tr:last-child td { border-bottom: 0; }
.option-table tbody tr:hover { background: #f8f8f5; }
.option-table .ticker-cell { color: var(--green); font: 11px "DM Mono", monospace; }
.empty-options { padding: 17px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.options-warning { margin: 14px 0; padding-left: 12px; border-left: 2px solid var(--red); color: var(--muted); font-size: 11px; line-height: 1.6; }
.options-source { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.options-source a { color: var(--green); }
.underlying-section { margin-top: 48px; }
.underlying-section .option-panel { margin-top: 15px; }

@media (max-width: 700px) {
  .finance-main { padding-top: 28px; }
  .finance-hero { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .snapshot { border-left: 0; border-top: 1px solid var(--line); padding: 9px 0 0; text-align: left; }
  .market-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 19px 0 37px; }
  .market-cell { min-height: 96px; padding: 12px; }
  .market-value { font-size: 20px; }
  .finance-heading { flex-wrap: wrap; gap: 7px 10px; }
  .finance-heading h2 { font-size: 18px; }
  .heading-note { flex-basis: 100%; margin-left: 28px; text-align: left; }
  .finance-table th, .finance-table td { padding: 10px; }
  .finance-table td { font-size: 12px; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .sector-row:first-child { border-left: 1px solid var(--line); }
  .sector-row:last-child { border-bottom: 0; }
  .sector-name { grid-column: 1 / -1; }
  .sector-ticker { margin: 5px 0 0; }
  .sector-company { grid-column: 1; grid-row: 3; font-size: 18px; }
  .sector-price { grid-column: 2; grid-row: 2 / span 2; flex-direction: column; align-items: flex-end; margin: 0; }
  .options-grid { grid-template-columns: 1fr; }
  .option-link { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .option-link:last-child { border-bottom: 0; }
  .finance-footer { flex-direction: column; gap: 8px; }
  .option-main { padding: 42px 0 55px; }
  .options-toolbar { align-items: stretch; }
  .options-filter { min-width: 100%; }
  .options-count { flex-basis: 100%; margin-left: 0; }
  .option-kind-heading { align-items: baseline; }
}