:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    sans-serif;
  color-scheme: dark;
  --bg: #0c1216;
  --surface: #121d22;
  --raised: #1b2b2e;
  --text: #eef4f1;
  --muted: #a5b7b1;
  --accent: #a6f4cf;
  --line: #2d4042;
  --on-accent: #10281e;
  color: var(--text);
  background: var(--bg);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8f7;
  --surface: #fff;
  --raised: #e6f0eb;
  --text: #19392b;
  --muted: #51685e;
  --accent: #176645;
  --line: #ccd8d2;
  --on-accent: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: var(--accent);
  color: var(--on-accent);
  z-index: 10;
}
.skip-link:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  top: 10px;
}
header,
main,
footer {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
header {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font:
    700 27px ui-monospace,
    "SFMono-Regular",
    monospace;
  letter-spacing: -1.4px;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.brand span {
  color: var(--accent);
  margin-left: 10px;
  font-weight: 400;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
header nav a:hover {
  color: var(--accent);
}
.preferences {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
#language-choice {
  min-width: 44px;
  min-height: 44px;
  padding: 9px;
  color: var(--text);
  background: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
}
.landing-theme {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}
.landing-theme select {
  appearance: none;
  -webkit-appearance: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 28px 11px 11px;
  min-height: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    right 14px center,
    right 10px center;
  background-size: 4px 4px;
  background-repeat: no-repeat;
  font-size: 13px;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  padding-block: 80px 74px;
}
.eyebrow {
  color: var(--accent);
  font:
    10px/1.8 ui-monospace,
    "SFMono-Regular",
    monospace;
  letter-spacing: 1.8px;
}
.intro-copy > .eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
}
.status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  font-size: clamp(36px, 4.1vw, 56px);
  overflow-wrap: anywhere;
  line-height: 1.35;
  letter-spacing: -1.8px;
  margin-block: 25px;
  font-weight: 700;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.intro {
  max-width: 470px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.primary {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 14px 20px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
}
.primary:hover {
  filter: brightness(1.07);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  font-size: 13px;
  color: var(--muted);
}
.intro-footnote {
  margin-top: 23px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.signal-board {
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.signal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  color: var(--muted);
  font:
    10px ui-monospace,
    monospace;
  border-bottom: 1px solid var(--line);
}
.signal-bar > span:first-child {
  display: flex;
  gap: 5px;
}
.signal-bar i {
  width: 6px;
  height: 6px;
  background: var(--muted);
  opacity: 0.55;
  border-radius: 50%;
}
.signal-bar b {
  color: var(--accent);
  font-size: 16px;
}
.signal-board svg {
  width: 100%;
  height: auto;
  display: block;
}
.orbit-lines {
  opacity: 0.75;
}
.signal-caption {
  display: flex;
  justify-content: space-between;
  padding: 0 26px 24px;
  font:
    10px/1.75 ui-monospace,
    monospace;
  letter-spacing: 1.5px;
}
.signal-caption > span:last-child {
  text-align: right;
  color: var(--muted);
  letter-spacing: 0.5px;
  align-self: end;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
h2 {
  font-size: 27px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.section-heading h2,
.create-intro h2 {
  margin-top: 12px;
}
.create-intro h2 {
  white-space: pre-line;
}
.section-aside {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.category-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.18s;
}
.category-card:last-child {
  border: 0;
}
.category-card:hover {
  background: var(--raised);
}
.category-code {
  font:
    10px ui-monospace,
    monospace;
  color: var(--muted);
  letter-spacing: 1px;
}
.category-symbol {
  font:
    34px/1.5 ui-monospace,
    monospace;
  color: var(--accent);
  margin-block: 22px 16px;
}
.category-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}
.category-card p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 26px;
}
.category-action {
  margin-top: auto;
  color: var(--accent);
  font-size: 12px;
  min-height: 28px;
  display: flex;
  align-items: end;
}
.create-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  margin-block: 80px;
  padding-block: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.create-intro p:last-child {
  max-width: 450px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 20px;
}
.process {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process li {
  display: flex;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.process li:first-child {
  padding-top: 0;
}
.process li:last-child {
  border: 0;
  padding-bottom: 0;
}
.process li > span {
  font:
    11px/2 ui-monospace,
    monospace;
  color: var(--accent);
}
.process h3 {
  font-size: 15px;
  font-weight: 550;
  margin-bottom: 7px;
}
.process p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}
.closing h2 {
  font-size: 24px;
  margin-top: 12px;
}
footer {
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font:
    10px/1.8 ui-monospace,
    monospace;
}
footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 960px) {
  header,
  main,
  footer {
    width: calc(100% - 48px);
  }
  header {
    gap: 28px;
  }
  .intro-grid {
    gap: 30px;
    padding-block: 50px;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-card {
    border-bottom: 1px solid var(--line);
  }
  .category-card:nth-child(2) {
    border-right: 0;
  }
  .category-card:nth-child(3) {
    border-bottom: 0;
  }
  .create-section {
    gap: 40px;
  }
}
@media (max-width: 640px) {
  header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  header {
    flex-wrap: wrap;
    padding-block: 15px 10px;
    gap: 8px;
  }
  .brand {
    font-size: 24px;
  }
  header nav {
    order: 3;
    flex: 0 0 100%;
    gap: 24px;
    border-top: 1px solid var(--line);
    padding-top: 6px;
    margin-top: 8px;
  }
  header nav a {
    font-size: 13px;
  }
  .preferences {
    gap: 6px;
  }
  .landing-theme > span {
    display: none;
  }
  .landing-theme select {
    font-size: 16px;
    max-width: 132px;
    padding: 8px 26px 8px 8px;
  }
  .intro-grid {
    display: block;
    padding-block: 40px;
  }
  h1 {
    font-size: clamp(32px, 8vw, 42px);
    letter-spacing: -1px;
  }
  .intro {
    font-size: 14px;
    line-height: 1.9;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 24px;
  }
  .signal-board {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
  .signal-bar {
    grid-column: 1 / -1;
    padding-block: 10px;
  }
  .signal-board svg {
    height: 116px;
    width: 100%;
  }
  .signal-caption {
    padding: 10px 16px 10px 0;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .signal-caption > span:first-child br {
    display: initial;
  }
  .signal-caption > span:last-child {
    display: none;
  }
  .section-heading {
    align-items: start;
  }
  h2 {
    font-size: 24px;
  }
  .section-aside {
    display: none;
  }
  .category-card {
    padding: 19px 16px;
  }
  .category-code {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .category-symbol {
    margin-block: 16px 10px;
    font-size: 28px;
  }
  .category-card h3 {
    font-size: 16px;
    line-height: 1.55;
  }
  .category-card p {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .category-action {
    font-size: 11px;
  }
  .create-section {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-block: 42px;
    padding-block: 32px;
  }
  .closing {
    display: grid;
    gap: 22px;
    margin-bottom: 36px;
  }
  .closing h2 {
    font-size: 23px;
  }
  .closing .primary {
    justify-self: start;
  }
  footer {
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}
.platform-shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.platform-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.platform-shortcuts a:hover {
  border-color: var(--accent);
  background: var(--raised);
}
@media (max-width: 640px) {
  .platform-shortcuts > span {
    flex-basis: 100%;
  }
}
.showcase {
  padding-block: 36px 60px;
  border-bottom: 1px solid var(--line);
}
.showcase-all {
  color: var(--accent);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}
.showcase-intro,
#showcase-status,
.showcase noscript p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0 22px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.showcase-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.showcase-card:hover {
  border-color: var(--accent);
}
.showcase-card:focus-visible {
  outline-offset: 3px;
}
.showcase-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: var(--raised);
  position: relative;
}
.showcase-visual img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase [hidden] {
  display: none;
}
.showcase-cover-fallback {
  color: var(--muted);
  font:
    13px ui-monospace,
    monospace;
  padding: 20px;
}
.showcase-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.showcase-type {
  color: var(--accent);
  font:
    11px ui-monospace,
    monospace;
  line-height: 1.6;
}
.showcase-card h3 {
  font-size: 22px;
  line-height: 1.5;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.showcase-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.showcase-card small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
}
.showcase-action {
  color: var(--accent);
  min-height: 44px;
  display: flex;
  align-items: end;
  padding-top: 14px;
  margin-top: auto;
  font-size: 13px;
}
#showcase-retry {
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 16px;
}
@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .showcase .section-heading {
    flex-direction: column;
    gap: 6px;
  }
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .showcase {
    padding-block: 22px 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
