/* ============================================================
   Dap IN — Marketing site
   Design tokens from the app design system
   ============================================================ */

:root {
  --bg-beige: #f5f0e8;
  --bg-white: #ffffff;
  --ink: #1a1714;
  --muted: #9a9186;
  --accent: #2d5a3d;
  --activity-bg: #e8f0eb;
  --border: #e0d9ce;
  --btn-fill: #ece7de;
  --radius-card: 20px;
  --shadow-card: 0 4px 24px rgba(26, 23, 20, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Type helpers ---------- */

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18em;
}

.body-copy {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  max-width: 42em;
}

.body-copy.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  padding: 14px 32px;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-beige);
  border-color: var(--accent);
}

.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(45, 90, 61, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--btn-fill);
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-beige);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  font-weight: 700;
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Sections ---------- */

.section {
  padding: 110px 0;
}

.section.beige {
  background: var(--bg-beige);
}

.section.white {
  background: var(--bg-white);
}

/* ---------- Hero (Home) ---------- */

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg-beige);
}

.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 96px;
}

.hero-copy {
  max-width: 620px;
}

.hero-join {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  color: var(--muted);
}

.pill {
  display: inline-block;
  border-radius: 100px;
  border: 2px solid var(--ink);
  padding: 6px 20px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

.pill.activity {
  background: var(--activity-bg);
  border-color: var(--accent);
  color: var(--accent);
}

.pill.fading {
  opacity: 0;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-phone {
  flex-shrink: 0;
  animation: phone-float 5s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.phone-placeholder {
  width: 300px;
  height: 580px;
  border-radius: 40px;
  background: #d9d4cb;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 300;
  color: #7d766c;
  box-shadow: var(--shadow-card);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: chevron-bob 1.8s ease-in-out infinite;
}

@keyframes chevron-bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* ---------- Cards (generic) ---------- */

.card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Who is it for ---------- */

.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

/* ---------- How it works (horizontal steps) ---------- */

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  position: relative;
}

.steps-row::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dotted var(--accent);
  opacity: 0.4;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-beige);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--bg-beige);
}

.section.white .step-number {
  box-shadow: 0 0 0 8px var(--bg-white);
}

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

.step p {
  font-size: 14.5px;
  color: var(--muted);
}

.step-icon {
  margin-bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--activity-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 20px;
  height: 20px;
}

/* Vertical variant (Host Guide) */

.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  max-width: 640px;
}

.steps-vertical .step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  padding-bottom: 44px;
  position: relative;
}

.steps-vertical .step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  border-left: 2px dotted var(--accent);
  opacity: 0.4;
}

.steps-vertical .step-number {
  margin-bottom: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.steps-vertical .step-body {
  padding-top: 8px;
}

/* ---------- Accordion ---------- */

.accordion {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  max-width: 760px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  padding: 22px 4px;
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: var(--accent);
}

.accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.accordion-panel p {
  padding: 0 4px 24px;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--muted);
  max-width: 40em;
}

/* ---------- About page ---------- */

.page-hero {
  padding: 110px 0 120px;
}

.page-hero .section-headline {
  max-width: 15em;
  margin-bottom: 24px;
}

.pull-quote {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 18em;
  margin: 0 auto 32px;
  color: var(--accent);
}

.mission-copy {
  text-align: center;
  max-width: 36em;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  margin-top: 48px;
  max-width: 920px;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 28px;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #d9d4cb;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 300;
  color: #7d766c;
  flex-shrink: 0;
  text-align: center;
}

.team-card h3 {
  font-size: 22px;
  font-weight: 700;
}

.team-card .team-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 4px 0 10px;
}

.team-card .team-bio {
  font-size: 15px;
  color: var(--muted);
}

.values-grid,
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.learn-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.learn-more:hover {
  transform: translateX(4px);
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  margin-top: 64px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

.contact-form .btn {
  width: 100%;
}

.form-note {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  min-height: 1.5em;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-link-row:hover {
  border-color: var(--accent);
  background: var(--activity-bg);
}

.contact-link-row .icon-circle {
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}

.contact-link-row .icon-circle svg {
  width: 18px;
  height: 18px;
}

.contact-link-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-link-handle {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b8b1a7;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-wordmark {
  font-size: 24px;
  font-weight: 700;
  color: var(--bg-beige);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-wordmark .wordmark-pill {
  border: 2px solid var(--bg-beige);
  border-radius: 100px;
  padding: 0 14px;
  line-height: 1.4;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-beige);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: #b8b1a7;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--bg-beige);
}

.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 12px;
}

.footer-social-grid a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(245, 240, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8b1a7;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-social-grid a:hover {
  color: #7fbf97;
  border-color: #7fbf97;
}

.footer-social-grid svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-phone,
  .scroll-indicator {
    animation: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: 72px 0 80px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-beige);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-links.open {
    max-height: 480px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-links a.active {
    border-bottom-color: var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .hero-inner {
    padding-top: 40px;
    padding-bottom: 88px;
    gap: 20px;
  }

  .persona-grid,
  .values-grid,
  .tiers-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-row::before {
    display: none;
  }

  .step-number {
    box-shadow: none !important;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ============================================================
   Download modal
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 23, 20, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.open {
  opacity: 1;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 40px 32px 32px;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--btn-fill);
  color: var(--ink);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
}

.modal-subtitle {
  margin-top: 6px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.modal-steps {
  list-style: none;
  counter-reset: modal-step;
  text-align: left;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-steps li {
  counter-increment: modal-step;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}

.modal-steps li::before {
  content: counter(modal-step);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-store-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 23, 20, 0.2);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  font-size: 17px;
  font-weight: 700;
}

.store-btn small {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

/* ============================================================
   Legal pages
   ============================================================ */

.legal-content {
  max-width: 760px;
}

.legal-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 18px 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- About hero with dotted map ---------- */

.about-hero {
  display: flex;
  align-items: center;
  gap: 56px;
}

.about-hero-copy {
  flex: 1 1 52%;
  min-width: 0;
}

.about-hero-map {
  flex: 1 1 48%;
  display: flex;
  justify-content: center;
}

.about-hero-map img {
  width: 100%;
  max-width: 560px;
  height: auto;
  opacity: 0.9;
}

@media (max-width: 860px) {
  .about-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .about-hero-map {
    width: 100%;
    justify-content: flex-start;
  }
  .about-hero-map img {
    max-width: 420px;
  }
}

/* ---------- Mission section with photo background ---------- */

.mission-bg {
  position: relative;
  background-image:
    linear-gradient(rgba(26, 23, 20, 0.58), rgba(26, 23, 20, 0.58)),
    url("mission-bg.jpg");
  background-size: cover;
  background-position: center;
}

.mission-bg .pull-quote {
  color: #ffffff;
}

.mission-bg .mission-copy {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Photos: team avatar and hero phone screenshot ---------- */

.team-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.phone-shot {
  width: 300px;
  max-width: 100%;
  filter: drop-shadow(0 12px 28px rgba(26, 23, 20, 0.18));
}

/* Responsive hero phone size (after base .phone-shot so these win) */

@media (max-width: 1024px) {
  .phone-shot {
    width: 240px;
  }
}

@media (max-width: 768px) {
  .phone-shot {
    width: clamp(116px, 34vw, 190px);
  }
}

/* ============================================================
   Nav dropdown ("Host")
   ============================================================ */

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-item-dropdown:hover .nav-dropdown-toggle {
  color: var(--accent);
}

.nav-dropdown-toggle.active {
  font-weight: 700;
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-caret {
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown.open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 190px;
  list-style: none;
  padding: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

/* invisible bridge so the menu doesn't close while moving the cursor to it */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--activity-bg);
  color: var(--accent);
}

/* Mobile nav dropdown — after the base rules so these win in the hamburger menu */
@media (max-width: 768px) {
  .nav-dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-caret {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    padding: 14px 0 14px 20px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    white-space: normal;
  }
}

/* ============================================================
   Host page hero (host-features)
   ============================================================ */

/* anchor targets clear the sticky nav */
section[id] {
  scroll-margin-top: 92px;
}

.host-hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.host-hero-copy {
  flex: 1 1 54%;
  min-width: 0;
}

.host-hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.host-hero-visual {
  flex: 1 1 46%;
  display: flex;
  justify-content: center;
}

.host-hero-visual svg {
  width: 100%;
  max-width: 460px;
  height: auto;
}

/* entrance animation: fade + slight upward slide, on page load */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-rise {
  opacity: 0;
  animation: heroRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* ambient float on the connected-circles visual */
@keyframes hhFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.hh-float {
  animation: hhFloat 6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hh-float-b {
  animation-duration: 7.5s;
  animation-delay: -2.4s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rise {
    opacity: 1;
    animation: none;
  }
  .hh-float {
    animation: none;
  }
}

@media (max-width: 860px) {
  .host-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .host-hero-visual {
    width: 100%;
    justify-content: flex-start;
  }
  .host-hero-visual svg {
    max-width: 340px;
  }
}

/* ---------- Host page: problem pain points ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.problem-card {
  background: var(--bg-beige);
  box-shadow: none;
  border: 1px solid var(--border);
  padding: 26px 24px;
}

.problem-card .icon-circle {
  margin-bottom: 18px;
}

.problem-card p {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================================
   Host page: main feature blocks (alternating rows + mock UI)
   ============================================================ */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 92px;
  margin-top: 68px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-row.flip .feature-visual {
  order: 2;
}

.feature-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-text h3 {
  font-size: clamp(24px, 3vw, 33px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.feature-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.feature-desc {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.feature-desc li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.feature-desc li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.feature-visual {
  display: flex;
  justify-content: center;
}

/* ---- mock UI panels ---- */
.mock {
  width: 100%;
  max-width: 380px;
  padding: 22px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  font-size: 14px;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mock-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mock-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.mock-field {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink);
  margin: 6px 0 14px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mock-chip {
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.mock-chip.on {
  background: var(--activity-bg);
  border-color: var(--accent);
  color: var(--accent);
}

.mock-toggle {
  width: 38px;
  height: 22px;
  border-radius: 100px;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}

.mock-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding: 11px 16px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: default;
}

.mock-btn svg {
  width: 16px;
  height: 16px;
}

.mock-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}

.mock-person + .mock-person {
  border-top: 1px solid var(--border);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.av1 { background: #2f6b45; }
.av2 { background: #b5744a; }
.av3 { background: #4a6d7c; }
.av4 { background: #7a5ea8; }
.av5 { background: #9a9186; }

.mock-name {
  flex: 1;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.mock-name .mock-sub {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 11.5px;
  margin-top: 2px;
}

.mock-tag {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.mock-tag.ok { background: var(--activity-bg); color: var(--accent); }
.mock-tag.wait { background: #f3ece0; color: #9a7b3b; }
.mock-tag.flag { background: #f6e5e0; color: #b5544a; }

.mock-qr-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.mock-qr {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
}

/* chat bubbles */
.bubble {
  max-width: 82%;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.bubble.in {
  background: var(--bg-beige);
  color: var(--ink);
  border-bottom-left-radius: 5px;
}

.bubble.out {
  background: var(--accent);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 5px;
}

.mock-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

/* wallet */
.mock-amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 16px;
}

.tier-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tier {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

.tier.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* shield */
.mock-shield {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--activity-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mock-shield svg {
  width: 24px;
  height: 24px;
}

/* venue coming soon */
.mock-muted {
  background: var(--bg-beige);
}

.venue-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.venue-card:last-child {
  margin-bottom: 0;
}

.venue-pin {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.venue-pin svg { width: 16px; height: 16px; }

@media (max-width: 820px) {
  .features-list { gap: 64px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.flip .feature-visual { order: 0; }
  .feature-visual { justify-content: flex-start; }
}

/* ---------- Host page: stats / social proof (breather) ---------- */

.stats-eyebrow {
  text-align: center;
  margin-bottom: 52px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

.stat {
  flex: 1 1 200px;
  max-width: 300px;
  padding: 8px;
}

.stat-num {
  font-size: clamp(52px, 8vw, 82px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.stats-note {
  margin-top: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Host page: closing CTA with animated gradient ---------- */

.cta-closing {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-closing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(45, 90, 61, 0.16), transparent 42%),
    radial-gradient(circle at 85% 30%, rgba(184, 116, 74, 0.10), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(45, 90, 61, 0.12), transparent 45%),
    var(--bg-beige);
  background-size: 180% 180%, 180% 180%, 180% 180%, auto;
  animation: ctaGradientShift 16s ease-in-out infinite alternate;
}

.cta-closing-white .cta-closing-bg {
  background:
    radial-gradient(circle at 15% 20%, rgba(45, 90, 61, 0.09), transparent 42%),
    radial-gradient(circle at 85% 30%, rgba(184, 116, 74, 0.07), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(45, 90, 61, 0.08), transparent 45%),
    var(--bg-white);
}

@keyframes ctaGradientShift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%;
  }
  100% {
    background-position: 20% 30%, 80% 40%, 60% 70%;
  }
}

.cta-closing-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta-closing-headline {
  max-width: none;
  margin: 0 auto;
}

.cta-closing-sub {
  max-width: none;
  margin: 20px auto 32px;
}

@media (prefers-reduced-motion: reduce) {
  .cta-closing-bg {
    animation: none;
  }
}

/* ---------- Footer contact email ---------- */

.footer-contact {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.footer-contact a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.footer-contact a:hover {
  color: var(--bg-beige);
}

/* ============================================================
   Host Guide page rebuild (host-guide.html only)
   ============================================================ */

.hg-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

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

.host-guide-hero {
  min-height: calc(100vh - 72px);
  background: var(--bg-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 48px 0;
}

.hg-hero-headline {
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 26em;
  margin: 0 auto;
}

.hg-hero-sub {
  font-weight: 300;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 40em;
  margin: 24px auto 0;
}

.hg-hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-accent:hover {
  background: var(--activity-bg);
}

/* ---- What it's like cards ---- */

.hg-card {
  border: 1px solid var(--border);
}

/* ---- Why host statements ---- */

.hg-statements {
  margin-top: 40px;
  max-width: 900px;
}

.hg-statement {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding: 32px 0;
}

.hg-statement:not(:first-child) {
  border-top: 1px solid var(--border);
}

/* generic left-slide reveal variant, shares .reveal's IO + timing */
.reveal-left {
  transform: translateX(-24px);
}

/* ---- Final CTA strip ---- */

.hg-cta-strip {
  background: var(--ink);
  text-align: center;
  padding: 110px 0;
}

.hg-cta-headline {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  font-style: italic;
  color: var(--bg-beige);
  max-width: 18em;
  margin: 0 auto;
}

.btn-cream {
  background: var(--bg-beige);
  color: var(--ink);
  padding: 14px 40px;
}

.btn-cream:hover {
  box-shadow: 0 8px 20px rgba(26, 23, 20, 0.18);
}

@media (max-width: 768px) {
  .hg-statement {
    padding: 24px 0;
  }
  .hg-cta-strip {
    padding: 72px 0;
  }
}

/* ============================================================
   Host Features: Pricing section (host-features.html only)
   ============================================================ */

.pr-section {
  background: var(--bg-beige);
  padding: 80px 0;
}

.pr-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.pr-sub {
  margin-top: 18px;
  font-weight: 300;
  color: var(--muted);
  font-size: 18px;
}

/* ---- Plan cards ---- */

.pr-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.pr-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 340px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.pr-card .btn {
  margin-top: auto;
}

.pr-card.pro {
  border-top: 3px solid var(--accent);
}

.pr-plan-label {
  display: inline-block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pr-plan-label.pro-chip {
  background: var(--accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: 100px;
}

.pr-price {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 16px;
}

.pr-price-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14.5px;
}

.pr-price-unit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 14.5px;
  letter-spacing: normal;
  color: var(--muted);
  margin-left: 6px;
}

/* ---- Comparison table ---- */

.pr-table-wrap {
  margin-top: 64px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.pr-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 14.5px;
}

.pr-table th {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}

.pr-table th:nth-child(2),
.pr-table td:nth-child(2) {
  text-align: center;
  width: 140px;
  padding-left: 40px;
}

.pr-table th:nth-child(3),
.pr-table td:nth-child(3) {
  text-align: center;
  width: 140px;
  padding-left: 56px;
}

.pr-table td {
  padding: 14px 28px;
  color: var(--ink);
}

/* Pro column gets a visible, continuous green wash down the table */
.pr-table th:nth-child(3),
.pr-table td:nth-child(3) {
  background: var(--activity-bg);
}

.pr-group-row td {
  background: #f3f1ec;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-transform: none;
  padding: 16px 28px;
}

.pr-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pr-check {
  color: var(--accent);
  font-weight: 700;
}

.pr-cross {
  color: var(--muted);
  font-weight: 700;
}

.pr-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--btn-fill);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ---- Pro perks ---- */

.pr-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pr-perk {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--activity-bg);
  border-radius: 16px;
  padding: 24px;
}

.pr-perk-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.pr-perk h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pr-perk p {
  font-size: 14px;
  color: var(--muted);
}

/* ---- Pricing closing CTA ---- */

.pr-closing {
  text-align: center;
  margin-top: 64px;
}

.pr-closing h3 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
}

.pr-closing .btn {
  margin-top: 20px;
}

.pr-closing-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---- Pro modal form ---- */

.pr-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.pr-modal-form .form-field textarea {
  min-height: 90px;
}

@media (max-width: 768px) {
  .pr-perks {
    grid-template-columns: 1fr;
  }
}
