/* MeetMeHere landing page
   Palette lifted from the app: near-black ink for type, pastel activity hues
   for accents, and the same soft grey the app uses behind its cards. */

:root {
  --ink:        #252a43;
  --ink-soft:   #5b6079;
  --ink-faint:  #8e93a8;

  --bg:         #f2f2f7;
  --card:       #ffffff;
  --line:       #e6e6ee;

  --pink:       #f08a97;
  --pink-pale:  #f6c7c7;
  --peach:      #f2a66b;
  --peach-pale: #f6debf;
  --mint:       #6fcfc0;
  --mint-pale:  #d5eed0;
  --sky:        #6fc6dd;
  --sky-pale:   #c4ecf1;
  --peri:       #8fa8f5;
  --lilac:      #b39df0;
  --lilac-pale: #d4cff4;
  --orchid:     #e39be3;
  --orchid-pale:#f2d4f2;
  --mocha:      #b78b6b;

  --radius:     28px;
  --radius-sm:  18px;
  --shadow:     0 10px 30px rgba(37, 42, 67, .07);
  --shadow-lg:  0 30px 70px rgba(37, 42, 67, .14);

  --maxw:       1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Nunito, ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */

/* Dragging across the page was painting selection boxes behind the pills,
   which looked like a rendering glitch. Buttons are controls, not prose. */
::selection { background: var(--lilac-pale); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  user-select: none; -webkit-user-select: none;
  padding: 15px 28px;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-sm { padding: 11px 20px; font-size: 15px; }

.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 8px 20px rgba(37, 42, 67, .22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 42, 67, .28); }

.btn-ghost {
  background: rgba(255, 255, 255, .8); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 18px 28px;
  background: rgba(242, 242, 247, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 900; font-size: 20px; letter-spacing: -.02em;
}
/* The icon ships square so iOS can apply its own mask; round it here. */
.brand img { width: 34px; height: 34px; border-radius: 23%; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a {
  color: var(--ink-soft); text-decoration: none;
  font-weight: 600; font-size: 16px;
}
.nav nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center;
  max-width: var(--maxw); margin: 0 auto;
  padding: 72px 28px 96px;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5; pointer-events: none;
}
.blob-a { width: 460px; height: 460px; background: var(--lilac-pale);  top: -120px; left: -140px; }
.blob-b { width: 420px; height: 420px; background: var(--sky-pale);    top: 180px;  right: 40%; }
.blob-c { width: 520px; height: 520px; background: var(--orchid-pale); bottom: -200px; right: -120px; }

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  padding: 7px 16px; margin-bottom: 22px;
  background: #fff; border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--ink-soft); font-weight: 700; font-size: 14px;
  letter-spacing: .01em;
}
.hero h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 900; }
.hl {
  background: linear-gradient(105deg, var(--pink), var(--lilac) 55%, var(--sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  margin-top: 24px; max-width: 30em;
  color: var(--ink-soft); font-size: 19px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.microcopy { margin-top: 18px; color: var(--ink-faint); font-size: 15px; font-weight: 600; }

.hero-phone { position: relative; z-index: 1; display: flex; justify-content: center; min-width: 0; }

/* ---------- phone frame ---------- */

.phone {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 7px;
  background:
    linear-gradient(145deg, #7e8496 0%, #43485c 18%, #2b2f3f 50%, #4d5266 82%, #878da0 100%);
  border-radius: 58px;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    inset 0 1px 2px rgba(255, 255, 255, .45);
}

/* The glass itself, set in from the rail with a concentric radius. */
.screen {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 51px;
  box-shadow: inset 0 0 0 2px #0d0f16;
}
.phone img { width: 100%; height: auto; display: block; }

/* Dynamic Island */
.screen::after {
  content: "";
  position: absolute; top: 13px; left: 50%;
  width: 30%; height: 27px; transform: translateX(-50%);
  background: #05060a; border-radius: 999px;
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .08);
}

/* Left rail: action button, then the two volume keys. */
.phone::before {
  content: "";
  position: absolute; z-index: -1;
  left: -2px; top: 16%;
  width: 3px; height: 26px;
  background: linear-gradient(90deg, #9aa0b2, #4a4f63);
  border-radius: 2px 0 0 2px;
  box-shadow:
    0 46px 0 3px #6f7588,
    0 96px 0 3px #6f7588;
}

/* Right rail: power, with the camera control below it. */
.phone::after {
  content: "";
  position: absolute; z-index: -1;
  right: -2px; top: 24%;
  width: 3px; height: 62px;
  background: linear-gradient(270deg, #9aa0b2, #4a4f63);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 86px 0 -8px #6f7588;
}

.phone-lg { transform: rotate(-2deg); }

/* ---------- value props ---------- */

.props > *, .steps > li, .screen-grid > figure, .screen-grid figure > *, .hero > * { min-width: 0; }

.props {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px 110px;
}
.prop {
  background: var(--card); border-radius: var(--radius);
  padding: 32px 30px 34px; box-shadow: var(--shadow);
}
.prop h3 { font-size: 23px; font-weight: 800; margin: 18px 0 12px; }
.prop p { color: var(--ink-soft); font-size: 17px; }

.chip {
  display: inline-block; user-select: none; -webkit-user-select: none; padding: 6px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: .01em;
}
.chip-sky    { background: var(--sky-pale);    color: #2d7b8f; }
.chip-mint   { background: var(--mint-pale);   color: #35806f; }
.chip-orchid { background: var(--orchid-pale); color: #9c4d9c; }

/* ---------- sections ---------- */

section h2 {
  font-size: clamp(32px, 4vw, 46px); font-weight: 900;
  text-align: center;
}
.section-lede {
  max-width: 36em; margin: 16px auto 0;
  color: var(--ink-soft); text-align: center; font-size: 18px;
}

.how { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 110px; }
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 46px 0 0; padding: 0;
}
.steps li {
  position: relative;
  background: var(--card); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow);
}
.step-num {
  display: flex; align-items: center; justify-content: center;
  user-select: none; -webkit-user-select: none;
  width: 44px; height: 44px; margin-bottom: 20px;
  background: var(--ink); color: #fff;
  border-radius: 14px; font-weight: 900; font-size: 20px;
}
.steps h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); font-size: 17px; }

/* ---------- screens ---------- */

.screens { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 110px; }
.screen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
  margin-top: 54px;
}
.screen-grid figure { margin: 0; }
.screen-grid figcaption {
  margin-top: 22px; color: var(--ink-soft);
  font-size: 16px; text-align: center;
}
.screen-grid figcaption strong { color: var(--ink); display: block; margin-bottom: 4px; }

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

.waitlist { max-width: var(--maxw); margin: 0 auto; padding: 0 28px 110px; }
.waitlist-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fdf1f4, #eef0fd 48%, #e8f6fa);
  border-radius: 40px;
  padding: 66px 40px 60px; text-align: center;
  box-shadow: var(--shadow);
}
.waitlist-card h2 { text-align: center; }
.waitlist-card > p {
  max-width: 32em; margin: 16px auto 0;
  color: var(--ink-soft);
}
.signup {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin: 32px auto 0; max-width: 520px;
}
.signup input {
  flex: 1 1 240px;
  padding: 15px 22px;
  border: 0; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; font-size: 17px; color: var(--ink);
}
.signup input::placeholder { color: var(--ink-faint); }
.signup input:focus { outline: 2px solid var(--peri); outline-offset: 2px; }
.waitlist .microcopy { text-align: center; }

/* ---------- faq ---------- */

.faq { max-width: 820px; margin: 0 auto; padding: 0 28px 120px; }
.faq-list { margin-top: 42px; }
details {
  background: var(--card); border-radius: var(--radius-sm);
  margin-bottom: 12px; padding: 4px 26px; box-shadow: var(--shadow);
  transition: box-shadow .25s ease;
}
details[open] { box-shadow: 0 14px 34px rgba(37, 42, 67, .10); }

summary {
  position: relative;
  padding: 20px 46px 20px 0;
  cursor: pointer; list-style: none;
  font-weight: 800; font-size: 19px;
  user-select: none; -webkit-user-select: none;
}
summary::-webkit-details-marker { display: none; }

/* Two bars that cross into a plus, then settle into a minus when open. */
summary::before, summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 17px; height: 2.5px; border-radius: 2px;
  background: var(--ink-faint);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1), background .2s ease;
}
summary::before { transform: translateY(-50%); }
summary::after  { transform: translateY(-50%) rotate(90deg); }
details[open] summary::after { transform: translateY(-50%) rotate(0deg); }
details[open] summary::before,
details[open] summary::after { background: var(--ink); }
summary:hover::before, summary:hover::after { background: var(--ink); }

/* The panel's height is driven by script; the inner block does the fade. */
.answer { overflow: hidden; transition: height .34s cubic-bezier(.4, 0, .2, 1); }
.answer-inner {
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s ease .04s, transform .3s ease .04s;
}
details[open] .answer-inner { opacity: 1; transform: none; }

details p { padding: 0 0 22px; color: var(--ink-soft); font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  .answer, .answer-inner, summary::before, summary::after { transition: none; }
}

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

.footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 34px 28px;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  /* Plain block flow on narrow screens: grid track sizing was letting the
     column grow to its content and push the page wider than the viewport. */
  .hero { display: block; padding-top: 48px; padding-bottom: 72px; }
  .hero-copy { max-width: 100%; }
  .hero-phone { margin-top: 44px; }
  .phone-lg { transform: none; max-width: 320px; }
  .screen-grid .phone { max-width: 320px; margin: 0 auto; }
  .props, .steps, .screen-grid { grid-template-columns: 1fr; }
  .nav nav { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .waitlist-card { padding: 44px 24px 40px; border-radius: 30px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
