/* SmallTomorrow / JobRelay public pages — blue-sky, bubbly, welcoming. Self-hosted (CSP: style-src 'self', font-src 'self'). */

@font-face {
  font-family: "Baloo 2"; /* SIL OFL — see fonts/OFL-Baloo2.txt */
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/baloo2-latin.woff2") format("woff2");
}

:root {
  --sky-hi: #d4e7f5;
  --sky: #e6f0f8;
  --sky-deep: #d8e9f6;
  --card: #ffffff;
  --ink: #1b3a63;
  --ink-soft: #3f5779;
  --ink-mute: #4f6488;
  --line: rgba(27, 58, 99, 0.1);
  --brand: #2f8bff;
  --brand-deep: #1f6ce0;
  --teal: #16b890;
  --teal-soft: #dff7ef;
  --amber: #f5a53c;
  --amber-soft: #fef3df;
  --grad: linear-gradient(135deg, #2f8bff, #16b890);
  --grad-text: linear-gradient(135deg, #1a56b8, #0a7d61);
  --brand-text: #1a56b8;
  --font-bubble: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 20px;
  --shadow: 0 14px 40px rgba(31, 108, 224, 0.12);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.friendly-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--sky-hi) 0%, var(--sky) 320px, #f1f6fa 100%);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.shell { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* nav */
.top-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(230, 240, 248, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-nav .shell { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-bubble);
  font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.mark-glyph {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(47, 139, 255, 0.35);
}
.mark-glyph svg { width: 16px; height: 16px; display: block; }
.mark .dot-ai { color: var(--brand); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-plain { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav-plain:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--font-bubble);
  font-weight: 600; font-size: 15.5px; text-decoration: none;
  transition: transform 0.22s var(--pop), box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 26px rgba(47, 139, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 32px rgba(47, 139, 255, 0.38); }
.btn-quiet { color: var(--ink-soft); font-size: 14.5px; }
.btn-quiet:hover { color: var(--ink); }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* sky: sun + clouds (pure CSS, parallax wrappers positioned per scene) */
.sky-scene { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 0; }
.hero > div, .hero .demo-stage { position: relative; z-index: 1; }
.sun-glow {
  position: absolute; top: -70px; right: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 112, 0.22) 0%, rgba(255, 205, 112, 0) 66%);
}
.cloud-layer { position: absolute; will-change: transform; }
.cloud {
  position: relative; display: block; background: #fff; border-radius: 999px;
  box-shadow: 0 16px 34px rgba(31, 108, 224, 0.1);
  animation: cloudDrift 9s ease-in-out infinite alternate;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud.c1 { width: 130px; height: 42px; }
.cloud.c1::before { width: 56px; height: 56px; top: -26px; left: 22px; }
.cloud.c1::after { width: 40px; height: 40px; top: -16px; left: 66px; }
.cloud.c2 { width: 92px; height: 30px; opacity: 0.85; animation-delay: -3s; }
.cloud.c2::before { width: 40px; height: 40px; top: -18px; left: 16px; }
.cloud.c2::after { width: 28px; height: 28px; top: -11px; left: 48px; }
.cloud.c3 { width: 68px; height: 24px; opacity: 0.7; animation-delay: -6s; }
.cloud.c3::before { width: 30px; height: 30px; top: -14px; left: 12px; }
.cloud.c3::after { width: 22px; height: 22px; top: -9px; left: 35px; }
@keyframes cloudDrift { from { transform: translateX(-8px); } to { transform: translateX(14px); } }
.cloud-pos-1 { top: 2%; left: 58%; opacity: 0.75; }
.cloud-pos-2 { top: 62%; left: 2%; }
.cloud-pos-3 { top: 26%; right: 6%; }
.cloud-pos-4 { top: 12%; left: 6%; }
.cloud-pos-5 { top: 58%; right: 4%; }

/* hero */
.hero { padding: 92px 0 64px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; position: relative; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 56px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--amber); border-radius: 50%; }

.hero h1 {
  font-family: var(--font-bubble);
  font-size: clamp(38px, 5.4vw, 58px);
  line-height: 1.1; letter-spacing: -0.005em; font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* bubbly letter pop (spans injected by landing.js) */
.pop-w { display: inline-block; white-space: nowrap; }
.pop-ch { display: inline-block; opacity: 0; transform: scale(0.2) translateY(16px); animation: bubblePop 0.6s var(--pop) forwards; }
@keyframes bubblePop {
  0% { opacity: 0; transform: scale(0.2) translateY(16px); }
  62% { opacity: 1; transform: scale(1.14) translateY(-3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-lede { font-size: 18.5px; color: var(--ink-soft); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { display: flex; align-items: center; gap: 9px; color: var(--ink-mute); font-size: 13.5px; }
.hero-trust svg { width: 15px; height: 15px; stroke: var(--teal); fill: none; stroke-width: 2.2; }

/* soft rise-in for hero support copy */
@keyframes bubbleRise {
  0% { opacity: 0; transform: translateY(22px) scale(0.96); }
  70% { opacity: 1; transform: translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}
.hero .eyebrow { animation: bubbleRise 0.55s var(--pop) both; }
.hero-lede { animation: bubbleRise 0.6s var(--pop) 0.5s both; }
.hero-actions { animation: bubbleRise 0.6s var(--pop) 0.62s both; }
.hero .hero-trust { animation: bubbleRise 0.6s var(--pop) 0.74s both; }
.demo-stage { animation: bubbleRise 0.7s var(--pop) 0.4s both; }

/* looping demo */
.demo-stage {
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow); padding: 26px; position: relative; overflow: hidden;
}
.demo-stage::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad);
}
.demo-label { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.call-bubble {
  background: var(--sky); border-radius: 18px; border-bottom-left-radius: 5px;
  padding: 14px 16px; font-size: 14.5px; color: var(--ink); max-width: 95%;
  margin-bottom: 20px; position: relative;
}
.call-bubble small { display: block; margin-top: 6px; color: var(--ink-mute); font-size: 12px; }
.call-bubble .live-dot {
  position: absolute; top: 14px; right: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); animation: pulse-dot 1.4s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.demo-steps { display: flex; flex-direction: column; gap: 10px; }
.demo-step {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  font-size: 14px; background: var(--card);
  opacity: 0.35; transform: translateY(8px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.45s var(--pop), border-color 0.35s ease, background 0.35s ease;
}
.demo-step.on { opacity: 1; transform: none; border-color: rgba(22, 184, 144, 0.4); background: var(--teal-soft); }
.demo-step .step-ico {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(47, 139, 255, 0.1); color: var(--brand);
}
.demo-step.on .step-ico { background: rgba(22, 184, 144, 0.16); color: var(--teal); }
.demo-step .step-ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.demo-step strong { display: block; font-size: 14px; }
.demo-step small { color: var(--ink-mute); font-size: 12.5px; }
.demo-step .step-check { margin-left: auto; width: 18px; height: 18px; opacity: 0; transform: scale(0.4); transition: opacity 0.3s, transform 0.35s var(--pop); }
.demo-step.on .step-check { opacity: 1; transform: scale(1); }
.demo-step .step-check svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.demo-foot { margin-top: 16px; font-size: 12.5px; color: var(--ink-mute); text-align: center; min-height: 18px; }
.demo-foot strong { color: var(--teal); }

/* marquee strip */
.marquee-band { padding: 10px 0 26px; position: relative; }
.marquee {
  overflow: hidden; display: flex; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-group {
  display: flex; align-items: center; gap: 14px; padding-right: 14px;
  flex-shrink: 0; min-width: 100%;
  animation: marqueeScroll 30s linear infinite;
}
.marquee:hover .marquee-group { animation-play-state: paused; }
@keyframes marqueeScroll { to { transform: translateX(-100%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 10px 18px; font-family: var(--font-bubble); font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  box-shadow: 0 6px 18px rgba(31, 108, 224, 0.07);
}
.marquee-item svg { width: 15px; height: 15px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* sections */
section.band { padding: 72px 0; position: relative; }
.band-deep { background: var(--sky-deep); border-top: 1px solid rgba(255, 255, 255, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.7); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 12px; }
.band h2 { font-family: var(--font-bubble); font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -0.005em; line-height: 1.16; font-weight: 700; margin-bottom: 14px; }
.band .lede { font-size: 17px; color: var(--ink-soft); max-width: 40em; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 820px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 6px 20px rgba(31, 108, 224, 0.06);
  transition: transform 0.25s var(--pop), box-shadow 0.25s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-card .pain-ico {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber-soft); color: var(--amber); margin-bottom: 14px;
}
.pain-card .pain-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pain-card strong { display: block; font-size: 16px; margin-bottom: 6px; }
.pain-card p { font-size: 14.5px; color: var(--ink-soft); }

.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 820px) { .agent-grid { grid-template-columns: 1fr; } }
.agent-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform 0.25s var(--pop), box-shadow 0.25s ease;
}
.agent-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow); }
.agent-card .agent-num { font-size: 12px; font-weight: 800; color: var(--ink-mute); letter-spacing: 0.08em; }
.agent-card .agent-ico {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(47, 139, 255, 0.09); color: var(--brand); margin: 14px 0;
}
.agent-card .agent-ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.agent-card h3 { font-family: var(--font-bubble); font-size: 19px; letter-spacing: 0; font-weight: 700; margin-bottom: 8px; }
.agent-card p { font-size: 14.5px; color: var(--ink-soft); }

/* trust */
.trust-band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .trust-band { grid-template-columns: 1fr; } }
.trust-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .tick {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  display: grid; place-items: center; background: var(--teal-soft);
}
.trust-item .tick svg { width: 13px; height: 13px; stroke: var(--teal); fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-size: 15.5px; }
.trust-item p { font-size: 14px; color: var(--ink-soft); }

.fit-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fit-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 9px 16px; font-family: var(--font-bubble); font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  transition: transform 0.2s var(--pop), box-shadow 0.2s ease;
}
.fit-chip:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 8px 20px rgba(31, 108, 224, 0.1); }
.fit-chip svg { width: 15px; height: 15px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* final */
.final-band { text-align: center; padding: 88px 0; position: relative; }
.final-band h2 { font-family: var(--font-bubble); font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.005em; font-weight: 700; margin-bottom: 14px; }
.final-band p { color: var(--ink-soft); font-size: 16.5px; max-width: 36em; margin: 0 auto 30px; }
.final-band > * { position: relative; z-index: 1; }
.final-note { display: block; margin-top: 18px; font-size: 13px; color: var(--ink-mute); }

.public-footer-light {
  border-top: 1px solid var(--line); padding: 26px 0; font-size: 13.5px; color: var(--ink-mute);
}
.public-footer-light .shell { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* bubbly scroll reveal */
.reveal { opacity: 0; transform: translateY(26px) scale(0.94); transition: opacity 0.4s ease, transform 0.6s var(--pop); }
.reveal.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .demo-step { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow, .hero-lede, .hero-actions, .hero .hero-trust, .demo-stage { animation: none; }
  .pop-ch { opacity: 1; transform: none; animation: none; }
  .cloud { animation: none; }
  .marquee-group { animation: none; }
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
}

/* auth pages (login / signup / pending) */
.auth-shell { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 860px) { .auth-shell { grid-template-columns: 1fr; } .auth-shell .auth-rail { display: none; } }
.auth-rail {
  background: linear-gradient(180deg, var(--sky-hi) 0%, var(--sky) 70%, #f3faff 100%);
  border-right: 1px solid var(--line);
  padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.auth-rail > * { position: relative; z-index: 1; }
.auth-rail .sky-scene { z-index: 0; }
.auth-rail h1 { font-family: var(--font-bubble); font-size: clamp(30px, 3.4vw, 40px); line-height: 1.14; letter-spacing: -0.005em; font-weight: 700; margin: 14px 0 14px; }
.auth-rail h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-rail > div > p { color: var(--ink-soft); font-size: 15.5px; max-width: 30em; }
.auth-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.auth-steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-soft); font-weight: 600; }
.auth-steps li span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--ink-mute);
}
.auth-steps li.current { color: var(--ink); }
.auth-steps li.current span { background: var(--grad); color: #fff; border-color: transparent; }
.auth-panel { display: grid; place-items: center; padding: 48px 24px; }
.auth-card {
  width: 100%; max-width: 460px;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow); padding: 38px 36px;
  animation: bubbleRise 0.55s var(--pop) both;
}
@media (max-width: 560px) { .auth-card { padding: 28px 22px; } }
.auth-card h2 { font-family: var(--font-bubble); font-size: 27px; letter-spacing: 0; font-weight: 700; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }
.auth-card .auth-sub a, .auth-note a { color: var(--brand); font-weight: 700; text-decoration: none; }
.auth-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.auth-form input {
  display: block; width: 100%; margin-top: 6px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 13px 15px; font-size: 15px; font-family: inherit; color: var(--ink); outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47, 139, 255, 0.14); }
.auth-form small { display: block; margin-top: 6px; color: var(--ink-mute); font-size: 12.5px; font-weight: 400; }
.auth-form .btn { width: 100%; justify-content: center; margin-top: 6px; border: 0; cursor: pointer; font-family: inherit; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-pair { grid-template-columns: 1fr; } }
.form-error {
  background: #fdecec; border: 1px solid #f0b9b5; color: #8a231d;
  border-radius: 12px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px;
}
.auth-note { margin-top: 20px; font-size: 13px; color: var(--ink-mute); }
.step-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.optional-tag { font-size: 11px; font-weight: 600; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.05em; margin-left: 6px; }
.step-back { background: none; border: 0; cursor: pointer; font-family: inherit; margin-top: 12px; padding: 0; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 72px; }
.pw-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: var(--sky); border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 700; color: var(--ink-soft);
  padding: 5px 12px; transition: background 0.15s ease, color 0.15s ease;
}
.pw-toggle:hover { background: var(--sky-deep); color: var(--ink); }
.pw-ok {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%) scale(0.6);
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-soft); opacity: 0; transition: opacity 0.2s ease, transform 0.25s var(--pop);
}
.pw-ok.show { opacity: 1; transform: translateY(-50%) scale(1); }
.pw-ok svg { width: 12px; height: 12px; stroke: var(--teal); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pw-meter { height: 5px; border-radius: 3px; background: rgba(27, 58, 99, 0.08); margin-top: 8px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 3px; transition: width 0.3s var(--pop), background 0.3s ease; }
.pw-meter.s1 span { width: 25%; background: #e24b4a; }
.pw-meter.s2 span { width: 50%; background: var(--amber); }
.pw-meter.s3 span { width: 75%; background: var(--brand); }
.pw-meter.s4 span { width: 100%; background: var(--teal); }
.pw-label { font-size: 12.5px; font-weight: 700; margin-top: 5px; display: block; min-height: 16px; }
.pw-label.s1 { color: #c23a39; }
.pw-label.s2 { color: #b07514; }
.pw-label.s3 { color: var(--brand-deep); }
.pw-label.s4 { color: var(--teal); }
.pw-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-mute); font-weight: 400; }
.pw-hint.good { color: var(--teal); font-weight: 600; }
.form-notice {
  background: var(--teal-soft); border: 1px solid rgba(22, 184, 144, 0.35); color: #0b6e55;
  border-radius: 12px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px;
}
.dev-link { word-break: break-all; font-size: 12.5px; margin-top: 10px; color: var(--ink-mute); }
.dev-link a { color: var(--brand); }
.auth-mark { margin-bottom: 34px; }
.pending-wrap { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.pending-card {
  max-width: 480px; text-align: center; background: var(--card);
  border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: 42px 38px;
  animation: bubbleRise 0.55s var(--pop) both;
}
.pending-card h1 { font-family: var(--font-bubble); font-size: 28px; letter-spacing: 0; font-weight: 700; margin: 18px 0 10px; }
.pending-card > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.pending-pulse { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); }
.pending-pulse svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pending-steps { text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 24px; background: var(--sky); }
.pending-steps span { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.pending-steps ol { margin: 10px 0 0 18px; color: var(--ink-soft); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  .auth-card, .pending-card { animation: none; }
}

/* small screens (phones) */
@media (max-width: 640px) {
  .top-nav .shell { height: 60px; padding: 0 16px; }
  .nav-links { gap: 14px; }
  .nav-links .nav-plain[href="#how"] { display: none; }
  .mark { font-size: 17px; gap: 8px; }
  .mark-glyph { width: 28px; height: 28px; }
  .btn-small { padding: 8px 14px; font-size: 13.5px; }

  .shell { padding: 0 18px; }
  .hero { padding: 44px 0 40px; gap: 34px; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 38px); }
  .hero-lede { font-size: 16.5px; }
  .hero-actions { gap: 14px; }

  .sky-scene .cloud { opacity: 0.45; }
  .cloud.c1 { width: 92px; height: 30px; }
  .cloud.c1::before { width: 40px; height: 40px; top: -18px; left: 16px; }
  .cloud.c1::after { width: 28px; height: 28px; top: -11px; left: 47px; }
  .sun-glow { width: 170px; height: 170px; top: -50px; right: -50px; }

  .demo-stage { padding: 20px 16px; border-radius: 20px; }
  .marquee-band { padding: 4px 0 18px; }
  section.band { padding: 52px 0; }
  .final-band { padding: 60px 0; }
  .auth-panel { padding: 32px 16px; }
  .public-footer-light .shell { justify-content: center; text-align: center; }
}
