/* ==========================================================================
   AreYouNewHere — Marketing Site
   Aesthetic: poolside community-bulletin. Navy + lime brand on a cool,
   soft neutral (not stark white, not warm cream) so the palette reads as
   one temperature. QR finder-pattern as a recurring motif.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..900&family=Archivo:wght@400;500;600;700;800&family=Dancing+Script:wght@700&display=swap');

:root {
  --navy: #11203a;
  --navy-2: #182d52;
  --navy-3: #0b1526;
  --cream: #f3f5f7;
  --cream-2: #e7ebef;
  --paper: #ffffff;
  --ink: #171a20;
  --ink-soft: #545b66;
  --lime: #a3e635;
  --lime-2: #8cc928;
  --lime-ink: #223309;
  --sky: #73a4c9;
  --sky-deep: #4c7fa6;
  --line: rgba(17, 32, 58, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: 'Fraunces', 'Iowan Old Style', ui-serif, Georgia, serif;
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', cursive;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(17,32,58,0.06), 0 12px 32px -12px rgba(17,32,58,0.18);
  --shadow-lift: 0 24px 60px -20px rgba(17,32,58,0.35);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0; line-height: 1.6; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Grain overlay for texture on dark panels */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ---------- QR finder-pattern motif ---------- */
.qr-mark {
  --qr-c: var(--lime);
  width: 46px;
  height: 46px;
  border: 9px solid var(--qr-c);
  position: relative;
  flex-shrink: 0;
}
.qr-mark::after {
  content: '';
  position: absolute;
  inset: 12px;
  background: var(--qr-c);
}
.qr-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(163,230,53,0.35) 2px, transparent 2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 2px 0 var(--lime-2), 0 10px 24px -10px rgba(163,230,53,0.6);
}
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--lime-2), 0 16px 30px -10px rgba(163,230,53,0.7); }
.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-light);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.btn-navy {
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 2px 0 var(--navy-3), 0 10px 24px -10px rgba(17,32,58,0.5);
}
.btn-navy:hover { transform: translateY(-2px); }
.btn-ghost-ink {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost-ink:hover { background: rgba(17,32,58,0.05); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,245,247,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  margin-right: auto;
}
.nav-brand img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: var(--paper);
  overflow: hidden;
  padding: 88px 0 120px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--lime); }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  color: var(--paper);
}
.hero h1 em {
  font-style: italic;
  color: var(--lime);
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 270px;
  background: var(--paper);
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow-lift);
  transform: rotate(4deg);
  position: relative;
  z-index: 3;
}
.phone-screen {
  background: var(--cream);
  border-radius: 22px;
  padding: 26px 20px 22px;
  text-align: center;
}
.phone-screen .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-deep);
}
.phone-screen h3 {
  font-size: 1.3rem;
  margin: 10px 0 18px;
  color: var(--navy);
}
.phone-stars { display: flex; justify-content: center; gap: 2px; margin-bottom: 4px; }
.phone-star {
  font-size: 2.1rem;
  line-height: 1;
  color: #d1d9e6;
}
.phone-star.lit { color: #fbbf24; }
.phone-rating-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}
.phone-chip::before { content: '✓'; color: var(--lime); }
.hero-blob {
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(163,230,53,0.35), transparent 70%);
  filter: blur(10px);
  z-index: 1;
  top: -40px; right: -20px;
}
.qr-cluster { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 6px; }
.qr-cluster.tl { top: -18px; left: -18px; }
.qr-cluster.br { bottom: -14px; right: -110px; }
.qr-cluster .qr-mark { width: 30px; height: 30px; border-width: 6px; }
.qr-cluster .qr-mark::after { inset: 8px; }

/* ---------- Marquee ---------- */
.marquee-wrap {
  background: var(--navy-3);
  border-top: 1px solid var(--line-light);
  overflow: hidden;
  padding: 16px 0;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
  gap: 0;
}
.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  padding: 0 30px;
  white-space: nowrap;
}
.marquee span::after { content: '✦'; margin-left: 30px; color: var(--lime); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 108px 0; }
.section-cream-2 { background: var(--cream-2); }
.section-head { max-width: 620px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  display: block;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); color: var(--navy); }
.section-head p { margin-top: 16px; font-size: 1.08rem; color: var(--ink-soft); }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.step {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: 0.08em;
}
.step-icon { margin: 18px 0 20px; }
.step h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }
.chat-icon, .spark-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--navy);
}
.chat-icon svg, .spark-icon svg { width: 22px; height: 22px; }
.spark-icon { background: rgba(163,230,53,0.25); }

/* Use-cases */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.usecase-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.usecase-card:nth-child(odd) { transform: rotate(-0.6deg); }
.usecase-card:nth-child(even) { transform: rotate(0.6deg); }
.usecase-card:hover { transform: translateY(-6px) rotate(0deg); box-shadow: var(--shadow-card); }
.usecase-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 18px;
}
.usecase-icon svg { width: 24px; height: 24px; }
.usecase-card h4 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.usecase-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-art { order: 1; }
.feature-copy .kicker { margin-bottom: 12px; }
.feature-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--navy); margin-bottom: 16px; }
.feature-copy p { color: var(--ink-soft); font-size: 1.03rem; }
.feature-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--ink); }
.feature-list li::before { content: '◆'; color: var(--sky-deep); font-size: 0.7rem; margin-top: 6px; }

.feature-art {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 26px;
  position: relative;
}
.confidence-bar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.confidence-bar-row:last-child { margin-bottom: 0; }
.confidence-label { width: 70px; font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.confidence-track { flex: 1; height: 10px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.confidence-fill { height: 100%; border-radius: 999px; }
.confidence-fill.high { width: 82%; background: var(--lime); }
.confidence-fill.med { width: 54%; background: var(--sky); }
.confidence-fill.low { width: 24%; background: #d98c4a; }

.pulse-card { display: flex; flex-direction: column; gap: 14px; }
.pulse-badge { align-self: flex-start; background: var(--navy); color: var(--paper); font-size: 0.7rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.pulse-text { font-family: var(--font-display); font-size: 1.08rem; color: var(--navy); line-height: 1.5; }
.pulse-meta { font-size: 0.78rem; color: var(--ink-soft); }

.outreach-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.outreach-pill { background: var(--cream-2); border-radius: 999px; padding: 10px 16px; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.outreach-arrow { color: var(--sky-deep); font-size: 1.1rem; }

/* CTA band */
.cta-band {
  position: relative;
  background: var(--navy);
  color: var(--paper);
  padding: 92px 0;
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.cta-band .script { font-family: var(--font-script); color: var(--lime); font-size: 1.4em; }
.cta-band p { margin: 18px auto 0; max-width: 480px; color: rgba(255,255,255,0.7); }
.cta-band .hero-actions { justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--paper); margin-bottom: 14px; }
.footer-brand img { height: 26px; }
.footer-tagline { font-family: var(--font-script); color: var(--lime); font-size: 1.3rem; margin-top: 10px; }
.footer h5 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; color: rgba(255,255,255,0.65); font-size: 0.92rem; transition: color 0.15s ease; }
.footer a:hover { color: var(--lime); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Pricing ---------- */
.pricing-hero { padding: 80px 0 40px; text-align: center; }
.pricing-hero .kicker { justify-content: center; display: flex; }
.pricing-hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--navy); }
.pricing-hero p { max-width: 520px; margin: 18px auto 0; color: var(--ink-soft); font-size: 1.08rem; }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.tier-card {
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
}
.tier-card.featured {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
  box-shadow: var(--shadow-lift);
  transform: translateY(-10px);
}
.tier-card.addon { background: var(--cream-2); border-color: var(--line); }
.tier-card.reserved { background: transparent; border: 1.5px dashed var(--line); }
.tier-ribbon {
  position: absolute; top: 18px; right: 18px;
  background: var(--lime); color: var(--lime-ink);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.tier-name { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 6px; }
.tier-card.featured .tier-name { color: var(--paper); }
.tier-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; margin: 10px 0 4px; }
.tier-price span { font-size: 0.95rem; font-weight: 400; opacity: 0.6; }
.tier-desc { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 22px; min-height: 40px; }
.tier-card.featured .tier-desc { color: rgba(255,255,255,0.65); }
.tier-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.tier-list li { font-size: 0.9rem; display: flex; gap: 8px; }
.tier-list li::before { content: '✓'; color: var(--sky-deep); font-weight: 700; }
.tier-card.featured .tier-list li::before { color: var(--lime); }
.tier-card.reserved .tier-list li::before { color: var(--ink-soft); }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--navy);
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-q .plus { font-size: 1.4rem; color: var(--sky-deep); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 24px; }

/* ---------- Legal pages ---------- */
.legal-wrap { padding: 80px 0 100px; }
.legal-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 56px;
  box-shadow: var(--shadow-card);
}
.legal-card h1 { font-size: 2.2rem; color: var(--navy); margin-bottom: 8px; }
.legal-updated { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 40px; display: block; }
.legal-card h2 { font-size: 1.25rem; color: var(--navy); margin: 34px 0 12px; font-family: var(--font-body); font-weight: 700; }
.legal-card p, .legal-card li { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.75; }
.legal-card ul { padding-left: 20px; }
.legal-card a { color: var(--sky-deep); font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { animation: fadeUp 0.6s ease forwards; }
.reveal-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.35s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; }
  .steps { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.reverse .feature-copy { order: 1; }
  .feature-row.reverse .feature-art { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-card.featured { transform: none; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta .btn-ghost-ink { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 72px 0; }
  .usecase-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-card { padding: 34px 24px; }
}
