/* Public pages of MyFacelessAI by coding180 (landing, sign-in, legal, 404).
   Colours, fonts and radius come from the tokens at the top of app.css. */

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }

/* ---------- buttons ---------- */
.b { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: transform .15s, background-color .15s, border-color .15s, color .15s; cursor: pointer; }
.b:active { transform: translateY(1px); }
.b svg { width: 18px; height: 18px; }
.b-lime { background: var(--lime); color: var(--ink); }
.b-lime:hover { background: #d4ff4a; }
.b-violet { background: var(--violet); color: #fff; }
.b-violet:hover { background: #8d7ef8; }
.b-line { border: 1px solid var(--line); color: var(--text); }
.b-line:hover { border-color: var(--text-dim); }
.b-ink { background: var(--ink); color: var(--text); }
.b-ink:hover { background: #1b1d2e; }
.b-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.b-sm { height: 36px; padding: 0 14px; font-size: .875rem; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgb(14 15 26 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-nav { display: flex; gap: 24px; margin-left: 12px; }
.site-nav a { color: var(--text-dim); font-size: .92rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); }
.head-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 12px 16px 20px; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .b { margin-top: 14px; width: 100%; }
.mobile-nav.open { display: block; }
@media (max-width: 860px) {
  .site-nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- shared section bits ---------- */
.sec { padding: 96px 0; }
.sec-tight { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgb(198 244 50 / .1); color: var(--lime); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.eyebrow.v { background: rgb(124 108 246 / .14); color: #b3a9ff; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.08; font-weight: 700; margin-top: 14px; letter-spacing: -.025em; }
.sec-head p { margin-top: 14px; color: var(--text-dim); font-size: 1.08rem; line-height: 1.6; }
.hl { color: var(--lime); }
.hl-v { color: #b3a9ff; }
@media (max-width: 640px) { .sec { padding: 64px 0; } .sec-head { margin-bottom: 32px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 80px; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgb(124 108 246 / .28), transparent); pointer-events: none; }
.hero::after { content: ''; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px; background: radial-gradient(closest-side, rgb(198 244 50 / .12), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--ink); background: var(--lime); padding: 0 .14em; border-radius: 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lede { margin-top: 22px; font-size: 1.15rem; line-height: 1.6; color: var(--text-dim); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--violet); }
.hero-visual { position: relative; height: 560px; }
.phone { position: absolute; width: 270px; aspect-ratio: 9 / 16; border-radius: 34px; padding: 8px; background: #05060c; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .9), 0 0 0 6px rgb(255 255 255 / .02); overflow: hidden; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.phone.main { right: 70px; top: 10px; z-index: 2; }
/* Hero phones play like a short video: each picture slowly zooms and drifts (Ken Burns); the main phone moves
   through several scenes with a cross-fade and word-by-word captions (heroReel() in site.js). */
.phone .scene { position: absolute; inset: 8px; border-radius: 27px; overflow: hidden; opacity: 0; transition: opacity .9s ease; }
.phone .scene.on { opacity: 1; }
.phone .scene img { border-radius: 0; transform-origin: 50% 40%; will-change: transform; }
.phone.back .scene img, .phone.back2 .scene img { animation: kb-a 14s ease-in-out infinite alternate; }
.phone.back2 .scene img { animation-name: kb-b; animation-duration: 17s; }
.phone.main .scene.on img, .phone.main .scene.prev img { animation: kb-a 5.2s linear both; }
.phone.main .scene:nth-of-type(even).on img, .phone.main .scene:nth-of-type(even).prev img { animation-name: kb-b; }
@keyframes kb-a { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.2) translate(-3%, -2%); } }
@keyframes kb-b { from { transform: scale(1.2) translate(3%, 2%); } to { transform: scale(1.05) translate(0, 0); } }
.hero-cap { position: absolute; left: 14px; right: 14px; top: 64%; z-index: 2; text-align: center; font-family: 'Arial Black', 'Inter', sans-serif; font-weight: 900; font-size: 1.45rem; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase; color: #fff; -webkit-text-stroke: 6px #000; paint-order: stroke fill; text-shadow: 0 4px 12px rgb(0 0 0 / .45); pointer-events: none; }
.hero-cap .on { color: var(--lime); display: inline-block; animation: cap-pop .22s ease-out; }
@keyframes cap-pop { from { transform: scale(1.18); } }
@media (max-width: 520px) { .hero-cap { font-size: 1.2rem; -webkit-text-stroke-width: 5px; } }
@media (prefers-reduced-motion: reduce) { .phone .scene img { animation: none !important; } .hero-cap .on { animation: none; } }
.phone.back { width: 210px; right: 0; top: 120px; transform: rotate(6deg); opacity: .75; z-index: 1; }
.phone.back2 { width: 200px; right: 300px; top: 210px; transform: rotate(-7deg); opacity: .6; z-index: 1; }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--ink-raised); border: 1px solid var(--line); box-shadow: 0 16px 30px -12px rgb(0 0 0 / .7); font-size: .85rem; font-weight: 600; }
.chip small { display: block; font-weight: 500; color: var(--text-dim); font-size: .75rem; }
.chip .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.chip .dot svg { width: 16px; height: 16px; }
.chip.c1 { left: 0; top: 70px; }
.chip.c2 { right: 0; bottom: 40px; }
.chip.c3 { left: 30px; bottom: 120px; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; max-width: 460px; width: 100%; margin-inline: auto; }
  .phone.main { right: 50%; transform: translateX(50%); }
  .phone.back { right: 0; }
  .phone.back2 { right: auto; left: 0; }
}
@media (max-width: 520px) {
  .hero-visual { height: 470px; }
  .phone.main { width: 230px; }
  .phone.back, .phone.back2 { width: 160px; }
  .chip.c1 { top: 20px; }
  .chip.c3 { display: none; }
}

/* ---------- sample strip ---------- */
.reel-row { width: max-content; max-width: 100%; margin-inline: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.reel { scroll-snap-align: start; }
.reel .frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--ink-raised); border: 1px solid var(--line); }
.reel .frame img, .reel .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .frame video { opacity: 0; transition: opacity .25s; }
.reel.playing .frame video { opacity: 1; }
.reel .tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; background: rgb(14 15 26 / .75); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 600; }
.reel .play { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.reel .play svg { width: 16px; height: 16px; }
/* while a reel waits for its video, a ring spins in the middle of the picture */
.reel .frame.loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .25); border-top-color: #fff; animation: reel-spin .8s linear infinite; pointer-events: none; }
@keyframes reel-spin { to { transform: rotate(360deg); } }
.reel h3 { margin-top: 10px; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.reel p { margin-top: 3px; font-size: .8rem; color: var(--text-dim); }
.fine { font-size: .82rem; color: var(--text-dim); margin-top: 18px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--ink-raised); border: 1px solid var(--line); }
.step .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; background: var(--lime); color: var(--ink); }
.step:nth-child(2) .num { background: var(--violet); color: #fff; }
.step:nth-child(3) .num { background: var(--text); color: var(--ink); }
.step h3 { margin-top: 22px; font-size: 1.35rem; font-weight: 600; }
.step p { margin-top: 10px; color: var(--text-dim); line-height: 1.6; }
.step ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.step li { padding: 5px 10px; border-radius: 999px; background: var(--ink-high); font-size: .78rem; color: var(--text-dim); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; padding: 26px; border-radius: var(--radius); background: var(--ink-raised); border: 1px solid var(--line); overflow: hidden; position: relative; }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(198 244 50 / .12); color: var(--lime); }
.tile .ic.v { background: rgb(124 108 246 / .16); color: #b3a9ff; }
.tile .ic svg { width: 20px; height: 20px; }
.tile h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 600; }
.tile p { margin-top: 8px; color: var(--text-dim); line-height: 1.55; font-size: .96rem; }
.big-num { font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--lime); }
.styles-mosaic { margin-top: 20px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.styles-mosaic figure { margin: 0; min-width: 0; }
.styles-mosaic img { display: block; width: 100%; background: var(--ink-high); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.styles-mosaic figcaption { font-size: .68rem; color: var(--text-dim); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .styles-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 12px; } .styles-mosaic figcaption { white-space: normal; overflow: visible; line-height: 1.25; } }
.voice-list { margin-top: 18px; display: grid; gap: 8px; }
.voice { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 12px; background: var(--ink-high); border: 1px solid transparent; text-align: left; width: 100%; }
.voice:hover { border-color: var(--line); }
.voice .pb { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; flex-shrink: 0; }
.voice .pb svg { width: 14px; height: 14px; }
.voice.on .pb { background: var(--lime); color: var(--ink); }
.voice b { font-size: .9rem; }
.voice span { font-size: .78rem; color: var(--text-dim); }
.cap-demo { margin-top: 18px; height: 120px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #2a2160, #121427); font-family: 'Arial Black', 'Inter', sans-serif; font-weight: 900; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 3px 0 #000, 0 0 18px rgb(0 0 0 / .6); }
.cap-demo .on { color: var(--lime); }
.platforms { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.platforms span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--ink-high); font-size: .85rem; font-weight: 600; }
.platforms svg { width: 16px; height: 16px; }
.topic-cloud { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.topic-cloud span { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; }
.topic-cloud span.mine { border-style: dashed; color: var(--lime); border-color: rgb(198 244 50 / .45); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile.w3, .tile.w4 { grid-column: span 2; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--ink-raised); border: 1px solid var(--line); position: relative; }
.plan.feat { border: 2px solid var(--lime); background: linear-gradient(180deg, rgb(198 244 50 / .07), var(--ink-raised) 40%); }
.plan .flag { position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.plan h3 { font-size: 1.3rem; font-weight: 600; }
.plan .for { color: var(--text-dim); font-size: .9rem; margin-top: 4px; }
.plan .price { margin-top: 20px; font-family: var(--font-head); font-size: 3rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan .price small { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0; }
.plan .cad { margin-top: 6px; font-size: .9rem; color: var(--lime); font-weight: 600; }
.plan ul { margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.plan li svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; margin-top: 1px; }
.plan .b { margin-top: auto; width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--ink-raised); border: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-high); flex-shrink: 0; transition: transform .2s, background-color .2s; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--lime); color: var(--ink); }
.faq .ans { padding: 0 22px 22px; color: var(--text-dim); line-height: 1.65; }

/* ---------- final call to action ---------- */
.cta-band { border-radius: 28px; padding: 64px 48px; background: var(--lime); color: var(--ink); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 80px; background: var(--violet); transform: rotate(18deg); opacity: .9; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.cta-band p { margin-top: 12px; font-size: 1.08rem; color: #2a2f12; max-width: 520px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 44px 24px; } .cta-band::after { width: 200px; height: 200px; right: -90px; top: auto; bottom: -110px; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 56px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); font-weight: 600; margin-bottom: 14px; }
.foot-grid a { display: block; padding: 5px 0; color: var(--text); font-size: .92rem; }
.foot-grid a:hover { color: var(--lime); }
.foot-blurb { margin-top: 14px; color: var(--text-dim); font-size: .92rem; line-height: 1.6; max-width: 320px; }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-dim); font-size: .85rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- legal / text pages ---------- */
.doc { max-width: 760px; margin-inline: auto; padding: 56px 0 0; }
.doc .eyebrow { margin-bottom: 14px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.doc .updated { margin-top: 10px; color: var(--text-dim); font-size: .9rem; }
.doc .note { margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: rgb(124 108 246 / .12); border: 1px solid rgb(124 108 246 / .3); font-size: .92rem; color: #d6d1ff; }
.doc h2 { margin-top: 40px; font-size: 1.4rem; font-weight: 600; }
.doc p, .doc li { margin-top: 12px; color: #c9cbe0; line-height: 1.7; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a:not(.b) { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.mail-card { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--ink-raised); border: 1px solid var(--line); }
.mail-card code { font-size: 1rem; color: var(--text); flex: 1; min-width: 220px; }

/* ---------- auth pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-main { display: flex; flex-direction: column; padding: 28px 40px; }
.auth-main .box { width: 100%; max-width: 400px; margin: auto; padding: 40px 0; }
.auth-side { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 80% 10%, #3a2fa8 0%, #1a1740 45%, #0e0f1a 100%); display: flex; align-items: center; justify-content: center; padding: 40px; border-left: 1px solid var(--line); }
.auth-side .phone { position: relative; width: 250px; }
.auth-side .quote { position: absolute; left: 40px; right: 40px; bottom: 36px; color: #d6d1ff; font-size: .95rem; line-height: 1.6; }
.auth-side .quote b { color: var(--text); font-family: var(--font-head); font-size: 1.3rem; display: block; margin-bottom: 6px; }
.auth h1 { font-size: 2rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.auth .sub { margin-top: 8px; color: var(--text-dim); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--ink-raised); border: 1px solid var(--line); margin-bottom: 28px; }
.seg button { height: 38px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text-dim); }
.seg button.on { background: var(--ink-high); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: .85rem; font-weight: 600; }
.field .in { position: relative; }
.field input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; background: var(--ink-raised); border: 1px solid var(--line); font-size: .98rem; }
.field input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgb(198 244 50 / .18); }
.field input.bad { border-color: hsl(var(--destructive)); }
.field .eye { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--text-dim); }
.field .eye svg { width: 18px; height: 18px; }
.field .err, .box .err { color: hsl(var(--destructive)); font-size: .82rem; }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 4px; }
.meter i { height: 4px; border-radius: 4px; background: var(--ink-high); }
.meter.weak i:nth-child(1) { background: hsl(var(--destructive)); }
.meter.medium i:nth-child(-n+2) { background: #f5b942; }
.meter.strong i { background: var(--lime); }
.meter-tips { font-size: .78rem; color: var(--text-dim); margin-top: 2px; }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--text-dim); font-size: .8rem; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth .b { width: 100%; }
.auth .b-google { border: 1px solid var(--line); background: var(--ink-raised); color: var(--text); }
.auth .b-google:hover { border-color: var(--text-dim); }
.auth .b-google svg { width: 18px; height: 18px; }
.auth .small { margin-top: 18px; font-size: .85rem; color: var(--text-dim); text-align: center; }
.auth .small a, .auth .link { color: var(--lime); font-weight: 600; }
.demo-hint { margin-top: 22px; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgb(124 108 246 / .5); color: #d6d1ff; font-size: .85rem; }
.demo-hint code { color: var(--text); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-main { padding: 20px 16px; } }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - 68px); display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.nf .code { font-family: var(--font-head); font-size: clamp(6rem, 20vw, 11rem); font-weight: 700; line-height: .9; letter-spacing: -.06em; background: linear-gradient(120deg, var(--lime), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { margin-top: 18px; font-size: 1.8rem; font-weight: 700; }
.nf p { margin: 10px auto 26px; color: var(--text-dim); max-width: 420px; }
.nf .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.foot-grid a.fr-logo { display: inline-flex; padding: 0; }

/* ---------- waitlist pop-up (landing-only build, see waitlist() in site.js) ---------- */
.wl-back { position: fixed; inset: 0; z-index: 900; background: rgb(5 6 12 / .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: wl-in .2s ease-out; }
.wl { position: relative; width: 100%; max-width: 440px; padding: 34px 30px 28px; border-radius: 22px; background: var(--ink-raised); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .7); }
.wl-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--text-dim); }
.wl-x:hover { background: var(--ink-high); color: var(--text); }
.wl-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(124 108 246 / .16); color: var(--violet); }
.wl-ic.ok { background: rgb(198 244 50 / .14); color: var(--lime); }
.wl h2 { margin-top: 16px; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.wl-sub { margin-top: 8px; color: var(--text-dim); line-height: 1.55; }
.wl-sub b { color: var(--text); font-weight: 600; word-break: break-all; }
.wl form .b { width: 100%; margin-top: 18px; }
.wl-body > .b { margin-top: 22px; }
.wl-fine { margin-top: 12px; font-size: .78rem; color: var(--text-dim); text-align: center; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@keyframes wl-in { from { opacity: 0; } }
