/* Orbital Acres website — one stylesheet for every page. No external fonts or trackers. */
:root {
  color-scheme: dark;
  --bg: #14121c;
  --bg-deep: #0d0b14;
  --surface: #211d2e;
  --surface-2: #2a2539;
  --line: #3a3450;
  --text: #f1edf8;
  --muted: #aaa3c2;
  --lavender: #c3bce0;
  --orange: #f0994d;
  --orange-ink: #2a1505;
  --teal: #3f8f93;
  --radius: 20px;
  --max: 1080px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  /* a quiet starfield, pure CSS */
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 9%, #fff9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 62%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 44%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 30%, #fff5 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 85%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 78%, #fff8 50%, transparent 51%),
    radial-gradient(1200px 600px at 80% -10%, #2b2550 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, #1f2a44 0%, transparent 60%);
  background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 300px 300px, 560px 560px, 340px 340px, auto, auto;
  background-attachment: fixed;
}
a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: #ffb377; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- header / footer ---------- */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface); }

.site-footer { margin-top: 80px; padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 32px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lavender); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.05; margin: 18px 0 16px; font-weight: 900; letter-spacing: -0.01em; }
h1 .accent { color: var(--orange); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34ch; margin: 0 0 28px; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px #0008); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; border-radius: 16px; background: var(--orange); color: var(--orange-ink); font-weight: 800; text-decoration: none; }
.badge.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 700; }
.badge.ghost:hover { background: var(--surface); color: var(--text); }

/* ---------- sections ---------- */
section { padding: 48px 0; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); line-height: 1.15; margin: 0 0 10px; font-weight: 850; }
.section-lede { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--surface-2); margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.shots { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.shot.wide { grid-column: 1 / -1; }
.shot img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }   /* portrait phone captures */
.shot.wide img { aspect-ratio: 16 / 9; }
.shot figcaption { padding: 10px 14px; color: var(--muted); font-size: 0.88rem; }
.wip { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

/* ---------- document pages (privacy, support) ---------- */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.45rem; margin-top: 40px; }
.doc p, .doc li { color: #ddd7ea; }
.doc .meta { color: var(--muted); }
.summary { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
.summary p { margin: 0; color: var(--text); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 44px; list-style-position: outside; }
details p { margin: 0 0 16px; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 24px 0; }
.contact p { margin: 0; }

/* ---------- small screens (phones in portrait) ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .lede { max-width: none; }
  .shots { grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav a { padding: 10px 8px; }
}
@media (max-width: 440px) {
  .features { grid-template-columns: 1fr; }
}
