/* Orbitar Labs — orbitarlabs.com
   Plain CSS, no build step, no external requests. */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #15171c;
  --muted: #585d68;
  --line: #e4e2dc;
  --accent: #c23a12;
  --accent-ink: #ffffff;
  --ring: rgba(21, 23, 28, 0.16);
  --device-shadow: rgba(20, 22, 27, 0.22);
  --device-edge: rgba(0, 0, 0, 0);
  --radius: 14px;
  --wrap: 1080px;
  --gutter: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1014;
    --surface: #161920;
    --ink: #ededea;
    --muted: #a3a8b3;
    --line: #272b34;
    --accent: #ff7a4d;
    --accent-ink: #15171c;
    --ring: rgba(237, 237, 234, 0.2);
    --device-shadow: rgba(0, 0, 0, 0.55);
    --device-edge: rgba(237, 237, 234, 0.55);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  left: 8px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.mark-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.mark-core,
.mark-moon {
  fill: var(--accent);
}

.nav {
  display: flex;
  gap: 4px 22px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 40px;
  padding-top: 84px;
  padding-bottom: 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 750;
  text-wrap: balance;
}

.lede {
  margin: 0 0 30px;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.orbit {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  color: var(--ink);
}

.orbit-ring {
  fill: none;
  stroke: var(--ring);
  stroke-width: 1.5;
}

.orbit-core {
  fill: var(--accent);
}

.orbit-dot {
  fill: var(--ink);
}

.orbit-dot.is-accent {
  fill: var(--accent);
}

/* ---------- Sections ---------- */

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

.section > .wrap {
  padding-top: 72px;
  padding-bottom: 72px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.4vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 36px;
  max-width: 40em;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.card .num {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Vision, mission, goals */

.statement {
  margin: 0 0 40px;
  max-width: 20em;
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

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

.about-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.about-block h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.about-block p {
  margin: 0;
  color: var(--muted);
}

.goals {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.goals li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.goals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.goals strong {
  color: var(--ink);
}

/* Plan / roadmap */

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
}

.step.is-current {
  border-top-color: var(--accent);
}

.step.is-current::before {
  background: var(--accent);
  border-color: var(--accent);
}

.phase {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step.is-current .phase {
  color: var(--accent);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Apps and games */

.apps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 18px;
}

.app-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.app-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.app-icon {
  flex: none;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(0, 0, 0, 0.12);
}

.app-kicker {
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-head h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.app-head .badge {
  display: inline-block;
  margin-top: 0;
}

.app-desc {
  margin: 0;
  color: var(--muted);
}

/* App screenshot in a Pixel 8 frame (Android Studio emulator skin, baked into the image) */

.device {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 26px var(--device-shadow)) drop-shadow(0 0 1px var(--device-edge));
}

.coming-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed var(--ring);
  border-radius: var(--radius);
  padding: 32px 26px;
}

.coming-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.coming-ring {
  fill: none;
  stroke: var(--ring);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}

.coming-plus {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.coming-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.coming-card p {
  margin: 0;
  max-width: 24em;
  color: var(--muted);
  font-size: 0.96rem;
}

.notice {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  max-width: 760px;
}

.badge {
  flex: none;
  margin-top: 3px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.notice h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.notice p {
  margin: 0;
  color: var(--muted);
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.4rem, 4.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 26px;
  padding-bottom: 34px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

/* ---------- Document pages (privacy, 404) ---------- */

.doc > .wrap {
  max-width: 760px;
  padding-top: 64px;
  padding-bottom: 80px;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  margin-bottom: 10px;
}

.doc .meta {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.doc h2 {
  margin: 44px 0 10px;
  font-size: 1.35rem;
}

.doc h3 {
  margin: 26px 0 6px;
  font-size: 1.05rem;
}

.doc p,
.doc ul {
  margin: 0 0 14px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 6px;
}

.doc .summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 8px;
}

.doc .summary p:last-child,
.doc .summary ul:last-child {
  margin-bottom: 0;
}

.center {
  text-align: center;
}

.center .actions {
  justify-content: center;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .orbit-dot {
    animation: orbit-travel linear infinite;
  }

  .orbit-dot.d1 {
    animation-duration: 16s;
  }

  .orbit-dot.d2 {
    animation-duration: 26s;
    animation-delay: -9s;
  }

  .orbit-dot.d3 {
    animation-duration: 40s;
    animation-delay: -22s;
  }
}

@keyframes orbit-travel {
  to {
    offset-distance: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 1000px) {
  .apps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .orbit {
    max-width: 300px;
  }

  .hero .wrap {
    gap: 24px;
  }

  .cards,
  .about-grid,
  .apps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-feature {
    grid-template-columns: minmax(0, 1fr) 190px;
    padding: 24px;
    gap: 22px;
  }

  .roadmap {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .step {
    padding: 0 0 30px 26px;
    border-top: 0;
    border-left: 2px solid var(--line);
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step::before {
    top: 2px;
    left: -7px;
  }

  .step.is-current {
    border-left-color: var(--accent);
  }

  .section > .wrap {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .notice {
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    gap: 4px 13px;
  }

  .app-feature {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 20px;
  }

  .device {
    max-width: 240px;
    margin-top: 6px;
  }

  .app-icon {
    width: 68px;
    height: 68px;
    border-radius: 17px;
  }

  .app-head {
    gap: 14px;
  }

  .nav a {
    font-size: 0.9rem;
  }
}

@media print {
  .site-header .nav,
  .orbit,
  .skip {
    display: none;
  }
}
