@import url("meridian.css");

/* ===== AGE CHECKPOINT ===== */
.checkpoint { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; background: rgba(10,7,20,0.94); backdrop-filter: blur(6px); }
.checkpoint.is-cleared { display: none; }
.checkpoint-panel { width: min(420px, 90vw); background: var(--wash-panel); border: 1px solid var(--vellum-600); border-radius: var(--fold-lg); padding: 36px 30px; text-align: center; }
.checkpoint-badge { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--wash-brand); color: #12061f; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.checkpoint-panel h3 { color: var(--paper); font-size: 19px; margin-bottom: 10px; }
.checkpoint-panel p { font-size: 14px; color: var(--parchment-dim); margin-bottom: 22px; }
.pair-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .pair-row { grid-template-columns: 1fr; } }
.checkpoint-wait { display: none; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--parchment-dim); }
.checkpoint-wait.is-active { display: flex; }
.checkpoint-ring { width: 16px; height: 16px; border: 2px solid var(--vellum-600); border-top-color: var(--ink-400); border-radius: 50%; animation: checkpoint-spin 0.8s linear infinite; }
@keyframes checkpoint-spin { to { transform: rotate(360deg); } }

/* ===== TOP COMPASS BAR ===== */
.compass-bar { position: sticky; top: 0; z-index: 150; background: rgba(10,7,20,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--vellum-700); }
.compass-bar-in { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.signet { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--paper); }
.signet-glyph { width: 34px; height: 34px; border-radius: 9px; background: var(--wash-brand); color: #12061f; display: grid; place-items: center; font-weight: 900; font-size: 13px; flex-shrink: 0; }
.signet span.ink-hl { background: var(--wash-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.routes { display: flex; align-items: center; gap: 24px; }
.routes a { font-size: 14px; font-weight: 600; color: var(--parchment-dim); transition: color var(--pace-fast) ease; }
.routes a:hover, .routes a.is-current { color: var(--paper); }

.menu-pin { display: none; width: 38px; height: 38px; place-items: center; gap: 4px; }
.menu-pin span { display: block; width: 20px; height: 2px; background: var(--parchment); border-radius: 2px; }
.route-drop { display: none; flex-direction: column; gap: 2px; padding: 10px 0 18px; }
.route-drop a { padding: 12px 4px; font-size: 14px; font-weight: 600; color: var(--parchment-dim); border-top: 1px solid var(--vellum-700); }
.route-drop a:first-child { border-top: none; }
@media (max-width: 900px) { .routes { display: none; } .menu-pin { display: grid; } .route-drop.is-expanded { display: flex; } }

/* ===== BANNER ===== */
.banner { padding: 60px 0 20px; }
.banner-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .banner-grid { grid-template-columns: 1fr; } }
.banner-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.signal-tag { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding: 12px 16px; background: var(--vellum-900); border: 1px solid var(--vellum-700); border-radius: var(--fold-md); width: fit-content; }
.signal-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-400); box-shadow: 0 0 10px var(--ink-400); }
.signal-text { font-size: 13px; color: var(--parchment-dim); }
.signal-text b { color: var(--paper); }

/* survey card mockup */
.survey-card {
  width: min(320px, 90vw); margin: 0 auto; border-radius: 28px;
  background: var(--wash-panel); border: 1px solid var(--vellum-600); padding: 20px;
  box-shadow: 0 30px 80px rgba(124,58,237,0.25);
}
.survey-card-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--vellum-700); margin-bottom: 14px; }
.survey-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--wash-brand); display: grid; place-items: center; font-weight: 900; color: #12061f; font-size: 12px; }
.survey-title { font-size: 13px; font-weight: 700; color: var(--paper); }
.survey-sub { font-size: 11px; color: var(--ink-400); }
.survey-bar { height: 8px; border-radius: 6px; background: var(--vellum-800); overflow: hidden; margin-bottom: 10px; }
.survey-bar-fill { height: 100%; background: var(--wash-brand); border-radius: 6px; animation: survey-fill 2.4s ease-in-out infinite alternate; }
@keyframes survey-fill { from { width: 20%; } to { width: 92%; } }
.survey-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--parchment-dim); margin-bottom: 6px; }
.survey-row b { color: var(--paper); }

/* ===== FOOTER ===== */
.foot-base { border-top: 1px solid var(--vellum-700); padding: 44px 0 28px; background: var(--vellum-900); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { color: var(--paper); font-size: 13px; margin-bottom: 14px; }
.foot-grid ul { display: flex; flex-direction: column; gap: 9px; }
.foot-grid a { font-size: 13px; color: var(--parchment-dim); }
.foot-grid a:hover { color: var(--ink-400); }
.foot-strip { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--vellum-700); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--parchment-faint); }
.foot-strip a { color: var(--parchment-faint); }
.foot-strip a:hover { color: var(--ink-400); }
