/* advanstage.app "coming soon" page. Values from the design handoff
   (Advanstage_landing/README.md); the reference's inline styles, as classes. */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #0E0E0F; --bg-hero: #0D0D0D; --surface: #141517; --line: #26282C; --line-soft: #1F2023; --frame: #24262A;
  --input-border: #3A3D44; --text: #E6E7EA; --text-2: #B8BCC3; --text-3: #A9ADB4; --text-4: #9A9EA6; --label: #8A8F98;
  --caption: #7C818A; --accent: #61AFEF; --accent-hover: #80BFF3; --accent-active: #4A9BDD; --link-hover: #8CC4F3;
  --on-accent: #0B0D10; --error: #F2A69B; --gutter: clamp(20px, 4vw, 56px);
  --mono: "Geist Mono", ui-monospace, monospace;
  /* Hero framing (client-tuned) */
  --hx: 50%; --hy: 50%; --hz: 1; --mx: 31%; --my: 50%; --mz: 1.05; --mh: 68%;
}
html, body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
* { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
::selection { background: rgba(97, 175, 239, .35); }
input::placeholder { color: var(--caption); }
[hidden] { display: none !important; }
.page { font-family: "Geist", system-ui, sans-serif; font-size: 16px; line-height: 1.55; background: var(--bg); color: var(--text); min-height: 100vh; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label, .eyebrow, .credits, .caption, .mono-inline, .label-visible, .nav-notify { font-family: var(--mono); }
.label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }

/* Hero */
.hero { position: relative; min-height: min(100vh, 1000px); display: flex; flex-direction: column; overflow: hidden; background: var(--bg-hero); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hx) var(--hy); transform: scale(var(--hz)); transform-origin: var(--hx) var(--hy); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,13,.97) 0%, rgba(13,13,13,.82) 32%, rgba(13,13,13,.25) 62%, rgba(13,13,13,.55) 100%), linear-gradient(to right, rgba(13,13,13,.85) 0%, rgba(13,13,13,.4) 34%, rgba(13,13,13,0) 55%); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); text-decoration: none; }
.wordmark { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.nav-notify { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #C9CCD1; padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; }
.nav-notify:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }
.hero-copy { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(40px, 7vw, 96px); }
.hero-text { max-width: 600px; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow .accent { color: var(--accent); }
h1 { margin: 0; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.04; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.hero-sub { margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 560px; text-wrap: pretty; }
.hero-form-wrap { margin-top: 10px; max-width: 540px; }

/* Forms */
.notify-form { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.email { flex: 1 1 240px; min-width: 0; height: 50px; padding: 0 16px; background: var(--surface); border: 1px solid var(--input-border); border-radius: 6px; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.hero-email { background: rgba(18, 19, 21, .85); }
.email:focus { border-color: var(--accent); outline: 2px solid rgba(97, 175, 239, .45); outline-offset: 2px; }
.btn { flex: 0 0 auto; height: 50px; padding: 0 24px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 6px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.btn:hover { background: var(--accent-hover); }
.btn:active { background: var(--accent-active); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled { cursor: progress; opacity: .85; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.status { margin-top: 12px; font-size: 14px; min-height: 22px; display: flex; align-items: flex-start; gap: 10px; }
.helper { color: var(--text-4); }
.err { color: var(--error); }
.done { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(97, 175, 239, .4); border-radius: 6px; background: rgba(14, 14, 15, .8); color: var(--text); font-size: 15px; }
.cta-wrap .done { padding: 16px 18px; background: transparent; }
.done svg { flex: none; margin-top: 2px; }
.label-visible { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

/* Sections */
.sec { padding: clamp(96px, 12vw, 180px) var(--gutter) 0; max-width: 1440px; margin: 0 auto; }
.sec-app { max-width: 1680px; }
.sec-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-title { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
h2 { margin: 0; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.06; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.sec-lede { margin: 0; max-width: 440px; color: var(--text-3); font-size: 17px; text-wrap: pretty; }
.fig { margin: 0; }
.app-frame { overflow: hidden; border: 1px solid var(--frame); border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .85); }
.app-frame-big { border-radius: 8px; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9); background: #1B1C1F; }
/* The whole app window at every width (the handover cropped it to the
   viewport below ~640px; the client wants it uncropped). */
.crop-center { display: block; width: 100%; height: auto; }
.caption { margin-top: 12px; font-size: 12px; color: var(--caption); }
.caption-big { margin-top: 14px; letter-spacing: .04em; }

.sec-features { display: flex; flex-direction: column; gap: clamp(88px, 11vw, 160px); }
.row { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 96px); align-items: center; }
.row-rev { flex-direction: row-reverse; }
.row-fig { flex: 1 1 560px; min-width: 0; margin: 0; }
.row-text { flex: 1 1 300px; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
h3 { margin: 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; font-weight: 500; letter-spacing: -0.025em; }
.row-text p { margin: 0; color: var(--text-3); font-size: 17px; text-wrap: pretty; }
.render { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.mono-inline { font-size: 15px; color: #C9CCD1; }
.lion-crop { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #000; }
.lion-crop img { position: absolute; width: 178%; max-width: none; left: -40.8%; top: -19%; height: auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--line); }
.cell { padding: 32px 32px 32px 0; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line); }
.cell h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; }
.cell p { margin: 0; color: var(--text-3); font-size: 16px; text-wrap: pretty; }

.sec-notify { padding: clamp(120px, 14vw, 220px) var(--gutter); max-width: 1440px; margin: 0 auto; }
.notify-inner { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.h2-notify { font-size: clamp(32px, 4vw, 56px); line-height: 1.05; }
.notify-lede { margin: 0; color: var(--text-3); font-size: 17px; }
.cta-wrap { width: 100%; max-width: 520px; margin-top: 12px; text-align: left; }
.cta-wrap .status { display: block; }

.footer { border-top: 1px solid var(--line-soft); padding: 48px var(--gutter) 56px; }
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-word { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.footer-year { font-size: 14px; color: var(--label); }
.footer-contact { font-size: 14px; }
.credits { display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.7; color: var(--label); }
.credits-head { letter-spacing: .14em; text-transform: uppercase; }
.credits-list { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Mobile hero (<= 700px): media covers the top 68%, whole lion visible. */
@media (max-width: 700px) {
  .hero { min-height: clamp(720px, 100svh, 900px); }
  .hero-media { bottom: auto; height: var(--mh); }
  .hero-media img, .hero-media video { object-position: var(--mx) var(--my); transform: scale(var(--mz)); transform-origin: var(--mx) var(--my); }
  .hero-scrim { background: linear-gradient(to bottom, rgba(13,13,13,.7) 0%, rgba(13,13,13,0) 16%, rgba(13,13,13,0) 55%, rgba(13,13,13,.85) 82%, #0D0D0D 100%); }
}
