@font-face {
  font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Latin.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "Inter Tight"; src: url("/fonts/InterTight-Latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
}
:root { color-scheme: dark; --cream: #ffecde; --white: #fffdf7; --blue: #a7c9e9; --line: #ffffff30; --serif: "Instrument Serif",Georgia,serif; --sans: "Inter Tight",Arial,sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: #000; color: var(--white); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: min(650px,85vh); background: linear-gradient(180deg,#071c32a8 0%,#07121bdc 54%,#000 100%),url("/images/mountain-dawn.webp"), url("data:image/webp;base64,UklGRiABAABXRUJQVlA4IBQBAAAwBwCdASowACAAPu1irU8ppSQiMBVaqTAdiWwAp0daPhX/5OSl4jlHOTrNNKj42gsVxFjzagT2iCRgkC+KD5zZZrgA/uk1NFT7E4YeaGhUXEj/TNU//LP/ZYiaJDu/Cd//kGPQrg4NOXf0DE6IxREgcGVKKKUluCQTP/Mvv1aIdLbp1sBabiO22m0GcyUOBDoO0BJFksUKqCXamjyJtFxodbfxOFhapuixFjQtjQNSBU/hOlPiHfWlzfbZtquMYf4TNBfqK0T2nmimITVaMIBraqxWZg+t0ACeVJrNC2SMJxeH21R1x84cCjGGqUDg7wUyDhtt5WE7SA4cdXfSZv8uhWOyhwNraOEyMyJgJdVOm8xAAAA=") center 44%/cover; }
header { width: fit-content; max-width: calc(100% - 24px); margin: 22px auto 0; display: flex; align-items: center; gap: clamp(12px,3vw,40px); padding: 8px 16px 8px 10px; background: #0b0b0bed; border: 1px solid #ffffff40; border-radius: 40px; box-shadow: 0 8px 28px #0004,inset 0 1px 0 #ffffff25; }
.brand,nav { display: flex; align-items: center; gap: 10px; } .brand { font-size: 20px; font-weight: 560; letter-spacing: -.7px; }
.brand-tile { display: grid; place-items: center; width: 36px; height: 36px; }
.brand-orb { display: block; position: relative; overflow: hidden; width: 28px; height: 28px; border-radius: 50%; transform: rotate(33deg); }
.brand-stripe {position:absolute;left:0;right:0;top:calc(var(--line) * 18%);height:11%;background:#fffceb;opacity:.64;animation:brand-stripe-light 6s ease-in-out infinite;animation-delay:var(--delay);}
@keyframes brand-stripe-light {0%,3%,35%,100% {opacity:.64;filter:brightness(1);box-shadow:none;} 14%,20% {opacity:1;background:#fff;filter:brightness(1.7);box-shadow:0 0 5px #fff,0 0 9px #ffffffa0;} }
@media(prefers-reduced-motion:reduce) {.brand-stripe {animation:none;opacity:.9;}}
 nav { gap: clamp(10px,2vw,24px); font-size: 14px; }
a { color: var(--blue); text-underline-offset: 4px; } header a { color: var(--white); text-decoration: none; } header a:hover { text-decoration: underline; }
main { width: min(960px,calc(100% - 48px)); margin: clamp(58px,8vw,120px) auto; flex: 1; }
article { max-width: 760px; margin: auto; overflow-wrap: anywhere; } .wide { max-width: none; }
h1,h2,.metrics strong { color: var(--cream); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(3.3rem,6.4vw,6.3rem); margin: .18em 0 .28em; } h2 { font-size: clamp(2rem,4vw,3.3rem); margin: .2em 0; }
p { max-width: 64ch; color: #d1d5d9; } article > p { font-size: 1.12rem; }
small { color: var(--blue); font-size: .83rem; } article > small { letter-spacing: .08em; text-transform: uppercase; }
section,.metrics > div { background: #111315; border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px,3vw,32px); margin: 18px 0; }
button,.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 30px; background: var(--white); color: #121212; padding: 11px 19px; font: 550 .95rem var(--sans); text-decoration: none; cursor: pointer; }
button:hover,.button:hover { background: var(--cream); } button.secondary { background: #191b1d; border-color: var(--line); color: var(--white); }
button + a,button + button { margin-left: .4em; } :focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
label,textarea,select { display: block; margin: .65rem 0; } textarea,select { width: min(100%,38rem); padding: .75rem; color: var(--white); background: #08090a; border: 1px solid #696d72; border-radius: 8px; font: inherit; } textarea { min-height: 7rem; resize: vertical; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; } .metrics > div { margin: 0; padding: 18px; color: #d1d5d9; }
.metrics strong { display: block; font-size: 3rem; } .row,.entry { padding: 1rem 0; border-bottom: 1px solid var(--line); } .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem; } .entry p { white-space: pre-wrap; }
footer { width: min(1080px,calc(100% - 48px)); margin: 0 auto; border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; color: #aeb3ba; font-size: .88rem; }
@media(max-width:680px) { .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } main { width: calc(100% - 32px); } }
@media(max-width:440px) { .brand { font-size: 17px; gap: 6px; } nav { font-size: 13px; } header { padding-right: 12px; gap: 12px; } }

/* Signed-out member page layout */
body:has(.join-centered) { isolation: isolate; position: relative; }
body:has(.join-centered)::before {
  height: 100%; background: url("/images/mountain-dawn.webp"), url("data:image/webp;base64,UklGRiABAABXRUJQVlA4IBQBAAAwBwCdASowACAAPu1irU8ppSQiMBVaqTAdiWwAp0daPhX/5OSl4jlHOTrNNKj42gsVxFjzagT2iCRgkC+KD5zZZrgA/uk1NFT7E4YeaGhUXEj/TNU//LP/ZYiaJDu/Cd//kGPQrg4NOXf0DE6IxREgcGVKKKUluCQTP/Mvv1aIdLbp1sBabiO22m0GcyUOBDoO0BJFksUKqCXamjyJtFxodbfxOFhapuixFjQtjQNSBU/hOlPiHfWlzfbZtquMYf4TNBfqK0T2nmimITVaMIBraqxWZg+t0ACeVJrNC2SMJxeH21R1x84cCjGGqUDg7wUyDhtt5WE7SA4cdXfSZv8uhWOyhwNraOEyMyJgJdVOm8xAAAA=") center / cover;
}
/* Same drifting cloud layers as the homepage hero (styles in globals.css). */
.join-clouds { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
body:has(.join-centered) footer, .join-copy { color: white; text-shadow: 0 1px 5px #172538; }
.join-copy h1, .join-copy p { text-shadow: 0 1px 3px rgb(12 25 44 / 70%), 0 3px 10px rgb(12 25 44 / 48%); }
/* Liquid-metal rim around the Google sign-in link. */
@property --metal-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.metal-button {
  border: 2px solid transparent;
  color: #fff;
  text-shadow: none;
  background: linear-gradient(170deg, #242427, #080809 55%, #171719) padding-box,
    conic-gradient(from var(--metal-angle), #55585d, #fff 8%, #80858c 14%, #292c30 23%, #eff4fa 34%, #737982 44%, #212326 54%, #fafcff 68%, #73777d 74%, #d3d6da 88%, #55585d) border-box;
  box-shadow: inset 0 1px 2px #ffffff24, 0 2px 6px #14182255;
  animation: sign-in-metal 5s linear infinite;
  transition: box-shadow .25s ease, transform .25s ease;
}
.metal-button:is(:hover, :focus-visible) {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 4px #ffffff4a, 0 0 9px #f2f5ff77, 0 3px 9px #14182255;
}
@keyframes sign-in-metal { to { --metal-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .metal-button { animation: none; transition: none; }
  .metal-button:is(:hover, :focus-visible) { transform: none; }
}
main:has(.join-centered) { display: grid; width: 100%; margin: 0; }
.join-centered { position: relative; display: grid; width: 100%; max-width: none; margin: 0; padding: 55px 6vw 110px; align-items: center; }
.join-copy p { font-size: 1.14rem; max-width: 40ch; margin: 16px 0 26px; color: var(--white); }
.join-centered { justify-items: center; text-align: center; }
.join-centered p { margin-inline: auto; }
@media(max-width:680px) {
  .join-centered h1 { font-size: clamp(3rem,12vw,4.8rem); }
}


.waitlist-status { max-width: 640px; }
.waitlist-status h1 { font-size: clamp(3rem,6vw,5.4rem); }
.waitlist-status > p:first-of-type { color: #b5c8dc; margin: .4rem 0 1.4rem; }
.waitlist-status > form { margin-top: 1.5rem; }

/* Signed-in browsers (hint set before paint) see a spinner and "Loading your
   access…" over the mountains instead of the sign-in screen while their
   status loads. */
html.qb-member .join-centered { visibility: hidden; }
html.qb-member main:has(.join-centered) { position: relative; }
html.qb-member main:has(.join-centered)::before {
  content: ""; position: absolute; top: calc(30vh - 46px); left: 50%; width: 28px; height: 28px; margin-left: -14px;
  border-radius: 50%; border: 2px solid #ffffff40; border-top-color: #fff; animation: member-spin .9s linear infinite;
}
html.qb-member main:has(.join-centered)::after {
  content: "Loading your access…"; position: absolute; inset: 30vh 0 auto; text-align: center;
  color: #fff; font-size: 1rem; letter-spacing: .01em; text-shadow: 0 1px 4px #0b1a2e;
}
@keyframes member-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html.qb-member main:has(.join-centered)::before { animation: none; } }
