/* Home-only product surfaces; the public navigation and plan pages stay unchanged. */
body[data-page="home"] .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; row-gap: 0; }
body[data-page="home"] .feature { padding: 24px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; }
body[data-page="home"] .feature::before { display: none; }
body[data-page="home"] .feature:hover { transform: none; }
body[data-page="home"] .feature p { font-size: 13px; }
body[data-page="home"] .feature-detail { font-size: 11px; }
.tile-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.tile-author { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-block: 8px; font-size: 10px; }
.tile-author img { object-fit: contain; }
.app-tag { padding: 1px 3px; border-radius: 2px; background: #5865f2; color: white; font-size: 7px; line-height: 1.2; }
.tile-command { margin-bottom: 8px; font-size: 10px; color: #b5bac1; }
.tile-command b { margin-right: 4px; color: #e4e5e9; }
.tile-command code { color: #9cadf4; font: inherit; }
.tile-spam { display: flex; gap: 7px; align-items: center; font-size: 10px; }
.tile-spam .sample-avatar { width: 22px; height: 22px; background: #875d77; font-size: 10px; }
.tile-spam b, .tile-spam s { display: block; }
.tile-spam s { margin-top: 3px; font-size: 9px; color: #96919a; }
.activity-person .sample-avatar { display: grid; width: 26px; height: 26px; font-size: 12px; background: #3b716b; }
.activity-protection { gap: 0; }
.activity-protection .activity-tile-top { margin-bottom: 10px; }
.activity-ticket > strong { margin-top: 6px; }
.activity-ticket-label { margin-top: 10px; }
.activity-welcome { top: 8px; }
.activity-protection { top: 50px; }
.activity-ticket { top: 238px; }
.activity-music { top: 254px; }
.activity-stage { height: 460px; }
.activity-person p { max-width: 150px; }
.discord-mention { background: #5865f230; color: #aebaff; border-radius: 3px; padding: 1px 3px; }
.demo-band { background: var(--background-secondary); border-color: var(--border); padding-block: 72px; }
.demo-layout { max-width: 1200px; grid-template-columns: minmax(0, .29fr) minmax(0, .71fr); gap: 40px; align-items: start; }
.demo-copy { display: block; padding-top: 8px; }
.demo-copy h2 { font-size: 30px; line-height: 1.35; }
.demo-copy .text-link { margin-top: 28px; font-weight: 500; }
body[data-page="home"] .text-link:hover, body[data-page="home"] .text-link:focus-visible { color: #f2f3f5; }
.demo-command-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 12px; margin-top: 28px; }
.demo-command-menu button { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; color: #c0c2ca; text-align: left; font: 12px/1.4 var(--font-body); }
.demo-command-menu button i { width: 16px; color: #9399ac; }
.demo-command-menu button:hover, .demo-command-menu button:focus-visible { color: #fff; }
.demo-command-menu code { font: inherit; }
.discord-demo { display: grid; grid-template-columns: 146px minmax(0, 1fr); background: #171b22; border: 1px solid var(--border); box-shadow: none; height: 608px; }
.demo-channels { position: relative; background: #12161d; padding: 0 10px 60px; font-size: 11px; color: #a4a7b0; min-width: 0; }
.demo-server-name { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 4px; color: #f2f3f5; font-size: 11px; font-weight: 600; border-bottom: 1px solid var(--border); }
.demo-server-name i { font-size: 8px; }
.demo-channels > p { margin: 23px 0 10px; font-size: 8px; color: #959ba4; }
.demo-channels > span, .demo-channels > strong { display: flex; align-items: center; gap: 6px; padding: 9px 7px; font-weight: 500; border-radius: 4px; }
.demo-channels > strong { background: #252d3a; color: #f2f3f5; }
.demo-channels i { color: #939ba4; }
.demo-online-user { display: flex; gap: 7px; align-items: center; padding: 7px 4px 7px 19px; font-size: 10px; }
.demo-online-user .sample-avatar, .demo-self .sample-avatar { width: 24px; height: 24px; font-size: 10px; background: #3c716d; }
.demo-self { position: absolute; bottom: 0; left: 0; right: 0; height: 52px; display: flex; align-items: center; gap: 8px; padding: 10px; background: #0e1219; }
.demo-self div { display: grid; gap: 2px; color: #f2f3f5; font-size: 10px; }
.demo-self small { color: #92969e; font-size: 9px; }
.demo-self > i { margin-left: auto; }
.demo-chat { display: grid; grid-template-rows: 54px minmax(0, 1fr) auto 23px; min-width: 0; min-height: 0; }
.demo-top { padding: 8px 14px; background: #171b22; border-bottom: 1px solid var(--border); min-width: 0; }
.demo-top > span { font-size: 12px; font-weight: 500; gap: 8px; }
.demo-top > div { display: flex; align-items: center; gap: 8px; }
.demo-top .icon-btn { width: 28px; height: 28px; min-height: 28px; border: 0; background: transparent; color: #afb2ba; }
.demo-top .icon-btn:hover, .demo-top .icon-btn:focus-visible { color: #f2f3f5; }
#demo-reset i { transition: transform .3s ease; }
#demo-reset:hover i, #demo-reset:focus-visible i { transform: rotate(-35deg); }
#demo-reset:active i { transform: rotate(-150deg); }
.demo-body { display: block; padding: 20px 14px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #303a48 #171b22; }
.demo-exchange { padding-block: 6px 21px; }
.demo-command-line { align-items: flex-start; gap: 10px; font-size: 12px; }
.demo-command-line .sample-avatar { width: 36px; height: 36px; background: #3c716d; font-size: 14px; }
.demo-command-line small { margin-left: 6px; font-size: 9px; color: #a2a5ad; }
.demo-command-line p { margin-top: 4px; color: #dcdee4; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.discord-message { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; margin-top: 16px; animation-duration: .22s; }
.discord-message > img { width: 36px; height: 36px; object-fit: contain; border-radius: 0; }
.discord-identity { font-size: 12px; margin-bottom: 6px; }
.discord-message > div { min-width: 0; }
.discord-response { position: relative; background: #10151d; border: 1px solid #26303e; border-left: 3px solid #5865f2; border-radius: 4px; padding: 12px; min-width: 0; min-height: 0; width: fit-content; max-width: min(100%, 520px); }
.discord-response.tone-success { border-left-color: #57f287; }
.discord-response.tone-warning { border-left-color: #fee75c; }
.discord-response.tone-danger { border-left-color: #ed4245; }
.discord-response.tone-neutral { border-left-color: #92969e; }
.discord-response h3 { font-size: 13px; font-weight: 600; color: #f2f3f5; line-height: 1.5; overflow-wrap: anywhere; }
.discord-response p { font-size: 12px; color: #dcdee4; line-height: 1.65; margin-top: 8px; overflow-wrap: anywhere; }
.discord-response a { color: #75baff; }
.discord-response code { background: #0b1017; padding: 1px 3px; font-size: 11px; }
.discord-response dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin: 10px 0 0; font-size: 11px; }
.discord-response dl:empty { display: none; }
.discord-response dt { color: #f2f3f5; font-weight: 600; margin-bottom: 4px; overflow-wrap: anywhere; }
.discord-response dd { margin: 0; line-height: 1.6; color: #dcdee4; overflow-wrap: anywhere; }
.discord-response .full-field { grid-column: 1 / -1; }
.discord-response:has(.demo-thumbnail) { min-height: 72px; }
.discord-response:has(.demo-thumbnail) h3, .discord-response:has(.demo-thumbnail) > p { padding-right: 48px; }
.demo-thumbnail { position: absolute; right: 12px; top: 12px; object-fit: contain; }
.demo-dice { display: block; object-fit: contain; margin-top: 10px; }
.discord-embed-footer { margin-top: 10px; font-size: 9px; color: #b5bac1; line-height: 1.5; }
.discord-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.discord-controls button { display: inline-flex; gap: 7px; justify-content: center; align-items: center; padding: 7px 10px; min-height: 32px; border: 0; border-radius: 4px; background: #2c3543; color: #f2f3f5; font: 11px/1.4 var(--font-body); }
.discord-controls button:hover { background: #3a475a; }
.demo-select { margin-top: 8px; width: 100%; min-height: 34px; border: 1px solid #26303e; border-radius: 4px; padding: 6px 10px; background: #0e1219; color: #e4e5e9; font: 11px/1.5 var(--font-body); }
.demo-composer { position: relative; min-width: 0; }
.demo-input { margin: 0 12px; padding: 7px 10px; border: 0; border-radius: 6px; gap: 8px; background: #222a36; min-height: 44px; }
.demo-input input { font-size: 12px; }
.demo-input .icon-btn { width: 30px; min-height: 30px; height: 30px; background: transparent; border: 0; color: #b7c5ff; }
.demo-input .icon-btn:hover, .demo-input .icon-btn:focus-visible { color: #f2f3f5; }
.demo-input .icon-btn i { transition: transform .2s ease; }
.demo-input .icon-btn:hover i, .demo-input .icon-btn:focus-visible i { transform: translate(2px, -2px); }
.demo-input .icon-btn:disabled i { animation: demo-send .36s ease both; }
@keyframes demo-send {
  0% { transform: translate(0, 0); opacity: 1; }
  45% { transform: translate(6px, -6px); opacity: 0; }
  46% { transform: translate(-4px, 4px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
.demo-input input::placeholder { color: #aaaeb7; }
.demo-input:focus-within { outline: 1px solid #889af1; outline-offset: 1px; }
.demo-typing { font-size: 9px; color: #c0c3cb; padding: 4px 22px; height: 23px; }
.demo-suggestions { position: absolute; z-index: 5; bottom: calc(100% + 6px); left: 12px; right: 12px; background: #10151d; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.demo-suggestions[hidden] { display: none; }
.demo-suggestions button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; min-height: 40px; color: #dcdee4; background: transparent; border: 0; text-align: left; }
.demo-suggestions code { font-size: 12px; color: #b0bfff; }
.demo-suggestions span { font-size: 10px; color: #b5bac1; line-height: 1.5; }
.demo-suggestions button[aria-selected="true"] { background: #252d3a; }
.start-section { padding-block: 64px; }
.start-section h2 { font-size: 28px; }
.setup-layout { display: grid; grid-template-columns: minmax(0, .31fr) minmax(0, .69fr); gap: 48px; align-items: center; }
.setup-layout .steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
.setup-layout .steps li { gap: 15px; }
.setup-layout .steps li > span { color: #8e97a6; font-size: 13px; }
.setup-layout .steps h3 { font-size: 14px; font-weight: 600; }
.setup-layout .steps p { font-size: 12px; line-height: 1.8; margin-top: 6px; }
.setup-preview { margin: 0; min-width: 0; }
.setup-preview > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border: 1px solid #333943; border-radius: 6px; }
.setup-preview figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 10px; color: var(--muted); }
.setup-preview .text-link { font-size: 10px; font-weight: 500; }
.vote-section { display: block; padding-block: 48px; border-top: 1px solid var(--border); }
.vote-section .section-heading { justify-content: center; text-align: center; margin: 0 0 28px; }
.vote-section h2 { font-size: 28px; }
.vote-section .section-heading p:last-child { margin-top: 10px; font-size: 13px; }
.vote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vote-card { display: block; padding: 24px; min-height: 164px; background: var(--surface); border-radius: 8px; }
.vote-card h3 { font-size: 17px; font-weight: 600; }
.vote-card .vote-icon { width: 40px; height: 40px; margin: 0 0 16px; }
.vote-card .vote-icon img { width: 30px; height: 30px; }
.vote-card .vote-action { margin-top: 20px; font-size: 12px; }
.vote-action > span { display: inline; }
.closing-cta { text-align: center; padding-block: 56px; background: var(--background-secondary); }
.closing-cta .wrap { display: flex; flex-direction: column; align-items: center; }
.closing-cta h2 { font-size: 30px; }
.closing-cta p { font-size: 13px; margin-top: 12px; }
.closing-cta .btn { margin-top: 28px; min-width: 300px; max-width: 100%; min-height: 54px; padding: 14px 30px; font-size: 15px; }
@media (min-width: 801px) and (max-height: 800px) {
  .activity-stage { height: 390px; }
  .activity-tile { padding: 14px; }
  .activity-tile-top { margin-bottom: 10px; }
  .activity-welcome { top: 0; }
  .activity-protection { top: 28px; }
  .activity-ticket { top: 200px; }
  .activity-music { top: 206px; }
}
@media (max-width: 1100px) {
  .demo-layout { grid-template-columns: minmax(0, .27fr) minmax(0, .73fr); gap: 24px; }
  .demo-copy h2 { font-size: 26px; }
  .demo-command-menu { grid-template-columns: 1fr; margin-top: 18px; }
  .demo-command-menu button { min-height: 34px; }
  .discord-demo { grid-template-columns: 126px minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .activity-stage { height: auto; }
  .activity-welcome, .activity-protection, .activity-ticket, .activity-music { top: auto; }
  .demo-layout { grid-template-columns: 1fr; gap: 24px; }
  .demo-copy { display: block; }
  .demo-copy h2 { max-width: 460px; font-size: 28px; }
  .demo-command-menu { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 12px; }
  .demo-copy .text-link { margin-top: 18px; }
  .setup-layout { grid-template-columns: 1fr; gap: 28px; }
  .setup-layout .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .setup-layout .steps li { display: block; }
  .setup-layout .steps h3 { margin-top: 8px; }
  .vote-section .section-heading { align-items: center; }
  .vote-grid { gap: 12px; }
  .vote-card { padding: 18px; }
  .activity-tile { padding: 12px; }
}
@media (min-width: 521px) and (max-width: 800px) {
  .hero-inner { padding-block: 20px 16px; gap: 18px; }
  .hero h1 { margin-top: 12px; font-size: 52px; }
  .hero-promise { margin-top: 10px; font-size: 24px; }
  .hero-description { max-width: 620px; margin-top: 12px; font-size: 13px; }
  .hero-actions { margin-top: 16px; }
  .activity-tile-top { margin-bottom: 8px; }
  .hero-copy { max-width: 640px; }
}
@media (min-width: 521px) and (max-width: 800px) and (max-height: 740px) {
  .activity-protection, .activity-ticket { display: none; }
  .activity-music { grid-column: 2; grid-row: 1; }
}
@media (max-width: 520px) {
  body[data-page="home"] .feature-list { grid-template-columns: 1fr; }
  .activity-tile-top { font-size: 8px; margin-bottom: 8px; }
  .tile-author { font-size: 9px; margin-block: 6px; }
  .tile-author img { width: 16px; height: 16px; }
  .activity-person { align-items: flex-start; gap: 6px; }
  .activity-person .sample-avatar { display: grid; width: 20px; height: 20px; font-size: 10px; }
  .activity-person p { font-size: 9px; }
  .activity-protection .activity-tile-top { margin-bottom: 7px; }
  .tile-spam s { font-size: 8px; }
  .activity-tile strong { font-size: 11px; }
  .activity-music > p { font-size: 9px; }
  .tile-command { font-size: 9px; }
  .activity-ticket-label { margin-top: 6px; }
  .activity-ticket p { line-height: 1.8; }
  .demo-band { padding-block: 44px; }
  .demo-copy h2 { font-size: 25px; }
  .demo-command-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; }
  .demo-command-menu button { font-size: 11px; gap: 6px; }
  .discord-demo { display: block; height: 568px; }
  .demo-channels { display: none; }
  .demo-chat { height: 100%; grid-template-rows: 48px minmax(0, 1fr) auto 23px; }
  .demo-top { min-height: 48px; padding-inline: 12px; gap: 6px; }
  .demo-top > span { font-size: 11px; }
  .demo-body { padding: 16px 10px; }
  .demo-command-line .sample-avatar, .discord-message > img { width: 28px; height: 28px; }
  .discord-message { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .demo-command-line { gap: 8px; }
  .discord-response { padding: 10px; }
  .discord-response h3 { font-size: 12px; }
  .discord-response p, .demo-command-line p { font-size: 11px; }
  .discord-response dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; font-size: 10px; }
  .demo-input input { font-size: 11px; padding-inline: 0; }
  .demo-input { margin-inline: 8px; gap: 5px; }
  .discord-controls button { font-size: 10px; padding-inline: 8px; }
  .setup-layout .steps { grid-template-columns: 1fr; gap: 20px; }
  .setup-layout .steps li { display: flex; gap: 18px; }
  .setup-layout .steps h3 { margin-top: 0; }
  .start-section h2 { font-size: 24px; }
  .vote-section { padding-block: 36px; }
  .vote-section h2 { font-size: 25px; }
  .vote-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vote-card { padding: 20px; min-height: 0; }
  .vote-card h3 { font-size: 16px; }
  .closing-cta h2 { font-size: 25px; }
  .closing-cta .btn { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #demo-reset i, .demo-input .icon-btn i { transition: none; animation: none; }
  #demo-reset:hover i, #demo-reset:focus-visible i, #demo-reset:active i,
  .demo-input .icon-btn:hover i, .demo-input .icon-btn:focus-visible i { transform: none; }
}
