:root {
	--font-size: 16px;
	--theme-color: #2f71ac;
	--theme-color-darken: #5050dc;
	--border-color-active: var(--theme-color);
	--reply-indent-size: 2rem;
}
:root,
:root[data-theme='light'] {
  color-scheme: light;
  --text: black;

  --background: #ffffff;
  --background-hover: #fafafa;

  --page-tip-bg: #fdf2e1;
  --text-bg: #f4f4f4;
  --nav-bg: #e8f4ff;

  --text-with-background: black;
  --text-lighten: #333;
  --text-lighten-2: #666;
  --text-lighten-3: #999;
  --text-lighten-4: #ccc;

  --link: #1111fe;
  --link-visited: #9a3d9a;
  --link-visited-lighten: #925992;
  --link-active: #ce3535;

  --border-color: #ccc;

  --diff-ins-bg: #e6ffe6;
  --diff-del-bg: #ffe6e6;

  --flash-bg: #e5e4be;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --theme-color: #74bcfb;
  --theme-color-darken: #8c8cdc;
  --text: #eee;

  --background: #282a36;
  --background-hover: #383a45;

  --page-tip-bg: #4f4940;
  --text-bg: #363948;
  --nav-bg: #2e3841;

  --text-with-background: var(--text);
  --text-lighten: #ddd;
  --text-lighten-2: #ccc;
  --text-lighten-3: #9d9b9b;
  --text-lighten-4: #666;

  --link: #a3a3ff;
  --link-visited: #e993e9;
  --link-visited-lighten: #d46ed4;
  --link-active: #ee7c7c;

  --border-color: #666;

  --diff-ins-bg: #3d463d;
  --diff-del-bg: #4a3b3b;

  --flash-bg: #4d4c37;
}
:root[data-theme='matrix'] {
  color-scheme: dark;
  --theme-color: #00ff2b;
  --theme-color-darken: #222;
  --text: #00ff2b;

  --background: #000;
  --background-hover: #111;

  --page-tip-bg: #111;
  --text-bg: #111;
  --nav-bg: #111;

  --text-with-background: #00ff2b;
  --text-lighten: #00ff2b;
  --text-lighten-2: #009a22;
  --text-lighten-3: #009a22;
  --text-lighten-4: #009a22;

  --link: #00ff2b;
  --link-visited: #36ba01;
  --link-visited-lighten: #009a22;
  --link-active: #36ba01;

  --border-color: #009a22;

  --diff-ins-bg: #3d463d;
  --diff-del-bg: #4a3b3b;

  --flash-bg: #333;
  
  .brand svg {
    box-sizing: border-box;
    border: 1px solid var(--text);
    border-radius: 2px;
  }
  .brand svg path:nth-child(2),
  .brand svg path:nth-child(4) {
    fill: var(--background);
  }
  .brand svg path:nth-child(3) {
    fill: var(--text);
  }

  input,
  textarea,
  button,
  select {
    border: 1px solid var(--border-color);
    border-radius: 4px;
  }
}
h1 {
  margin-bottom: 0.6rem;
}
a {
  text-decoration: none;
  color: var(--link);
}
a:active {
  color: var(--link-active);
}
a:visited {
  color: var(--link-visited);
}
a:hover,
a:focus-visible {
  text-decoration: underline;
}

input,
textarea,
button,
select {
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
  font-size: 1rem;
  color: var(--text);
}

*:disabled {
  cursor: not-allowed !important;
}

html {
  font-size: var(--font-size);
}
html,
body {
  background: var(--background);
  color: var(--text);
}
body {
  margin: 0 auto;
  padding: 0 10px 12px;
  font-family:
    Helvetica,
    sans-serif,
    Noto Sans,
    Microsoft YaHei,
    Microsoft JhengHei,
    PingFang,
    Noto Color Emoji;
}

hr {
  border-color: var(--border-color);
}

p {
  margin-top: 0.6rem;
}

label[for] {
  white-space: nowrap;
}

.table-data {
  border: 1px solid var(--border-color);
  border-collapse: collapse;
}

.table-data thead th {
  background: var(--page-tip-bg);
}

.table-data th,
.table-data td {
  border: 1px solid var(--border-color);
  padding: 4px 12px;
}

a.brand {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--theme-color) !important;
}
a.brand img {
  vertical-align: -1px;
}
a.brand b {
  display: inline-block;
  vertical-align: 2px;
  color: var(--theme-color) !important;
}
.logo {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 2px;
  background: #225487;
  font-family: Helvetica;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 1.1;
  vertical-align: baseline;
}
.slogan {
  font-size: 0.8rem;
}
a.text {
  color: var(--text);
}
.text-lighten,
a.text-lighten {
  color: var(--text-lighten);
}
.text-lighten-2,
a.text-lighten-2 {
  color: var(--text-lighten-2);
}
.text-lighten-3,
a.text-lighten-3 {
  color: var(--text-lighten-3);
}

.page-flash {
  display: flex;
  padding: 10px;
  margin: 10px 0;
  justify-content: space-between;
  background-color: var(--flash-bg);
  color: var(--text-with-background);
}
.page-flash a {
  color: var(--text-with-background);
}
.article-list {
  list-style: none;
  padding-left: 0;
}
.article-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  line-height: 1.2;
}
.article-list li a:active,
.article-list li a:focus {
  border: 1px dashed #ccc;
}
.article-list .article-list__title {
  font-size: 1.1rem;
}
.article-list a.article-list__source:visited,
a.link-source:visited {
  color: var(--link-visited-lighten);
}
.article-list .article-list__summary {
  font-size: 0.8rem;
  color: var(--text-lighten-2);
}
.article-list .vote-form {
  width: 14px;
  margin-right: 10px;
}
.skip-button {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  line-height: 2.4rem;
  background: var(--background);
  text-align: center;
  overflow: hidden;
}
.skip-button:focus-visible {
  height: auto;
  outline: 1px solid blue;
  text-decoration: underline;
}
.tabs {
  padding: 4px 10px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
}
.tabs .tab {
  display: inline-block;
  padding: 0 10px 4px;
  margin-bottom: -1px;
  line-height: 1.2rem;
  color: var(--text-lighten);
  font-size: 0.9rem;
}
.tabs .tab.active {
  color: var(--text-color);
  border-bottom: 2px solid var(--border-color-active);
}

.page-tab {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}
.page-tab .tabs {
  border-bottom: none;
  margin-bottom: -1px;
}
.page-tab .page-tab__btn {
  line-height: 32px;
  font-size: 0.9rem;
}

.data-list {
  display: table;
  /* width: 100%; */
}
.data-list .data-list__row {
  display: table-row;
  line-height: 1.5;
}

.data-list .data-list__row:last-child .data-list__label,
.data-list .data-list__row:last-child .data-list__content {
  padding-bottom: 0;
}

.data-list .data-list__label,
.data-list .data-list__content {
  display: table-cell;
  padding-bottom: 10px;
  vertical-align: top;
}
.data-list .data-list__label {
  /* width: 7rem; */
  /* text-align: right; */
  padding-right: 6px;
  box-sizing: border-box;
  white-space: nowrap;
}
.data-list .data-list__content {
  text-align: left;
}
.form .form__row {
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.form .form__row > .form__label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}
.form .form__row:last-child {
  margin-bottom: 0;
}
.form-inline {
  display: inline;
  vertical-align: text-bottom;
}
.vote-form {
  display: inline-block;
  padding: 0;
  margin: 0;
  vertical-align: text-bottom;
  line-height: 0;
}
.vote-form button[type='submit'] {
  display: inline-block;
  padding: 2px 0 0;
  border: none;
  line-height: 1;
  vertical-align: text-top;
  font-size: 1rem;
  cursor: pointer;
  background: transparent;
  color: var(--text-lighten-3);
}
.vote-form button[type='submit']:hover,
.vote-form button[type='submit']:hover svg {
  color: var(--text-lighten-4);
}
.vote-form.voted button[type='submit'],
.vote-form.voted button[type='submit'] svg {
  color: var(--theme-color);
}
.btn-vote--up,
.btn-vote--down {
  position: relative;
}
.btn-vote--up {
  top: 1px;
}
.btn-vote--down {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.article-operation {
  display: flex;
  justify-content: space-between;
}
.article-operation,
.article-operation a,
.article-operation svg,
.article-operation button[type='submit'] {
  color: var(--text-lighten-2);
}

.article-operation svg {
  color: var(--text-lighten-3);
}

.article-operation svg,
.article-operation a {
  display: inline-block;
  vertical-align: baseline;
}
.article-operation .vote-form svg {
  vertical-align: -1px;
}

.article-operation .btn-react svg {
  vertical-align: -3px;
}

.btn-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.btn-link,
.btn-form button[type='submit'] {
  appearance: none;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none !important;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  vertical-align: text-top;
  line-height: 1.2;
}

.btn-link:hover,
.btn-form button[type='submit']:hover {
  text-decoration: underline;
}

.article-reacts {
  display: inline-block;
  vertical-align: baseline;
}
.article-reacts form > span {
  cursor: pointer;
}

.article-operation .btn-react {
  position: relative;
  padding: 0 4px;
  margin-right: 4px;
  vertical-align: baseline;
}
.article-operation .btn-react:last-child {
  margin-right: 0;
}
.article-operation .btn-react > a,
.article-operation .btn-react > span,
.article-operation .btn-react > label,
.article-operation .btn-react > a > svg {
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.article-operation .btn-react select {
  position: absolute;
  right: 0;
  top: 0;
  appearance: none;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  z-index: 10;
  background: transparent;
  cursor: pointer;
}

.btn-form {
  display: inline-block;
}

.article-operation .btn-react.btn-react--selected {
  border: 1px solid var(--theme-color);
  border-radius: 1rem;
  text-align: center;
}

.article-placeholder {
  padding: 4px 0;
  cursor: pointer;
}

.card {
  margin: 12px 0 12px;
  padding: 10px;
  border: 1px solid #ccc;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 0 10px;
  padding: 0 10px;
  background: var(--nav-bg);
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 50%;
}
.nav-menu li {
  vertical-align: middle;
  line-height: 1.2rem;
}

.nav-menu li a {
  display: inline-block;
  padding: 6px 0;
}
.nav-menu li a,
.nav-menu li b,
.nav-menu li .btn-link {
  color: var(--text-lighten);
}
.nav-menu.nav-menu--left {
  flex: 1 0 auto;
}
.nav-menu.nav-menu--right {
  justify-content: flex-end;
  text-align: right;
}
.nav-menu.nav-menu--right li {
  margin-left: 10px;
}
.nav-menu.nav-menu--right li:first-child {
  margin-left: 0;
}
.nav-menu.nav-menu--right li {
  margin-left: 10px;
}
.nav-menu.nav-menu--left li {
  margin-right: 10px;
}
.nav-menu.nav-menu--left li:first-child {
  margin-left: 0;
}
.nav-menu.nav-menu--left li.separator{
  margin-left: 6px;
  margin-right: 6px;
}
.nav-menu.nav-menu--left li:last-child {
  margin-right: 0;
}

.noscript-inline,
.noscript-inline > * {
  display: inline;
}

.filter-box {
  display: flex;
  flex-wrap: wrap;
}

.filter-box input,
.filter-box button {
  height: 30px;
  box-sizing: border-box;
  flex: 0 1 auto;
}

.filter-box .filter-box__item {
  display: flex;
  flex-wrap: wrap;
  margin-right: 10px;
  margin-bottom: 4px;
}
.filter-box .filter-box__label {
  padding-right: 4px;
  line-height: 30px;
}

.tip-block {
  padding: 10px 6px;
  margin: 10px 0;
  background: var(--page-tip-bg);
  color: var(--text-lighten);
}

.tip-block--gray {
  padding: 10px 6px;
  margin: 10px 0;
  background: var(--text-bg);
  color: var(--text-lighten);
}

.tip-block a,
.tip-block--gray a {
  color: var(--text-lighten);
}

.page-intro .page-intro__head {
  display: flex;
  justify-content: space-between;
}

.page-intro .page-intro__head h1 {
  margin-top: 0;
  margin-bottom: 0;
}

.page-intro .page-intro__head a {
  text-decoration: none;
}

.post-list {
  padding-left: 1rem;
}

.post-list li {
  margin-bottom: 0.5rem;
}

.post-list .post-list__info {
  padding: 4px 10px;
  background: var(--text-bg);
  font-size: 0.8rem;
  white-space: break-spaces;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

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

/* Cover and loader styles moved to inline <style> in head.tmpl
   to prevent removal by removeOldStyles() during hydration */

@media (max-width: 750px) {
  :root {
    --reply-indent-size: 1rem;
  }

  .top-nav {
    margin: 0 -10px 10px;
  }
}

/*--------------------------- Home Page ------------------------------*/
body.home-body {
  --home-bg: #f5f7fa;
  --home-surface: rgba(255, 255, 255, 0.84);
  --home-surface-solid: #fff;
  --home-text: #1d2530;
  --home-muted: #687483;
  --home-line: #dbe3eb;
  --home-accent: #2878b8;
  --home-accent-dark: #1e6095;
  --home-accent-soft: #e2eff9;
  --home-blue: #2878b8;
  --home-violet: #7256a6;
  --home-shadow: 0 30px 80px rgba(31, 68, 98, 0.14);
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 6%, rgba(52, 124, 180, 0.14), transparent 28rem),
    var(--home-bg);
  color: var(--home-text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] body.home-body {
  --home-bg: #282a36;
  --home-surface: rgba(51, 53, 66, 0.88);
  --home-surface-solid: #30323e;
  --home-text: #eeeeef;
  --home-muted: #bfc3cd;
  --home-line: #515461;
  --home-accent: #74bcfb;
  --home-accent-dark: #58a5e9;
  --home-accent-soft: #2d4257;
  --home-blue: #74bcfb;
  --home-violet: #b4a0df;
  --home-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  background:
    radial-gradient(circle at 84% 6%, rgba(63, 133, 190, 0.18), transparent 28rem),
    var(--home-bg);
}

.home-page {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body.home-body *,
body.home-body *::before,
body.home-body *::after {
  box-sizing: border-box;
}

body.home-body img {
  max-width: 100%;
}

body.home-body a {
  color: inherit;
}

body.home-body a:visited {
  color: inherit;
}

body.home-body a:hover,
body.home-body a:focus-visible {
  text-decoration: none;
}

.home-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 2px;
  background: var(--home-accent);
  transform: scaleX(0);
  transform-origin: left;
}

.home-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: var(--home-bg);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-nav.is-scrolled {
  border-color: var(--home-line);
  box-shadow: 0 8px 24px rgba(31, 50, 68, 0.08);
}

.home-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 56px, 1180px);
  height: 64px;
  margin: 0 auto;
}

a.home-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--home-text) !important;
  font-size: 1.28rem;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.home-logo img {
  display: block;
  border-radius: 50%;
}

.home-nav__links,
.home-nav__actions {
  display: flex;
  align-items: center;
}

.home-nav__links {
  gap: 32px;
  margin-left: auto;
  margin-right: 42px;
}

.home-nav__links a,
.home-nav__signin {
  color: var(--home-muted) !important;
  font-size: 0.9rem;
  font-weight: 570;
  transition: color 160ms ease;
}

.home-nav__links a:hover,
.home-nav__links a:focus-visible,
.home-nav__signin:hover,
.home-nav__signin:focus-visible {
  color: var(--home-text) !important;
}

.home-nav__actions {
  gap: 20px;
}

.home-theme-toggle {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  outline: none;
  background: var(--home-surface);
  color: var(--home-muted);
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.home-theme-toggle:hover,
.home-theme-toggle:focus-visible {
  border-color: var(--home-accent);
  color: var(--home-accent);
  transform: rotate(-10deg);
}

.home-theme-toggle svg {
  width: 19px;
  height: 19px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid var(--home-accent);
  border-radius: 12px;
  background: var(--home-accent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--home-accent) 21%, transparent);
  color: #fff !important;
  font-size: 0.93rem;
  font-weight: 680;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

:root[data-theme="dark"] .home-button {
  color: #172d40 !important;
}

.home-button svg {
  width: 19px;
  height: 19px;
  margin-left: 9px;
  transition: transform 160ms ease;
}

.home-button:hover,
.home-button:focus-visible {
  border-color: var(--home-accent-dark);
  background: var(--home-accent-dark);
  box-shadow: 0 13px 30px color-mix(in srgb, var(--home-accent) 28%, transparent);
  transform: translateY(-2px);
}

.home-button:hover svg {
  transform: translateX(3px);
}

.home-button--small {
  min-height: 36px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.home-button--secondary {
  border-color: var(--home-line);
  background: var(--home-surface);
  box-shadow: none;
  color: var(--home-text) !important;
}

:root[data-theme="dark"] .home-button--secondary {
  color: var(--home-text) !important;
}

.home-button--secondary:hover,
.home-button--secondary:focus-visible {
  border-color: var(--home-accent);
  background: var(--home-surface-solid);
  color: var(--home-accent) !important;
}

.home-section {
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  min-height: calc(100vh - 64px);
  padding-top: 72px;
  padding-bottom: 130px;
  gap: 66px;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
}

.home-eyebrow,
.home-kicker {
  margin: 0 0 20px;
  color: var(--home-accent);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-accent);
  box-shadow: 0 0 0 5px var(--home-accent-soft);
}

.home-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--home-text);
  font-size: clamp(3.1rem, 5vw, 5rem);
  font-weight: 590;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

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

.home-hero__lead {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--home-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-hero__actions,
.home-selfhost__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-hero__actions {
  margin-top: 34px;
}

.home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--home-muted);
  font-size: 0.78rem;
  list-style: none;
}

.home-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.home-hero__facts svg {
  width: 16px;
  color: var(--home-accent);
}

.home-showcase {
  --home-parallax-y: 0px;
  position: relative;
  z-index: 1;
  transform: translateY(var(--home-parallax-y));
  transition: transform 100ms linear;
}

.home-showcase::before {
  position: absolute;
  top: -55px;
  right: -30px;
  z-index: -2;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--home-accent) 20%, transparent);
  border-radius: 50%;
  content: "";
}

.home-showcase__glow {
  position: absolute;
  right: -18%;
  bottom: -23%;
  z-index: -1;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--home-accent) 16%, transparent);
  filter: blur(58px);
}

.home-browser {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--home-line) 82%, transparent);
  border-radius: 18px;
  background: var(--home-surface-solid);
  box-shadow: var(--home-shadow);
  transform: rotate(1.1deg);
  transition: transform 350ms ease;
}

.home-browser__bar {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  gap: 6px;
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface-solid);
}

.home-browser__bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bdc6c2;
}

.home-browser__bar > span:first-child {
  background: #df7469;
}

.home-browser__bar > span:nth-child(2) {
  background: #e1ae57;
}

.home-browser__bar > span:nth-child(3) {
  background: #67ad87;
}

.home-browser__bar div {
  width: 47%;
  margin: 0 auto;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--home-bg);
  color: var(--home-muted);
  font-size: 0.58rem;
  text-align: center;
}

.home-browser img {
  display: block;
  width: 100%;
  height: auto;
}

.home-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  min-width: 190px;
  padding: 13px 15px;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--home-line) 78%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--home-surface-solid) 90%, transparent);
  box-shadow: 0 16px 38px rgba(24, 53, 78, 0.15);
  backdrop-filter: blur(12px);
}

.home-float-card--answer {
  top: 27%;
  left: -55px;
}

.home-float-card--roles {
  right: -37px;
  bottom: -30px;
}

.home-float-card__icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--home-accent-soft);
  color: var(--home-accent);
  font-weight: 800;
}

.home-float-card > span:last-child {
  display: flex;
  flex-direction: column;
}

.home-float-card b {
  color: var(--home-text);
  font-size: 0.76rem;
}

.home-float-card small {
  margin-top: 3px;
  color: var(--home-muted);
  font-size: 0.63rem;
}

.home-avatar-stack {
  display: flex;
  padding-left: 7px;
}

.home-avatar-stack i {
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: -7px;
  place-items: center;
  border: 2px solid var(--home-surface-solid);
  border-radius: 50%;
  background: #347595;
  color: #fff;
  font-size: 0.63rem;
  font-style: normal;
}

.home-avatar-stack i:nth-child(2) {
  background: #7460a2;
}

.home-avatar-stack i:nth-child(3) {
  background: #4b6576;
}

.home-section--spacious {
  padding-top: 110px;
  padding-bottom: 138px;
}

.home-section-heading {
  max-width: 680px;
  margin-bottom: 56px;
}

.home-section-heading h2,
.home-community__copy h2,
.home-selfhost h2 {
  margin: 0;
  color: var(--home-text);
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  font-weight: 690;
  letter-spacing: -0.048em;
  line-height: 1.08;
}

.home-section-heading > p:last-child,
.home-community__copy > p,
.home-selfhost__copy > p {
  margin: 22px 0 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.home-format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-format-card {
  position: relative;
  min-height: 355px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 19px;
  background: var(--home-surface);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.home-format-card::after {
  position: absolute;
  right: -70px;
  bottom: -85px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--home-accent) 8%, transparent);
  content: "";
}

.home-format-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.home-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 13px;
  background: var(--home-accent-soft);
  color: var(--home-accent);
}

.home-icon--blue {
  background: color-mix(in srgb, var(--home-blue) 13%, transparent);
  color: var(--home-blue);
}

.home-icon--violet {
  background: color-mix(in srgb, var(--home-violet) 13%, transparent);
  color: var(--home-violet);
}

.home-icon svg {
  width: 27px;
  height: 27px;
}

.home-format-card__number {
  color: color-mix(in srgb, var(--home-muted) 65%, transparent);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.home-format-card h3,
.home-governance-card h3 {
  margin: 36px 0 13px;
  color: var(--home-text);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.home-format-card p,
.home-governance-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.home-format-card__tag {
  position: absolute;
  bottom: 29px;
  left: 30px;
  z-index: 1;
  color: var(--home-accent);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  padding-top: 125px;
  padding-bottom: 135px;
  gap: 110px;
  border-top: 1px solid var(--home-line);
}

.home-community__visual {
  position: relative;
  padding: 62px 48px 48px 0;
}

.home-community__visual::before {
  position: absolute;
  inset: 0 0 0 -100vw;
  z-index: -1;
  border-radius: 0 28px 28px 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--home-accent) 11%, transparent), transparent),
    var(--home-accent-soft);
  content: "";
}

.home-community__window {
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--home-line) 86%, transparent);
  border-radius: 18px;
  background: var(--home-surface-solid);
  box-shadow: 0 24px 65px rgba(29, 58, 84, 0.14);
}

.home-community__header,
.home-community__site {
  display: flex;
  align-items: center;
}

.home-community__header {
  padding: 7px 8px 20px;
  gap: 11px;
  border-bottom: 1px solid var(--home-line);
}

.home-community__mark,
.home-community__site i {
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.home-community__mark {
  width: 38px;
  height: 38px;
  background: var(--home-accent);
  color: #fff;
  font-family: Georgia, serif;
  font-weight: 700;
}

.home-community__header > span:last-child,
.home-community__site > span {
  display: flex;
  flex-direction: column;
}

.home-community__header b,
.home-community__site b {
  color: var(--home-text);
  font-size: 0.79rem;
}

.home-community__header small,
.home-community__site small {
  margin-top: 3px;
  color: var(--home-muted);
  font-size: 0.65rem;
}

.home-community__site {
  margin-top: 9px;
  padding: 12px;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
}

.home-community__site--active {
  border-color: color-mix(in srgb, var(--home-accent) 23%, transparent);
  background: var(--home-accent-soft);
}

.home-community__site i {
  width: 38px;
  height: 38px;
  background: #dce8f2;
  color: #346684;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
}

.home-community__site:nth-child(3) i {
  background: #e9e2f3;
  color: #705992;
}

.home-community__site:nth-child(4) i {
  background: #efe5db;
  color: #926743;
}

.home-community__site strong {
  margin-left: auto;
  color: var(--home-muted);
  font-size: 0.6rem;
  font-weight: 650;
}

.home-community__site--active strong {
  color: var(--home-accent);
}

.home-check-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.home-check-list li {
  display: flex;
  padding: 20px 0;
  gap: 16px;
  border-top: 1px solid var(--home-line);
}

.home-check-list li > span {
  flex: 0 0 27px;
  padding-top: 2px;
  color: var(--home-accent);
  font-size: 0.68rem;
  font-weight: 760;
}

.home-check-list div {
  display: flex;
  flex-direction: column;
}

.home-check-list b {
  color: var(--home-text);
  font-size: 0.92rem;
}

.home-check-list small {
  margin-top: 7px;
  color: var(--home-muted);
  font-size: 0.79rem;
  line-height: 1.6;
}

.home-governance {
  padding-top: 110px;
  padding-bottom: 130px;
}

.home-governance__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 19px;
  background: var(--home-line);
}

.home-governance-card {
  position: relative;
  min-height: 205px;
  padding: 32px 34px;
  background: var(--home-surface-solid);
}

.home-governance-card__line {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--home-accent);
  transition: width 220ms ease;
}

.home-governance-card h3 {
  margin-top: 27px;
}

.home-selfhost {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: center;
  margin-bottom: 125px;
  padding: 68px;
  gap: 75px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(108, 178, 232, 0.18), transparent 22rem),
    #18344d;
  color: #fff;
}

.home-selfhost .home-kicker {
  color: #8fc9f5;
}

.home-selfhost h2 {
  max-width: 700px;
  color: #fff;
}

.home-selfhost__copy > p {
  max-width: 670px;
  color: #c4d4e2;
}

.home-selfhost__actions {
  margin-top: 30px;
}

.home-button--light {
  border-color: #f2f7fb;
  background: #f2f7fb;
  box-shadow: none;
  color: #18344d !important;
}

:root[data-theme="dark"] .home-button--light {
  color: #18344d !important;
}

.home-button--light:hover,
.home-button--light:focus-visible {
  border-color: #fff;
  background: #fff;
}

.home-text-link {
  padding: 14px 10px;
  color: #d8e5ef !important;
  font-size: 0.86rem;
  font-weight: 620;
}

.home-text-link span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 160ms ease;
}

.home-text-link:hover span {
  transform: translateX(3px);
}

.home-terminal {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  background: rgba(8, 24, 38, 0.74);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.22);
}

.home-terminal__bar {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 13px;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-terminal__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8e9b97;
}

.home-terminal__bar span:first-child {
  background: #c96e67;
}

.home-terminal__bar span:nth-child(2) {
  background: #d1a75b;
}

.home-terminal__bar span:nth-child(3) {
  background: #65a8d9;
}

.home-terminal__bar small {
  margin: 0 auto;
  color: #90a4b4;
  font-size: 0.59rem;
}

.home-terminal__body {
  padding: 24px 26px 27px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.home-terminal__body p {
  display: flex;
  align-items: flex-start;
  margin: 0 0 17px;
  gap: 8px;
  color: #cedbe5;
  font-size: 0.72rem;
}

.home-terminal__body p:first-child {
  margin-bottom: 23px;
  color: #f0f5f9;
}

.home-terminal__body p span,
.home-terminal__body strong span {
  flex: 0 0 auto;
  color: #78baf0;
}

.home-terminal__body code {
  color: inherit;
  font: inherit;
  overflow-wrap: anywhere;
}

.home-terminal__body .home-terminal__continuation {
  margin-top: -9px;
}

.home-terminal__body strong {
  display: block;
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #92a6b6;
  font-size: 0.64rem;
  font-weight: 500;
}

.home-terminal__body strong span {
  margin-right: 6px;
  font-size: 0.55rem;
}

.home-terminal__body .home-terminal__url {
  margin: 12px 0 0;
  color: #a9c5d9;
  font-size: 0.62rem;
  overflow-wrap: anywhere;
}

.home-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(100% - 56px, 1180px);
  margin: 0 auto;
  padding: 0 0 38px;
  gap: 60px;
}

.home-footer__brand p {
  max-width: 370px;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.home-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  gap: 40px;
}

.home-footer__links > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.home-footer__links b {
  margin-bottom: 4px;
  color: var(--home-text);
  font-size: 0.78rem;
}

.home-footer__links a {
  color: var(--home-muted) !important;
  font-size: 0.77rem;
}

.home-footer__links a:hover,
.home-footer__links a:focus-visible {
  color: var(--home-accent) !important;
}

.home-footer__bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  margin-top: 15px;
  padding-top: 18px;
  gap: 24px;
  border-top: 1px solid var(--home-line);
}

.home-footer__legal {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.7rem;
}

.home-language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--home-muted);
}

.home-language__icon {
  font-size: 0.9rem;
  line-height: 1;
}

.home-language select {
  width: auto;
  min-width: 106px;
  max-width: none;
  height: 32px;
  padding: 0 28px 0 9px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  outline: none;
  background: var(--home-surface-solid);
  color: var(--home-muted);
  font-size: 0.72rem;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.home-language select:hover,
.home-language select:focus-visible {
  border-color: var(--home-accent);
  color: var(--home-text);
}

.home-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-has-motion .home-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-has-motion .home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-format-grid .home-reveal:nth-child(2),
.home-governance__grid .home-reveal:nth-child(2) {
  transition-delay: 80ms;
}

.home-format-grid .home-reveal:nth-child(3),
.home-governance__grid .home-reveal:nth-child(3) {
  transition-delay: 160ms;
}

.home-governance__grid .home-reveal:nth-child(4) {
  transition-delay: 240ms;
}

@media (hover: hover) {
  .home-showcase:hover .home-browser {
    transform: rotate(0deg) translateY(-5px);
  }

.home-format-card:hover {
    border-color: color-mix(in srgb, var(--home-accent) 55%, var(--home-line));
    box-shadow: 0 20px 45px rgba(28, 61, 88, 0.1);
    transform: translateY(-5px);
  }

  .home-governance-card:hover .home-governance-card__line {
    width: 54px;
  }
}

@media (max-width: 1080px) {
  .home-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
    gap: 38px;
  }

  .home-hero h1 {
    font-size: clamp(2.9rem, 5.2vw, 4.4rem);
  }

  .home-community {
    gap: 65px;
  }

  .home-selfhost {
    padding: 54px;
    gap: 45px;
  }
}

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

  .home-nav__actions {
    margin-left: auto;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
    gap: 72px;
  }

  .home-hero__copy {
    max-width: 690px;
  }

  .home-showcase {
    width: min(100% - 40px, 720px);
    margin: 0 auto;
  }

  .home-format-grid {
    grid-template-columns: 1fr;
  }

  .home-format-card {
    min-height: 290px;
  }

  .home-community {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .home-community__visual {
    width: min(100%, 620px);
  }

  .home-selfhost {
    grid-template-columns: 1fr;
  }

  .home-terminal {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .home-nav__inner,
  .home-section,
  .home-footer {
    width: min(100% - 36px, 1180px);
  }

  .home-nav__inner {
    height: 60px;
  }

  .home-nav__signin {
    display: none;
  }

  .home-nav__actions {
    gap: 10px;
  }

  .home-theme-toggle {
    width: 36px;
    height: 36px;
  }

  .home-button--small {
    min-height: 36px;
    padding: 0 14px;
  }

  .home-hero {
    padding-top: 55px;
    padding-bottom: 105px;
    gap: 58px;
  }

  .home-eyebrow {
    font-size: 0.65rem;
    line-height: 1.5;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .home-hero__lead {
    font-size: 0.98rem;
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero__actions .home-button {
    width: 100%;
  }

  .home-hero__facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-showcase {
    width: calc(100% - 16px);
  }

  .home-browser {
    border-radius: 12px;
  }

  .home-browser__bar {
    height: 35px;
  }

  .home-float-card {
    min-width: 0;
    padding: 10px;
  }

  .home-float-card--answer {
    top: auto;
    bottom: -34px;
    left: -12px;
  }

  .home-float-card--roles {
    right: -12px;
    bottom: auto;
    top: -38px;
  }

  .home-float-card small,
  .home-float-card--roles > span:last-child {
    display: none;
  }

  .home-section--spacious,
  .home-governance {
    padding-top: 90px;
    padding-bottom: 105px;
  }

  .home-section-heading {
    margin-bottom: 38px;
  }

  .home-section-heading h2,
  .home-community__copy h2,
  .home-selfhost h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .home-format-card {
    min-height: 320px;
    padding: 25px;
  }

  .home-format-card__tag {
    bottom: 25px;
    left: 25px;
  }

  .home-community {
    padding-top: 90px;
    padding-bottom: 105px;
    gap: 65px;
  }

  .home-community__visual {
    padding: 34px 10px 34px 0;
  }

  .home-community__window {
    padding: 12px;
  }

  .home-community__site {
    padding: 10px 8px;
  }

  .home-community__site strong {
    display: none;
  }

  .home-governance__grid {
    grid-template-columns: 1fr;
  }

  .home-governance-card {
    min-height: 195px;
    padding: 28px;
  }

  .home-selfhost {
    width: calc(100% - 24px);
    margin-bottom: 90px;
    padding: 42px 24px;
    gap: 42px;
    border-radius: 19px;
  }

  .home-selfhost__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-selfhost__actions .home-button,
  .home-selfhost__actions .home-text-link {
    width: 100%;
    text-align: center;
  }

  .home-footer {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .home-footer__links {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-page {
    scroll-behavior: auto;
  }

  .home-showcase,
  .home-browser,
  .home-format-card,
  .home-reveal,
  .home-button,
  .home-governance-card__line {
    transition: none !important;
    transform: none !important;
  }
}
