@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&display=swap');

/* Shared by the homepage and the server list. Staffly Bot is periwinkle, Staffly Link is violet, and amber always means "needs someone". */
body.v2 {
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --bot: #7C8BFF; --link: #B08CFF; --amber: #F5B84B; --paper: #FFFFFF; --paper-ink: #172B4D; --paper-line: #DFE1E6; --paper-mute: #5E6C84;
  --night: #07080B; --slab: #0D0F14; --raised: #151821;
  background: var(--night);
}
body.v2 .wrap { padding-bottom: 0; }
body.v2 h1, body.v2 h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
body.v2 h3 { letter-spacing: -0.02em; }
.v2 .site-footer { margin-top: 0; }

/* buttons used on these pages */
.v2 .btn-big { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); }
.v2 .btn-big:hover { text-decoration: none; }
.v2 .btn-big.bot { background: var(--bot); color: #080A14; }
.v2 .btn-big.bot:hover { background: #95A1FF; }
.v2 .btn-big.link { background: var(--link); color: #140A2A; }
.v2 .btn-big.link:hover { background: #C4A6FF; }
.v2 .btn-big.ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.v2 .btn-big.ghost:hover { background: var(--raised); }
.v2 .mark { width: 22px; height: 22px; border-radius: 6px; display: block; }

/* ---------- hero ---------- */
.hx { padding: 72px 0 96px; }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hx h1 { font-size: clamp(2.7rem, 5.6vw, 4.7rem); max-width: 13ch; }
.hx .lede { margin-top: 24px; font-size: 19px; color: #B6BBCB; max-width: 50ch; line-height: 1.6; }
.hx .hcta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hx .proof { margin-top: 28px; color: var(--muted); font-size: 14.5px; min-height: 22px; }
.hx .proof b { color: var(--ink); font-weight: 600; }

.stage { position: relative; padding-bottom: 70px; }
.board { background: var(--paper); color: var(--paper-ink); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.board-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--paper-line); font-size: 14.5px; }
.board-bar img { width: 24px; height: 24px; border-radius: 6px; }
.board-bar b { font-weight: 600; }
.board-bar span { margin-left: auto; color: var(--paper-mute); font-size: 13px; }
.board-body { padding: 16px 16px 8px; }
.board h4 { font-size: 13px; color: var(--paper-mute); font-weight: 700; margin: 0 0 10px; letter-spacing: 0; }
.shift { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; border: 1px solid var(--paper-line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; transition: background 0.25s, border-color 0.25s; }
.shift.mine { background: #F2F8FF; border-color: #B3D4FF; }
.shift .t { font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.shift .n b { display: block; font-size: 15px; }
.shift .n small { color: var(--paper-mute); font-size: 13px; }
.shift .crew { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.hchip { display: inline-flex; align-items: center; gap: 6px; background: #F1F2F4; border-radius: 999px; padding: 2px 10px 2px 3px; font-size: 13px; }
.hchip i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 9px; font-style: normal; font-weight: 700; }
.hchip.open { background: #FFF0B3; color: #7A5B00; padding-left: 10px; font-weight: 700; }
.hchip.you { background: #DBEAFE; }
.shift button { grid-column: 3; grid-row: 1 / span 2; font-family: var(--sans); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 6px; border: 0; cursor: pointer; background: #0052CC; color: #fff; }
.shift button:hover { background: #0747A6; }
.shift button.drop { background: #fff; color: #C9372C; border: 1px solid #E9B8B1; }
.shift button:disabled { display: none; }
.board-foot { padding: 4px 16px 14px; color: var(--paper-mute); font-size: 12.5px; }

.feed { position: absolute; left: -28px; bottom: 0; width: min(330px, 86%); background: #12141B; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.feed-top { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 8px; }
.feed-top img { width: 22px; height: 22px; border-radius: 6px; }
.feed-top b { font-weight: 600; }
.feed-top em { font-style: normal; background: #5865F2; color: #fff; font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: #C9CDDB; }
.feed li { display: flex; gap: 8px; align-items: baseline; }
.feed li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; transform: translateY(-1px); }
.feed li.new { animation: slide 0.35s ease-out; }
.feed li.good::before { background: #3DD68C; }
@keyframes slide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- the two products ---------- */
.two { padding: 24px 0 110px; }
.two-head { max-width: 760px; margin-bottom: 44px; }
.two-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.two-head p { margin-top: 16px; color: #A9AFC0; font-size: 18px; max-width: 56ch; }
.two-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line2); }
.prod { padding: 34px 40px 38px 0; }
.prod + .prod { padding: 34px 0 38px 40px; border-left: 1px solid var(--line2); }
.prod-head { display: flex; align-items: center; gap: 14px; }
.prod-head img { width: 48px; height: 48px; border-radius: 12px; }
.prod h3 { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.prod .tag { margin-left: auto; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line2); color: #C9CDDB; white-space: nowrap; }
.prod .what { margin: 18px 0 22px; font-size: 17.5px; color: #B6BBCB; max-width: 46ch; }
.prod ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.prod li { padding: 13px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.prod li .icon { color: var(--bot); margin-top: 3px; }
.prod.link li .icon { color: var(--link); }
.prod li b { display: block; font-weight: 600; font-size: 16.5px; }
.prod li span { color: var(--muted); font-size: 15px; }
.prod .go { margin-top: 24px; }

/* ---------- what is free and what is not ---------- */
.ledger { background: var(--slab); border-block: 1px solid var(--line); padding: 96px 0; }
.ledger-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }
.ledger-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 16ch; }
.ledger-head p { color: #A9AFC0; max-width: 44ch; font-size: 17px; }
.lg { width: 100%; border-collapse: collapse; }
.lg caption { text-align: left; font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; padding: 30px 0 12px; }
.lg caption span { color: var(--muted); font-family: var(--sans); font-size: 14.5px; font-weight: 400; margin-left: 10px; letter-spacing: 0; }
.lg tr { border-top: 1px solid var(--line); }
.lg td { padding: 14px 12px 14px 0; vertical-align: top; }
.lg td:first-child { width: 31%; font-weight: 600; }
.lg td:nth-child(2) { color: #A9AFC0; font-size: 15.5px; }
.lg td:last-child { text-align: right; white-space: nowrap; padding-right: 0; }
.tier { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tier.free { background: rgba(61, 214, 140, 0.14); color: #4BE09A; }
.tier.prem { background: rgba(124, 139, 255, 0.16); color: #A3AEFF; }
.tier.plus { background: rgba(176, 140, 255, 0.18); color: #C7AAFF; }
.tier.add { background: rgba(245, 184, 75, 0.14); color: #F7C766; }
.lg-note { margin-top: 26px; color: var(--muted); font-size: 14.5px; }
.lg-prices { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.lg-prices .pc { border: 1px solid var(--line2); border-radius: 12px; padding: 14px 18px; min-width: 190px; }
.lg-prices .pc b { font-family: var(--display); font-size: 26px; letter-spacing: -0.03em; display: block; }
.lg-prices .pc span { color: var(--muted); font-size: 14px; }

/* ---------- how a person joins ---------- */
.join { padding: 110px 0; }
.join h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 18ch; }
.join .jsub { margin-top: 16px; color: #A9AFC0; font-size: 18px; max-width: 56ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; counter-reset: s; position: relative; }
.jstep { padding: 0 32px 0 0; position: relative; counter-increment: s; }
.jstep::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--link); color: #140A2A; font-weight: 700; font-size: 15px; margin-bottom: 18px; position: relative; z-index: 1; }
.jstep::after { content: ""; position: absolute; top: 17px; left: 44px; right: 10px; height: 1px; background: var(--line2); }
.jstep:last-child::after { display: none; }
.jstep h3 { font-size: 20px; margin-bottom: 8px; font-family: var(--display); }
.jstep p { color: #A9AFC0; font-size: 16px; max-width: 34ch; }
.dm { margin-top: 20px; background: #12141B; border: 1px solid var(--line2); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; max-width: 330px; }
.dm .top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dm .top img { width: 22px; height: 22px; border-radius: 6px; }
.dm .top b { font-weight: 600; }
.dm code { display: inline-block; background: #1C2030; border-color: var(--line2); font-size: 14px; color: #E5E8F5; }
.dm p { color: #C0C5D4; line-height: 1.7; }
.idbox { margin-top: 20px; border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; max-width: 330px; background: #12141B; display: grid; gap: 8px; }
.idbox div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.idbox div b { color: var(--ink); font-weight: 500; font-family: var(--mono); font-size: 13.5px; }
.idbox .fake { background: var(--link); color: #140A2A; text-align: center; font-weight: 700; border-radius: 6px; padding: 8px; font-family: var(--sans); font-size: 14px; display: block; }
.pw { margin-top: 20px; border: 1px solid #DFE1E6; background: var(--paper); color: var(--paper-ink); border-radius: 10px; padding: 14px; max-width: 330px; display: grid; gap: 8px; font-size: 14px; }
.pw i { display: block; border: 1px solid #C1C7D0; border-radius: 4px; padding: 7px 10px; font-style: normal; color: var(--paper-mute); }
.pw span { background: #0052CC; color: #fff; text-align: center; border-radius: 4px; padding: 8px; font-weight: 600; }

/* ---------- premium and closing ---------- */
.hprem { padding: 0 0 110px; }
.hprem-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; border: 1px solid var(--line2); border-radius: 18px; padding: 44px; background: linear-gradient(180deg, #11131A, #0C0E13); }
.hprem-box h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.hprem-box p { margin-top: 14px; color: #A9AFC0; max-width: 46ch; font-size: 17px; }
.hprem-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-self: center; }
.hprem-box li { display: flex; gap: 12px; align-items: baseline; font-size: 16.5px; }
.hprem-box li .icon { color: var(--link); transform: translateY(3px); }
.hprem-box .hrow { margin-top: 26px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.close { padding: 0 0 120px; }
.close-in { text-align: left; max-width: 760px; }
.close h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.close p { margin-top: 16px; color: #A9AFC0; font-size: 18px; }
.close .hcta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.close .small { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

@media (max-width: 980px) {
  .hx { padding: 44px 0 70px; }
  .hx-grid { grid-template-columns: 1fr; gap: 44px; }
  .hx h1 { max-width: 15ch; }
  .feed { left: 12px; }
  .two-grid { grid-template-columns: 1fr; }
  .prod, .prod + .prod { padding: 30px 0; border-left: 0; }
  .prod + .prod { border-top: 1px solid var(--line2); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .jstep { padding-right: 0; }
  .jstep::after { display: none; }
  .hprem-box { grid-template-columns: 1fr; padding: 28px; }
  .lg td:first-child { width: auto; }
  .lg tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; }
  .lg td { padding: 0; }
  .lg td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .lg td:last-child { grid-column: 2; grid-row: 1; }
  .ledger, .join { padding: 70px 0; }
}
@media (max-width: 520px) {
  .shift { grid-template-columns: 1fr auto; }
  .shift .t { grid-column: 1 / -1; }
  .shift .crew { grid-column: 1; }
  .shift .n { grid-column: 1; }
  .shift button { grid-column: 2; grid-row: 2 / span 2; }
  .hx .hcta .btn-big { width: 100%; justify-content: center; }
  .feed { position: static; width: 100%; margin-top: 14px; }
  .stage { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .feed li.new { animation: none; } .shift { transition: none; } }
.v2 [hidden] { display: none !important; }
