:root {
  color-scheme: dark;
  --black: #080808;
  --panel: #101011;
  --line: #262629;
  --soft-line: #1a1a1c;
  --white: #f0f0ed;
  --muted: #98989f;
  --dim: #65656d;
  --accent: #c9ff5c;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 12%, rgba(201, 255, 92, 0.04), transparent 24rem),
    var(--black);
  color: var(--white);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header,
footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  height: 88px;
  border-bottom: 1px solid var(--soft-line);
}

.wordmark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #3b3b3f;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 32px;
}

nav a,
footer {
  color: var(--muted);
  font-size: 13px;
}

nav a:hover,
footer a:hover {
  color: var(--white);
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding: 74px 0 90px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 34px;
  font-size: clamp(70px, 9vw, 132px);
  font-weight: 450;
  letter-spacing: -0.075em;
  line-height: 0.76;
}

h1 span {
  color: var(--muted);
  font-weight: 300;
}

.subtitle {
  max-width: 570px;
  margin-bottom: 32px;
  color: #b4b4b8;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 350;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #343438;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 650;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #11120d;
}

.button-primary:hover {
  background: #d6ff83;
}

.button-secondary {
  background: #101012;
}

.button-secondary:hover {
  border-color: #626269;
}

.platform-note {
  margin: 20px 0 0;
  color: var(--dim);
  font-size: 12px;
}

.demo-wrap {
  position: relative;
}

.ambient {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.ambient-one {
  top: -30px;
  right: 8%;
  background: var(--accent);
}

.ambient-two {
  bottom: 10%;
  left: -5%;
  background: #7979ff;
}

.desktop {
  position: relative;
  aspect-ratio: 1.36;
  overflow: hidden;
  border: 1px solid #343438;
  border-radius: 5px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #121214;
  background-size: 32px 32px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.54);
}

.desktop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
}

.desktop-bar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #252528;
  color: #76767e;
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a7b38e;
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.demo-window {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 1px solid #4b4b50;
  border-radius: 4px;
  background: rgba(29, 29, 32, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  will-change: transform;
}

.window-one {
  width: 47%;
  height: 43%;
  left: 8%;
  top: 18%;
}

.window-two {
  width: 38%;
  height: 50%;
  left: 54%;
  top: 28%;
}

.window-three {
  width: 33%;
  height: 29%;
  left: 17%;
  top: 61%;
}

.window-chrome {
  height: 23px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-bottom: 1px solid #3b3b40;
  background: #252529;
}

.window-chrome i {
  width: 5px;
  height: 5px;
  border: 1px solid #717179;
  border-radius: 50%;
}

.window-content {
  height: calc(100% - 23px);
}

.lines {
  padding: 11%;
}

.lines b,
.lines span {
  display: block;
  height: 3px;
  margin-bottom: 9%;
  background: #4b4b52;
}

.lines b {
  width: 53%;
  height: 6px;
  background: #b1b1b5;
}

.lines span:nth-child(3) {
  width: 82%;
}

.lines span:nth-child(4) {
  width: 66%;
}

.artwork {
  position: relative;
  background: linear-gradient(135deg, #24242b, #141417);
}

.artwork::before,
.artwork span {
  content: "";
  position: absolute;
  border: 1px solid #73737e;
  border-radius: 50%;
}

.artwork::before {
  width: 47%;
  aspect-ratio: 1;
  top: 18%;
  left: 25%;
}

.artwork span {
  width: 23%;
  aspect-ratio: 1;
  top: 40%;
  left: 40%;
  border-color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 9px;
}

.grid span {
  border: 1px solid #3f3f45;
  background: #29292e;
}

.taskbar {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-top: 1px solid #29292d;
  background: rgba(15, 15, 17, 0.94);
}

.taskbar i {
  width: 12px;
  height: 12px;
  border: 1px solid #525259;
  border-radius: 2px;
}

.taskbar time {
  margin-left: auto;
  color: #686870;
  font-family: Consolas, monospace;
  font-size: 8px;
}

.demo-caption {
  margin: 15px 0 0;
  color: var(--dim);
  font-size: 11px;
  text-align: right;
}

.manifesto {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  background: #0c0c0d;
}

.manifesto p {
  margin: 0;
  color: #5c5c62;
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.manifesto p:last-child {
  color: var(--white);
  margin-left: 12vw;
}

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

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 350;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 280px;
  padding: 28px 25px;
  border-right: 1px solid var(--line);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-grid article > span,
.safety-list span {
  color: var(--dim);
  font-family: Consolas, monospace;
  font-size: 10px;
}

h3 {
  margin: 95px 0 15px;
  font-size: 19px;
  font-weight: 500;
}

.feature-grid p,
.safety-copy > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.safety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  border-top: 1px solid var(--soft-line);
}

.safety-copy > p:last-child {
  max-width: 520px;
  margin: 32px 0 0;
}

.safety-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.safety-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: #c3c3c7;
  font-size: 14px;
}

.closing {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  border-top: 1px solid var(--soft-line);
  background:
    radial-gradient(circle at center, rgba(201, 255, 92, 0.08), transparent 28rem),
    #0b0b0c;
  text-align: center;
}

.closing h2 {
  margin-bottom: 42px;
}

.creator {
  min-height: 54vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  border-top: 1px solid var(--soft-line);
  text-align: center;
}

.creator img {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border-radius: 16px;
}

.creator h2 {
  margin-bottom: 28px;
}

.creator-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.creator-links a {
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid #3b3b40;
  padding-bottom: 5px;
}

.creator-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

footer {
  min-height: 120px;
  border-top: 1px solid var(--soft-line);
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .demo-wrap {
    width: min(100%, 720px);
  }

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

  .feature-grid article:nth-child(2) {
    border-right: 0;
  }

  .feature-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 560px) {
  .site-header,
  footer,
  .hero,
  .section {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    height: 72px;
  }

  nav {
    gap: 18px;
  }

  nav a:not(.repo-link) {
    display: none;
  }

  .hero {
    padding: 64px 0 74px;
  }

  h1 {
    font-size: clamp(66px, 23vw, 104px);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .feature-grid article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  h3 {
    margin-top: 60px;
  }

  .section {
    padding: 100px 0;
  }

  footer {
    min-height: 150px;
  }

  footer p {
    max-width: 160px;
    text-align: center;
  }
}

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

  .button {
    transition: none;
  }
}
