/* Site revamp mockup (Nov 18 2026): gateway + path chooser on one page.
   Brief: site-revamp/HANDOFF.md. Uses the site's existing font stack. Preview only. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #08182E; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; color: #0f172a; background: #f5f7fb; }
a { color: inherit; }

/* ---- Gate: the first screen ---- */
.gw { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: #08182E; color: #fff; }
.gw-top { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 8px max(20px, env(safe-area-inset-left)); }
.gw-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 12px; letter-spacing: 0.16em; color: #fff; white-space: nowrap; }
.gw-mark img { height: 40px; width: auto; display: block; }
.gw-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: #5EEAD4; text-decoration: none; font-size: 15px; white-space: nowrap; }
.gw-signin:hover { color: #fff; }
.gw-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; padding: 8px 24px 32px; }
.gw-gate { width: 100%; max-width: 560px; max-height: 50vh; max-height: 50svh; height: auto; overflow: visible; }
.gw-copy { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 720px; }
.gw-copy h1 { margin: 0; font-weight: 700; font-size: clamp(2rem, 6.2vw, 3.4rem); line-height: 1.06; letter-spacing: -0.02em; }
.gw-copy p { margin: 0; font-size: clamp(1rem, 2.4vw, 1.2rem); line-height: 1.5; color: #B8C7DA; max-width: 34em; }
.gw-enter { margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 190px; padding: 0 32px;
  border-radius: 999px; border: 1.5px solid #5EEAD4; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 0.06em; text-decoration: none;
  transition: background .2s, color .2s; }
.gw-enter:hover, .gw-enter:focus-visible { background: #5EEAD4; color: #08182E; }
.gw-foot { padding: 12px 20px max(16px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: #8DA2BC; }

@keyframes gwLeft  { from { transform: translateX(0) } to { transform: translateX(-44px) } }
@keyframes gwRight { from { transform: translateX(0) } to { transform: translateX(44px) } }
@keyframes gwPulse { from { stroke-dashoffset: 90 } to { stroke-dashoffset: -760 } }
@keyframes gwFade  { from { opacity: 0 } to { opacity: 1 } }
@keyframes gwRise  { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: translateY(0) } }
.gw-leaf-l { animation: gwLeft 1.6s cubic-bezier(.6,0,.2,1) 1.4s both; }
.gw-leaf-r { animation: gwRight 1.6s cubic-bezier(.6,0,.2,1) 1.4s both; }
.gw-pulse  { stroke-dasharray: 90 2000; animation: gwPulse 1.6s ease-in .2s both; }
.gw-light  { animation: gwFade 1.2s ease-out 2.6s both; }
.gw-copy   { animation: gwRise .9s ease-out 2.8s both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gw-leaf-l { animation: none; transform: translateX(-44px); }
  .gw-leaf-r { animation: none; transform: translateX(44px); }
  .gw-pulse { animation: none; opacity: 0; }
  .gw-light, .gw-copy { animation: none; opacity: 1; }
}

/* ---- Paths: the second screen ---- */
.gp-head { background: #0B2545; color: #fff; padding: 56px 20px 120px; }
.gp-wrap { max-width: 1120px; margin: 0 auto; }
.gp-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5EEAD4; }
.gp-head h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 4.6vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 16em; }
.gp-head p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: #D5DEEA; max-width: 40em; }
.gp-cards { max-width: 1120px; margin: -84px auto 0; padding: 0 20px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .gp-cards { grid-template-columns: repeat(3, 1fr); } }
.gp-card { --c: #0F766E; --tint: #E6F4F1; background: #fff; border-radius: 16px; border-top: 7px solid var(--c); padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 34px rgba(8,24,46,.14); }
.gp-card.p2 { --c: #1D4ED8; --tint: #E8EEFC; }
.gp-card.p3 { --c: #C2410C; --tint: #FDEBD3; }
.gp-n { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.4; color: var(--c); }
.gp-card h3 { margin: 0; font-size: 1.4rem; line-height: 1.2; color: #0B2545; }
.gp-card h3 small { display: block; margin-top: 4px; font-size: .95rem; font-weight: 600; color: #475569; }
.gp-who { margin: 0; font-size: 1rem; line-height: 1.55; color: #334155; }
.gp-land { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--tint); font-size: .95rem; color: #0B2545; }
.gp-list { margin: 0; padding-left: 20px; font-size: .97rem; line-height: 1.7; color: #1e293b; flex: 1; }
.gp-btn { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 16px; border-radius: 10px; background: var(--c);
  color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center; }
.gp-btn:hover, .gp-btn:focus-visible { filter: brightness(1.1); }
/* How it works, above the cards: free trial, pick a path, sign-in link. */
.gp-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: gp; max-width: 1120px; }
@media (min-width: 880px) { .gp-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.gp-steps li { counter-increment: gp; position: relative; padding-left: 44px; font-size: 1rem; line-height: 1.55; color: #D5DEEA; }
.gp-steps li::before { content: counter(gp); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid #5EEAD4; color: #5EEAD4; font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.gp-steps b { display: block; color: #fff; font-size: 1.05rem; }
.gp-head .gp-after { margin-top: 18px; }
.gp-head .gp-after b { color: #fff; }
.gp-cards { margin-bottom: 56px; }
/* Visitors get one sign-up button; the per-card "Choose this path" buttons are for signed-in
   members choosing or switching (js/ic-gateway.js adds gw-in). */
.gp-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; margin-top: 24px; border-radius: 10px;
  background: #5EEAD4; color: #08182E; font-weight: 800; font-size: 1.05rem; text-decoration: none; text-align: center; }
.gp-cta:hover, .gp-cta:focus-visible { filter: brightness(1.08); }
.gp-btn { display: none; }
.gw-in .gp-btn { display: flex; }
@media (max-width: 460px) { .gp-cta { width: 100%; } }
.gp-foot { background: #08182E; color: #B8C7DA; padding: 26px 20px max(26px, env(safe-area-inset-bottom)); font-size: .9rem; }
.gp-foot .gp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.gp-foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.gp-foot a { color: #E2E8F0; display: inline-block; padding: 6px 0; }
#paths { scroll-margin-top: 0; }
@media (max-width: 460px) {
  .gw-top { padding-left: 14px; padding-right: 14px; gap: 8px; }
  .gw-mark { gap: 8px; font-size: 10.5px; letter-spacing: 0.1em; min-width: 0; }
  .gw-mark img { height: 34px; }
  .gw-signin { font-size: 14px; }
}

/* Signed-in member choosing or switching a path (js/ic-gateway.js adds gw-in). */
.gp-err { max-width: 720px; margin: -36px auto 56px; padding: 12px 16px; border-radius: 10px; background: #FEF2F2; border: 1px solid #FCA5A5; color: #7F1D1D; font-size: .95rem; text-align: center; }
