/* The Usuals Club — marketing site.
   Visual identity matches the production site (theusuals.club):
   Bricolage Grotesque headings, Onest body, coral/amber gradients,
   1.5px hairline cards, dark footer. */

:root{
  --bg: #FFFFFF;
  --surface: #F6F4F1;
  --surface-2: #FBEFF1;
  --ink: #16141C;
  --ink-soft: #6B6577;
  --line: rgba(22,20,28,0.10);
  --coral: #FF5470;
  --coral-deep: #E23A57;
  --coral-text: #D62E4C;
  --amber: #E8641A;
  --amber-deep: #B84F12;
  --mint: #00C896;
  --mint-text: #00875E;
  --dark: #16141C;
  --on-dark: #F3F1F6;
  --on-dark-soft: #B7B2C4;
  --shadow: rgba(22,20,28,0.14);
  --focus: #C8304A;
  --grad: linear-gradient(135deg, #FF5470, #E8641A);
  --grad-btn: linear-gradient(135deg, #C8304A, #B84F12);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--ink);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection{ background: var(--coral); color: #fff; }
:focus-visible{ outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3{
  font-family: 'Bricolage Grotesque', 'Onest', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a{ color: var(--coral-text); }

/* ---------- Nav ---------- */
.nav{
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 28px 20px;
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand{
  font-family: 'Bricolage Grotesque', 'Onest', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand em, footer .logo em{
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--grad-btn);
  color: #fff;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 24px -10px rgba(255,84,112,0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 48px;
  text-decoration: none;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(255,84,112,0.6); color: #fff; }
.btn:active{ transform: translateY(0); }
.btn:disabled{ opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost{
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover{ color: var(--coral-text); box-shadow: 0 12px 24px -14px var(--shadow); }
.btn-sm{ padding: 10px 20px; font-size: 0.92rem; min-height: 44px; }
.btn-lg{ padding: 17px 34px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 64px 28px 10px;
  overflow: hidden;
}
.hero-glow{
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  height: 340px;
  background: var(--grad);
  filter: blur(90px);
  opacity: 0.30;
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner{
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 28px;
  padding: 44px 44px 40px;
  box-shadow: 0 30px 60px -24px var(--shadow);
  text-align: center;
}
.hero h1{
  font-size: clamp(2.3rem, 5.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero h1 em{
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede{
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 18px auto 0;
}
.cta-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.fine{
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* ---------- Sections ---------- */
.section{
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 28px 8px;
}
section[id]{ scroll-margin-top: 20px; }
.section-head{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.section-icon{
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214,46,76,0.16);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--coral-text);
}
.section-icon svg{ width: 25px; height: 25px; }
.section-head h2{
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.08;
}
.section-sub{
  color: var(--ink-soft);
  max-width: 62ch;
  font-size: 1.02rem;
  margin: 0 0 26px;
}

/* ---------- Cards ---------- */
.card{
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 20px 40px -30px var(--shadow);
}

/* ---------- Steps ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.step{
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease;
}
.step:hover{
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -26px var(--shadow);
}
.step-num{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Onest', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step h3{ font-size: 1.1rem; margin-bottom: 8px; }
.step p{ color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Hangout cards (injected by app.js) ---------- */
.hangouts{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.hangout-card{
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease;
}
.hangout-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -26px var(--shadow);
}
.hangout-card .cat{
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  color: var(--coral-text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px 4px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hangout-card h3{ font-size: 1.35rem; }
.hangout-card .when{
  display: block;
  font-weight: 700;
  color: var(--coral-text);
  margin-top: 4px;
  font-size: 1rem;
  margin-bottom: 18px;
}
.loading, .empty{ color: var(--ink-soft); }

/* ---------- Category chips ---------- */
.chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.chip{
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--bg);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chip:hover{ border-color: var(--coral-text); color: var(--coral-text); }

/* ---------- Interest form ---------- */
.form{
  max-width: 560px;
  display: grid;
  gap: 18px;
}
.form label{
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}
.form .opt{ font-weight: 400; color: var(--ink-soft); }
.form input{
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: 'Onest', sans-serif;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.form input:focus{
  outline: none;
  border-color: var(--focus);
  background: var(--bg);
}
.form-msg{ font-size: 0.95rem; min-height: 1.4em; }
.form-msg.ok{ color: var(--mint-text); font-weight: 700; }
.form-msg.err{ color: var(--coral-deep); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq{
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.faq details{
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary{
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: '+';
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}
.faq details[open] summary::after{
  content: '–';
  background: var(--grad-btn);
  color: #fff;
}
.faq p{
  color: var(--ink-soft);
  margin: 12px 0 0;
  max-width: 68ch;
}

/* ---------- Get the app (dark panel) ---------- */
.cta{ padding-bottom: 64px; }
.cta-panel{
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 30px 60px -34px var(--shadow);
}
.cta-panel h2{ color: var(--on-dark); margin-bottom: 10px; }
.cta-panel .section-sub{ color: var(--on-dark-soft); margin: 0 auto 26px; }
.cta-panel .btn{ margin-bottom: 16px; }
.cta-panel .fine{ color: var(--on-dark-soft); margin-top: 0; }

/* ---------- Footer ---------- */
footer{
  background: var(--dark);
  color: var(--on-dark);
  padding: 40px 28px 44px;
  margin-top: 48px;
}
.foot-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
footer .logo{
  font-family: 'Bricolage Grotesque', 'Onest', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--on-dark);
}
footer p{
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

@media (max-width: 620px){
  .nav{ padding: 16px 20px; }
  .hero{ padding: 40px 16px 10px; }
  .hero-inner{ padding: 30px 24px 28px; border-radius: 22px; }
  .section{ padding: 36px 20px 8px; }
  .section-head{ gap: 12px; }
  .section-icon{ flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
  .section-icon svg{ width: 22px; height: 22px; }
  .cta-row .btn{ width: 100%; }
  .steps{ grid-template-columns: 1fr; }
}
