/* Public ServerHub product page. Static previews reuse the onboarding UI, never its account scripts. */
/* Reuse the Plugins page's shared grid and diagonal texture layers. */
.serverhub-features-page { background: #08090d; }
.serverhub-features-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(9px);
}
.serverhub-features-page :is(.track-lines, .grid-noise) { position: fixed; }
.sh-features-shell { position: relative; z-index: 1; width: min(1320px, calc(100% - 96px)); margin: 0 auto; }
.sh-features-shell :is(section, aside, figure, div) { min-width: 0; }
.sh-features-shell :is(section, aside)[id] { scroll-margin-top: 112px; }
.sh-features-shell a { text-underline-offset: 5px; }
.sh-features-hero { padding-top: 48px; animation: pushIn 640ms ease; }
.sh-features-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); align-items: start; gap: clamp(36px, 5vw, 76px); }
.sh-features-hero h1 { margin: 0; font-family: "Teko", Impact, sans-serif; font-size: clamp(80px, 8vw, 116px); font-weight: 600; line-height: .96; letter-spacing: -.015em; }
.sh-features-hero h1 span { display: block; color: #f5f6f8; font-size: .72em; margin-bottom: 5px; }
.sh-features-hero h1 em { display: block; color: var(--sh-start-red); font-style: normal; }
.sh-features-hero-copy { max-width: 650px; margin-top: 22px; }
.sh-features-hero-copy > p { margin: 8px 0 0; color: #bdc5ce; font-size: 21px; line-height: 1.45; }
.sh-features-hero-copy > .sh-features-hero-lead { margin-top: 0; color: #f5f6f8; font-size: 27px; font-weight: 600; }
.sh-features-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; margin-top: 24px; }
.sh-features-hero-actions .sh-features-text-link { font-size: 16px; }
.sh-features-hero-plan { min-width: 0; align-self: end; }
.sh-features-eligibility-note { margin: 16px 0 0; max-width: 95ch; color: #b2bbc5; font-size: 14px; line-height: 1.5; }
.sh-features-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 32px; color: #e5e9ee; font-weight: 700; font-size: 17px; line-height: 1.4; text-decoration: none; }
.sh-features-text-link > span { flex-shrink: 0; color: var(--sh-start-red); }
.sh-features-text-link:hover { color: #fff; text-decoration: underline; }
.sh-features-preview-notice { display: flex; align-items: baseline; gap: 10px; margin: 27px 0 0; max-width: 880px; color: #bdc5ce; font-size: 14px; line-height: 1.5; }
.sh-features-preview-notice > span { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #d9b777; }
.sh-features-chapters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; margin-top: 34px; padding: 19px 0; border-top: 1px solid var(--sh-start-line); border-bottom: 1px solid var(--sh-start-line); }
.sh-features-chapters a { display: inline-flex; align-items: center; gap: 11px; min-height: 26px; color: #c5cbd2; font-size: 16px; text-decoration: none; }
.sh-features-chapters a:hover { color: #fff; }
.sh-features-chapters a > span { color: var(--sh-start-red); font-size: 12px; font-weight: 700; }
.sh-features-section { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(36px, 6vw, 92px); padding: 64px 0; border-bottom: 1px solid var(--sh-start-line); }
.sh-features-section-reverse { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.sh-features-section-reverse > .sh-features-copy { order: 2; }
.sh-features-copy h2, .sh-features-final h2 { margin: 0; font-family: "Teko", Impact, sans-serif; font-size: clamp(44px, 4.7vw, 66px); font-weight: 600; line-height: 1.01; letter-spacing: -.01em; }
.sh-features-copy > p:not(.sh-start-eyebrow, .sh-features-note) { margin: 22px 0; max-width: 47ch; color: #c5cbd2; font-size: 19px; line-height: 1.55; }
.sh-features-copy .sh-start-details { gap: 11px; }
.sh-features-note { margin: 22px 0 0; color: #b2bbc5; font-size: 16px; line-height: 1.5; }
.serverhub-features-page .sh-start-product { width: 100%; max-width: none; }
.serverhub-features-page .sh-start-profile-banner { min-height: 138px; }
.serverhub-features-page .sh-start-profile-banner > span:first-child { font-size: 72px; }
.serverhub-features-page .sh-start-profile-identity h3 { font-size: 37px; }
.sh-features-demo-banner { background: #0b0d0f; aspect-ratio: 4.8; overflow: hidden; }
.sh-features-demo-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sh-features-demo-logo { display: block; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 3px; object-fit: contain; }
.sh-features-demo-profile .sh-start-profile-identity { flex-wrap: wrap; }
.sh-features-demo-profile .sh-start-profile-identity > div { flex: 1; min-width: 150px; }
.sh-features-demo-about { padding: 22px 24px; border-bottom: 1px solid var(--sh-start-line); }
.sh-features-demo-about h4 { margin: 8px 0 12px; color: #fff; font-family: "Teko", Impact, sans-serif; font-size: 29px; font-weight: 500; line-height: 1.1; }
.sh-features-demo-about > p:last-child { margin: 0; color: #bfc6ce; font-size: 14px; line-height: 1.5; }
@media (max-width: 480px) {
  .sh-features-demo-profile .sh-start-session-grid { grid-template-columns: minmax(0, 1fr); }
  .sh-features-demo-profile .sh-start-session-grid > div { border-right: 0; padding: 12px 0; }
}
.sh-features-map-product .sh-start-map-preview { min-height: 350px; border: 0; padding-top: 12px; }
.sh-features-map-product .sh-start-map-drawing { width: min(100%, 340px); max-width: 100%; margin: 0 auto -25px; }
.sh-features-map-product .sh-start-map-meta { top: 19px; left: 20px; }
.sh-features-map-product .sh-start-map-driver { width: fit-content; max-width: calc(100% - 36px); position: relative; z-index: 1; margin: -7px 18px 10px; }
.sh-features-map-product .sh-start-map-caption { margin-bottom: 13px; text-align: right; margin-right: 18px; }
.sh-features-mock-tabs { display: flex; gap: 4px; padding: 12px 20px; border-bottom: 1px solid var(--sh-start-line); }
.sh-features-mock-tabs > span { padding: 6px 15px; color: #afb8c2; border: 1px solid #3d444a; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.sh-features-mock-tabs > .is-active { background: #251517; border-color: #ae2929; color: #fff; }
.sh-features-standings-body { padding: 23px 22px 12px; }
.sh-features-standings-table { font-size: 16px; }
.sh-features-standings-table thead th { padding-bottom: 13px; font-size: 13px; }
.sh-features-standings-table thead th:first-child { width: 42px; }
.sh-features-standings-table thead th:nth-child(3) { width: 48px; text-align: center; }
.sh-features-standings-table thead th:last-child { width: 70px; }
.sh-features-standings-table tbody td:nth-child(3) { text-align: center; color: #c4cbd3; }
.sh-features-standings-table tbody :is(th, td) { padding-top: 14px; padding-bottom: 14px; }
.sh-features-standings-table small { font-size: 13px; }
.sh-features-standings-table tbody tr:first-child { background: #1b171a; }
.sh-features-connected-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 23px; }
.sh-features-screenshots { padding: 56px 0; border-bottom: 1px solid var(--sh-start-line); }
.sh-features-screenshots-heading > p:not(.sh-start-eyebrow) { max-width: 80ch; }
.sh-features-screenshot-group { margin-top: 30px; }
.sh-features-screenshot-group + .sh-features-screenshot-group { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--sh-start-line); }
.sh-features-screenshot-group header { margin-bottom: 20px; }
.sh-features-screenshot-group h3 { margin: 0; font-family: "Teko", Impact, sans-serif; font-size: 36px; font-weight: 500; line-height: 1.1; }
.sh-features-screenshot-group header p { margin: 8px 0 0; color: #bcc5ce; font-size: 18px; line-height: 1.5; }
.sh-features-screenshot-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.sh-features-screenshot { margin: 0; min-width: 0; }
.sh-features-screenshot-image { display: flex; align-items: center; justify-content: center; min-height: 250px; overflow: hidden; padding: 12px; border: 1px solid #353b44; background: #0b0d12; transition: border-color 160ms ease; }
.sh-features-screenshot-image:hover { border-color: #f33836; }
.sh-features-screenshot img { display: block; width: 100%; max-width: 509px; height: auto; object-fit: contain; transition: transform 180ms ease; }
.sh-features-screenshot-image:hover img { transform: scale(1.035); }
.sh-features-screenshot-narrow img { max-width: 292px; }
.sh-features-screenshot figcaption { padding-top: 17px; }
.sh-features-screenshot h4 { margin: 0; font-family: "Teko", Impact, sans-serif; font-size: 28px; font-weight: 500; line-height: 1.1; }
.sh-features-screenshot figcaption p { margin: 8px 0; color: #b8c1cb; font-size: 17px; line-height: 1.5; }
.sh-features-screenshot figcaption > span { color: #e6e9ed; font-size: 14px; }
.sh-features-screenshot figcaption > span > span { margin-left: 5px; color: #f33836; }
.serverhub-features-page .sh-start-community-preview .sh-start-discover-preview { padding-bottom: 8px; }
.sh-features-teams { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: 70px; padding: 45px 0; border-bottom: 1px solid var(--sh-start-line); }
.sh-features-teams .sh-features-copy h2 { font-size: 44px; }
.sh-features-teams .sh-features-copy > p:last-child { margin-bottom: 0; }
.sh-features-team-product .sh-start-team-preview { padding: 26px; border: 0; background: #101316; }
.sh-features-team-product .sh-start-team-preview strong { font-family: "Teko", Impact, sans-serif; font-size: 29px; line-height: 1.2; font-weight: 500; }
.sh-features-team-product .sh-start-team-preview > div > span:last-child { font-size: 15px; }
.sh-features-owner { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 27px; padding-top: 23px; border-top: 1px solid var(--sh-start-line); }
.sh-features-owner > strong { color: #f0f2f5; font-size: 17px; }
.sh-features-owner > span { color: #b8c0ca; font-size: 14px; }
/* Plan-card presentation is shared with /discord-bot in serverhub-plan.css. */
.sh-features-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; padding: 40px 0; border-bottom: 1px solid var(--sh-start-line); }
.sh-features-related h2 { margin: 0; font-family: "Teko", Impact, sans-serif; font-size: 37px; line-height: 1.05; font-weight: 500; }
.sh-features-related p:not(.sh-start-eyebrow) { margin: 14px 0 10px; max-width: 45ch; color: #b8c1cb; font-size: 17px; line-height: 1.5; }
.sh-features-related .sh-start-eyebrow { margin-bottom: 12px; font-size: 12px; }
.sh-features-final { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 0; }
.sh-features-final h2 { font-size: 52px; }
.sh-features-final p:not(.sh-start-eyebrow) { margin: 13px 0 0; color: #b8c1cb; font-size: 16px; }
.sh-features-final .button { flex-shrink: 0; }
.serverhub-features-page .site-footer { position: relative; z-index: 1; background: transparent; }

/* The hero uses the homepage's pushIn motion; lower content progressively reveals on scroll. */
.sh-features-motion-ready .sh-features-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 680ms cubic-bezier(.22, 1, .36, 1);
}
.sh-features-motion-ready .sh-features-reveal.is-visible { opacity: 1; transform: none; }
.sh-features-motion-ready .sh-features-reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 480ms ease var(--sh-features-reveal-delay, 70ms),
    transform 560ms cubic-bezier(.22, 1, .36, 1) var(--sh-features-reveal-delay, 70ms);
}
.sh-features-motion-ready .sh-features-reveal.is-visible .sh-features-reveal-item { opacity: 1; transform: none; }

@media (max-width: 1150px) {
  .sh-features-shell { width: calc(100% - 64px); }
  .sh-features-hero { padding-top: 48px; }
  .sh-features-hero h1 { max-width: 100%; }
  .sh-features-hero-copy > p { font-size: 19px; }
  .sh-features-hero-copy > .sh-features-hero-lead { font-size: 25px; }
  .sh-features-section { gap: 38px; padding: 48px 0; }
  .sh-features-section h2 { font-size: 50px; }
  .sh-features-copy > p:not(.sh-start-eyebrow, .sh-features-note) { font-size: 18px; }
  .sh-features-teams { gap: 36px; }
  .sh-features-chapters { justify-content: flex-start; gap: 10px 30px; }
}

@media (max-width: 900px) {
  .sh-features-hero h1 { font-size: clamp(70px, 9.8vw, 100px); }
  .sh-features-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sh-features-hero-actions { max-width: none; }
  .sh-features-screenshot-gallery { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sh-features-screenshot { width: 100%; max-width: 560px; }
  .sh-features-screenshot-image { min-height: 0; padding: 18px; }
  .sh-features-section, .sh-features-section-reverse { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sh-features-section-reverse > .sh-features-copy { order: 0; }
  .sh-features-copy h2 br { display: none; }
  .sh-features-section .sh-features-copy { max-width: 660px; }
  .sh-features-copy > p:not(.sh-start-eyebrow, .sh-features-note) { max-width: 65ch; }
  .sh-features-map-product .sh-start-map-preview { min-height: 350px; }
  .sh-features-teams { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .sh-features-team-product { max-width: 520px !important; }
  .serverhub-features-page #planGrid.bot-plan-grid { justify-self: start; }
  .sh-features-related { gap: 34px; }
  .sh-features-final { align-items: flex-start; flex-direction: column; gap: 23px; }
}

@media (max-width: 780px) {
  .sh-features-shell { width: calc(100% - 40px); }
  .sh-features-hero { padding-top: 36px; }
  .sh-features-hero h1 { font-size: clamp(64px, 10vw, 80px); }
  .sh-features-hero-actions { max-width: none; align-items: flex-start; }
  .sh-features-hero-actions .sh-features-text-link { justify-content: flex-start; }
  .sh-features-preview-notice { margin-top: 20px; }
  .sh-features-section, .sh-features-screenshots { padding: 40px 0; }
  .sh-features-teams, .sh-features-related { padding: 34px 0; }
}

@media (max-width: 540px) {
  .sh-features-shell { width: calc(100% - 36px); }
  .sh-features-hero { padding-top: 32px; }
  .sh-features-hero h1 { font-size: clamp(64px, 15vw, 81px); line-height: .92; }
  .sh-features-hero h1 span, .sh-features-hero h1 em { display: block; }
  .sh-features-hero h1 span { font-size: .75em; margin-bottom: 4px; }
  .sh-features-hero-copy > .sh-features-hero-lead { font-size: 24px; line-height: 1.3; }
  .sh-features-hero-copy > p { font-size: 18px; }
  .sh-features-hero-actions { flex-direction: column; width: 100%; gap: 12px; }
  .sh-features-hero-actions > .button { width: 100%; }
  .sh-features-hero-actions > .sh-features-text-link { justify-content: center; width: 100%; }
  .sh-features-preview-notice { font-size: 13px; }
  .sh-features-chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 24px; padding: 16px 0; }
  .sh-features-chapters a { gap: 8px; font-size: 15px; }
  .sh-features-chapters a { align-items: baseline; }
  .sh-features-chapters a > span { flex-shrink: 0; }
  .sh-features-section, .sh-features-screenshots { padding: 32px 0; gap: 25px; }
  .sh-features-copy h2, .sh-features-section h2, .sh-features-teams .sh-features-copy h2, .sh-features-final h2 { font-size: 43px; line-height: 1.02; }
  .sh-features-copy > p:not(.sh-start-eyebrow, .sh-features-note) { margin: 17px 0; font-size: 18px; }
  .sh-features-note { margin-top: 18px; font-size: 15px; }
  .sh-features-copy .sh-start-details { gap: 9px; }
  .serverhub-features-page .sh-start-profile-banner { min-height: 118px; }
  .serverhub-features-page .sh-start-profile-banner > span:first-child { font-size: 58px; }
  .serverhub-features-page .sh-start-profile-identity h3 { font-size: 32px; }
  .sh-features-map-product .sh-start-map-preview { min-height: 325px; padding-top: 30px; }
  .sh-features-map-product .sh-start-map-meta { left: 14px; top: 16px; }
  .sh-features-map-product .sh-start-map-drawing { width: 290px; margin-bottom: -24px; }
  .sh-features-map-product .sh-start-map-driver { margin-left: 13px; margin-bottom: 10px; }
  .sh-features-map-product .sh-start-map-caption { margin-right: 12px; font-size: 11px; }
  .sh-features-mock-tabs { padding: 10px 14px; }
  .sh-features-standings-body { padding: 18px 14px 8px; }
  .sh-features-standings-table { font-size: 14px; }
  .sh-features-standings-table thead th { font-size: 12px; }
  .sh-features-standings-table thead th:first-child { width: 30px; }
  .sh-features-standings-table thead th:nth-child(3) { width: 34px; }
  .sh-features-standings-table thead th:last-child { width: 58px; }
  .sh-features-standings-table small { font-size: 12px; }
  .sh-features-screenshot-gallery { gap: 26px; }
  .sh-features-screenshot-image { padding: 12px; }
  .sh-features-screenshot-group h3 { font-size: 32px; }
  .sh-features-screenshot figcaption { padding-top: 13px; }
  .sh-features-screenshot figcaption p { font-size: 16px; }
  .sh-features-team-product .sh-start-team-preview { padding: 20px 14px; gap: 12px; }
  .sh-features-team-product .sh-start-team-preview > .sh-start-team-mark { width: 50px; height: 54px; }
  .sh-features-team-product .sh-start-team-preview strong { font-size: 25px; }
  .sh-features-owner { margin-top: 22px; padding-top: 19px; }
  .sh-features-related { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sh-features-related h2 { font-size: 34px; }
  .sh-features-related .sh-features-text-link { font-size: 16px; }
  .sh-features-final { padding: 34px 0; }
  .sh-features-final .button { width: 100%; }
}

@media (max-width: 350px) {
  .sh-features-shell { width: calc(100% - 28px); }
  .sh-features-hero h1 { font-size: 64px; }
  .sh-features-standings-body { padding-left: 11px; padding-right: 11px; }
  .sh-features-standings-table thead th:first-child { width: 26px; }
  .sh-features-standings-table thead th:nth-child(3) { width: 29px; }
  .sh-features-standings-table thead th:last-child { width: 53px; }
  .sh-features-teams .sh-start-team-preview > div > span:last-child { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-features-hero,
  .sh-features-motion-ready .sh-features-reveal,
  .sh-features-motion-ready .sh-features-reveal-item {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
