/* Impalads marketing site — coming-soon landing + policy pages */

:root {
  --fg: #0f172a;
  --fg-muted: #475569;
  --fg-subtle: #94a3b8;
  --bg: #fafafa;
  --surface: #ffffff;
  --border: #e2e8f0;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
               Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Coming-soon hero ─────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.hero-inner {
  max-width: 640px;
  text-align: center;
}

.brand {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent); /* fallback */
}

.tagline {
  font-size: 1.25rem;
  color: var(--fg-muted);
  margin: 0 0 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
  font-weight: 600;
  margin: 0;
}

/* ─── Doc pages (privacy/terms) ───────────────────────────────────── */
.doc-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 1.5rem;
}

.brand-link {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-decoration: none;
}

.doc-main {
  flex: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--surface);
  width: 100%;
}

/* Termly embed style adjustments */
.doc-main [name="termly-embed"] {
  min-height: 60vh;
}

/* ─── Footer ───────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  background: var(--surface);
}

.footer nav {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer a {
  color: var(--fg-muted);
  text-decoration: none;
}

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

.sep {
  margin: 0 0.5rem;
  color: var(--fg-subtle);
}

.copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--fg-subtle);
}

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .brand {
    font-size: 3rem;
  }
  .tagline {
    font-size: 1.0625rem;
  }
}
