/* FPRates front page (loads after fp-shell.css) */
/* ---------- type ---------- */
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow.free { color: var(--accent); }
.h2 { margin: 0; font-size: 22px; font-weight: 600; }
.h3 { margin: 0; font-size: 19px; font-weight: 600; }
.soft { color: var(--soft); font-size: 16px; line-height: 1.45; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
p.muted.small { margin: 6px 0 0; line-height: 1.5; }

/* ---------- layout ---------- */
.row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }

/* free hours */
.free-banner { margin-top: 20px; border-radius: 16px; padding: 20px 24px; background: linear-gradient(90deg, rgba(0,163,54,0.22), rgba(0,163,54,0.06)); border: 1px solid rgba(61,220,132,0.45); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.free-main { display: flex; flex-direction: column; gap: 6px; }
.free-when { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -1px; line-height: 1.15; }
.free-day { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--soft); margin-right: 8px; }
.free-none { margin-top: 20px; border-radius: 16px; padding: 16px 24px; background: var(--card); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.free-none .eyebrow { margin-right: 12px; }
.free-none a { font-size: 14px; text-decoration: none; }

/* right now */
.now-card { flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #1a2029; color: var(--soft); }
.now-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.band-chip { font-size: 15px; font-weight: 700; padding: 6px 14px; border-radius: 999px; color: #fff; }
.band-chip.green { background: #00802b; } .band-chip.amber { background: #b86f00; } .band-chip.red { background: #cc0000; } .band-chip.free { background: #00802b; }
.big-price { font-family: var(--mono); font-size: 72px; font-weight: 600; letter-spacing: -2px; line-height: 1; }
.mini { background: var(--inset); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini-price { font-family: var(--mono); font-size: 24px; font-weight: 600; margin-top: 4px; }
.green.big-price, .green.mini-price, .run-price.green, b.green { color: var(--green-t); }
.amber.big-price, .amber.mini-price, .run-price.amber, b.amber { color: var(--amber-t); }
.red.big-price, .red.mini-price, .run-price.red, b.red { color: var(--red-t); }
.free.big-price, .free.mini-price, .run-price.free { color: var(--free-t); }

/* today / tomorrow */
.days { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.day-card { padding: 20px 24px; }
.day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.bands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.band-tile { border-radius: 12px; padding: 14px 16px; border: 1px solid; }
.band-tile.green { background: rgba(0,163,54,0.14); border-color: rgba(0,163,54,0.45); }
.band-tile.amber { background: rgba(224,138,0,0.14); border-color: rgba(224,138,0,0.45); }
.band-tile.red   { background: rgba(224,30,30,0.14);  border-color: rgba(224,30,30,0.45); }
.band-name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.band-name i { width: 10px; height: 10px; border-radius: 50%; }
.band-tile.green i { background: var(--green); } .band-tile.amber i { background: var(--amber); } .band-tile.red i { background: var(--red); }
.band-price { font-family: var(--mono); font-size: 28px; font-weight: 600; margin-top: 6px; }
.band-tile.green .band-price { color: var(--green-t); } .band-tile.amber .band-price { color: var(--amber-t); } .band-tile.red .band-price { color: var(--red-t); }
.band-hours { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: pre-line; }
.not-yet { margin: 14px 0 0; }

/* strip */
.strip-card { margin-top: 20px; }
.strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 16px; }
.ghost-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ghost-btn:hover { border-color: var(--line-3); }
.ghost-btn:focus-visible, .primary-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.strip { margin-top: 20px; }
.strip-bars { display: grid; column-gap: 3px; align-items: end; height: 170px; }
.sbar { border-radius: 2px 2px 0 0; min-height: 4px; }
.sbar.green { background: var(--green); } .sbar.amber { background: var(--amber); } .sbar.red { background: var(--red); } .sbar.free { background: var(--free); }
.sbar.w { background-image: repeating-linear-gradient(135deg, rgba(11,14,19,0.55) 0 2px, transparent 2px 5px); }
.sbar.now { outline: 2px solid #ffffff; outline-offset: 1px; }
.strip-ticks { display: grid; column-gap: 3px; margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.runs { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.run { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 10px; background: var(--inset); border: 1px solid var(--line); }
.run-swatch { width: 10px; height: 28px; border-radius: 3px; }
.run-swatch.green { background: var(--green); } .run-swatch.amber { background: var(--amber); } .run-swatch.red { background: var(--red); } .run-swatch.free { background: var(--free); }
.run-when { font-family: var(--mono); font-size: 15px; }
.run-meta { font-family: var(--sans); color: var(--muted); font-size: 13px; margin-left: 10px; }
.run-price { font-family: var(--mono); font-size: 17px; font-weight: 600; }
.slot-table { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.slot-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 12px; border-radius: 8px; border-left: 4px solid var(--line-3); background: var(--inset); font-family: var(--mono); font-size: 14px; }
.slot-row.green { border-left-color: var(--green); } .slot-row.amber { border-left-color: var(--amber); } .slot-row.red { border-left-color: var(--red); } .slot-row.free { border-left-color: var(--free); }
.w-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-right: 6px; border-radius: 9px; background: rgba(255,255,255,0.12); font-family: var(--sans); font-size: 11px; cursor: help; }

/* further ahead */
.ahead-card { flex: 999 1 560px; min-width: 0; }
.ahead-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.ahead-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.ahead { flex: 1 1 140px; border: 1px dashed var(--line-3); border-radius: 12px; padding: 14px 16px; }
.ahead-day { font-size: 14px; font-weight: 600; }
.ahead-bands { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-family: var(--mono); font-size: 14px; }
.ahead-bands span { display: flex; justify-content: space-between; }
.ahead-note { margin-top: 14px !important; }

/* subscribe */
.sub-card { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.sub-form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.field input { min-height: 44px; background: var(--inset); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; font-family: inherit; font-size: 15px; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soft); min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.primary-btn { align-self: flex-start; min-height: 46px; padding: 0 22px; border-radius: 999px; border: none; background: var(--accent); color: var(--bg); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }

/* meta + footer */
.meta-line { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 13px; color: var(--muted); }

/* phones */
@media (max-width: 700px) {
  .big-price { font-size: 56px; }
  .free-when { font-size: 24px; }
  .bands { grid-template-columns: 1fr; }
  .band-tile { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .band-tile .band-price { margin-top: 0; font-size: 24px; grid-row: span 2; }
  .strip-bars, .strip-ticks { column-gap: 1px; }
  .strip-ticks span:nth-child(even) { visibility: hidden; }
  .slot-table { grid-template-columns: 1fr; }
  .run-meta { display: block; margin-left: 0; }
}
