/* Lucht Lab website. One stylesheet for every page; no web fonts, no scripts, no trackers. */

:root {
  --bg: #050608;
  --panel: #101318;
  --rule: #23272f;
  --text: #e9eaee;
  --muted: #9a9fab;
  --silver: linear-gradient(180deg, #ffffff 0%, #c9ccd2 55%, #8e939c 100%);
  --green: #7ad14a;
  --blue: #2f8fd6;
  --line: linear-gradient(90deg, var(--green), #35b1d8 60%, var(--blue));
  --link: #8cc8ff;
  --wide: 0.32em;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 16px; position: relative; z-index: 1; }

/* The home page's flying planes, fixed behind everything; the cards pass over them. */
canvas.planes { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.narrow { max-width: 40rem; }

/* Header and footer */

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
}
.wordmark {
  color: var(--text); text-decoration: none;
  font-size: .85rem; letter-spacing: var(--wide); text-transform: uppercase; white-space: nowrap;
}
nav.site { display: flex; gap: 1.25rem; font-size: .9rem; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current] { color: var(--text); }

footer.site {
  margin-top: 5rem; padding: 2rem 0 3rem; border-top: 1px solid var(--rule);
  color: var(--muted); font-size: .85rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
footer.site a { color: var(--muted); }

/* Home */

.hero { text-align: center; padding: 2rem 0 3rem; }
/* The logo SVG is transparent, so it sits straight on the page. */
.hero img { width: min(360px, 80vw); height: auto; display: block; margin: 0 auto; }
.hero p { color: var(--muted); font-size: 1.15rem; margin: .5rem auto 0; max-width: 30rem; }

.game {
  display: grid; grid-template-columns: 180px 1fr; gap: 2.5rem; align-items: center;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 28px;
  padding: 2.5rem; position: relative; overflow: hidden;
}
.game::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line);
}
.game .icon { width: 180px; height: 180px; border-radius: 40px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.eyebrow { color: var(--muted); font-size: .8rem; letter-spacing: var(--wide); text-transform: uppercase; margin: 0; }
.game h2 {
  margin: .2rem 0 .6rem; font-size: 2.6rem; font-weight: 300; letter-spacing: var(--wide);
  background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.game h2 .lucht-logo { display: block; width: min(340px, 100%); height: auto; margin: .3rem 0 .4rem -8px; }
.game p { margin: .4rem 0; }
.badge {
  display: inline-block; margin-top: 1rem; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--rule); color: var(--text); font-size: .9rem;
}

.button {
  display: inline-block; padding: .7rem 1.4rem; border-radius: 999px;
  background: var(--line); color: #04121c; font-weight: 600; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.game .actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1rem; }
.game .actions .badge { margin-top: 0; }

/* App Store screenshots: a strip you swipe or scroll sideways, one shot snapping into place at a time. */
.screens {
  display: flex; gap: 1rem; margin: 1rem -16px 0; padding: 0 16px 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
}
.screens img {
  flex: 0 0 min(88%, 720px); width: min(88%, 720px); height: auto;
  border-radius: 20px; border: 1px solid var(--rule); scroll-snap-align: start;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.feature { background: var(--panel); border: 1px solid var(--rule); border-radius: 20px; padding: 1.4rem 1.5rem; }
.feature h3 { margin: 0 0 .3rem; font-size: 1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.contact { text-align: center; margin-top: 4rem; }
.contact h2 { font-weight: 300; letter-spacing: var(--wide); text-transform: uppercase; font-size: 1rem; color: var(--muted); }
.contact a { font-size: 1.3rem; }
.contact .share { margin: 2rem auto 0; max-width: 26rem; color: var(--muted); }
.contact .social { margin: .7rem 0 0; }
.contact .social a {
  display: inline-flex; align-items: center; gap: .55rem; font-size: 1rem;
  color: var(--text); text-decoration: none; padding: .55rem 1.1rem;
  border: 1px solid var(--rule); border-radius: 999px;
}
.contact .social a:hover { border-color: var(--muted); }
/* Instagram's own white wordmark beside its colour icon. */
.contact .social .ig { height: 22px; width: auto; display: block; margin-top: 3px; }

/* Text pages (support, privacy) */

.page h1 { font-size: 2rem; font-weight: 400; margin: 1.5rem 0 .25rem; }
.page .meta { color: var(--muted); margin: 0 0 1.5rem; }
.page h2 { font-size: 1.1rem; margin: 2.2rem 0 .4rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.page p, .page li { margin: .5rem 0; }
.page ul { padding-left: 1.25rem; }
.callout { background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: 1.1rem 1.3rem; }

/* The link to Apple's TestFlight app: an outlined pill, quieter than the green Apply button. */
.store-link {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: .4rem;
  padding: .65rem 1.2rem; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--panel); color: var(--text); font-weight: 600; text-decoration: none;
}
.store-link svg { color: var(--link); }
.store-link:hover { border-color: var(--muted); }

/* Test Pilot application form */

form.apply {
  display: grid; gap: 1.1rem; margin-top: 1rem;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 20px; padding: 1.4rem;
}
form.apply label { display: grid; gap: .35rem; }
form.apply label > span { font-size: .95rem; }
form.apply em { color: var(--muted); font-style: normal; }
form.apply small { color: var(--muted); font-size: .85rem; }
form.apply input:not([type="checkbox"]), form.apply select {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--rule); border-radius: 12px; padding: .7rem .85rem; width: 100%;
  -webkit-appearance: none; appearance: none;
}
form.apply select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem;
}
form.apply input:focus, form.apply select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
form.apply input::placeholder { color: #5d626c; }
form.apply .check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; color: var(--muted); font-size: .92rem; }
form.apply .check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--green); }
form.apply .button { border: 0; font: inherit; font-weight: 600; cursor: pointer; justify-self: start; }
/* Off screen rather than display:none, which some bots know to skip. */
form.apply .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-problem {
  margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px;
  background: rgba(255, 92, 87, .12); border: 1px solid rgba(255, 92, 87, .45);
}

@media (max-width: 720px) {
  .game { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.25rem; gap: 1.5rem; }
  .game .icon { width: 140px; height: 140px; border-radius: 32px; margin: 0 auto; }
  .game h2 { font-size: 2.1rem; }
  .game h2 .lucht-logo { margin: .3rem auto .4rem; }
  .game .actions { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  nav.site { gap: 1rem; }
}
