@charset "UTF-8";
html {
  --bg: #000;
  --text: #fff;
  --accent: #ccc;
  --mut: #444;
  --dim: #333;
  --nav: #fff;
  --overlay-start: rgba(0, 0, 0, 0);
  --overlay-end: rgba(0, 0, 0, 0.85);
  --headline-shield: rgba(0, 0, 0, 0.8);
  --shadow-a: rgba(0, 0, 0, 0.5);
  --shadow-b: rgba(0, 0, 0, 0.3);
  --shadow-c: rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: light) {
  html {
    --bg: #f5f5f5;
    --text: #111;
    --accent: #999;
    --mut: #666;
    --dim: #ccc;
    --nav: #111;
    --overlay-start: rgba(245, 245, 245, 0);
    --overlay-end: rgba(245, 245, 245, 0.9);
    --headline-shield: rgba(245, 245, 245, 0.8);
    --shadow-a: rgba(0, 0, 0, 0.08);
    --shadow-b: rgba(0, 0, 0, 0.05);
    --shadow-c: rgba(0, 0, 0, 0.03);
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  scroll-padding-top: 6rem;
}

body {
  font-family: "Turret Road", monospace;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

#header {
  position: relative;
  text-align: center;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  background: url("../images/hero-bg.png") center -6em/82em auto no-repeat;
  will-change: transform;
}

.hero-nemicolopterus {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background: url("../images/hero-nemicolopterus.png") center center/69em auto no-repeat;
  pointer-events: none;
  will-change: transform;
  transform: translateY(-6%);
}

.hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, var(--overlay-start) 0%, var(--overlay-start) 10%, var(--overlay-end) 100%);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 2rem 2rem;
  z-index: 100;
  background: linear-gradient(to bottom, var(--bg) 20%, transparent 100%);
  transition: background 0.3s;
}
nav.scrolled {
  background: linear-gradient(to bottom, var(--bg) 40%, rgba(0, 0, 0, 0) 100%);
}
nav a.home-link {
  font-size: 1.3rem;
  letter-spacing: 0;
  opacity: 0.55;
  transition: opacity 0.4s, text-shadow 0.4s;
}
nav a.home-link:hover {
  opacity: 1;
  text-shadow: 0 0 12px var(--fg);
}
nav a {
  color: var(--nav);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.3s;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
nav a:hover {
  opacity: 1;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
}
.lang-switch a {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  opacity: 0.35;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  padding: 0.15rem 0.25rem;
}
.lang-switch a:hover {
  opacity: 0.7;
}
.lang-switch a.active {
  opacity: 0.9;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}
.lang-switch .lang-sep {
  font-size: 0.6rem;
  opacity: 0.25;
  color: var(--nav);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  user-select: none;
  padding: 0 0.1rem;
}

.hero {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.hero-content {
  padding-top: 20em;
  padding-bottom: 5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  transition: opacity 0.1s linear;
  will-change: opacity;
}

.headline {
  border-radius: 0.5rem;
  padding: 1.3em 2.7em;
}

.headline h1 {
  font-family: "Turret Road", monospace;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  user-select: none;
  text-shadow: 0 1px 0 var(--shadow-a), 0 2px 0 var(--shadow-a), 0 3px 2px var(--shadow-b), 0 6px 8px var(--shadow-b), 0 10px 20px var(--shadow-c), 0 2px 12px rgba(0, 0, 0, 0.4);
}
.headline h1 .pteronaut {
  color: var(--text);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}
.headline h1 .os {
  color: var(--accent);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.45));
  font-weight: 100;
}

.subhead {
  font-family: "Turret Road", monospace;
  font-weight: 300;
  font-size: clamp(0.9rem, 2.2vw, 1.25rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 3rem;
  text-shadow: 0 1px 4px var(--shadow-a), 0 2px 10px var(--shadow-b);
}

.greeting {
  font-family: "Turret Road", monospace;
  font-weight: 200;
  font-style: italic;
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 0.6rem;
  opacity: 0.7;
  text-shadow: 0 1px 3px var(--shadow-a);
}

.glyph {
  line-height: 1;
  opacity: 0.35;
  margin: 2rem auto 1.5rem auto;
  white-space: pre;
  color: var(--mut);
  user-select: none;
  font-family: "Turret Road", monospace;
  font-size: clamp(1.5rem, 2.3vw, 1.8rem);
  text-align: left;
  width: 8em;
  font-weight: 500;
}

.version {
  font-family: "Turret Road", monospace;
  font-weight: 200;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.45;
  color: var(--dim);
}

main {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  background: var(--bg);
  box-shadow: 0 -40px 40px -20px var(--bg);
}

section {
  margin-bottom: 6rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.section-num {
  font-weight: 200;
  font-size: 2.2rem;
  letter-spacing: 0;
  opacity: 0.25;
  line-height: 1;
}

.lead {
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text);
  opacity: 0.85;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

strong {
  font-weight: 700;
}

code {
  font-family: "Turret Road", monospace;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.highlight {
  background: var(--dim);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  opacity: 0.75;
}
.highlight code {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.doc-link {
  margin-top: 1.5rem;
  font-weight: 300;
  font-size: 0.95rem;
}
.doc-link a {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}
.doc-link a:hover {
  opacity: 0.7;
}

dl.grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 2rem;
}

dt {
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--text);
}

dd {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--dim);
  letter-spacing: 0.04em;
}
td:first-child {
  width: 130px;
  color: var(--mut);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.value {
  font-weight: 200;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.build pre {
  background: var(--dim);
  padding: 1.5rem;
  margin: 1rem 0;
  overflow-x: auto;
}
.build pre code {
  font-size: 0.85rem;
  letter-spacing: 0.07em;
}

.compatible {
  font-family: "Turret Road", monospace;
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mut);
}

footer {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--dim);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 2;
  background: var(--bg);
}
footer p {
  margin-bottom: 0.5rem;
  opacity: 0.5;
  font-size: 0.75rem;
}
footer a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.credit {
  margin-top: 1.5rem;
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  opacity: 0.4;
}

@media (max-width: 480px) {
  nav {
    gap: 0.6rem;
    padding: 0.9rem 0.5rem;
    font-size: 0.55rem;
  }
  .lang-switch {
    margin-left: 0;
  }
  .lang-switch a {
    font-size: 0.5rem;
  }
  .headline {
    background: linear-gradient(to bottom, var(--headline-shield) 0%, var(--headline-shield) 55%, transparent 100%);
  }
  .headline h1 {
    letter-spacing: 0.25em;
    font-size: clamp(1.4rem, 9vw, 2.4rem);
    text-shadow: 0 1px 0 var(--shadow-a), 0 2px 2px var(--shadow-b), 0 4px 8px var(--shadow-c);
  }
  .hero-content {
    padding-top: 11em;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-nemicolopterus {
    transform: translateY(8%);
    background-size: 42em auto;
    background-position: center 7em;
  }
  .hero-bg {
    background-size: 60em auto;
    background-position: center 0;
  }
  .subhead {
    letter-spacing: 0.2em;
    font-size: 0.7rem;
  }
  .greeting {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  .glyph {
    display: none;
  }
  .section-num {
    font-size: 1.3rem;
  }
  dl.grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  dt {
    margin-top: 0.8rem;
  }
  main {
    padding: 3rem 1rem;
  }
  footer {
    padding: 2.5rem 1rem;
  }
  .scroll-top {
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding-top: 4em;
  }
  .hero-nemicolopterus {
    transform: translateY(0%);
    background-size: 28em auto;
    background-position: center 3em;
    opacity: 0.5;
  }
  .hero-bg {
    background-size: 45em auto;
    background-position: center -2em;
    opacity: 0.4;
  }
  .headline h1 {
    font-size: clamp(1.2rem, 5vw, 2rem);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
  }
  .subhead {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
  }
  .greeting {
    font-size: 0.6rem;
    margin-bottom: 0.3rem;
  }
  .glyph {
    display: none;
  }
  nav {
    padding: 0.5rem 1rem;
    gap: 1rem;
  }
  .version {
    display: none;
  }
}
@media (min-width: 481px) and (max-width: 1024px) {
  nav {
    gap: 1.5rem;
    padding: 1.5rem;
  }
  #header {
    position: relative;
    z-index: 3;
  }
  .hero-content {
    padding-top: 36em;
  }
  .hero-nemicolopterus {
    transform: translateY(-12%);
    background-size: 55em auto;
    background-position: center 5em;
  }
  .hero-bg {
    background-size: 68em auto;
    background-position: center 1em;
  }
  .headline {
    background: linear-gradient(to bottom, transparent 0%, transparent 10em, var(--headline-shield) 10em, var(--headline-shield) 55%, transparent 100%);
  }
  .headline h1 {
    letter-spacing: 0.35em;
  }
  .glyph {
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    width: 6em;
  }
}
@media (min-width: 1025px) and (max-width: 1399px) {
  .hero-content {
    padding-top: 36em;
  }
  .hero-nemicolopterus {
    background-size: 62em auto;
    background-position: center 7em;
    transform: translateY(-6%);
  }
  .hero-bg {
    background-size: 76em auto;
    background-position: center 0em;
  }
  .headline {
    background: linear-gradient(to bottom, transparent 0%, transparent 12em, var(--headline-shield) 12em, var(--headline-shield) 55%, transparent 100%);
  }
}
@media (min-width: 1400px) {
  .hero-nemicolopterus {
    background: url("../images/hero-nemicolopterus.png") center center/69em auto no-repeat;
    background-size: 66em auto;
    background-position: center 6em;
  }
  .hero-bg {
    background-size: 81em auto;
    background-position: center -1em;
  }
  .headline h1 {
    letter-spacing: 0.55em;
  }
  .hero-content {
    padding-top: 39em;
  }
}
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--dim);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, border-color 0.3s;
}
.scroll-top.visible {
  opacity: 0.5;
  pointer-events: auto;
}
.scroll-top.visible:hover {
  opacity: 0.85;
  border-color: var(--accent);
}
.scroll-top::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--nav);
  border-right: 1px solid var(--nav);
  transform: rotate(-45deg) translateY(2px);
}

[dir=rtl] {
  direction: rtl;
  text-align: right;
}
[dir=rtl] nav {
  flex-direction: row-reverse;
}
[dir=rtl] .hero-content {
  padding-left: 0;
  padding-right: 0;
}
[dir=rtl] .lang-switch {
  flex-direction: row-reverse;
}
[dir=rtl] dl.grid {
  direction: rtl;
}
[dir=rtl] .doc-link a::after {
  content: " ←";
}
[dir=rtl] .headline {
  padding: 1.3em 2.7em;
}

/*# sourceMappingURL=style.css.map */
