/* Copyright Nomatron Ltd. 2026
 * SPDX-License-Identifier: MPL-2.0
 */

@font-face {
  font-family: Manrope;
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/ibm-plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #141414;
  --panel: #1c1c1c;
  --raised: #232323;
  --border: #323330;
  --text: #fafaf9;
  --muted: #a3a3a0;
  --mint: #6bebcb;
  --ink: #0f403d;
  font-family: Manrope, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
::selection { background: var(--mint); color: var(--ink); }

.page {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 105px;
  border-bottom: 1px solid var(--border);
}

.brand { flex-shrink: 0; }
.brand img { width: 156px; height: auto; }
.header-links { display: flex; align-items: center; gap: 32px; }
.website-link { color: var(--muted); font-size: 13px; font-weight: 500; line-height: 20px; }
.coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 138px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 600fr) minmax(0, 528fr);
  align-items: center;
  gap: 72px;
  padding: 88px 0 80px;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1 { font-size: 68px; font-weight: 600; line-height: 76px; }
.intro-copy { margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 29px; }
.launch-access { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 36px; }
.access-label { font-size: 14px; font-weight: 500; line-height: 22px; }
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
}

.primary-action:hover { background: #8cf1d9; }
.primary-action:active { background: #57d4b5; }
.website-link:hover, .footer-links a:hover { color: var(--mint); }
.access-note { color: var(--muted); font-size: 12px; line-height: 20px; }

.registry-preview { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.preview-labels {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 15px;
  text-transform: uppercase;
}

.pack-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.pack-identity { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: linear-gradient(#132b26, var(--panel)); }
.pack-heading { display: flex; align-items: center; gap: 16px; height: 48px; }
.brand-tile { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: var(--mint); }
.emblem {
  display: block;
  width: 28px;
  height: 28px;
  overflow: hidden;
  mask-image: url("./assets/emblem-mask.svg");
  mask-size: 28px 28px;
  mask-repeat: no-repeat;
}

.namespace { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 12px; line-height: 18px; }
.name { margin-top: 2px; font-size: 25px; font-weight: 600; line-height: 30px; }
.pack-summary { color: var(--muted); font-size: 14px; line-height: 23px; }
.pack-badges { display: flex; gap: 8px; }
.pack-badges span { display: flex; align-items: center; justify-content: center; width: 68px; height: 28px; border-radius: 6px; background: var(--raised); font-family: "IBM Plex Mono", monospace; font-size: 11px; line-height: 16.5px; }
.pack-badges span + span { width: 58px; }
.release-details { padding: 24px 28px; border-top: 1px solid var(--border); }
.preview-tabs { display: flex; align-items: flex-start; gap: 24px; height: 41px; margin-bottom: 18px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 11px; line-height: 17px; }
.selected-tab { color: var(--text); font-weight: 700; }
.pack-details { display: flex; flex-direction: column; gap: 18px; font-size: 12px; line-height: 18px; }
.pack-details div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 20px; }
.pack-details dt { color: var(--muted); }
.pack-details dd { text-align: right; font-weight: 500; }
.verification { display: flex; align-items: center; gap: 10px; height: 57px; padding: 0 28px; border-top: 1px solid var(--border); color: var(--mint); font-size: 12px; font-weight: 500; line-height: 18px; }
.release-flow { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 34px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; line-height: 16.5px; }
.flow-current { color: var(--text); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding: 40px 0 36px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 136px; }
.feature .feature-number { color: var(--mint); font-family: "IBM Plex Mono", monospace; font-size: 12px; line-height: 18px; }
.feature h2 { font-size: 18px; font-weight: 600; line-height: 27px; }
.feature p { max-width: 348px; color: var(--muted); font-size: 14px; line-height: 21px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; color: var(--muted); font-size: 12px; line-height: 18px; }
.footer-links { display: flex; align-items: flex-start; gap: 24px; min-height: 20px; font-weight: 500; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 12px; left: 24px; z-index: 1; padding: 12px 16px; border-radius: 4px; background: var(--mint); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

@media (max-width: 1100px) {
  .page { max-width: 768px; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding: 64px 0; }
  .introduction { max-width: 600px; }
  .registry-preview { max-width: 528px; }
  .features { gap: 28px; }
}

@media (max-width: 600px) {
  .page { padding-bottom: 28px; }
  .site-header { height: 89px; }
  .brand img { width: 132px; }
  .website-link { display: none; }
  .hero { padding: 52px 0 56px; }
  h1 { font-size: 42px; line-height: 49px; }
  .intro-copy { font-size: 16px; line-height: 26px; }
  .primary-action { width: 100%; }
  .features { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .feature { min-height: 132px; }
  .feature p { max-width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 370px) {
  .page { width: calc(100% - 32px); }
  .brand img { width: 120px; }
  .coming-soon { width: 132px; }
  h1 { font-size: 36px; line-height: 43px; }
  .pack-identity, .release-details { padding-left: 20px; padding-right: 20px; }
  .verification { padding-left: 20px; padding-right: 20px; }
}
