/* Niche Meet landing page. Same visual language as niche-engine.com:
   white paper, black ink, orange accent, dark bands for contrast. */

:root {
  --ink: #0a0a0a;
  --night: #0b0b0d;
  --night-2: #141418;
  --paper: #ffffff;
  --cream: #fbfaf7;
  --orange: #ff6b1f;
  --orange-2: #ff8a4c;
  --orange-deep: #e5540a;
  --glow: rgba(255, 107, 31, 0.35);
  --line: rgba(10, 10, 10, 0.08);
  --line-night: rgba(255, 255, 255, 0.1);
  --muted: #4a4a4a;
  --muted-2: #6e6e6e;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 60; background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 650; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 640; }
.h3 { font-size: clamp(19px, 1.8vw, 21px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 620; }
.h1, .h2 { text-wrap: balance; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.night .lede { color: rgba(255, 255, 255, 0.68); }
.gradient-text {
  background: linear-gradient(100deg, var(--orange) 0%, #ffb27a 45%, var(--orange) 90%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.center { text-align: center; margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- Surfaces ---------- */
.night { background: var(--night); color: #fff; }
.cream { background: var(--cream); }
.band { position: relative; padding-block: 56px; }
@media (min-width: 768px) { .band { padding-block: 80px; } }
.card {
  background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10, 10, 10, 0.03), 0 12px 32px -18px rgba(10, 10, 10, 0.18);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 31, 0.45), 0 0 0 4px rgba(255, 107, 31, 0.06), 0 24px 48px -24px rgba(255, 107, 31, 0.35);
}
.glass {
  background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 24px;
  box-shadow: inset 0 0 0 1px var(--line-night);
}

.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.aurora::before {
  width: 620px; height: 620px; left: -160px; top: -220px;
  background: radial-gradient(circle, rgba(255, 107, 31, 0.75), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 520px; height: 520px; right: -140px; top: 80px;
  background: radial-gradient(circle, rgba(255, 160, 90, 0.55), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(80px, 60px, 0) scale(1.15); } }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-night) 1px, transparent 1px), linear-gradient(90deg, var(--line-night) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btns.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform 200ms, box-shadow 200ms, background 200ms;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: #fff;
  box-shadow: 0 8px 24px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(255, 107, 31, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.3); }
.night .btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: inset 0 0 0 1px var(--line-night); }
.night .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background 300ms, box-shadow 300ms, color 300ms; }
.header.is-scrolled { background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 600; color: var(--orange); }
.nav { display: none; gap: 4px; font-size: 14.5px; font-weight: 500; }
.nav a { padding: 8px 14px; border-radius: 999px; opacity: 0.85; }
.nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.header.is-scrolled .menu-btn, .header.is-open .menu-btn { box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.16); }
.js .menu-btn { display: inline-flex; }
@media (max-width: 899px) {
  .header.is-open { background: rgba(255, 255, 255, 0.98); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
  .header.is-open .nav {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    padding: 8px 20px 20px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 32px -24px rgba(10, 10, 10, 0.25);
  }
  .header.is-open .nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; opacity: 1; }
  .header.is-open .nav a:last-child { border-bottom: 0; }
}
@media (min-width: 900px) { .nav { display: flex; } .js .menu-btn { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: 68px; isolation: isolate; overflow: hidden; }
.hero-inner { position: relative; padding-block: 48px 64px; text-align: center; }
@media (min-width: 768px) { .hero-inner { padding-block: 72px 88px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  font-size: 13px; color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-night);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }
.hero .h1 { max-width: 920px; margin: 28px auto 0; }
.hero .lede { max-width: 680px; margin: 24px auto 0; }

/* The booking page mock in the hero. */
.mock { position: relative; max-width: 860px; margin: 56px auto 0; text-align: left; }
.mock-frame {
  border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.1), 0 30px 80px -30px rgba(10, 10, 10, 0.45), 0 0 120px -40px var(--glow);
}
.mock-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f6f5f2; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e0dc; }
.mock-bar span { margin-left: 10px; font-size: 11px; color: #8a8a8a; }
/* Booking page inside the mock: host info, month calendar, time slots. */
.bk { display: grid; grid-template-columns: 1fr; }
.bk-info { position: relative; padding: 18px 20px 16px 72px; border-bottom: 1px solid var(--line); }
.avatar {
  position: absolute; left: 20px; top: 18px; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(140deg, #ff9a5c, #ff6b1f);
}
.bk-info small { display: block; font-size: 12.5px; color: var(--muted-2); }
.bk-info strong { display: block; font-size: 17px; letter-spacing: -0.01em; margin-top: 2px; }
.bk-info ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.bk-info li { display: inline-flex; align-items: center; gap: 6px; }
.bk-info svg { color: var(--muted-2); flex: none; }
.bk-cal { padding: 18px 20px; }
.bk-title { font-size: 14px; font-weight: 600; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.cal-head span { display: flex; gap: 6px; }
.cal-head i { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; font-style: normal; font-size: 16px; color: var(--orange-deep); background: rgba(255, 107, 31, 0.1); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; text-align: center; }
.cal span { display: flex; aspect-ratio: 1; max-height: 40px; align-items: center; justify-content: center; border-radius: 50%; font-size: 12.5px; color: #b5b3ae; }
.cal .wd { aspect-ratio: auto; height: 22px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted-2); }
.cal .on { color: var(--orange-deep); font-weight: 600; background: rgba(255, 107, 31, 0.1); }
.cal .sel { color: #fff; background: var(--orange); box-shadow: 0 6px 16px -6px var(--glow); }
.bk-slots { padding: 0 20px 20px; }
.bk-day { font-size: 13px; font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.slots span {
  display: flex; height: 36px; align-items: center; justify-content: center; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--orange-deep); box-shadow: inset 0 0 0 1px rgba(255, 107, 31, 0.45);
}
.slots .pick { gap: 4px; padding: 0 4px; box-shadow: none; }
.slots .pick b, .slots .pick em { display: flex; flex: 1; height: 100%; align-items: center; justify-content: center; border-radius: 8px; font-style: normal; }
.slots .pick b { color: #fff; background: #57534e; }
.slots .pick em { color: #fff; background: var(--orange); }
.slots .pick { grid-column: span 2; }
@media (min-width: 760px) {
  .bk { grid-template-columns: 200px 1fr 190px; min-height: 360px; }
  .bk-info { padding: 22px 20px; border-bottom: 0; border-right: 1px solid var(--line); }
  .avatar { position: static; margin-bottom: 12px; }
  .bk-info ul { flex-direction: column; gap: 10px; margin-top: 16px; }
  .bk-cal { padding: 22px 24px; }
  .bk-slots { padding: 22px 20px; border-left: 1px solid var(--line); }
  .slots { grid-template-columns: 1fr; margin-top: 14px; }
  .slots .pick { grid-column: auto; }
}
.chip {
  position: absolute; z-index: 2; display: none; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: float 6s ease-in-out infinite;
}
.chip-ic { display: inline-flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 107, 31, 0.12); color: var(--orange); }
.chip b { display: block; font-size: 13.5px; line-height: 1.2; }
.chip span span { display: block; font-size: 12px; color: #8a8a8a; margin-top: 2px; }
.chip-1 { left: -9%; top: 64%; }
.chip-2 { right: -8%; top: -26px; animation-delay: -3s; }
@media (min-width: 1000px) { .chip { display: flex; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.head { max-width: 760px; }
.head .h2 { margin-top: 16px; }
.head .lede { margin-top: 20px; }
.grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.icon {
  display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 16px; color: #fff;
  background: linear-gradient(140deg, #ff9a5c, #ff6b1f);
}
.card .h3 { margin-top: 22px; }
.card p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 4px; }
.step-n {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%;
  font-size: 14px; font-weight: 600; color: var(--orange-2); background: var(--night-2);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 31, 0.5), 0 0 24px -4px var(--glow);
}
.step .h3 { margin-top: 18px; }
.url { white-space: nowrap; }
.step p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.65); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 1fr 1.6fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { padding-top: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic {
  display: inline-flex; flex: none; width: 24px; height: 24px; margin-top: 2px; align-items: center; justify-content: center; border-radius: 50%;
  font-size: 18px; line-height: 1; color: var(--orange); background: rgba(255, 107, 31, 0.1); transition: transform 250ms;
}
.faq details[open] .faq-ic { transform: rotate(45deg); }
.faq p { margin-top: 12px; max-width: 720px; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.faq p a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { padding-block: 48px 40px; }
.footer-row { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .footer-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer p { max-width: 380px; margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.footer ul { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14.5px; }
.footer ul a { color: rgba(255, 255, 255, 0.75); }
.footer ul a:hover { color: #fff; }
.footer-base { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-night); font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ---------- Reveal on scroll (content is visible without JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Privacy Policy and Terms of Service (privacy.html, terms.html). */
.legal-hero { padding: 132px 0 48px; }
.legal-hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.legal-hero .legal-meta { margin-top: 14px; color: rgba(255, 255, 255, 0.68); font-size: 15px; }
.legal { max-width: 760px; padding-block: 48px 96px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.legal h2 { font-size: 22px; line-height: 1.25; font-weight: 650; margin: 44px 0 12px; scroll-margin-top: 96px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal p { margin: 0 0 14px; color: #262626; }
.legal ul { margin: 0 0 16px; padding-left: 1.25em; list-style: disc; }
.legal li { margin: 0 0 8px; color: #262626; }
.legal li::marker { color: var(--orange-deep); }
.legal a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--ink); }
.legal strong { font-weight: 600; }
.legal ol { margin: 0 0 16px; padding-left: 1.4em; list-style: decimal; }
.legal ol li { padding-left: 4px; }
.legal ol li::marker { color: var(--orange-deep); font-weight: 600; }
