/* PUBLIC-HOME-1 (ODR-388) — the limited public preview home. The app's look: deep navy, emerald, one framed video
   surface with a rim light (the chat-box feel), small pills, few words (ODR-379), even spacing (ODR-375). */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-variable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0b1220; --surface: #121b2e; --text: #f7f8fb; --muted: #a8b3c8; --line: #2c3a56; --green: #22d97a; --rim: rgb(34 217 122 / .45);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f8fb; --surface: #ffffff; --text: #0b1220; --muted: #4a5568; --line: #d7dee8; --green: #047857; --rim: rgb(4 120 87 / .35); color-scheme: light; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 8px; }
.ph-header, .ph-main, .ph-footer { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(var(--gutter), 24px); padding-right: max(var(--gutter), 24px); }
.ph-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: max(20px, env(safe-area-inset-top, 0px)); padding-bottom: 20px; }
.ph-brand { display: inline-flex; align-items: center; gap: 12px; }
.ph-brand img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.ph-word { display: flex; flex-direction: column; line-height: 1.1; }
.ph-name { font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.ph-name sup { font-size: 10px; margin-left: 1px; color: var(--muted); }
.ph-prog { color: var(--green); }
.ph-word small { margin-top: 3px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ph-signin { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.ph-signin:hover { border-color: var(--green); }
.ph-main { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(16px, 4vw, 40px); padding-bottom: clamp(32px, 5vw, 56px); }
.ph-main h1 { margin: 0; font-size: clamp(34px, 6vw, 64px); font-weight: 650; letter-spacing: -.045em; line-height: 1.05; text-wrap: balance; }
.ph-line { margin: 14px 0 0; font-size: clamp(16px, 2vw, 19px); color: var(--muted); }
.ph-video { margin: clamp(24px, 4vw, 40px) 0 0; width: 100%; max-width: 1080px; }
.ph-facade, .ph-video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: clamp(14px, 2vw, 22px); overflow: hidden; background: #05080c; box-shadow: 0 0 0 1px var(--rim), 0 0 40px -8px var(--rim), 0 30px 60px rgb(4 12 20 / .35); }
.ph-facade img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 50%; background: rgb(5 8 12 / .62); color: #ffffff; border: 1px solid rgb(255 255 255 / .35); box-shadow: 0 0 30px rgb(34 217 122 / .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .15s ease; }
.ph-facade:hover .ph-play, .ph-facade:focus-visible .ph-play { transform: translate(-50%, -50%) scale(1.06); }
.ph-actions { margin: clamp(20px, 3vw, 28px) 0 0; display: flex; justify-content: center; }
.ph-pill { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 650; color: var(--text); }
.ph-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.ph-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ph-footer nav { display: flex; gap: 20px; }
.ph-footer a:hover { color: var(--text); }
.ph-footer p { margin: 0; }
@media (max-width: 560px) {
  .ph-header { padding-left: var(--gutter); padding-right: var(--gutter); }
  .ph-main, .ph-footer { padding-left: var(--gutter); padding-right: var(--gutter); }
  .ph-footer { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ph-play { transition: none; } }
