/* C&P brand layer for the signed-out landing. Tokens from creativityandplanning.com (CP-DESIGN-GUIDE.md, 12 Oct 2026). */
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #111013; --ink: #fff; --ink-2: rgba(255, 255, 255, .75); --muted: #7d7c80; --red: #d90a2c;
  --glass-1: rgba(255, 255, 255, .08); --glass-2: rgba(255, 255, 255, .2); --glass-3: rgba(255, 255, 255, .25);
  --chip: rgba(136, 134, 137, .12); --line: rgba(255, 255, 255, .14);
  --r-card: 12px; --r-btn: 16px; --r-panel: 24px;
  --ms-bg: #111013; --lg-radius: 24px; --lg-fallback: rgba(17, 16, 19, .92);
  --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sys); }
h1, h2, h3 { font-family: "DM Sans", var(--sys); font-weight: 600; margin: 0; letter-spacing: -.01em; }
p { margin: 0; color: var(--ink-2); }
a { color: inherit; }
img { max-width: 100%; }
.eyebrow { font: 600 12px/1.5 var(--sys); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 0 0 10px; }
.eyebrow b { color: var(--ink); font-weight: 600; }

/* header: the site's dark rounded bar */
.top { position: fixed; z-index: 10; top: 16px; left: 50%; width: min(1180px, calc(100% - 32px)); margin-left: calc(min(1180px, 100% - 32px) / -2);
  display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 20px; border-radius: var(--r-btn);
  background: rgba(17, 16, 19, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); }
.top img { height: 30px; width: auto; display: block; }
.top .tag { font: 600 11px var(--sys); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); }
.top .go { margin-left: auto; }

.btn { font: 500 15px var(--sys); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: var(--r-btn); border: 1px solid var(--glass-2); background: var(--glass-1); color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--glass-2); }
.btn.solid { background: #fff; color: var(--bg); border-color: #fff; }
.btn.solid:hover { background: rgba(255, 255, 255, .85); }
.link { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.link:hover { color: var(--ink); }

/* glass cards over the sequence */
.pane { width: min(380px, calc(100vw - 32px)); padding: 26px 28px; }
.pane h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; margin-bottom: 10px; }
.pane p + p { margin-top: 8px; }
.step-no { font: 600 12px var(--sys); letter-spacing: .08em; color: var(--muted); }

/* sign-in card (same flow as the portal's #/login: email, then the emailed 6-digit code) */
.signin h2 { margin-bottom: 6px; }
.signin form { display: grid; gap: 10px; margin-top: 16px; }
.signin label { font: 600 12px var(--sys); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.signin input { font: 16px var(--sys); width: 100%; min-height: 48px; padding: 0 16px; border-radius: var(--r-card); border: 1px solid var(--glass-2);
  background: rgba(17, 16, 19, .55); color: var(--ink); }
.signin input:focus { outline: 2px solid #fff; outline-offset: 1px; }
.signin .fine { font-size: 13px; color: var(--muted); }

.hero-copy h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
.cue { font: 600 12px var(--sys); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.foot { padding: 56px 16px 64px; text-align: center; border-top: 1px solid var(--line); }
.foot p { font: 600 12px/1.8 var(--sys); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.foot .credit { font: 400 11px/1.6 var(--sys); text-transform: none; letter-spacing: .02em; margin-top: 10px; }
.foot img { height: 34px; width: auto; margin-bottom: 14px; }

/* visually hidden, read by screen readers */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 767px) {
  .top { top: 10px; padding: 8px 8px 8px 14px; }
  .top .tag { display: none; }
  .top img { height: 26px; }
  .pane { padding: 20px 20px; }
}

/* the site's film grain over the sequence; also hides banding in the AI clips' dark gradients */
.ms-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url("grain.webp"); }
.ms-reduced .ms-stage::after { display: none; }

/* touch screens: no full-screen grain layer composited over the sequence on every frame */
@media (pointer: coarse) { .ms-stage::after { content: none; } }

/* the client door's beta notice (Ali, 14 Oct 2026): stays visible at every width */
.top .beta { font: 700 10.5px var(--sys); letter-spacing: .1em; text-transform: uppercase; color: #1a1208; background: #e3a21a; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.beta-note { font-size: 12px; color: var(--muted); }
