/* Homepage styles are separate from the shared landing/account styles. */
.home-page .patreon-feed-panel h2 { margin: 0; font-size: 1.35rem; }
.home-page .patreon-feed-panel[data-collapsed="true"] h2 { font-size: 1.05rem; }
.home-page .patreon-feed-toggle { display: block; }
.home-page .patreon-feed-panel[data-collapsed="true"] .patreon-feed-list { display: none; }
.home-arcade { text-align: center; padding: 4px 0 36px; }
.home-page .home-arcade .landing-button { color: #8bdcff; background: #14232e; border: 1px solid #36566b; max-width: 100%; white-space: normal; }
body.home-page { background: #0b1015; color: #f5f3ee; }
body.home-page::before { display: none; }
.home-page .m9-global-nav { background: #0b1015f5; border-bottom: 1px solid #ffffff14; }
.home-shell, .home-footer { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.home-page a:focus-visible { outline: 3px solid #8bdcff; outline-offset: 5px; }
.home-skip { position: fixed; top: -80px; left: 16px; z-index: 10000; padding: 12px; background: #fff; color: #111; }
.home-skip:focus { top: 8px; }
.home-hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 44px; padding: 36px 0 48px; min-height: 590px; }
.home-logo { display: block; width: 210px; height: auto; margin-bottom: 24px; }
.home-eyebrow { color: #8bdcff; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 16px; }
.home-page h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 20px; }
.home-lead { max-width: 540px; font-size: 17px; line-height: 1.65; color: #c2cbd2; margin: 0 0 15px; }
.home-note { color: #abb6bf; font-size: 12px; line-height: 1.5; margin-bottom: 22px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.home-page .landing-button { box-shadow: none; border-radius: 5px; font-size: 14px; gap: 18px; }
.home-page .landing-button.primary { background: #8bdcff; border-color: #8bdcff; }
.home-page .landing-button.secondary { background: transparent; border-color: #52606c; }
.home-text-link { color: #8bdcff; font-size: 14px; line-height: 1.5; text-decoration: none; font-weight: 700; }
.home-text-link:hover, .home-small-links a:hover, .home-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-feature { min-width: 0; margin: 0; padding-top: 20px; }
.home-card-pair { display: flex; align-items: center; justify-content: center; padding: 18px 8px 28px; background: radial-gradient(ellipse, #25414d65, transparent 70%); }
.home-card-pair img { width: 51%; height: auto; border-radius: 10px; box-shadow: 0 16px 28px #0008; }
.home-card-pair img:first-child { transform: rotate(-7deg); }
.home-card-pair img:last-child { margin-left: -9%; transform: translateY(14px) rotate(7deg); }
.home-page figcaption { color: #95a4af; font-size: 12px; line-height: 1.6; text-align: center; margin-top: 12px; }
.home-section { border-top: 1px solid #ffffff20; padding-block: 64px; }
.home-story { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 80px; }
.home-comic { position: relative; display: block; width: 100%; max-width: 350px; aspect-ratio: 350 / 430; margin-inline: auto; isolation: isolate; }
.home-comic-stack { position: absolute; top: 5%; left: 9%; width: 70%; transform: rotate(-8deg); }
.home-comic-stack::before, .home-comic-stack::after { content: ''; position: absolute; inset: 0; z-index: -1; border: 1px solid #566773; border-radius: 3px; background: linear-gradient(90deg, #34444e 0 3%, #d5d2c7 3% 97%, #506a79 97%); box-shadow: 2px 4px 0 #b5b4ab, 3px 6px 0 #263642, 0 14px 24px #0007; }
.home-comic-stack::before { transform: translate(-9px, 12px) rotate(-5deg); }
.home-comic-stack::after { transform: translate(9px, 7px) rotate(6deg); }
.home-comic-stack > img { box-shadow: 1px 2px 0 #e6e1d3, 2px 4px 0 #52616a, 0 10px 22px #0008; }
.home-comic-spread { position: absolute; z-index: 2; width: 85%; right: 0; bottom: 4%; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; background: #d8d3c8; border-radius: 4px 7px 7px 4px; transform: rotate(9deg); box-shadow: 0 2px 0 #817f76, 0 4px 0 #e7e1d5, 0 6px 0 #5c6466, 0 18px 24px #0009; }
.home-comic-page { position: relative; display: block; overflow: hidden; }
.home-comic-page:first-child { border-radius: 3px 0 0 5px; transform: skewY(2deg); transform-origin: right center; }
.home-comic-page:last-child { border-radius: 0 5px 5px 0; transform: skewY(-2deg); transform-origin: left center; }
.home-comic-page::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #ffffff18, transparent 65%, #0006 100%); }
.home-comic-page:last-child::after { background: linear-gradient(90deg, #0007, transparent 22%, #ffffff15 90%, #0002); }
.home-comic-spread::after { content: ''; position: absolute; top: 3px; bottom: 3px; left: 50%; width: 1px; background: #2b292880; box-shadow: 0 0 5px 1px #0004; }
.home-comic img { display: block; width: 100%; height: auto; border-radius: 4px; }
.home-page h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; margin-bottom: 22px; }
.home-copy p:not(.home-eyebrow), .home-join-heading > p:last-child { color: #b8c3cc; font-size: 16px; line-height: 1.75; }
.home-art { display: grid; gap: 32px; }
.home-art > .home-copy { max-width: 720px; }
.home-ship { margin: 0; min-width: 0; }
.home-ship img { display: block; width: 100%; height: auto; border-radius: 6px; }
.home-join-heading { max-width: 700px; margin-bottom: 36px; }
.home-join-heading h2 { margin-bottom: 14px; }
.home-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.home-ways article { border-top: 2px solid #567686; padding-top: 22px; }
.home-number { display: block; font-size: 11px; letter-spacing: .13em; color: #93a7b4; margin-bottom: 22px; }
.home-page h3 { font-size: 20px; line-height: 1.25; margin-bottom: 14px; }
.home-ways p { color: #b8c3cc; font-size: 15px; line-height: 1.7; }
.home-small-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 15px; }
.home-small-links a, .home-footer a { color: #b8c3cc; font-size: 13px; text-underline-offset: 4px; }
.home-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding: 28px 0; border-top: 1px solid #ffffff20; font-size: 12px; color: #95a4af; }
.home-footer > div { display: flex; flex-wrap: wrap; gap: 22px; }
@media (min-width: 721px) and (max-width: 1100px) {
  .home-page .m9-global-nav-links { gap: 0; flex-wrap: wrap; justify-content: center; }
  .home-page .m9-global-nav-link { font-size: 12px; padding-inline: 7px; }
}
@media (max-width: 760px) {
  .home-shell, .home-footer { width: calc(100% - 36px); }
  .home-hero { grid-template-columns: 1fr; gap: 20px; padding: 20px 0 36px; min-height: 0; }
  .home-logo { width: 150px; margin-bottom: 20px; }
  .home-page h1 { font-size: 34px; }
  .home-lead { font-size: 16px; line-height: 1.55; }
  .home-note { font-size: 11px; margin-bottom: 18px; }
  .home-page .landing-button { width: auto; padding: 12px 14px; }
  .home-feature { max-width: 420px; margin-inline: auto; padding: 0; }
  .home-card-pair { padding-inline: 18px; }
  .home-story, .home-art { grid-template-columns: 1fr; gap: 28px; }
  .home-story .home-copy { grid-row: 1; }
  .home-comic { max-width: 320px; }
  .home-section { padding-block: 40px; }
  .home-ways { grid-template-columns: 1fr; gap: 30px; }
  .home-number { margin-bottom: 14px; }
}

/* Platform colors: discord.com/branding and patreon.com/brand. */
.home-page .home-actions .landing-button { border-radius: 24px; padding: 12px 18px; font-size: 13px; min-height: 46px; }
.home-page .landing-button.home-discord { background: #5865f2; color: #fff; border-color: #5865f2; }
.home-page .landing-button.home-discord:hover { background: #4752c4; border-color: #4752c4; }
.home-page .landing-button.home-patreon { background: #fff; color: #000; border-color: #fff; }
.home-page .landing-button.home-patreon:hover { background: #e6e6e6; border-color: #e6e6e6; }
.home-comparisons { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.home-comparison { min-width: 0; }
.home-comparison h3 { margin-bottom: 24px; }
.home-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-before-after figure { margin: 0; min-width: 0; }
.home-before-after img { width: 100%; height: auto; display: block; border-radius: 5px; }
.home-before-after figcaption { text-align: left; }
.home-comparison-ship .home-before-after { grid-template-columns: 1fr; max-width: 350px; }
.home-art-contact { margin: 0; color: #b8c3cc; line-height: 1.6; font-size: 14px; }
.home-art-contact a { color: #8bdcff; text-underline-offset: 4px; }
.home-join-heading > p { color: #b8c3cc; font-size: 16px; line-height: 1.75; }
.home-backer-showcase { display: grid; grid-template-columns: 1fr 1fr 1.15fr; align-items: center; gap: 28px; }
.home-backer-showcase figure { margin: 0; min-width: 0; }
.home-backer-showcase img { display: block; width: 100%; height: auto; border-radius: 6px; }
.home-backer-showcase figcaption { text-align: left; }
.home-backer-showcase figcaption strong { display: block; font-size: 15px; color: #f5f3ee; }
.home-backer-showcase figcaption span { display: block; margin-top: 4px; }
.home-backer-copy { border-left: 2px solid #567686; padding-left: 24px; }
.home-backer-copy > p:not(.home-eyebrow) { color: #b8c3cc; font-size: 15px; line-height: 1.7; }
.home-backer-copy strong { color: #fff; }
@media (max-width: 760px) {
  .home-actions { gap: 8px; }
  .home-page .home-actions .landing-button { padding: 12px 14px; }
  .home-comparisons { grid-template-columns: 1fr; gap: 36px; }
  .home-comparison-ship .home-before-after { max-width: none; }
  .home-backer-showcase { grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .home-backer-copy { grid-column: 1 / -1; margin-top: 12px; }
}
