/*
 * Áphetos — coming-soon holding page.
 * Standalone (does not consume the main site's tokens). Zero JS; CSP script-src 'none'.
 * Light treatment so the navy+gold release artwork in the lockup reads at full strength.
 *
 * Layout is deliberately simple: body is the page-height flex column, .stage centres a
 * single narrow content column, .foot pins to the bottom. Every block uses max-width +
 * margin auto and inherits text-align:center — no absolute positioning, no width:100%
 * boxes to overflow.
 */

:root {
  --navy: #0A0F1A;
  --blue: #3B82F6;
  --gold: #F5C26B;
  --offwhite: #F5F5F0; /* brand off-white (tokens.json) */
  --panel: #FAFAFA;    /* matched to the lockup's baked background so the artwork blends in */
  --ink: #0A0F1A;
  --ink-dim: rgba(10, 15, 26, 0.72);
  --ink-faint: rgba(10, 15, 26, 0.52);

  /* ACTIVE: deepened gold on light, chosen for the warm/premium feel (Rob, 2026-06-14).
     #A8761A is a darkened brand gold (token gold #F5C26B is too light to read on #F5F5F0).
     To switch to the on-brand blue light accent instead, set:
       --accent: var(--blue); --accent-glow: rgba(59,130,246,0.12); --accent-soft: rgba(59,130,246,0.5);
       --accent-tint: rgba(59,130,246,0.10); --accent-line: rgba(59,130,246,0.55); */
  --accent: #A8761A;
  --accent-glow: rgba(245, 194, 107, 0.14);
  --accent-soft: rgba(245, 194, 107, 0.5);
  --accent-tint: rgba(168, 118, 26, 0.10);
  --accent-line: rgba(168, 118, 26, 0.5);

  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(55rem 38rem at 64% 34%, var(--accent-glow), transparent 60%),
    radial-gradient(46rem 34rem at 28% 52%, rgba(245, 194, 107, 0.05), transparent 62%),
    var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- stage: centres one narrow column ---------- */

.stage {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center; /* safe: align to start instead of clipping the top when content is tall */
  gap: 0;
  width: 100%;             /* fill the viewport up to max-width; without this, margin-inline:auto
                              would let the column size to max-content and overflow small screens */
  max-width: 37rem;        /* the content column, centred on wide screens */
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 5rem) 1.5rem 2.5rem;
}

/* ---------- lockup panel ---------- */

.lockup {
  display: block;
  width: clamp(12rem, 56vw, 17rem);
  max-width: 100%;
  margin: 0 0 clamp(1.5rem, 5vw, 2.4rem);
  padding: clamp(0.6rem, 3vw, 1.1rem);
  background: var(--panel);
  border-radius: clamp(1rem, 3vw, 1.5rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 50px -22px rgba(10, 15, 26, 0.30),
    0 4px 14px -8px rgba(10, 15, 26, 0.18);
}
.lockup img { display: block; width: 100%; height: auto; border-radius: 0.6rem; }

/* ---------- eyebrow ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 1.3rem;
}

.eyebrow .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--blue); /* blue "live" dot next to Launching; the rest of the page stays gold */
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
  70%  { box-shadow: 0 0 0 0.55rem transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- headline ---------- */

.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 1.05rem + 2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0 0 0.7rem;
}
.headline em {
  font-style: normal;
  color: var(--accent);
}

.message-accent {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 0.95rem + 0.45vw, 1.18rem);
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 1.3rem;
}

/* ---------- lede ---------- */

.lede {
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 30rem;
  margin: 0 0 2.1rem;
}

/* ---------- teasers ---------- */

.divider {
  width: 100%;
  max-width: 3rem;
  height: 2px;
  margin: 0.4rem 0 2.3rem;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.teaser {
  width: 100%;
  margin: 0 0 2.4rem;
}

.tlabel {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.3rem;
}
.tlabel-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.shield { width: 1.05rem; height: 1.05rem; color: var(--ink); }

/* industry icon tiles — centred flex so a partial last row stays centred */
.icon-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 1rem;
}

.icon-grid li {
  flex: 0 0 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.ti {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ink);
}
.icon-grid span {
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--ink-dim);
}

/* regulatory framework badges */
.badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.badges li {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-tint);
}

/* value teaser cards */
.value-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 540px) { .value-cards { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; } }

.value-cards li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.vi {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--ink);
}
.value-cards h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  margin: 0;
  color: var(--ink);
}
.value-cards li p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-dim);
  margin: 0;
}

/* ---------- contact ---------- */

.contact {
  font-size: 0.95rem;
  color: var(--ink-dim);
  margin: 0.4rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-email {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.45rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid rgba(59, 130, 246, 0.45);
  padding-bottom: 0.12em;
  transition: border-color 200ms ease;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.contact-email:hover { border-color: var(--gold); }
.contact-email:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- footer ---------- */

.foot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem 1rem;
  padding: 1.4rem 1.5rem 1.8rem;
  color: var(--ink-faint);
}

.greek {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.abn { font-size: 0.78rem; }

/* ---------- load reveal ---------- */

.reveal { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.r1 { animation-delay: 0.05s; }
.r2 { animation-delay: 0.35s; }
.r3 { animation-delay: 0.5s; }
.r4 { animation-delay: 0.7s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
