/* Public front page: sports headlines, real school graphics, compact record rows. */
.home-main { padding: 0; }
.home-hero { position: relative; isolation: isolate; color: #fff; background: #101822; }
.home-stadium { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; filter: saturate(.65); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 13 20 / 96%), rgb(7 13 20 / 81%) 52%, rgb(7 13 20 / 73%)); }
.home-hero-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .85fr); gap: clamp(24px, 4vw, 58px); align-items: center; padding-block: 38px; }
.home-hero-copy { min-width: 0; }
.home-hero h1 { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.05; letter-spacing: -.025em; max-width: 18ch; }
.home-hero h1 > span { display: block; }
.home-hero h1 > span:last-child { color: #fff; margin-top: 8px; }
.home-hero-copy > p { max-width: 55ch; font-size: 16px; line-height: 1.5; color: #d6dbe3; margin-top: 16px; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 20px; }
.home-actions .plain-button { min-height: 46px; font-size: 15px; }
.home-actions :is(a, button):focus-visible { outline-color: #fff; }
.home-hero-link { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-size: 14px; font-weight: 600; }
.home-hero-link svg { width: 16px; height: 16px; }
.home-hero-copy > .home-hero-note { font-size: 13px; color: #c5cbd4; margin-top: 10px; }
.home-league-preview { min-width: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 8px 28px rgb(0 0 0 / 20%); }
.home-preview-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px 12px; border-bottom: 1px solid var(--line); padding: 14px 16px; }
.home-preview-header h2 { font-size: 25px; }
.home-preview-header p, .home-preview-header > span { color: var(--secondary); font-size: 12px; }
.home-preview-header p { margin-top: 3px; }
.home-preview-game { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.home-preview-game:hover { text-decoration: none; background: var(--hover); }
.home-preview-team { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 14px; font-weight: 600; }
.home-preview-team > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.home-preview-team .team-name-line > span:first-child { min-width: 0; }
.home-preview-game b { font: 700 20px/1.2 "Barlow Condensed", sans-serif; font-variant-numeric: tabular-nums; text-align: right; }
.home-preview-game small { grid-column: 1 / -1; color: var(--secondary); font-size: 12px; }
.home-preview-link { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 10px; padding: 10px 16px; font-size: 13px; font-weight: 600; }
.home-preview-link svg { width: 16px; height: 16px; }
.home-preview-fallback { font-size: 14px; color: var(--secondary); padding: 16px; }
.home-sections { padding-block: 28px 20px; }
.home-sections > section { padding-block: 26px; border-bottom: 1px solid var(--line); }
.home-sections > section:first-child { padding-top: 0; }
.home-sections > section:last-child { border-bottom: 0; }
.home-sections h2 { font-size: 32px; line-height: 1.1; }
.home-section-copy { margin-top: 10px; color: var(--secondary); font-size: 16px; line-height: 1.45; max-width: 68ch; }
.home-detail-copy { margin-top: 12px; color: var(--secondary); font-size: 14px; max-width: 72ch; }
.home-text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.home-text-link svg { width: 16px; height: 16px; }
.home-text-link:hover { text-decoration-color: currentColor; }
.home-benefits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px 48px; }
.home-benefit-list { margin: 0; }
.home-benefit-list > div { padding-block: 10px; border-bottom: 1px solid var(--line); }
.home-benefit-list > div:first-child { padding-top: 0; }
.home-benefit-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.home-benefit-list dt { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.home-benefit-list dt svg { width: 18px; height: 18px; color: var(--secondary); flex-shrink: 0; }
.home-benefit-list dd { margin: 4px 0 0 26px; color: var(--secondary); font-size: 14px; }
.home-discord-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 24px 48px; }
.home-discord-copy > .home-text-link { margin-top: 8px; }
.home-discord-preview { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.home-discord-channel { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--secondary); font-size: 13px; }
.home-discord-channel svg { width: 16px; height: 16px; }
.home-discord-channel > span { margin-left: auto; font-size: 12px; }
.home-discord-message { padding: 16px; }
.home-bot-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 14px; }
.home-bot-name img { display: block; width: 152px; height: 36px; object-fit: cover; object-position: center 45%; background: var(--masthead); border-radius: 2px; }
.home-bot-name > span { color: var(--secondary); font-size: 12px; }
.home-discord-message h3 { font: 700 21px/1.2 var(--headline-family); }
.home-discord-message > p { font-size: 13px; margin-top: 5px; color: var(--secondary); }
.home-discord-message ul { padding: 0; margin: 12px 0 0; list-style: none; border-left: 2px solid var(--line); }
.home-discord-message li { padding: 3px 0 3px 12px; font-size: 14px; }
.home-discord-message > .home-text-link { margin-top: 4px; }
.home-section-heading { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; }
.home-section-heading > div { min-width: 0; flex: 1 1 460px; }
.home-section-heading > a { flex-shrink: 0; }
.home-sample-note { margin-block: 14px 8px; color: var(--secondary); font-size: 12px; }
.home-record-region { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.home-record-table { min-width: 720px; }
.home-record-table th { text-transform: none; letter-spacing: 0; font-size: 12px; padding: 8px 14px; }
.home-record-table td, .home-record-table tbody th { padding: 0 14px; height: 54px; font-size: 14px; }
.home-record-table tbody th { background: transparent; color: var(--ink); font-weight: 600; }
.home-record-link { display: flex; align-items: center; min-height: 54px; gap: 9px; color: var(--ink); }
.home-record-link > span:last-child { display: grid; gap: 2px; }
.home-record-link small, .home-record-stat small { display: block; color: var(--secondary); font-size: 12px; font-weight: 400; }
.home-record-table .home-record-value { font: 700 28px/1 "Barlow Condensed", sans-serif; color: var(--ink); }
.home-record-quarters { font-size: 13px; color: var(--secondary); }
.home-record-unavailable { margin-top: 10px; color: var(--secondary); font-size: 14px; }
.home-record-help { margin-top: 10px; font-size: 13px; }
.home-record-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 4px; }
.home-setup-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 30px; margin: 20px 0 0; padding: 0; }
.home-setup-steps > li { display: flex; align-items: start; gap: 12px; min-width: 0; }
.home-setup-steps > li > span { font: 700 32px/1 "Barlow Condensed", sans-serif; color: var(--secondary); }
.home-setup-steps h3 { font: 700 22px/1.15 var(--headline-family); }
.home-setup-steps p { margin-top: 7px; color: var(--secondary); font-size: 14px; }
.home-faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 18px 48px; }
.home-faq-list { min-width: 0; }
.home-faq details { border-bottom: 1px solid var(--line); }
.home-faq details:last-child { border-bottom: 0; }
.home-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding-block: 10px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary svg { width: 16px; height: 16px; flex-shrink: 0; }
.home-faq details[open] summary svg { transform: rotate(180deg); }
.home-faq details p { margin-block: 2px 14px; color: var(--secondary); font-size: 14px; max-width: 72ch; }
.home-final-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.home-final-cta p { color: var(--secondary); font-size: 14px; margin-top: 7px; }
@media (max-width: 960px) {
  .home-hero-layout { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .9fr); gap: 24px; }
  .home-hero h1 { font-size: 42px; }
  .home-benefits, .home-discord-section, .home-faq { gap: 22px 28px; }
}
@media (max-width: 760px) {
  .home-hero-layout, .home-benefits, .home-discord-section, .home-faq { grid-template-columns: minmax(0, 1fr); }
  .home-hero-layout { padding-block: 26px; gap: 22px; }
  .home-hero h1 { max-width: 24ch; font-size: clamp(34px, 6.1vw, 44px); }
  .home-hero-copy > p { font-size: 15px; }
  .home-league-preview { width: 100%; }
  .home-setup-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-setup-steps p { margin-top: 4px; }
  .home-sections h2 { font-size: 29px; }
}
@media (max-width: 640px) {
  .home-sections { padding-top: 22px; }
  .home-sections > section { padding-block: 22px; }
  .home-actions { gap: 4px 16px; margin-top: 16px; }
  .home-hero-copy > .home-hero-note { margin-top: 7px; }
  .home-section-copy { font-size: 15px; }
  .home-preview-game { min-height: 60px; padding-block: 8px; }
  .home-record-table td, .home-record-table tbody th { padding-inline: 10px; }
  .home-discord-message { padding: 14px; }
  .home-final-cta .plain-button { width: 100%; }
}
