/* ==========================================================================
   Orion Interactive — public site, v1
   --------------------------------------------------------------------------
   Every color token below is taken verbatim from the shipping apps.
   Sources (READ ONLY, see BUILD-NOTES.md for the full provenance table):

     [D] Desktop app payload  work\candidates\WP-NATIVE-01-REBUILD-v059-001\web\styles.css   (:root, dark — the shipping look)
     [L] Desktop light theme  work\candidates\WP-NATIVE-01-REBUILD-v059-001\web\everyday.css (:root[data-theme=light])

   No external fonts, no CDNs, no JavaScript, no analytics.
   ========================================================================== */

:root {
  color-scheme: dark;                      /* [D] :root color-scheme */
  --bg:     #070b13;                       /* [D] --bg */
  --panel:  #101724;                       /* [D] --panel */
  --panel2: #151e2d;                       /* [D] --panel2 */
  --line:   #273247;                       /* [D] --line */
  --text:   #f2f5fb;                       /* [D] --text */
  --muted:  #9aa6b8;                       /* [D] --muted */
  --accent: #79a6ff;                       /* [D] --accent */
  --gold:   #f3c766;                       /* [D] --gold */
  --safe:   #69d3aa;                       /* [D] --safe */
  /* Radial background stops, from [D] body background */
  --bg-glow-1: #17233a;
  --bg-glow-2: #0a101c;
  font-family: Inter, "Segoe UI", sans-serif;  /* [D] :root font-family (local fonts only, no webfont) */
}

/* Light mode: the app's own light tokens, from [L] :root[data-theme=light]. */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg:     #edf1f7;                     /* [L] --bg */
    --panel:  #ffffff;                     /* [L] --panel */
    --panel2: #f6f8fb;                     /* [L] --panel2 */
    --line:   #cbd3df;                     /* [L] --line */
    --text:   #101827;                     /* [L] --text */
    --muted:  #5e6a7c;                     /* [L] --muted */
    --accent: #245fae;                     /* [L] --accent */
    --gold:   #9a6e00;                     /* [L] --gold */
    --safe:   #087a56;                     /* [L] --safe */
    --bg-glow-1: #ffffff;                  /* [L] light body gradient: #fff -> #edf1f7 */
    --bg-glow-2: #edf1f7;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 30%, var(--bg-glow-1) 0, var(--bg-glow-2) 36%, var(--bg) 72%);
  color: var(--text);
  line-height: 1.6;
}

/* Keyboard focus indicator — same rule the desktop app ships. */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Top bar + brand (mirrors the app's .topbar / .brand / .brand-mark)
   -------------------------------------------------------------------------- */

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.12em;                  /* [D] .brand letter-spacing */
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  box-shadow: 0 0 30px rgba(243, 199, 102, 0.15);  /* [D] .brand-mark glow */
  flex: 0 0 auto;
}

.brand-text strong,
.brand-text small { display: block; }

.brand-text strong { font-size: 14px; }

.brand-text small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

main {
  width: min(1180px, 92vw);                /* [D] .workspace width */
  margin: 0 auto;
  padding: 56px 0 80px;
}

section + section { margin-top: clamp(48px, 8vw, 96px); }

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

.hero {
  text-align: center;
  padding-top: clamp(16px, 5vw, 48px);
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.18em;                  /* [D] .eyebrow */
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);       /* [D] .state-copy h1 */
  font-weight: 580;
  margin: 0 auto 12px;
  max-width: 18ch;
}

.lede {
  color: var(--muted);
  max-width: 520px;                        /* [D] .state-copy p max-width */
  margin: 0 auto;
}

.privacy-chip {
  display: inline-block;
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--safe);
  border: 1px solid rgba(105, 211, 170, 0.3);  /* [D] .privacy-chip */
  padding: 6px 10px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Value cards
   -------------------------------------------------------------------------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.value-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 22px;
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

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

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.products h2 {
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(300px, 2fr) minmax(220px, 1fr);
  gap: 12px;
  align-items: stretch;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 22px;                     /* [D] .conversation-card radius */
  background: var(--panel);
  padding: 26px;
}

.flagship h3 {
  margin: 0 0 4px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 580;
}

.product-tagline {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.flagship > p:not(.eyebrow):not(.product-tagline) {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 18px;
}

.platform-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
}

.platform-list li {
  font-size: 12px;
  color: var(--text);
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

/* Store badges: deliberately text-only placeholders, not links, no store artwork. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 10px;                     /* [D] button radius */
  background: var(--panel2);
  padding: 10px 14px;
  cursor: default;
}

.store-name {
  font-size: 13px;
  color: var(--text);
}

.store-status {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.more-coming {
  border-style: dashed;
  background: transparent;
  display: grid;
  align-content: center;
  text-align: center;
}

.more-coming h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.more-coming p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 28px clamp(18px, 4vw, 56px) 40px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p { margin: 4px 0; }

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible { text-decoration: underline; }

.pending-policy { font-size: 12px; }

/* --------------------------------------------------------------------------
   Responsive (same 760px breakpoint the desktop app uses)
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .topbar { height: 64px; }                /* [D] mobile topbar */
  main { padding-top: 34px; }
  .value-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .store-badges { flex-direction: column; align-items: stretch; }
  .store-badge { flex-direction: row; justify-content: space-between; align-items: baseline; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* Approved artwork (owner, 2026-08-25): Orion Core emblem in the topbar, full
   "Orion Interactive Dark" logo in the hero. Both PNGs carry a baked dark-navy
   background (rgb(0,10,26)) very close to --bg, so a radial mask fades their
   edges into the page instead of showing a rectangle. */
.brand-emblem {
  display: block; width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; object-position: center;
}
.hero-logo {
  display: block; margin: 0 auto 18px; width: min(273px, 64vw); height: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 46%, #000 58%, transparent 92%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 46%, #000 58%, transparent 92%);
}
@media (prefers-color-scheme: light) {
  /* The dark-navy artwork sits on a deliberate dark chip in the light theme. */
  .hero-logo {
    -webkit-mask-image: none; mask-image: none;
    background: rgb(0,10,26); border-radius: 20px; padding: 10px;
  }
  .brand-emblem { background: rgb(0,10,26); }
}

/* Sidebar layout (owner, 2026-08-25): left menu — Apps, Features, Business use,
   Coming soon, Other apps, Contact us. Collapses above the content on phones. */
.with-sidenav { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidenav {
  position: sticky; top: 0; align-self: start; height: 100vh;
  display: flex; flex-direction: column; gap: 26px;
  padding: 26px 20px; border-right: 1px solid var(--line);
}
.sidenav .brand { display: flex; }
.menu { display: flex; flex-direction: column; gap: 4px; }
.menu a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
  letter-spacing: 0.04em; padding: 9px 12px; border-radius: 10px;
  border: 1px solid transparent;
}
.menu a:hover, .menu a:focus-visible {
  color: var(--text); background: var(--panel); border-color: var(--line);
}
.with-sidenav main { padding: 30px clamp(18px, 5vw, 64px) 40px; max-width: 980px; }
.with-sidenav .site-footer { grid-column: 1 / -1; }
section { scroll-margin-top: 24px; }
.business h2, .coming h2, .other-apps h2, .contact h2, .products h2, .values h2 { margin-bottom: 14px; }
.avatar-frame { margin: 26px auto 0; max-width: 560px; }
.avatar-placeholder {
  border: 1px dashed var(--line); border-radius: 18px; background: var(--panel);
  padding: 40px 20px; text-align: center; color: var(--muted);
}
.avatar-placeholder p { font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.other-apps p, .coming > p, .contact p { color: var(--muted); }
.contact a { color: var(--accent); }
@media (max-width: 760px) {
  .with-sidenav { grid-template-columns: 1fr; }
  .sidenav {
    position: static; height: auto; border-right: 0;
    border-bottom: 1px solid var(--line); gap: 16px;
  }
  .menu { flex-direction: row; flex-wrap: wrap; }
}
