/* Home: forecourt tariff board */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "copy figure" "list figure"; column-gap: clamp(32px, 5vw, 80px); row-gap: 32px; align-items: start; }
.hero__copy { grid-area: copy; }
.hero__copy h1 { margin-bottom: 0.4em; }
.hero__copy p { font-size: var(--step-1); color: #d6d6d6; max-width: 34ch; }
.hero__copy .small { font-size: 0.9375rem; color: var(--mute-on-black); }
.board { display: contents; }
.board__list { grid-area: list; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-on-black); }
.board__row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; width: 100%;
  padding: 14px 12px; margin: 0; background: none; border: 0; border-bottom: 1px solid var(--rule-on-black);
  text-align: left; cursor: pointer; color: var(--white); border-radius: 0;
  transition: background-color 140ms ease, color 140ms ease;
}
@media (hover: hover) and (pointer: fine) { .board__row:hover { background: #161616; } }
.board__row[aria-pressed="true"] { background: var(--white); color: var(--black); }
.board__row:focus-visible { outline-offset: -3px; }
.board__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.board__len { color: var(--mute-on-black); font-size: 0.9375rem; }
.board__row[aria-pressed="true"] .board__len { color: var(--mute); }
.board__rate { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; min-width: 4.5ch; text-align: right; }
.board__rate small { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--mute-on-black); }
.board__row[aria-pressed="true"] .board__rate { color: var(--red); }
.board__row[aria-pressed="true"] .board__rate small { color: var(--mute); }
.board__figure { grid-area: figure; margin: 0; display: grid; gap: 18px; position: sticky; top: 92px; }
.board__stage { aspect-ratio: 1.6 / 1; display: grid; place-items: center; position: relative; padding: 4% 2% 6%; }
.board__stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 2%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,0.16), rgba(255,255,255,0)); }
.board__stage img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; transition: opacity 180ms var(--ease-out); }
.board__stage img.is-swapping { opacity: 0; }
.board__figure figcaption { font-size: var(--step-1); color: #d6d6d6; }
.board__figure .btn { justify-self: start; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "list" "figure"; }
  .board__figure { position: static; }
  .board__figure .btn { justify-self: stretch; }
  .board__row { padding: 14px 8px; gap: 12px; }
  .board__name { font-size: 1.3rem; }
  .board__rate { font-size: 1.3rem; }
}
@media (max-width: 520px) {
  .board__row { grid-template-columns: 1fr auto; }
  .board__len { grid-column: 1; grid-row: 2; }
  .board__rate { grid-row: 1 / span 2; align-self: center; }
}

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: none; }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step__n { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--rule-strong); margin-bottom: 14px; }
.step h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.step p { margin: 0; color: var(--mute); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Condition check */
.check-explain { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.check-explain__copy p:last-child { margin-bottom: 0; }
.check-explain__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; counter-reset: shot; }
.check-explain__list li { counter-increment: shot; padding: 12px 0; border-top: 1px solid var(--rule-strong); font-weight: 600; display: flex; gap: 12px; align-items: baseline; }
.check-explain__list li::before { content: counter(shot); font-family: var(--font-display); font-weight: 700; color: var(--mute); min-width: 1.4ch; }
@media (max-width: 760px) { .check-explain { grid-template-columns: 1fr; } }

/* Account prompt */
.account-prompt { text-align: center; display: grid; justify-items: center; }
.account-prompt p { margin-bottom: 28px; }
.account-prompt__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
