:root {
  color-scheme: light;
  --page: #f8faf8;
  --paper: #ffffff;
  --ink: #121826;
  --muted: #657082;
  --soft: #eef5f1;
  --line: #dce5de;
  --line-strong: #b8c9bf;
  --blue: #2463dc;
  --green: #118365;
  --mint: #d9f5e9;
  --coral: #e56a4e;
  --yellow: #f5c94f;
  --violet: #7c4dff;
  --shadow: 0 18px 48px rgba(18, 24, 38, 0.09);
  --soft-shadow: 0 10px 24px rgba(18, 24, 38, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, #ffffff 0, #f8faf8 520px),
    var(--page);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(18, 24, 38, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 24, 38, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 64%);
}

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

a:focus-visible {
  outline: 3px solid rgba(36, 99, 220, 0.3);
  outline-offset: 3px;
}

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

.page-shell {
  width: min(1120px, calc(100% - 34px));
  margin: 0 auto;
  padding: 30px 0 42px;
}

.kicker,
.button,
.project-label,
.project-card b,
.pill,
.feature-copy em,
.article-card small,
.article-card b,
.link-row small,
.link-row b,
.footer {
  font-family:
    "SFMono-Regular",
    "Roboto Mono",
    ui-monospace,
    Menlo,
    Consolas,
    monospace;
}

.kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 34px;
  align-items: center;
  min-height: 640px;
  padding: 18px 0 34px;
}

.hero-copy {
  min-width: 0;
}

h1 {
  max-width: 11.5em;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.intro {
  max-width: 43em;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.intro.strong {
  max-width: 38em;
  margin-top: 10px;
  color: #273142;
  font-weight: 760;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.support-note {
  max-width: 42em;
  margin-top: 18px;
  border-left: 4px solid var(--green);
  padding: 10px 0 10px 14px;
}

.support-note strong,
.support-note span {
  display: block;
}

.support-note strong {
  color: #1f2a3a;
  font-size: 14px;
  line-height: 1.45;
}

.support-note span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.proof-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: #263345;
  font-size: 12px;
  font-weight: 780;
  background: rgba(255, 255, 255, 0.78);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 16px;
  color: #263345;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(18, 24, 38, 0.05);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button.primary {
  border-color: rgba(17, 131, 101, 0.34);
  color: #063f31;
  background: var(--mint);
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 99, 220, 0.44);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.workbench {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(217, 245, 233, 0.9), rgba(255, 255, 255, 0.56) 38%, rgba(245, 201, 79, 0.16)),
    #ffffff;
  box-shadow: var(--shadow);
}

.workbench::before {
  position: absolute;
  inset: 21px;
  content: "";
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 20px;
  pointer-events: none;
}

.screen {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(18, 24, 38, 0.14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 22px 44px rgba(18, 24, 38, 0.18);
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  padding: 10px 11px;
  color: #ffffff;
  background: rgba(18, 24, 38, 0.78);
  backdrop-filter: blur(10px);
}

.screen figcaption span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 760;
}

.screen figcaption strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.25;
}

.screen-main {
  top: 44px;
  right: 48px;
  width: min(62%, 310px);
  height: 450px;
}

.screen-console {
  bottom: 52px;
  left: 34px;
  width: min(57%, 292px);
  height: 338px;
}

.build-note {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(45%, 230px);
  border: 1px solid rgba(17, 131, 101, 0.24);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.build-note span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.build-note strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid rgba(17, 131, 101, 0.22);
  border-radius: 22px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(217, 245, 233, 0.9), rgba(255, 255, 255, 0.82) 48%, rgba(245, 201, 79, 0.16)),
    #ffffff;
  box-shadow: var(--soft-shadow);
}

.support-section h2 {
  max-width: 12em;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.12;
}

.support-section p {
  max-width: 42em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.support-link {
  display: flex;
  min-height: 154px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(18, 24, 38, 0.04);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.support-link:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 99, 220, 0.38);
  box-shadow: var(--soft-shadow);
}

.support-link span {
  width: fit-content;
  border: 1px solid rgba(36, 99, 220, 0.18);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  background: rgba(36, 99, 220, 0.06);
}

.support-link strong {
  display: block;
  margin-top: 16px;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.2;
}

.support-link small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.support-link.x {
  border-color: rgba(18, 24, 38, 0.2);
}

.support-link.x span {
  border-color: rgba(18, 24, 38, 0.2);
  color: var(--ink);
  background: rgba(18, 24, 38, 0.06);
}

.support-link.threads span {
  border-color: rgba(124, 77, 255, 0.24);
  color: var(--violet);
  background: rgba(124, 77, 255, 0.08);
}

.support-link.note span {
  border-color: rgba(229, 106, 78, 0.24);
  color: var(--coral);
  background: rgba(229, 106, 78, 0.08);
}

.section-head {
  max-width: 680px;
  margin-bottom: 18px;
}

.section-head.compact {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-head.compact .kicker {
  margin-bottom: 0;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.12;
}

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

.project-card {
  position: relative;
  display: flex;
  min-height: 232px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.project-card::after {
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  content: "";
  border-radius: 32px;
  transform: rotate(18deg);
  background: rgba(36, 99, 220, 0.08);
}

.project-card.game::after {
  background: rgba(229, 106, 78, 0.12);
}

.project-card.board::after {
  background: rgba(17, 131, 101, 0.13);
}

.project-card.console::after {
  background: rgba(124, 77, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 99, 220, 0.38);
  box-shadow: var(--shadow);
}

.project-label {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  background: rgba(17, 131, 101, 0.07);
}

.project-card strong {
  display: block;
  margin-top: 16px;
  font-size: 28px;
  line-height: 1.05;
}

.project-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.project-card b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: 20px;
  border: 1px solid rgba(36, 99, 220, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--blue);
  font-size: 11px;
  background: rgba(36, 99, 220, 0.06);
}

.feature {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.feature img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: top center;
  border-right: 1px solid var(--line);
}

.feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px;
}

.feature-copy strong {
  max-width: 24em;
  font-size: clamp(22px, 3.3vw, 36px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.feature-copy span:last-of-type {
  max-width: 42em;
  color: var(--muted);
  font-size: 14px;
}

.feature-copy em,
.pill {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.pill {
  border: 1px solid rgba(229, 106, 78, 0.28);
  color: var(--coral);
  background: rgba(229, 106, 78, 0.08);
}

.feature-copy em {
  margin-top: 4px;
  border: 1px solid rgba(36, 99, 220, 0.22);
  color: var(--blue);
  background: rgba(36, 99, 220, 0.06);
}

.article-stack {
  display: grid;
  gap: 12px;
}

.article-card {
  position: relative;
  display: grid;
  min-height: 136px;
  grid-template-columns: 150px 1fr auto;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.9);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 99, 220, 0.4);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.article-card img {
  width: 100%;
  height: 110px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
  background: var(--soft);
}

.article-card span {
  min-width: 0;
}

.article-card small {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.article-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.3;
}

.article-card em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.article-card b {
  flex: 0 0 auto;
  border: 1px solid rgba(36, 99, 220, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  background: rgba(36, 99, 220, 0.06);
}

.article-card.pending {
  border-color: rgba(229, 106, 78, 0.28);
  background:
    linear-gradient(90deg, rgba(229, 106, 78, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.92);
}

.article-card.pending:hover {
  transform: none;
  box-shadow: none;
}

.article-card.pending small,
.article-card.pending b {
  color: var(--coral);
}

.article-card.pending b {
  border-color: rgba(229, 106, 78, 0.22);
  background: rgba(229, 106, 78, 0.08);
}

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

.link-group {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.link-group.products {
  grid-column: 1 / -1;
}

.link-group h3 {
  margin: 0 0 10px;
  color: #2b3443;
  font-size: 15px;
}

.link-row {
  position: relative;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: #ffffff;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.link-row + .link-row {
  margin-top: 9px;
}

.link-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--blue);
  opacity: 0;
  transition: opacity 160ms ease;
}

.link-row:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 99, 220, 0.38);
  box-shadow: var(--soft-shadow);
}

.link-row:hover::before {
  opacity: 1;
}

.link-row span {
  min-width: 0;
}

.link-row strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.35;
}

.link-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.link-row b {
  flex: 0 0 auto;
  border: 1px solid rgba(36, 99, 220, 0.18);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  background: rgba(36, 99, 220, 0.06);
}

.link-row.primary {
  border-color: rgba(17, 131, 101, 0.24);
  background:
    linear-gradient(90deg, rgba(17, 131, 101, 0.075), transparent 44%),
    #ffffff;
}

.link-row.primary::before {
  background: var(--green);
}

.link-row.primary b {
  border-color: rgba(17, 131, 101, 0.2);
  color: var(--green);
  background: rgba(17, 131, 101, 0.08);
}

.link-row.soon {
  border-style: dashed;
  color: rgba(18, 24, 38, 0.62);
  background: rgba(255, 255, 255, 0.58);
}

.link-row.soon b {
  border-color: rgba(145, 105, 10, 0.24);
  color: #84620b;
  background: rgba(245, 201, 79, 0.18);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

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

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

  .workbench {
    min-height: 530px;
  }

  .screen-main {
    right: 7%;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, 1120px);
    padding-top: 22px;
  }

  .hero {
    gap: 24px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(32px, 9.4vw, 46px);
  }

  .intro {
    font-size: 14px;
    line-break: anywhere;
    word-break: break-word;
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    min-height: 44px;
    padding: 0 13px;
  }

  .support-note {
    padding-left: 12px;
  }

  .workbench {
    min-height: 475px;
    border-radius: 22px;
    padding: 18px;
  }

  .workbench::before {
    inset: 15px;
    border-radius: 17px;
  }

  .screen {
    border-radius: 18px;
  }

  .screen-main {
    top: 28px;
    right: 20px;
    width: 57%;
    height: 352px;
  }

  .screen-console {
    bottom: 52px;
    left: 18px;
    width: 58%;
    height: 286px;
  }

  .build-note {
    right: 18px;
    bottom: 18px;
    width: 50%;
    border-radius: 16px;
    padding: 12px;
  }

  .build-note strong {
    font-size: 15px;
  }

  .section {
    margin-top: 28px;
    padding-top: 24px;
  }

  .support-section {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 6px;
    border-radius: 18px;
    padding: 18px;
  }

  .support-section p {
    font-size: 14px;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }

  .support-link {
    min-height: 104px;
    border-radius: 14px;
  }

  .section-head.compact {
    display: block;
  }

  .section-head.compact .kicker {
    margin-bottom: 8px;
  }

  .project-grid,
  .link-columns {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 198px;
  }

  .feature {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .feature img {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-copy {
    padding: 19px;
  }

  .feature-copy strong {
    font-size: 21px;
    line-break: anywhere;
    word-break: break-word;
  }

  .article-card {
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: start;
  }

  .article-card img {
    height: 96px;
  }

  .article-card b {
    grid-column: 2;
    width: fit-content;
    margin-top: -2px;
  }

  .article-card strong,
  .link-row strong {
    line-break: anywhere;
    word-break: break-word;
  }

  .link-row,
  .project-card,
  .article-card {
    border-radius: 14px;
  }

  .button:hover,
  .project-card:hover,
  .feature:hover,
  .article-card:hover,
  .link-row:hover {
    transform: none;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .workbench {
    min-height: 430px;
  }

  .screen-main {
    right: 16px;
    width: 60%;
    height: 324px;
  }

  .screen-console {
    bottom: 54px;
    width: 61%;
    height: 246px;
  }

  .screen figcaption {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 8px;
  }

  .screen figcaption strong {
    font-size: 12px;
  }

  .build-note {
    width: 54%;
  }

  .article-card {
    grid-template-columns: 84px 1fr;
    padding: 11px;
  }

  .article-card img {
    height: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
