/*
 * EventSync landing page styles.
 *
 * Shared by the new batch of landing pages (vendor-coordination,
 * for-photographers-vendors, diy-wedding-day-coordinator, wedding-timeline-app,
 * wedding-day-timeline-template, coordinator-alternative, for-venues,
 * venue-coordinator-vs-day-of-coordinator).
 *
 * Mirrors the inline style block on docs/day-of-coordinator-app.html so the
 * new pages render at the same visual quality.
 */

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

:root {
  --brand: #1E293B;
  --brand-light: #334155;
  --brand-dark: #0F172A;
  --accent: #C4956A;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-500: #64748B;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(30, 41, 59, 0.10);
  --shadow-lg: 0 8px 40px rgba(30, 41, 59, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- NAV ---------- */
nav.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.85rem;
}
@media (max-width: 720px) {
  .nav-links li:not(.nav-cta-li) { display: none; }
}

/* ---------- LAYOUT ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
section.alt { background: var(--slate-50); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: 'Lora', serif;
  color: var(--brand);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.12; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); line-height: 1.2; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }

p { color: var(--gray-700); }
.lede { font-size: 1.1rem; color: var(--gray-700); max-width: 680px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.25);
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.30);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: var(--white);
  color: var(--brand);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--brand); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- HERO ---------- */
.hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}
/* Single-column hero. New landing pages do not carry a static hero-preview phone;
   the interactive demo below the hero is the primary visual. */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.hero-copy { max-width: 720px; }
.hero h1 { color: var(--brand-dark); margin-bottom: 18px; }
.hero-sub {
  font-size: 1.2rem;
  color: var(--gray-700);
  margin-bottom: 28px;
  line-height: 1.5;
  max-width: 560px;
}
.hero-trust {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---------- PAIN ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.pain-card h3 {
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.pain-card .moment {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.pain-card p { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 6px; }
.pain-card p:last-child { margin-bottom: 0; }
.pain-card .why { color: var(--gray-500); font-size: 0.85rem; }

/* ---------- DEMO ---------- */
.demo-section h2 { color: var(--brand-dark); }
.demo-section .lede { margin-bottom: 32px; }

/* ---------- FEATURES ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.feature-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
}
.feature-proof {
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.feature-proof strong {
  display: block;
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--brand-dark);
}
.feature-proof span {
  display: block;
  margin-top: 5px;
  color: var(--slate-500);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  box-shadow: 0 3px 0 rgba(30, 41, 59, 0.04);
}
.feature-num {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
}
.feature-card h3 { color: var(--brand-dark); margin-bottom: 5px; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 800; }
.feature-card .feature-plain { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 10px; }
.feature-card .feature-example { font-size: 0.86rem; color: var(--gray-700); margin-bottom: 10px; padding: 10px 12px; background: var(--slate-50); border-left: 3px solid var(--accent); border-radius: 8px; }
.feature-card .feature-why { font-size: 0.82rem; color: var(--gray-500); }
.feature-card .inline-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.step {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}
.step h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; color: var(--brand-dark); margin-bottom: 8px; font-weight: 700; }
.step p { font-size: 0.92rem; color: var(--gray-700); }
.step .visual-note { display: block; margin-top: 10px; font-size: 0.78rem; color: var(--gray-500); font-style: italic; }

/* ---------- USE CASES ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.usecase {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.usecase h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; color: var(--brand-dark); margin-bottom: 6px; font-weight: 700; }
.usecase .who { font-size: 0.8rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.usecase p { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 14px; flex: 1; }
.usecase .next {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- COMPARISON ---------- */
.compare-wrap {
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--white);
}
.compare th, .compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.92rem;
  vertical-align: middle;
}
.compare thead th {
  background: var(--slate-50);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-700);
  font-weight: 700;
}
.compare thead th.us { color: var(--brand); }
.compare tbody td.us { font-weight: 600; color: var(--brand-dark); }
.compare tr:last-child td { border-bottom: none; }
.compare .ans-yes { color: var(--brand-dark); font-weight: 600; }
.compare .ans-partial { color: var(--accent); }
.compare .ans-no { color: var(--gray-500); }
.compare .row-best td { background: var(--slate-50); font-weight: 600; }

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.plan {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.plan.recommended {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.plan.recommended::before {
  content: 'Recommended';
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--brand);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan h3 { font-family: 'Inter', sans-serif; font-size: 1.15rem; color: var(--brand-dark); margin-bottom: 4px; font-weight: 700; }
.plan .who { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 18px; }
.plan .price { font-family: 'Lora', serif; font-size: 1.8rem; color: var(--brand); margin-bottom: 4px; font-weight: 600; }
.plan .price-meta { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { font-size: 0.92rem; color: var(--gray-700); padding: 6px 0 6px 22px; position: relative; }
.plan li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--brand);
  font-weight: 700;
}
.plan .btn { width: 100%; justify-content: center; }
.pricing-note { margin-top: 24px; color: var(--gray-500); font-size: 0.85rem; max-width: 680px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 32px auto 0;
}
.faq details {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--white);
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--brand-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--gray-500);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '\2212'; }
.faq summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.25);
  border-radius: var(--radius-sm);
}
.faq .faq-body {
  padding: 0 22px 18px;
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: var(--brand-dark);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(255,255,255,0.85); margin: 14px auto 24px; max-width: 560px; }
.final-cta .btn-primary { background: var(--accent); color: var(--brand-dark); box-shadow: 0 4px 16px rgba(196,149,106,0.45); }
.final-cta .btn-primary:hover { background: #B58659; }
.final-cta .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.final-cta .btn-outline:hover { border-color: var(--white); color: var(--white); }
.final-cta .reassurance { display: block; margin-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--gray-50);
  padding: 48px 0 32px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-500);
}
footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
footer a {
  color: var(--gray-700);
  text-decoration: none;
  margin-right: 18px;
}
footer a:hover { color: var(--brand); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

@media (max-width: 760px) {
  .feature-proof-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

section h2.section-headline { margin-bottom: 12px; }

/* ---------- ROLE-SPLIT TABLE (for educational pages) ---------- */
.role-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.role-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.role-card .role-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.role-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--brand-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.role-card ul { list-style: none; padding: 0; margin: 0; }
.role-card li {
  font-size: 0.92rem;
  color: var(--gray-700);
  padding: 6px 0 6px 22px;
  position: relative;
}
.role-card li::before {
  content: '\2022';
  position: absolute;
  left: 6px;
  top: 6px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- TEMPLATE PAGE DOWNLOAD CARDS ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.download-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.download-card .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
}
.download-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: var(--brand-dark);
  font-weight: 700;
}
.download-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  flex: 1;
}
.download-card .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.download-card .download-btn:hover { background: var(--brand-dark); }

/* ---------- TRUST STRIP (shared with homepage) ---------- */
.trust-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px auto 0;
  max-width: 620px;
}
.trust-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  min-width: 130px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.trust-chip strong {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
}
.trust-chip span {
  font-size: 0.74rem;
  color: var(--gray-500);
  margin-top: 4px;
  text-align: center;
  line-height: 1.3;
}

/* ---------- URGENCY WIDGET ---------- */
.urgency-widget {
  background: rgba(196, 149, 106, 0.08);
  border: 1px solid rgba(196, 149, 106, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0 24px;
  max-width: 480px;
}
.urgency-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 8px;
}
.urgency-input {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--gray-900);
  min-width: 180px;
}
.urgency-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}
.urgency-output {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1.4;
}
.urgency-output:empty {
  display: none;
}
