* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body.home-v2 { margin: 0; background: #141516; color: #f6f6f4; font: 400 15px/1.6 Inter, sans-serif; }
.home-v2 h1, .home-v2 h2, .home-v2 h3, .home-v2 h4, .home-v2 p { margin: 0; }
.home-v2 button, .home-v2 input { font: inherit; }
.home-v2 button, .home-v2 a { -webkit-tap-highlight-color: transparent; }
.home-v2 a { color: inherit; }
.home-v2 [hidden] { display: none !important; }
.home-v2 a:focus-visible, .home-v2 button:focus-visible, .home-v2 input:focus-visible, .home-v2 [tabindex]:focus-visible { outline: 2px solid #f7cf53; outline-offset: 5px; }
.home-inner { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.home-nav { position: sticky; top: 0; z-index: 100; height: 82px; padding: 0 max(32px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #141516f5; border-bottom: 1px solid #292b2e; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-wordmark { display: block; width: 182px; height: 66px; object-fit: cover; }
.nav-title { font-weight: 700; font-size: 21px; }
.home-nav-links { display: flex; gap: 28px; align-items: center; }
.home-nav-links a { font-size: 13px; text-decoration: none; color: #b6b7bb; }
.home-nav-links a:hover { color: #fff; }
.member-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.member-nav a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid #665b38; border-radius: 6px; background: #272820; color: #f7d676; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.member-nav a:hover { border-color: #f7cf53; background: #343325; color: #ffe18a; }
.nav-account-btn { display: flex; gap: 9px; align-items: center; min-height: 40px; max-width: 180px; padding: 8px 12px; color: #edeeef; background: #242527; border: 1px solid #343639; border-radius: 6px; }
#accountLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.account-avatar { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; overflow: hidden; }
.account-menu-icon, .account-menu-icon::before, .account-menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.account-menu-icon { position: relative; }
.account-menu-icon::before, .account-menu-icon::after { content: ''; position: absolute; left: 0; }
.account-menu-icon::before { top: -6px; }
.account-menu-icon::after { top: 6px; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #292b2e; }
.hero-logo-stage { position: absolute; z-index: -1; width: 640px; height: 640px; right: max(-90px, calc((100% - 1320px) / 2)); top: 50%; transform: translateY(-50%); }
.hero-brand-art, #heroLogoParticles { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#heroLogoParticles { display: none; }
.hero-logo-stage:is(.animating, .dotted) .hero-brand-art { opacity: 0; }
.hero-logo-stage:is(.animating, .dotted) #heroLogoParticles { display: block; }
.hero-content { padding-top: 74px; padding-bottom: 42px; min-height: min(680px, calc(100svh - 140px)); }
.eyebrow { color: #a8aaae; font-size: 12px; font-weight: 500; }
.hero-content > .eyebrow { display: flex; align-items: center; gap: 10px; color: #e0cb8e; }
.accent-line { display: inline-block; width: 24px; height: 2px; background: #f7cf53; }
.home-v2 h1 { margin-top: 22px; font-size: 80px; line-height: 1.12; font-weight: 700; }
.hero-version { display: inline-block; margin-left: 16px; color: #f7cf53; font-size: 22px; vertical-align: top; padding-top: 10px; }
.hero-tagline { margin-top: 14px !important; font-size: 42px; font-weight: 500; line-height: 1.15; }
.hero-tagline span { color: #a4a6aa; }
.hero-description { margin-top: 22px !important; max-width: 460px; color: #b5b7bb; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.action { min-height: 46px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; transition: background .15s, border-color .15s; }
.action svg { width: 18px; height: 18px; fill: currentColor; }
.action.primary { background: #f7cf53; color: #191914; border-color: #f7cf53; }
.action.primary:hover { background: #ffe28d; }
#heroDashboardBtn { background: #5865f2; border-color: #5865f2; color: #fff; }
.action.secondary { background: #26282a; color: #f0f1f2; border-color: #393b3e; }
.action.secondary:hover { background: #323437; border-color: #64666b; }
.quiet-link { display: inline-flex; gap: 14px; align-items: center; text-decoration: none; font-size: 13px; font-weight: 500; }
.quiet-link span { color: #f7cf53; }
.quiet-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-down { margin-top: 35px; color: #b6b8bc !important; font-size: 12px; }
.home-section { padding: 68px 0; border-bottom: 1px solid #303235; scroll-margin-top: 80px; }
.toolkit { background: #1a1b1d; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.home-v2 h2 { margin-top: 10px; font-size: 30px; font-weight: 600; line-height: 1.25; }
.section-heading > p { color: #a5a7ad; font-size: 13px; }
.module-tabs { display: flex; gap: 30px; border-bottom: 1px solid #3a3c40; overflow-x: auto; }
.module-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; color: #adafb5; padding: 14px 0; flex-shrink: 0; font-size: 13px; cursor: pointer; }
.module-tabs [aria-selected="true"] { border-color: #f7cf53; color: #f7cf53; }
.module-details { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; min-height: 310px; padding-top: 38px; }
.module-number { color: #909398; font-size: 11px; }
.module-summary h3 { font-size: 25px; font-weight: 500; line-height: 1.3; margin-top: 12px; }
.module-summary > p { color: #b2b4b9; font-size: 13px; max-width: 390px; margin-top: 15px; }
.module-summary .quiet-link { margin-top: 22px; }
.module-capabilities { list-style: none; padding: 0; margin: 0; display: grid; align-content: start; }
.module-capabilities li { display: flex; align-items: flex-start; gap: 18px; padding: 17px 0; border-bottom: 1px solid #333538; }
.module-capabilities li:first-child { padding-top: 0; }
.capability-icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; background: #2c2d2e; border-radius: 6px; font-size: 11px; color: #ecd17b; }
.module-capabilities li:nth-child(2) .capability-icon { color: #90ceb6; }
.module-capabilities li:nth-child(3) .capability-icon { color: #aac8f4; }
.module-capabilities h4 { font-size: 14px; font-weight: 500; }
.module-capabilities p { font-size: 12px; color: #afb1b6; margin-top: 5px; }
.directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.server-search { width: 290px; max-width: 100%; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #3a3c40; border-radius: 6px; background: #1e2022; color: #a7a9b0; }
.server-search input { width: 100%; min-width: 0; background: none; border: 0; color: #f7f7f5; outline: 0; font-size: 13px; }
.server-search:focus-within { outline: 2px solid #f7cf53; outline-offset: 3px; }
.directory-note { color: #c9b87b; font-size: 12px; }
.server-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.server-entry { display: flex; align-items: center; gap: 14px; min-height: 90px; padding: 18px; background: #1f2022; border: 1px solid #303236; border-radius: 8px; }
.server-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #303236; display: grid; place-items: center; overflow: hidden; color: #e5cd83; font-size: 15px; font-weight: 600; }
.server-entry:nth-child(3n + 2) .server-icon { color: #9dcabc; }
.server-entry:nth-child(3n) .server-icon { color: #adbee5; }
.server-icon img { width: 100%; height: 100%; object-fit: cover; }
.server-entry h3 { font-size: 13px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.server-entry-details { min-width: 0; }
.server-entry-details p { margin-top: 3px; color: #a9acb1; font-size: 11px; }
.directory-status { font-size: 13px; color: #b9bbc0; padding: 20px 0; }
.directory-status:empty { display: none; }
.directory-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: 12px; color: #a6a9af; }
.directory-page-controls, .server-pages { display: flex; gap: 8px; align-items: center; }
.directory-pagination button { width: 36px; height: 36px; border-radius: 6px; background: #252729; border: 1px solid #414347; color: #f4f5f6; cursor: pointer; }
.directory-pagination button[aria-current="page"] { background: #f7cf53; border-color: #f7cf53; color: #1b1c1e; font-weight: 700; }
.directory-pagination button:disabled { opacity: .35; cursor: default; }
.directory-retry { margin-top: 12px; }
.people-section { background: #191b1b; }
.home-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; color: #b9bbc0; }
.home-person { position: relative; min-width: 0; overflow: hidden; border: 1px solid #383b3d; border-radius: 8px; background: #232525; color: #f6f6f4; }
.home-person-banner { height: 86px; background: #30372f; }
.home-person:nth-child(3n + 2) .home-person-banner { background: #30363c; }
.home-person:nth-child(3n) .home-person-banner { background: #433d2d; }
.home-person-banner img { width: 100%; height: 100%; object-fit: cover; }
.home-person-avatar { position: absolute; top: 54px; left: 18px; width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border: 4px solid #232525; border-radius: 50%; background: #e6c95d; color: #1d1e1e; font-weight: 700; font-size: 24px; }
.home-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-person-details { padding: 42px 18px 20px; }
.home-person-details h3 { margin-top: 3px; font-size: 19px; line-height: 1.25; }
.home-person-details p { margin-top: 10px; color: #b8bdc1; font-size: 12px; }
.home-status-section { background: #202321; }
.home-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; color: #b9bbc0; }
.home-status-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid #454943; color: #f6f6f4; font-size: 15px; }
.home-status-state { display: inline-flex; align-items: center; gap: 8px; color: #d7c37b; font-size: 12px; white-space: nowrap; }
.home-status-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.home-status-state.up { color: #8dd2b0; }
.home-status-state.down { color: #f19b91; }
.getting-started { background: #1b1c1e; }
.start-layout { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 36px; }
.start-layout ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.start-layout li { display: flex; gap: 18px; }
.start-layout li > span { font-size: 11px; color: #f7cf53; padding-top: 3px; }
.start-layout h3 { font-size: 14px; font-weight: 500; }
.start-layout p:not(.eyebrow) { color: #b0b3b8; font-size: 12px; margin-top: 2px; }
.home-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 32px; font-size: 11px; color: #999da4; }
.home-footer div { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.home-footer a { text-decoration: none; }
.footer-wordmark { width: 180px; height: 68px; display: block; overflow: hidden; flex-shrink: 0; }
.footer-wordmark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 10px; background: #f7cf53; color: #141516 !important; }
.skip-link:focus { top: 10px; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; background: #303236; border: 1px solid #52565c; border-radius: 6px; color: #fff; z-index: 10000; opacity: 0; pointer-events: none; font-size: 13px; }
#toast.show { opacity: 1; }
@media (max-width: 1020px) {
  .home-nav-links { gap: 18px; }
  .hero-logo-stage { right: -110px; width: 530px; height: 530px; }
  .home-v2 h1 { font-size: 68px; }
  .hero-tagline { font-size: 36px; }
  .hero-description { max-width: 380px; }
  .desktop-break { display: none; }
}
@media (max-width: 760px) {
  .home-inner { width: calc(100% - 36px); }
  .home-nav { height: 70px; padding: 0 18px; gap: 12px; }
  .home-nav-links { display: none; }
  .member-nav { gap: 12px; }
  .member-nav a { font-size: 12px; }
  #accountLabel { display: none; }
  .nav-title { font-size: 18px; }
  .nav-account-btn { padding: 8px; max-width: 150px; }
  .hero-content { padding-top: 42px; min-height: 600px; }
  .nav-wordmark { width: 144px; height: 52px; }
  .hero-logo-stage { width: 270px; height: 270px; top: auto; bottom: -70px; right: -45px; transform: none; opacity: .6; }
  .home-v2 h1 { font-size: 56px; }
  .hero-tagline { font-size: 32px; }
  .hero-description { max-width: 430px; }
  .hero-down { margin-top: 38px; }
  .home-section { padding: 46px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .home-v2 h2 { font-size: 26px; }
  .module-tabs { gap: 24px; }
  .module-details { grid-template-columns: 1fr; gap: 28px; }
  .server-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-status { grid-template-columns: 1fr; gap: 0; }
  .server-entry { padding: 12px; gap: 9px; }
  .server-icon { width: 36px; height: 36px; border-radius: 8px; }
  .start-layout { grid-template-columns: 1fr; gap: 28px; }
  .home-footer { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .home-nav { gap: 8px; }
  .member-nav { gap: 9px; }
  .server-directory { grid-template-columns: 1fr; }
  .home-team { grid-template-columns: 1fr; }
  .directory-toolbar { flex-wrap: wrap; }
  .hero-actions { gap: 8px; }
  .action { padding: 10px 12px; font-size: 12px; }
  .home-footer div { gap: 16px; }
  .directory-pagination { align-items: flex-start; flex-direction: column; gap: 12px; }
  .directory-page-controls, .server-pages { gap: 5px; }
  .directory-pagination button { width: 32px; height: 32px; }
}
@media (max-width: 360px) { .nav-wordmark { width: 120px; height: 44px; } }
@media (max-width: 360px) { .home-nav { padding: 0 12px; } .member-nav a { padding: 0 10px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .action { transition: none; } }
