:root {
  color-scheme: dark;
  --page: #0a0b0b;
  --surface: #101212;
  --surface-raised: #141716;
  --line: #282d2a;
  --text: #f2f4f1;
  --muted: #9ba29d;
  --quiet: #6f7771;
  --accent: #b4ed91;
  --content-width: 1080px;
  --font-sans: Inter, "Segoe UI", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

.content-width {
  width: min(var(--content-width), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(10 11 11 / 94%);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 64px));
  height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.brand-logo {
  width: 36px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.brand-name {
  color: #e4e8e3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--muted);
  font-size: 11px;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.account-area {
  display: flex;
  justify-content: flex-end;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 650;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-small {
  min-height: 36px;
  padding-inline: 11px;
  font-size: 10px;
}

.button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.button-outline {
  border-color: #39403b;
  color: var(--text);
}

.button-outline:hover {
  border-color: #697365;
  background: #141716;
}

.button-primary {
  background: var(--text);
  color: #111411;
}

.button-primary:hover {
  background: var(--accent);
}

.user-chip {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 5px 4px 9px;
  border: 1px solid #39403b;
  border-radius: 4px;
  font-size: 10px;
}

.user-chip img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-raised);
}

.user-chip form {
  margin: 0;
}

.user-chip button {
  padding: 4px 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 9px;
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  align-items: center;
  gap: 80px;
  padding-block: 82px;
}

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

.eyebrow {
  margin: 0;
  color: #b3bbb4;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.eyebrow > span:not(.eyebrow-mark) {
  color: #586159;
}

.eyebrow-mark {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
}

.hero h1 {
  margin: 24px 0 18px;
  font-size: clamp(44px, 5.5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.07;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lede {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 27px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d2d7d2;
  font-size: 11px;
}

.text-link span,
.update-link span {
  color: var(--accent);
}

.text-link:hover,
.update-link:hover {
  color: var(--accent);
}

.hero-note {
  margin: 35px 0 0;
  padding-left: 12px;
  border-left: 1px solid #525b52;
  color: var(--quiet);
  font-size: 10px;
}

.product-card {
  width: 100%;
  max-width: 390px;
  justify-self: end;
  padding: 22px;
  border: 1px solid #303632;
  border-radius: 6px;
  background: var(--surface);
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.product-kicker,
.product-version {
  margin: 0;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.product-card h2 {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.product-version {
  padding: 5px 7px;
  border: 1px solid #303632;
  border-radius: 3px;
}

.product-server {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 17px;
  padding: 12px;
  border: 1px solid #2b312d;
  border-radius: 4px;
  background: #0d0f0e;
}

.server-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #22291f;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.product-server small,
.product-server strong {
  display: block;
}

.product-server small {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.product-server strong {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
}

.server-arrow {
  margin-left: auto;
  color: #758071;
  font-size: 13px;
}

.product-list {
  margin-top: 15px;
}

.product-row {
  min-height: 39px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  border-bottom: 1px solid #252a27;
  font-size: 10px;
}

.row-number,
.row-type {
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 8px;
}

.row-type {
  letter-spacing: 0.08em;
}

.product-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 0;
  color: #7f8a7c;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
}

.product-card-footer span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.section-block {
  border-top: 1px solid var(--line);
}

.features {
  padding-block: 92px 86px;
}

.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 36px;
}

.section-intro h2,
.updates h2,
.about h2 {
  margin: 17px 0 0;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.section-summary {
  max-width: 340px;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

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

.feature-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0d0f0e;
  transition: border-color 160ms ease;
}

.feature-card:hover {
  border-color: #586351;
}

.feature-screenshot {
  width: 100%;
  aspect-ratio: 754 / 450;
  display: block;
  border-bottom: 1px solid var(--line);
  background: #282820;
  object-fit: contain;
}

.feature-body {
  padding: 17px 18px 19px;
}

.feature-body h3 {
  margin: 7px 0 5px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.feature-body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.feature-category {
  display: inline-block;
  margin: 0;
  color: #778078;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.feature-category span {
  color: var(--accent);
}

.feature-disclaimer {
  margin: 13px 0 0;
  color: var(--quiet);
  font-size: 9px;
}

.updates {
  padding-block: 72px;
  background: #0e1010;
}

.updates-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 90px;
}

.updates h2 {
  margin-top: 15px;
}

.updates-intro {
  max-width: 280px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.update-card {
  padding: 24px;
  border: 1px solid #303632;
  border-radius: 5px;
  background: #111414;
}

.update-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #879087;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.update-card h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.update-card p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.update-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 600;
}

.about {
  padding-block: 88px;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.about-monogram {
  display: block;
  margin-top: 34px;
  color: #252d27;
  font-size: clamp(64px, 9vw, 112px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
}

.about-copy {
  max-width: 610px;
}

.about-copy h2 {
  margin: 0 0 20px;
}

.about-copy h2 span {
  color: var(--accent);
}

.about-copy p {
  max-width: 570px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.about-copy .button {
  margin-top: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-main {
  min-height: 83px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.footer-main p {
  margin: 0;
  color: var(--quiet);
  font-size: 9px;
  text-align: center;
}

.footer-top-link {
  justify-self: end;
  color: var(--muted);
  font-size: 9px;
}

.footer-top-link:hover {
  color: var(--accent);
}

.footer-legal {
  min-height: 43px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-top: 1px solid #202422;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 7px;
}

.footer-legal a {
  color: #aeb6af;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100% - 40px));
  padding: 13px 15px;
  border: 1px solid #465044;
  border-radius: 5px;
  background: #141915;
  color: var(--text);
  box-shadow: 0 10px 30px rgb(0 0 0 / 35%);
  font-size: 11px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  :root {
    --content-width: 760px;
  }

  .hero {
    grid-template-columns: 1fr 0.82fr;
    gap: 35px;
  }

  .updates-layout,
  .about-layout {
    gap: 50px;
  }
}

@media (max-width: 650px) {
  html {
    scroll-padding-top: 72px;
  }

  .content-width,
  .header-inner {
    width: calc(100% - 36px);
  }

  .header-inner {
    height: 64px;
    display: flex;
    justify-content: space-between;
  }

  .brand-logo {
    width: 33px;
    height: 28px;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    order: 3;
    padding: 7px;
    border: 1px solid #39403b;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: var(--text);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 63px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #101212;
    box-shadow: 0 14px 30px rgb(0 0 0 / 35%);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 3px;
    border-bottom: 1px solid #252a27;
    font-size: 11px;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .account-area {
    margin-left: auto;
    margin-right: 10px;
  }

  .button-small {
    min-height: 33px;
    padding-inline: 8px;
    gap: 6px;
    font-size: 8px;
  }

  .button-small svg {
    width: 13px;
    height: 13px;
  }

  .user-chip {
    min-height: 33px;
    gap: 6px;
    padding: 3px 4px 3px 6px;
    font-size: 8px;
  }

  .user-chip img {
    width: 22px;
    height: 22px;
  }

  .user-chip [data-user-name] {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 39px;
    padding-block: 66px 54px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(43px, 11vw, 59px);
  }

  .hero-lede {
    font-size: 12px;
  }

  .hero-note {
    margin-top: 25px;
  }

  .product-card {
    max-width: 460px;
    justify-self: stretch;
    padding: 18px;
  }

  .features {
    padding-block: 68px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-intro {
    display: block;
    margin-bottom: 25px;
  }

  .section-intro h2,
  .updates h2,
  .about h2 {
    font-size: 37px;
  }

  .section-summary {
    margin-top: 15px;
  }

  .feature-body {
    padding: 14px 15px 16px;
  }

  .updates {
    padding-block: 60px;
  }

  .updates-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .updates-intro {
    max-width: 360px;
  }

  .update-card {
    padding: 18px;
  }

  .update-card h3 {
    font-size: 15px;
  }

  .about {
    padding-block: 65px;
  }

  .about-monogram {
    display: none;
  }

  .about-copy h2 {
    margin-top: 0;
  }

  .about-copy p {
    font-size: 10px;
  }

  .footer-main {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .footer-main p {
    display: none;
  }

  .footer-legal {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 12px;
    font-size: 6px;
  }

  .footer-legal span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .content-width,
  .header-inner {
    width: calc(100% - 28px);
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-actions .button {
    padding-inline: 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
