/* ============================================================
   Unity Bean — Coming Soon
   Standalone placeholder page. Palette and type mirror the main
   Unity Bean site (see unitybean/app/styles.css) so the switch-over
   is seamless once the full site is ready.
   ============================================================ */

:root {
  --ub-purple:   #5a3e8c;
  --ub-purple-d: #3e2a65;
  --ub-teal:     #0097b2;
  --ub-teal-d:   #007a90;
  --ub-gold:     #d4a441;
  --ub-gold-l:   #ddb040;
  --ub-gold-d:   #b08428;
  --ub-black:    #1c1c1c;
  --ub-cream:    #f7f4ef;

  --font-display: 'Gelasio', Georgia, 'Times New Roman', serif;
  --font-body:    'Carlito', 'Calibri', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', Courier, monospace;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ub-cream);
  background: radial-gradient(120% 140% at 50% 0%, #262030 0%, var(--ub-black) 55%, #141414 100%);
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  display: flex;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--ub-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Decorative bean field ─────────────────────────────────── */
.bean-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bean-field span {
  position: absolute;
  width: 46px;
  height: 68px;
  border-radius: 50%;
  background: var(--ub-gold);
  opacity: 0.05;
  transform: rotate(20deg);
}
.bean-field span::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 62%;
  background: var(--ub-black);
  opacity: 0.35;
  transform: translate(-50%, -50%);
}
.bean-field span:nth-child(odd)  { background: var(--ub-teal); transform: rotate(-25deg); }
.bean-field span:nth-child(3n)   { background: var(--ub-purple); }

.bean-field span:nth-child(1)  { top: 6%;  left: 8%;  transform: rotate(18deg) scale(1.4); }
.bean-field span:nth-child(2)  { top: 14%; left: 82%; transform: rotate(-30deg) scale(1.1); }
.bean-field span:nth-child(3)  { top: 78%; left: 4%;  transform: rotate(40deg) scale(1.6); }
.bean-field span:nth-child(4)  { top: 88%; left: 76%; transform: rotate(-15deg) scale(1.2); }
.bean-field span:nth-child(5)  { top: 40%; left: 92%; transform: rotate(10deg) scale(0.9); }
.bean-field span:nth-child(6)  { top: 55%; left: 2%;  transform: rotate(-40deg) scale(1.3); }
.bean-field span:nth-child(7)  { top: 2%;  left: 45%; transform: rotate(35deg) scale(0.8); }
.bean-field span:nth-child(8)  { top: 92%; left: 40%; transform: rotate(-20deg) scale(1.5); }
.bean-field span:nth-child(9)  { top: 30%; left: 20%; transform: rotate(60deg) scale(0.7); }
.bean-field span:nth-child(10) { top: 65%; left: 60%; transform: rotate(-55deg) scale(0.85); }
.bean-field span:nth-child(11) { top: 10%; left: 65%; transform: rotate(25deg) scale(1); }
.bean-field span:nth-child(12) { top: 48%; left: 40%; transform: rotate(-10deg) scale(0.6); }
.bean-field span:nth-child(13) { top: 72%; left: 88%; transform: rotate(15deg) scale(1); }
.bean-field span:nth-child(14) { top: 20%; left: 30%; transform: rotate(-45deg) scale(0.75); }
.bean-field span:nth-child(15) { top: 60%; left: 15%; transform: rotate(30deg) scale(1.1); }

@media (prefers-reduced-motion: no-preference) {
  .bean-field span { animation: drift 22s ease-in-out infinite; }
  .bean-field span:nth-child(even) { animation-duration: 28s; animation-direction: reverse; }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-18px) rotate(var(--r, 0deg)); }
}

/* ── Layout ─────────────────────────────────────────────────── */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 32px;
}

.card {
  width: 100%;
  min-width: 0;
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card > * {
  max-width: 100%;
  min-width: 0;
}

.logo {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 164, 65, 0.2);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ub-teal);
  margin: 0 0 18px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: #fff;
  margin: 0 0 18px;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ub-gold);
  margin: 0 0 22px;
}

.lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(247, 244, 239, 0.72);
  max-width: 520px;
  margin: 0 0 30px;
}

.inline-link {
  color: var(--ub-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-link:hover { color: #3fc4de; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.6);
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  margin: 0 0 36px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ub-gold);
  box-shadow: 0 0 8px var(--ub-gold);
  flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease,
    transform 0.22s ease, border-color 0.22s ease;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--ub-gold);
  color: var(--ub-black);
  box-shadow: 0 4px 20px rgba(212, 164, 65, 0.3);
}
.btn-gold:hover {
  background: var(--ub-gold-l);
  box-shadow: 0 6px 26px rgba(212, 164, 65, 0.42);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Footer ─────────────────────────────────────────────────── */
.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 560px;
}

.foot-brand {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.35);
  margin: 0 0 8px;
}

.foot-copy {
  font-size: 0.8rem;
  color: rgba(247, 244, 239, 0.3);
  margin: 0;
}
.foot-copy a {
  color: rgba(247, 244, 239, 0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.foot-copy a:hover { color: var(--ub-teal); }

@media (max-width: 480px) {
  .wrap { padding: 36px 20px 24px; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.08em; }
  .status { font-size: 0.7rem; letter-spacing: 0.06em; padding: 9px 14px; }
  .cta-row { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
}
