/* Meetingpad marketing site — brand teal palette shared with the Mac app. */
:root {
  --teal: #2D9AB9;
  --teal-deep: #11657E;
  --green: #449A88;
  --periwinkle: #8382ED;
  --gold: #FFBF10;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-teal-soft: #eaf5f9;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", Segoe UI, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", Segoe UI, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e2e8f0;
    --muted: #94a3b8;
    --line: #1e293b;
    --bg: #0b1220;
    --bg-soft: #0f172a;
    --bg-teal-soft: rgba(45,154,185,0.10);
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.25);
  }
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0; font-family: var(--font-sans);
  color: var(--ink); background: var(--bg);
  line-height: 1.55; font-size: 16px;
}
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; margin-top: 2em; }
h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.5em; }
p { margin: 0 0 1em; }
small, .caption { color: var(--muted); font-size: 0.875rem; }
code { background: var(--bg-soft); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }
pre { background: var(--bg-soft); padding: 12px 14px; border-radius: var(--radius); overflow-x: auto; font-size: 0.85rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Preview ribbon — shown while we're on a temp subdomain. Remove the
   .preview-ribbon element from each page (or hide via CSS) when moving
   to the production domain. */
.preview-ribbon {
  background: var(--gold);
  color: #4a3a00;
  text-align: center;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.preview-ribbon a { color: #4a3a00; text-decoration: underline; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-emblem {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--teal-deep); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
}
nav.primary { display: flex; gap: 20px; align-items: center; font-size: 0.95rem; }
nav.primary a { color: var(--ink); }
nav.primary a:hover { color: var(--teal-deep); text-decoration: none; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0; margin-top: 80px;
  color: var(--muted); font-size: 0.9rem;
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer .cols { display: flex; gap: 36px; flex-wrap: wrap; }
.site-footer .cols a { color: var(--muted); }
.site-footer .cols a:hover { color: var(--teal-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* Hero */
.hero {
  padding: 72px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-teal-soft) 0%, transparent 100%);
}
.hero h1 { max-width: 780px; margin-left: auto; margin-right: auto; }
.hero .lede {
  max-width: 620px; margin: 12px auto 28px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
}
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .platform-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.hero-shot {
  margin: 40px auto -80px;
  max-width: 380px;
  box-shadow: 0 30px 60px rgba(15,23,42,.14), 0 8px 24px rgba(15,23,42,.08);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-shot img { display: block; width: 100%; height: auto; }

/* Waitlist form */
.waitlist {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  max-width: 440px; margin: 0 auto;
}
.waitlist input[type="email"] {
  flex: 1 1 220px; min-width: 200px;
  padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: inherit;
}
.waitlist input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45,154,185,0.15); }
.waitlist button { white-space: nowrap; }
.waitlist-msg {
  margin-top: 12px; font-size: 0.9rem; color: var(--muted);
  text-align: center; min-height: 1.4em;
}
.waitlist-msg.ok { color: var(--green); }
.waitlist-msg.err { color: #b91c1c; }

/* Section */
section { padding: 64px 0; }
section.narrow { padding: 48px 0; }

/* Feature grid */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.feature-card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg);
}
.feature-card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-teal-soft); color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
  margin-bottom: 12px;
}
.feature-card h3 { margin-top: 0; font-size: 1.05rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.step { padding: 24px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.step .num {
  display: inline-flex; width: 28px; height: 28px; border-radius: 999px;
  background: var(--teal); color: #fff; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 12px; font-size: 0.9rem;
}

/* Pricing */
.pricing {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 24px;
}
.plan {
  padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg);
}
.plan.featured { border-color: var(--teal); box-shadow: var(--shadow); position: relative; }
.plan .badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--teal); color: #fff; font-size: 0.75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em;
}
.plan h3 { margin-top: 0; font-size: 1.25rem; }
.plan .price { font-size: 2.5rem; font-weight: 700; margin: 8px 0 4px; color: var(--ink); font-family: var(--font-display); }
.plan .price small { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.plan li { padding: 6px 0; padding-left: 24px; position: relative; font-size: 0.95rem; }
.plan li::before {
  content: "✓"; color: var(--green); font-weight: 700;
  position: absolute; left: 0;
}
.plan li.muted { color: var(--muted); }
.plan li.muted::before { content: "·"; color: var(--muted); font-size: 1.3em; line-height: 1; }

/* Docs */
.docs-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 48px;
  padding: 40px 0;
}
@media (max-width: 800px) {
  .docs-layout { grid-template-columns: 1fr; gap: 24px; }
}
.docs-nav { position: sticky; top: 80px; align-self: start; font-size: 0.95rem; }
.docs-nav h4 { margin: 20px 0 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.docs-nav a { display: block; padding: 4px 0; color: var(--ink); }
.docs-nav a:hover { color: var(--teal-deep); text-decoration: none; }
.docs-nav a.current { color: var(--teal-deep); font-weight: 600; }
.docs-content h1 { margin-top: 0; }
.docs-content h2 { margin-top: 2em; padding-top: .5em; border-top: 1px solid var(--line); }
.docs-content h3 { margin-top: 1.5em; }
.docs-content ul, .docs-content ol { padding-left: 22px; }
.docs-content li { margin-bottom: 4px; }
.docs-content blockquote {
  margin: 1em 0; padding: 12px 16px; border-left: 3px solid var(--teal);
  background: var(--bg-teal-soft); color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0;
}

/* Support / Contact form */
.support-form {
  display: grid; gap: 16px; max-width: 560px; margin-top: 24px;
}
.support-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.support-form input, .support-form textarea, .support-form select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--ink); font: inherit;
}
.support-form textarea { min-height: 140px; resize: vertical; }
.support-form input:focus, .support-form textarea:focus, .support-form select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,154,185,0.15);
}

/* Legal pages */
.legal-content { padding: 32px 0 24px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-content .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.legal-content h2 { font-size: 1.15rem; margin-top: 2em; }
.legal-content p, .legal-content li { font-size: 0.95rem; }

/* Utility */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mt-8 { margin-top: 48px; }

/* Tables */
table.compare {
  width: 100%; border-collapse: collapse; margin-top: 20px;
  font-size: 0.95rem;
}
table.compare th, table.compare td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line);
}
table.compare th { font-weight: 600; background: var(--bg-soft); }
table.compare td.check { color: var(--green); font-weight: 700; }
table.compare td.no { color: var(--muted); }

/* Badge */
.badge-soft {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-teal-soft); color: var(--teal-deep);
  font-size: 0.8rem; font-weight: 600;
}
