/* ==========================================================================
   GLS Equity - Why we trade options (/why-options, 30 Oct 2026)
   The "start here" page for complete beginners: where $10,000 could work, selling a put in one picture, the four ways
   it can end, side by side with buying the shares, why it works, the risks. Cards and buttons come from styles.css.
   ========================================================================== */
.wo-page { max-width: 1040px; }
.wo-hero { padding: 8px 0 18px; }
.wo-eyebrow { display: inline-block; margin: 0 0 10px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; font-weight: 700; }
.wo-hero .page-title { margin: 0 0 10px; }
.wo-lead { margin: 0; font-size: 1.15rem; line-height: 1.6; color: #334155; max-width: 780px; }

.wo-sec { margin-bottom: 18px; }
.wo-sec h2 { margin: 0 0 6px; font-size: 1.35rem; }
.wo-sub { margin: 0 0 16px; color: #475569; line-height: 1.55; }
.wo-note { margin: 12px 0 0; font-size: 0.82rem; color: #64748b; line-height: 1.5; }

/* (1) where $10,000 could work: bars */
.wo-bars { display: flex; flex-direction: column; gap: 14px; }
.wo-bar { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) 96px; gap: 14px; align-items: center; }
.wo-bar-name { font-weight: 700; }
.wo-bar-name small { display: block; font-weight: 400; font-size: 0.8rem; color: #64748b; }
.wo-bar-track { position: relative; background: #f1f5f9; border-radius: 8px; height: 28px; }
/* inflation marker (30 Oct 2026): 3.3% of $10,000 = $330, on the same scale as the bars (max +$1,956) */
.wo-infl { position: absolute; left: 16.9%; top: -4px; bottom: -4px; border-left: 2px dashed #dc2626; z-index: 1; }
.wo-infl-key { margin: 12px 0 0; font-size: 0.88rem; color: #475569; line-height: 1.5; }
.wo-infl-key i { display: inline-block; width: 0; height: 14px; border-left: 2px dashed #dc2626; margin-right: 8px; vertical-align: -2px; }
.wo-infl-ten { margin: 10px 0 0; font-size: 0.92rem; color: #334155; }
.wo-bar-fill { height: 28px; border-radius: 8px; }
.wo-bar-val { font-weight: 800; font-size: 1.1rem; text-align: right; }
.wo-bar.is-puts .wo-bar-name, .wo-bar.is-puts .wo-bar-val { color: #047857; }
.wo-tens { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.wo-ten { background: #f8fafc; border-radius: 10px; padding: 12px 14px; }
.wo-ten span { display: block; font-size: 0.8rem; color: #64748b; font-weight: 600; }
.wo-ten b { display: block; font-size: 1.45rem; }
.wo-ten small { display: block; font-size: 0.8rem; color: #64748b; }
.wo-ten.is-puts { background: #ecfdf5; }
.wo-ten.is-puts span, .wo-ten.is-puts b { color: #047857; }
.wo-ten.is-puts small { color: #065f46; }

/* (2) the idea in one picture */
.wo-idea { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.wo-box { border: 2px solid #1e293b; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.wo-box span { font-size: 0.78rem; font-weight: 800; color: #64748b; letter-spacing: 0.04em; }
.wo-box b { font-size: 1.5rem; }
.wo-box p { margin: 0; font-size: 0.95rem; color: #475569; line-height: 1.45; }
.wo-box.is-paid { border: 3px solid #10b981; background: #ecfdf5; }
.wo-box.is-paid span, .wo-box.is-paid b { color: #047857; }
.wo-box.is-paid p { color: #065f46; }
.wo-idea-after { margin: 14px 0 0; color: #475569; line-height: 1.55; }

/* (3) four ways it can end */
.wo-ends { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.wo-end { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.wo-end svg { width: 100%; height: 92px; display: block; border-radius: 6px; }
.wo-end-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 800; }
.wo-tag { border-radius: 999px; padding: 2px 10px; font-size: 0.8rem; font-weight: 800; background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7; }
.wo-tag.is-loss { background: #fffbeb; color: #b45309; border-color: #fcd34d; }
.wo-end dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; font-size: 0.88rem; }
.wo-end dt { color: #334155; white-space: nowrap; }
.wo-end dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.wo-end-h .wo-tag { flex: none; }
.wo-up { color: #047857; } .wo-flat { color: #475569; } .wo-down { color: #b91c1c; } .wo-amber { color: #b45309; }
.wo-end.is-loss { border-color: #fcd34d; background: #fffbeb; }
.wo-costs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.wo-cost { background: #f8fafc; border-radius: 10px; padding: 12px 14px; }
.wo-cost span { display: block; font-size: 0.8rem; font-weight: 700; color: #475569; }
.wo-cost b { display: block; font-size: 1.35rem; }
.wo-cost small { display: block; font-size: 0.82rem; color: #64748b; line-height: 1.5; }
.wo-cost.is-puts { background: #ecfdf5; }
.wo-cost.is-puts span, .wo-cost.is-puts b { color: #047857; }
.wo-cost.is-puts small { color: #065f46; }
.wo-key { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 0.8rem; color: #64748b; }
.wo-key i { display: inline-block; width: 18px; vertical-align: middle; margin-right: 6px; }
.wo-key .k-strike { border-top: 2px dashed #ef4444; }
.wo-key .k-stock { height: 4px; background: #10b981; border-radius: 2px; }

/* (4) side by side */
.wo-table-wrap { overflow-x: auto; }
.wo-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.wo-table th { text-align: right; padding: 10px 12px; border-bottom: 2px solid #0f172a; font-size: 0.8rem; color: #475569; }
.wo-table th:first-child, .wo-table td:first-child { text-align: left; }
.wo-table td { padding: 12px; border-bottom: 1px solid #e2e8f0; text-align: right; font-weight: 700; }
.wo-table td small { display: block; font-size: 0.78rem; font-weight: 400; color: #64748b; }
.wo-table td.is-best { background: #ecfdf5; font-weight: 800; }
.wo-table td.is-soft { background: #fffbeb; font-weight: 800; }
.wo-table td.is-soft small { color: #92400e; font-weight: 600; }

/* (5) why it works */
.wo-why { background: #0f172a; color: #fff; border-radius: 14px; padding: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: center; margin-bottom: 18px; }
.wo-why-num { font-size: 3.6rem; font-weight: 800; line-height: 1; color: #6ee7b7; display: block; }
.wo-why-cap { font-size: 0.95rem; color: #cbd5e1; }
.wo-why h2 { margin: 0 0 8px; font-size: 1.3rem; color: #fff; }
.wo-why p { margin: 0; color: #e2e8f0; line-height: 1.55; }

/* (6) what to watch out for */
.wo-risks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.wo-risk { background: #f8fafc; border-radius: 10px; padding: 14px; }
.wo-risk b { display: block; margin-bottom: 4px; }
.wo-risk p { margin: 0; font-size: 0.95rem; color: #475569; line-height: 1.5; }

/* next step */
.wo-next { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 14px; padding: 20px 24px; }
.wo-next b { display: block; font-size: 1.1rem; }
.wo-next span { color: #065f46; }

/* phones (30 Oct 2026, George on an iPhone 17 Pro Max + a Samsung): styles.css drops .page-container's side padding below
   768 px so cards run edge to edge - give everything that is not a card its own 16 px gutter, and the cards a 16 px inside */
@media (max-width: 768px) {
    .wo-hero { padding: 6px 16px 14px; }
    .wo-lead { font-size: 1.05rem; }
    .wo-page .panel-card.wo-sec { padding: 20px 16px; }
    .wo-why { border-radius: 0; padding: 24px 16px; gap: 14px; }
    .wo-next { border-radius: 0; border-left: none; border-right: none; padding: 20px 16px; }
    .wo-next .btn { width: 100%; justify-content: center; text-align: center; }
    .wo-controls { padding: 12px; }
    .wo-amount-box input { width: 100%; }
    .wo-ctl { flex: 1 1 100%; }
    .wo-table-wrap { margin: 0 -16px; padding: 0 16px; }
}
@media (max-width: 640px) {
    .wo-bar { grid-template-columns: minmax(0, 1fr) 84px; }
    .wo-bar-track { grid-column: 1 / -1; grid-row: 2; }
    .wo-why-num { font-size: 2.8rem; }
}

/* (1) the two controls (30 Oct 2026): the amount and the put example's monthly % */
.wo-controls { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-end; margin: 0 0 18px; padding: 12px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; }
.wo-ctl { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 700; color: #334155; }
.wo-amount-box { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0 10px; min-height: 44px; }
.wo-amount-box b { color: #64748b; }
.wo-amount-box input { border: 0; outline: none; font: inherit; font-size: 1.05rem; font-weight: 800; width: 130px; padding: 8px 0; background: transparent; color: #0f172a; }
.wo-amount-box:focus-within { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.wo-ctl-range { flex: 1 1 240px; }
.wo-ctl-range input { width: 100%; min-height: 44px; accent-color: #10b981; }
.wo-ctl-range b { color: #047857; }
