/* Landing page for jewishaimatchmaker.com (design A, "Bright and clean").
   Brand colours match FlutterFlowTheme light mode. */
:root {
  --ground: #F7FBFF;
  --surface: #FFFFFF;
  --ink: #0B1F3A;
  --muted: #3E5675;
  --faint: #4A6380;
  --blue: #0058D0;
  --blue-dark: #00449F;
  --blue-soft: #D9EBFF;
  --line: #DCE7F5;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.section { padding-block: 88px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 660px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-dark); color: #FFFFFF; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #1A3357; color: #FFFFFF; }
.btn-light { background: var(--surface); color: var(--ink); border: 1.5px solid #C9D9EC; }
.btn-light:hover { color: var(--ink); border-color: var(--blue); }

/* Nav */
.nav { display: flex; flex-wrap: nowrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 20px; }
.brand { min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.nav-links { flex: none; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 15px; font-weight: 600; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } .brand { font-size: 16px; } }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 48px 88px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; background: var(--blue-soft); color: var(--blue-dark); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wall { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wall > img, .star-tile { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.wall .down { margin-top: 32px; }
/* The whole wall floats up and back, like the sign-in photo wall in the app
   (3.2s each way, looping). */
.wall { animation: wall-float 6.4s ease-in-out infinite; will-change: transform; }
@keyframes wall-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-40px); }
}
@media (prefers-reduced-motion: reduce) { .wall { animation: none; } }
.star-tile { background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.star-tile img { width: 62%; height: auto; }

/* How it works */
.band-white { background: var(--surface); border-block: 1px solid #E3ECF7; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: var(--ground); }
.step-n { font-size: 15px; font-weight: 800; color: var(--blue); }
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { color: var(--muted); font-size: 16px; }

.explainer { margin: 0; }
.explainer video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--ground); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11,31,58,.45); }

/* Safety */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.features li { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: var(--ground); }
.features .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.features h3 { font-size: 20px; font-weight: 700; }
.features p { color: var(--muted); font-size: 16px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan h3 { font-size: 18px; font-weight: 700; }
.price { font-size: 44px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 16px; font-weight: 500; color: var(--faint); }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 16px; }
.plan-featured { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.plan-featured .price span { color: #B8C9DE; }
.plan-featured ul { color: #D6E2F1; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--blue); padding: 4px 10px; border-radius: 999px; }

/* Safety + waitlist */
.band-blue { background: var(--blue-soft); }
.split { flex-direction: row; flex-wrap: wrap; align-items: center; padding-block: 72px; }
.split-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.split-copy p { color: #2B4566; }
.waitlist { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: var(--surface); padding: 28px; border-radius: 24px; scroll-margin-top: 24px; }
.waitlist label { font-weight: 700; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input { flex: 1 1 200px; min-width: 0; min-height: 48px; font: inherit; color: var(--ink); padding: 0 16px; border-radius: 999px; border: 1.5px solid #C9D9EC; background: var(--surface); }
.waitlist input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.waitlist button[disabled] { opacity: .6; cursor: default; }
.waitlist-msg { font-size: 15px; color: var(--muted); min-height: 1.6em; }
.waitlist-msg.ok { color: #1F6B4C; font-weight: 600; }
.waitlist-msg.err { color: #B42318; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding-block: 40px; font-size: 14px; color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--faint); }

/* Support page */
.doc { padding-block: 40px 88px; display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc .card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.doc .card h2 { font-size: 22px; }
.doc .card p, .doc .card li { color: var(--muted); }
.doc .card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.email { font-weight: 700; color: var(--ink); user-select: all; }
