:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #111115;
  --surface2: #17171d;
  --surface3: #1e1e25;
  --line: #292930;
  --line2: #35353e;
  --text: #f5f5f7;
  --muted: #9898a3;
  --soft: #c8c8d0;
  --accent: #8d7cff;
  --accent2: #b7adff;
  --green: #75e6bf;
  --danger: #ff7185;
  --radius: 17px;
  --shadow: 0 18px 60px rgba(0,0,0,.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 430px at 16% -8%, rgba(141,124,255,.14), transparent 62%),
    radial-gradient(680px 420px at 100% 14%, rgba(117,230,191,.055), transparent 64%),
    var(--bg);
  color: var(--text);
  font: 15px/1.58 Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -70px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 9px;
}

.skip-link:focus {
  top: 14px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  background: rgba(9,9,11,.82);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
}

.topbar-inner {
  width: min(1240px, calc(100% - 30px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.45px;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #9a8cff, #6754e8);
  box-shadow: 0 9px 28px rgba(141,124,255,.27);
  font-size: 19px;
}

.brand-domain {
  color: #85858f;
}

.main-nav {
  display: flex;
  gap: 4px;
}

.main-nav a,
.login-link,
.profile-button {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.main-nav a:hover,
.login-link:hover,
.profile-button:hover {
  background: var(--surface2);
  color: var(--text);
}

.account-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.inline {
  display: inline;
}

.profile-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shell {
  width: min(1240px, calc(100% - 30px));
  margin: auto;
  padding: 30px 0 90px;
}

.notice,
.error {
  padding: 12px 15px;
  margin: 0 auto 18px;
  border-radius: 11px;
  border: 1px solid;
}

.notice {
  background: rgba(117,230,191,.08);
  border-color: rgba(117,230,191,.25);
  color: #b9f3df;
}

.error {
  background: rgba(255,113,133,.09);
  border-color: rgba(255,113,133,.27);
  color: #ffd2d9;
}

.button,
.danger {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  cursor: pointer;
  transition: .16s ease;
}

.button {
  background: var(--accent);
  color: white;
  box-shadow: 0 9px 26px rgba(141,124,255,.2);
}

.button:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button.ghost {
  background: var(--surface2);
  border: 1px solid var(--line2);
  box-shadow: none;
}

.button.small {
  padding: 8px 12px;
  font-size: 13px;
}

.danger {
  background: var(--danger);
  color: #22050a;
}

.hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) 410px;
  gap: 55px;
  align-items: center;
  padding: 48px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,.065);
}

.hero-copy {
  max-width: 720px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid rgba(117,230,191,.19);
  background: rgba(117,230,191,.055);
  border-radius: 999px;
  color: #a9edd5;
  font-weight: 800;
  font-size: 12px;
}

.status-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(117,230,191,.08);
}

.hero h1 {
  font-size: clamp(48px,7vw,82px);
  line-height: .96;
  letter-spacing: -4px;
  margin: 21px 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent2);
}

.hero-copy > p {
  max-width: 700px;
  margin: 0;
  color: #b4b4be;
  font-size: 19px;
}

.actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 27px;
}

.proof-card {
  padding: 22px;
  border-radius: 21px;
  background: linear-gradient(160deg, rgba(27,27,34,.98), rgba(16,16,20,.98));
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
}

.proof-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.proof-head div {
  display: grid;
}

.proof-head small,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.45px;
  color: #858590;
  font-weight: 900;
}

.proof-head strong {
  font-size: 18px;
}

.proof-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(141,124,255,.12);
  color: var(--accent2);
  font-size: 23px;
}

.proof-card ul {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
}

.proof-card li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 2px;
  color: #c7c7ce;
  border-bottom: 1px solid var(--line);
}

.proof-card li:last-child {
  border: 0;
}

.proof-card li span {
  font-size: 11px;
  color: var(--accent2);
  font-weight: 900;
}

.content-grid,
.layout {
  display: grid;
  grid-template-columns: minmax(0,790px) 330px;
  gap: 34px;
  justify-content: center;
  padding-top: 34px;
}

.feed-column {
  min-width: 0;
}

.side-sticky {
  position: sticky;
  top: 92px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin: 0 0 15px;
}

.section-title h2 {
  margin: 3px 0 0;
  font-size: 23px;
  letter-spacing: -.55px;
}

.section-title.compact {
  margin-bottom: 12px;
}

.text-link {
  color: var(--accent2);
  font-weight: 800;
  font-size: 13px;
}

.card,
.community-card {
  background: linear-gradient(180deg, rgba(20,20,25,.98), rgba(15,15,19,.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.post-card {
  padding: 22px;
  margin-bottom: 13px;
  transition: .16s ease;
}

.post-card:hover {
  border-color: #3a3945;
  transform: translateY(-1px);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.avatar,
.community-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #292632;
  color: #cfc8ff;
}

.community-tag {
  font-weight: 850;
  color: #d7d3ff;
}

.meta,
.quiet {
  font-size: 12px;
  color: var(--muted);
}

.post-card h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.45px;
  margin: 17px 0 10px;
}

.post-card p {
  white-space: pre-wrap;
  color: #c9c9d0;
  margin: 0;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  font-weight: 750;
}

.community-list {
  display: grid;
  gap: 9px;
}

.community-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
}

.community-card:hover {
  border-color: #41404a;
  background: var(--surface2);
}

.community-icon {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: #24232c;
  color: var(--accent2);
}

.community-card span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.community-card strong {
  font-size: 14px;
}

.community-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

.community-card b {
  color: #777782;
  font-size: 22px;
}

.principle-card {
  padding: 20px;
  margin-top: 15px;
}

.principle-card h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 8px 0;
}

.principle-card p {
  color: var(--muted);
}

.empty {
  padding: 34px;
  text-align: center;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.empty strong {
  color: var(--text);
  font-size: 18px;
}

.page-head {
  max-width: 850px;
  margin: 10px 0 30px;
}

.page-head h1 {
  font-size: clamp(37px,6vw,62px);
  line-height: 1;
  letter-spacing: -2.4px;
  margin: 8px 0 14px;
}

.page-head p,
.auth-card p,
.editor p {
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.full-post,
.comments,
.conversation,
.composer {
  max-width: 880px;
}

.full-post {
  padding: 27px;
}

.full-post h1 {
  font-size: clamp(34px,5vw,52px);
  line-height: 1.05;
  letter-spacing: -1.7px;
}

.content {
  white-space: pre-wrap;
  font-size: 17px;
  color: #d7d7dc;
}

.comments {
  margin-top: 30px;
}

.comment {
  padding: 19px;
  margin: 10px 0;
}

.comment p,
.message p {
  white-space: pre-wrap;
}

.auth-card,
.editor {
  max-width: 660px;
  margin: 38px auto;
  padding: 28px;
}

.auth-card h1,
.editor h1 {
  font-size: 38px;
  letter-spacing: -1px;
  margin: 0;
}

.auth-card form,
.editor form,
.report form,
.report-box form {
  margin-top: 20px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #d7d7dc;
  font-weight: 760;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: #0b0b0e;
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(141,124,255,.11);
}

textarea {
  resize: vertical;
}

.message {
  max-width: 76%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.message.mine {
  margin-left: auto;
  background: #211e30;
  border-color: #373249;
}

.composer {
  position: sticky;
  bottom: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  margin-top: 20px;
  padding: 11px;
  background: rgba(13,13,16,.92);
  border: 1px solid var(--line);
  border-radius: 15px;
  backdrop-filter: blur(15px);
}

.report-box {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

details summary {
  cursor: pointer;
  color: var(--muted);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.policy-grid .card,
.prose,
.report {
  padding: 22px;
}

.policy-grid h2 {
  margin-top: 0;
}

.policy-grid p,
.prose p {
  color: #c8c8cf;
}

.report {
  border-left: 4px solid var(--line2);
}

.priority-1 {
  border-left-color: var(--danger);
}

.priority-2 {
  border-left-color: #ffbd6e;
}

.evidence {
  padding: 14px;
  margin: 14px 0;
  border-radius: 10px;
  background: #271318;
  border: 1px solid #64313a;
}

.table-wrap {
  overflow: auto;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 11px;
  border-bottom: 1px solid var(--line);
}

.footer {
  width: min(1240px,calc(100% - 30px));
  margin: auto;
  padding: 26px 0 35px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer > div:first-child {
  display: grid;
}

.footer strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
    padding-top: 30px;
  }

  .content-grid,
  .layout,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .side-sticky {
    position: static;
  }

  .hero h1 {
    letter-spacing: -2.6px;
  }

  .account-nav {
    gap: 3px;
  }

  .profile-button {
    font-size: 0;
  }

  .profile-button::before {
    content: "Log out";
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .topbar-inner,
  .shell,
  .footer {
    width: min(100% - 20px,1240px);
  }

  .brand-domain,
  .login-link {
    display: none;
  }

  .shell {
    padding-top: 18px;
  }

  .hero {
    padding: 24px 0 38px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .proof-card,
  .post-card {
    padding: 17px;
  }

  .content-grid {
    padding-top: 24px;
  }

  .post-card h3 {
    font-size: 20px;
  }

  .footer {
    flex-direction: column;
  }

  .message {
    max-width: 91%;
  }

  .composer {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
