:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #6b7280;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.05);
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  height: 100vh;           /* lock to viewport */
  overflow: hidden;        /* no page scroll */
}

img, svg { display: block; max-width: 100%; }
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { width: 24px; height: 24px; border-radius: 7px; background: #111; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 5px; background: #fff; mix-blend-mode: difference; opacity: 0.0; }
.brand-name { font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }

/* Sections */
.section { padding: 0; }
.section.hero { padding: 0; }
.section-card { background: linear-gradient(180deg, #fff, #fafafa); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 28px; }
.eyebrow { color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.14em; margin: 0 0 16px; }

/* Hero */
.hero-inner { text-align: left; }
.hero h1 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 800; }
.lede { font-size: clamp(16px, 2.1vw, 19px); color: #222; max-width: 640px; margin: 0 12px 18px; }
.lede.center { text-align: center; margin-left: auto; margin-right: auto; }

.cta { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; font-weight: 600; border-radius: 999px; text-decoration: none; transition: transform .05s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #111; color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: #111; border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(0,0,0,0.04); }
.btn-small { padding: 8px 12px; font-size: 14px; }

/* (preview elements removed in single view) */

/* Features */
/* (features removed in single view) */

/* Steps */
/* (steps removed in single view) */
.note { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* Card + Form */
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: none; }
.form-card { padding: 0; }
.form-card iframe { width: 100%; border: 0; display: block; border-radius: 12px; background: transparent; }

/* Chips for supported platforms */
.integrations { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin: 6px 0 14px; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 12.5px; color: #222; text-align: center; line-height: 1; }
.chip > span { display: inline-flex; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #bbb; flex: 0 0 auto; }
.dot-ig { background: #e1306c; }
.dot-fb { background: #1877f2; }
.micro { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }

/* Single-screen layout */
.single { min-height: 100vh; display: flex; align-items: stretch; }
.single-layout { width: 100%; min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.topbar, .bottombar { height: 64px; display: flex; align-items: center; }
.topbar { justify-content: center; }
.bottombar { justify-content: center; }
.footer-line { display: inline-flex; align-items: center; gap: 6px; }
.center { align-self: center; justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 640px; text-align: center; padding: 0 16px; }
.center .form-card { width: 100%; max-width: 520px; margin-top: 12px; align-self: center; }

/* Ensure the form never exceeds the viewport */
/* Let Tally's dynamicHeight control iframe height (no overrides) */

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; letter-spacing: -0.01em; }
.faq p { margin: 8px 0 0; color: #222; font-size: 14.5px; }

/* Footer (not used) */
.slash { color: #d1d5db; }
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 0; }
}

/* Allow scroll on ultra-short screens for usability */
@media (max-height: 620px) {
  body { overflow: auto; }
  .single { min-height: auto; }
}
