/* ==================================================
   GatherMatch — landing page styles
   ================================================== */

:root {
  --cream: #fbf8f1;
  --cream-2: #f2eee4;
  --ink: #20242e;
  --indigo: #2c3a6b;
  --indigo-soft: #415292;
  --gold: #d9a441;
  --gold-deep: #b9852c;
  --line: rgba(32, 36, 46, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------- */
/* Navbar                                              */
/* -------------------------------------------------- */

nav {
  position: sticky;
  top: 0;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--indigo);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo b {
  color: var(--gold-deep);
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  background: var(--indigo-soft);
  transform: translateY(-1px);
}

.btn.small {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* -------------------------------------------------- */
/* Hero                                                */
/* -------------------------------------------------- */

.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(217, 164, 65, 0.15);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 auto 18px;
}

h1 em {
  font-style: italic;
  color: var(--indigo);
}

.sub {
  font-size: 1.15rem;
  color: rgba(32, 36, 46, 0.72);
  max-width: 54ch;
  margin: 0 auto 34px;
}

.video-shell {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #1f2a4e, #2c3a6b 55%, #415292);
  box-shadow: 0 30px 70px -25px rgba(44, 58, 107, 0.5);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(251, 248, 241, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: none;
}

.play:hover {
  transform: scale(1.07);
}

.play svg {
  margin-left: 5px;
}

.video-note {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(251, 248, 241, 0.85);
  font-size: 0.85rem;
}

.match-card {
  position: absolute;
  width: 230px;
  border-radius: 16px;
  background: #fbf8f1;
  left: 7%;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  padding: 16px;
  text-align: left;
  opacity: 0.97;
}

.mc-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1f6b45;
  background: rgba(31, 107, 69, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.mc-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.mc-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: rgba(32, 36, 46, 0.65);
  margin-top: 4px;
}

.tick {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #1f6b45;
  color: #fff;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 2.8s ease-in-out infinite;
}

@keyframes pop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@media (max-width: 700px) {
  .match-card {
    display: none;
  }
}

/* -------------------------------------------------- */
/* Video                                               */
/* -------------------------------------------------- */

.video-section {
  padding: 88px 0 0;
}

/* -------------------------------------------------- */
/* Problem                                             */
/* -------------------------------------------------- */

.problem {
  padding: 88px 0 0;
  text-align: center;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.lede {
  color: rgba(32, 36, 46, 0.7);
  max-width: 56ch;
  margin: 0 auto;
}

.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

@media (max-width: 760px) {
  .prob-grid {
    grid-template-columns: 1fr;
  }
}

.prob {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  text-align: left;
}

.prob .who {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.prob .stat {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--indigo);
  line-height: 1.1;
  margin-bottom: 8px;
}

.prob p {
  font-size: 0.95rem;
  color: rgba(32, 36, 46, 0.7);
}

.sources {
  font-size: 0.74rem;
  color: rgba(32, 36, 46, 0.45);
  margin-top: 20px;
  text-align: center;
}

/* -------------------------------------------------- */
/* How it works                                        */
/* -------------------------------------------------- */

.how {
  padding: 88px 0 0;
  text-align: center;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

@media (max-width: 760px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  text-align: left;
}

.step .num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: rgba(32, 36, 46, 0.7);
}

.doctor-note {
  margin: 26px auto 0;
  max-width: 56ch;
  background: rgba(44, 58, 107, 0.06);
  border: 1px solid rgba(44, 58, 107, 0.15);
  border-radius: 16px;
  padding: 18px 24px;
  font-size: 0.95rem;
  color: rgba(32, 36, 46, 0.8);
}

.doctor-note a {
  color: var(--indigo);
  font-weight: 600;
}

/* -------------------------------------------------- */
/* Conversation                                        */
/* -------------------------------------------------- */

.convo {
  padding: 88px 0 0;
}

.convo-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
  margin-top: 8px;
}

@media (max-width: 820px) {
  .convo-grid {
    grid-template-columns: 1fr;
  }
}

.convo h2 {
  text-align: left;
}

.convo .lede2 {
  color: rgba(32, 36, 46, 0.72);
  font-size: 1.03rem;
  margin-top: 6px;
}

.mini {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  align-items: flex-start;
}

.mini .ic {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(44, 58, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.mini p {
  font-size: 0.95rem;
  color: rgba(32, 36, 46, 0.75);
}

.mini p strong {
  color: var(--ink);
}

.chat-phone {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 22px 18px 26px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 26px 60px -22px rgba(44, 58, 107, 0.32);
}

.chat-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: rgba(32, 36, 46, 0.55);
  margin-bottom: 16px;
}

.bub {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.bub.them {
  background: var(--cream-2);
  border-bottom-left-radius: 4px;
}

.bub.me {
  background: var(--indigo);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

/* -------------------------------------------------- */
/* Cohort / waitlist                                   */
/* -------------------------------------------------- */

/* The waitlist card sits directly under the hero so it is the first thing a
   visitor sees, so it needs far less headroom than a mid-page section would. */
.cohort {
  margin: 8px 0 0;
  background: var(--indigo);
  border-radius: 32px;
  padding: 64px 34px;
  text-align: center;
  color: var(--cream);
}

.cohort h2 {
  color: #fff;
}

.cohort .sub2 {
  color: rgba(251, 248, 241, 0.78);
  max-width: 48ch;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

.meter {
  max-width: 420px;
  margin: 0 auto 10px;
  background: rgba(251, 248, 241, 0.18);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  width: 29%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #efc97e);
}

.meter-label {
  font-size: 0.85rem;
  color: rgba(251, 248, 241, 0.75);
  margin-bottom: 34px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(251, 248, 241, 0.85);
}

.label-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.label-row span {
  font-weight: 400;
  color: rgba(251, 248, 241, 0.55);
}

input,
select {
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid rgba(251, 248, 241, 0.25);
  background: rgba(251, 248, 241, 0.1);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 400;
  width: 100%;
}

input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

input::placeholder {
  color: rgba(251, 248, 241, 0.6);
}

select {
  color: rgba(251, 248, 241, 0.85);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FBF8F1' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  padding-right: 44px;
}

select option {
  color: var(--ink);
  background: var(--cream);
}

.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(251, 248, 241, 0.78);
  margin-top: 4px;
}

.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--gold);
  padding: 0;
}

.consent a {
  color: var(--cream);
  text-decoration: underline;
}

.btn.cta {
  background: var(--gold);
  color: #33260d;
  font-size: 1.02rem;
  padding: 16px 28px;
  margin-top: 6px;
  width: 100%;
}

.btn.cta:hover {
  background: var(--gold-deep);
  color: #fff;
}

.btn.cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.fine {
  font-size: 0.8rem;
  color: rgba(251, 248, 241, 0.6);
  margin-top: 16px;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.form-status {
  max-width: 460px;
  margin: 0 auto;
  background: rgba(251, 248, 241, 0.1);
  border: 1px solid rgba(251, 248, 241, 0.22);
  border-radius: 18px;
  padding: 26px 24px;
}

.form-status h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
}

.form-status p {
  color: rgba(251, 248, 241, 0.8);
  font-size: 0.95rem;
}

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

.trust {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 56px 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(32, 36, 46, 0.75);
}

.disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(32, 36, 46, 0.55);
  max-width: 64ch;
  margin: 14px auto 0;
  padding: 0 24px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 24px 44px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(32, 36, 46, 0.55);
  margin-top: 36px;
}

footer a {
  color: inherit;
}
