:root {
  color-scheme: light dark;
  --ink: #10140f;
  --ink-2: #171d16;
  --paper: #f4eedf;
  --paper-2: #dde4d5;
  --line: rgba(16, 20, 15, 0.22);
  --soft-line: rgba(242, 236, 217, 0.26);
  --muted: #545b50;
  --muted-light: #c4baa0;
  --green: #63e66a;
  --cyan: #38c9ce;
  --coral: #f06a4f;
  --amber: #f5c84b;
  --rose: #e75f81;
  --shadow: 8px 8px 0 rgba(16, 20, 15, 0.28);
  --max-width: 1180px;
  --font-ui:
    ui-monospace, "SFMono-Regular", "Cascadia Mono", "Liberation Mono",
    "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--paper);
  border-bottom: 1px solid rgba(242, 236, 217, 0.18);
  background: rgba(14, 18, 13, 0.91);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(245, 240, 231, 0.42);
  border-radius: 2px;
  background:
    linear-gradient(var(--green) 0 0) center / 8px 8px no-repeat,
    rgba(245, 240, 231, 0.08);
  box-shadow: 3px 3px 0 rgba(99, 230, 106, 0.24);
  flex: 0 0 auto;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(16, 20, 15, 0.8);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: rgba(245, 240, 231, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  border-color: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
  padding: 104px clamp(22px, 6vw, 72px) 76px;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid rgba(16, 20, 15, 0.34);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 11px,
      rgba(242, 236, 217, 0.2) 12px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 11px,
      rgba(242, 236, 217, 0.12) 12px
    );
  pointer-events: none;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.2;
  filter: saturate(0.92) contrast(1.2);
  image-rendering: pixelated;
}

.hero-scrim {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 39%, rgba(56, 201, 206, 0.14), transparent 32%),
    linear-gradient(90deg, rgba(16, 20, 15, 0.99) 0%, rgba(16, 20, 15, 0.93) 47%, rgba(16, 20, 15, 0.76) 100%),
    linear-gradient(180deg, rgba(16, 20, 15, 0.24), rgba(16, 20, 15, 0.92));
}

.hero-content {
  width: min(690px, 100%);
  min-width: 0;
  padding-top: 18px;
}

.pixel-console {
  justify-self: end;
  width: min(470px, 100%);
  min-width: 0;
  border: 2px solid rgba(242, 236, 217, 0.78);
  background: #121710;
  box-shadow: var(--shadow);
  transform: translateY(22px);
}

.pixel-titlebar {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-bottom: 2px solid rgba(242, 236, 217, 0.78);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(242, 236, 217, 0.12) 0 8px,
      transparent 8px 16px
    ),
    #20291d;
}

.pixel-titlebar span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--paper);
}

.pixel-titlebar span:nth-child(1) {
  background: var(--green);
}

.pixel-titlebar span:nth-child(2) {
  background: var(--amber);
}

.pixel-titlebar span:nth-child(3) {
  background: var(--rose);
}

.pixel-screen {
  display: grid;
  gap: 14px;
  padding: 30px 28px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(242, 236, 217, 0.04) 0 2px,
      transparent 2px 8px
    ),
    #121710;
}

.pixel-row {
  display: grid;
  grid-template-columns: 18px 1fr 64px;
  gap: 12px;
  align-items: center;
  min-height: 44px;
}

.pixel-row i,
.pixel-row b,
.pixel-row em {
  display: block;
  min-width: 0;
  height: 14px;
  border: 1px solid rgba(242, 236, 217, 0.35);
  font-style: normal;
}

.pixel-row i {
  height: 18px;
}

.pixel-row b {
  background:
    linear-gradient(currentColor 0 0) left center / 72% 6px no-repeat,
    rgba(242, 236, 217, 0.06);
}

.pixel-row em {
  background:
    linear-gradient(currentColor 0 0) center / 42px 6px no-repeat,
    rgba(242, 236, 217, 0.05);
}

.pixel-row-active {
  color: var(--green);
}

.pixel-row-away {
  color: var(--amber);
}

.pixel-row-idle {
  color: var(--cyan);
}

.pixel-row-off {
  color: var(--rose);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p,
a,
.buddy-list strong {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  width: min-content;
  max-width: 100%;
  font-size: 5.15rem;
  font-weight: 900;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h1 span + span {
  color: rgba(245, 240, 231, 0.62);
}

.hero-copy {
  width: min(600px, 100%);
  margin: 24px 0 0;
  color: rgba(245, 240, 231, 0.82);
  font-size: 1.2rem;
  line-height: 1.55;
}

.presence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.presence-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(245, 240, 231, 0.18);
  border-radius: 2px;
  background: rgba(245, 240, 231, 0.09);
  color: rgba(245, 240, 231, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(18px);
}

.presence-pill span {
  width: 9px;
  height: 9px;
  border-radius: 1px;
  flex: 0 0 auto;
}

.presence-pill.online span,
.signal-dot.online {
  background: var(--green);
  box-shadow: 0 0 14px rgba(115, 245, 121, 0.86);
}

.presence-pill.away span,
.signal-dot.away {
  background: var(--amber);
  box-shadow: 0 0 14px rgba(245, 200, 75, 0.7);
}

.presence-pill.idle span,
.signal-dot.idle {
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(71, 211, 255, 0.78);
}

.presence-pill.offline span,
.signal-dot.offline {
  background: var(--rose);
  box-shadow: 0 0 14px rgba(239, 90, 122, 0.72);
}

.section-inner {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(54px, 8vw, 96px) 0;
  background:
    linear-gradient(rgba(16, 20, 15, 0.035) 1px, transparent 1px) 0 0 / 100% 11px,
    var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: end;
}

.intro-grid h2,
.preview-copy h2,
.signals-header h2 {
  font-size: 4.35rem;
  font-weight: 900;
}

.intro-grid p:not(.section-kicker),
.preview-copy p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.feature-section {
  padding: 0 0 clamp(62px, 9vw, 112px);
  background: var(--paper);
}

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

.feature-card,
.signal-grid article {
  min-height: 268px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(rgba(16, 20, 15, 0.03) 1px, transparent 1px) 0 0 / 10px 10px,
    rgba(255, 252, 246, 0.64);
  box-shadow: 0 14px 28px rgba(16, 20, 15, 0.07);
}

.feature-card:nth-child(2) {
  transform: translateY(18px);
}

.feature-card:nth-child(3) {
  transform: translateY(36px);
}

.feature-card h3,
.signal-grid h3 {
  margin-top: 26px;
  font-size: 1.35rem;
  line-height: 1.05;
}

.feature-card p,
.signal-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid rgba(6, 17, 17, 0.16);
  background:
    linear-gradient(90deg, rgba(16, 20, 15, 0.18) 50%, transparent 50%) 0 0 / 10px 10px,
    var(--green);
}

.feature-icon-cyan {
  background:
    linear-gradient(90deg, rgba(16, 20, 15, 0.18) 50%, transparent 50%) 0 0 / 10px 10px,
    var(--cyan);
}

.feature-icon-coral {
  background:
    linear-gradient(90deg, rgba(16, 20, 15, 0.18) 50%, transparent 50%) 0 0 / 10px 10px,
    var(--coral);
}

.preview-section {
  padding: clamp(70px, 10vw, 132px) 0;
  color: var(--paper);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(242, 236, 217, 0.05) 0 1px,
      transparent 1px 12px
    ),
    radial-gradient(circle at 18% 24%, rgba(99, 230, 106, 0.12), transparent 30%),
    var(--ink);
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
}

.preview-copy p:not(.section-kicker) {
  color: var(--muted-light);
  margin-top: 24px;
}

.status-window {
  border: 2px solid var(--soft-line);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(18, 23, 16, 0.95);
  box-shadow: var(--shadow);
  max-width: 560px;
  justify-self: end;
}

.window-bar {
  display: grid;
  grid-template-columns: 12px 12px 12px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--soft-line);
  color: rgba(245, 240, 231, 0.54);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dot.mint {
  background: var(--green);
}

.window-dot.amber {
  background: var(--amber);
}

.window-dot.rose {
  background: var(--rose);
}

.window-title {
  justify-self: end;
}

.profile-strip {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--soft-line);
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  width: 64px;
  height: 64px;
  padding: 5px;
  border: 1px solid rgba(245, 240, 231, 0.2);
  border-radius: 2px;
  background: rgba(245, 240, 231, 0.08);
}

.avatar-grid span {
  border-radius: 1px;
  background: var(--cyan);
}

.avatar-grid span:nth-child(2) {
  background: var(--green);
}

.avatar-grid span:nth-child(3) {
  background: var(--coral);
}

.avatar-grid span:nth-child(4) {
  background: var(--amber);
}

.profile-strip strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.profile-strip > div:last-child span {
  display: block;
  margin-top: 6px;
  color: var(--muted-light);
}

.buddy-list {
  list-style: none;
  margin: 0;
  padding: 10px;
}

.buddy-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 12px 14px;
  border-radius: 2px;
}

.buddy-list li + li {
  border-top: 1px solid rgba(245, 240, 231, 0.1);
}

.service-tag {
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  border: 1px solid rgba(245, 240, 231, 0.18);
  border-radius: 1px;
  color: rgba(245, 240, 231, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
}

.buddy-list strong {
  min-width: 0;
  color: var(--paper);
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(245, 240, 231, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 1px;
}

.state-online::before {
  background: var(--green);
}

.state-away::before {
  background: var(--amber);
}

.state-idle::before {
  background: var(--cyan);
}

.state-offline::before {
  background: var(--rose);
}

.signals-section {
  padding: clamp(68px, 10vw, 124px) 0;
  background:
    linear-gradient(90deg, rgba(16, 20, 15, 0.04) 1px, transparent 1px) 0 0 / 18px 100%,
    var(--paper-2);
}

.signals-header {
  width: min(760px, 100%);
  margin-bottom: 36px;
}

.signal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-grid article {
  min-height: 224px;
}

.signal-dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 1px;
}

.site-footer {
  background: var(--ink);
  color: rgba(245, 240, 231, 0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 0.9rem;
}

.footer-inner span:first-child {
  color: var(--paper);
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    padding-top: 16px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 88vh;
    min-height: 88svh;
    grid-template-columns: 1fr;
    align-content: center;
  }

  h1 {
    font-size: 4.45rem;
  }

  .intro-grid h2,
  .preview-copy h2,
  .signals-header h2 {
    font-size: 3.25rem;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(16, 20, 15, 0.97) 0%, rgba(16, 20, 15, 0.9) 100%),
      linear-gradient(180deg, rgba(16, 20, 15, 0.34), rgba(16, 20, 15, 0.9));
  }

  .pixel-console {
    justify-self: start;
    width: min(460px, 100%);
    transform: none;
  }

  .intro-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card:nth-child(2),
  .feature-card:nth-child(3) {
    transform: none;
  }

  .status-window {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    display: block;
  }

  .brand {
    max-width: 100%;
  }

  .site-nav {
    margin-top: 14px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    gap: 22px;
    padding-right: 22px;
    padding-left: 22px;
    padding-top: 138px;
    padding-bottom: 30px;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: 3.05rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .intro-grid h2,
  .preview-copy h2,
  .signals-header h2 {
    font-size: 2.35rem;
  }

  .hero-image {
    object-position: 67% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(16, 20, 15, 0.98) 0%, rgba(16, 20, 15, 0.92) 100%),
      linear-gradient(180deg, rgba(16, 20, 15, 0.36), rgba(16, 20, 15, 0.9));
  }

  .pixel-console {
    width: 100%;
    max-width: 100%;
    box-shadow: 6px 6px 0 rgba(16, 20, 15, 0.26);
  }

  .pixel-screen {
    padding: 20px 18px;
  }

  .pixel-row {
    grid-template-columns: 16px 1fr 48px;
    gap: 8px;
  }

  .feature-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .signal-grid article {
    min-height: 210px;
  }

  .status-window {
    margin: 0 -4px;
  }

  .profile-strip {
    grid-template-columns: 52px 1fr;
    padding: 18px;
  }

  .avatar-grid {
    width: 52px;
    height: 52px;
  }

  .buddy-list li {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .state {
    grid-column: 2;
    justify-self: start;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 480px) {
  h1 {
    width: 100%;
    font-size: 2.65rem;
  }

  .pixel-screen {
    padding: 18px 12px;
  }

  .pixel-row {
    grid-template-columns: 14px minmax(0, 1fr) 36px;
    gap: 6px;
    min-height: 38px;
  }

  .pixel-row i {
    height: 16px;
  }

  .pixel-row em {
    background:
      linear-gradient(currentColor 0 0) center / 30px 6px no-repeat,
      rgba(242, 236, 217, 0.05);
  }
}

@media (max-width: 380px) {
  .hero {
    gap: 16px;
    padding-top: 118px;
    padding-bottom: 20px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .brand {
    font-size: 0.86rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .presence-row {
    gap: 8px;
    margin-top: 20px;
  }

  .presence-pill {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  .pixel-titlebar {
    min-height: 30px;
  }

  .pixel-screen {
    gap: 8px;
    padding: 14px 10px;
  }

  .pixel-row {
    grid-template-columns: 12px minmax(0, 1fr) 32px;
    min-height: 32px;
  }

  .pixel-row i {
    height: 14px;
  }

  .pixel-row b,
  .pixel-row em {
    height: 12px;
  }

  .pixel-row em {
    background:
      linear-gradient(currentColor 0 0) center / 26px 5px no-repeat,
      rgba(242, 236, 217, 0.05);
  }
}
