/*
 * scuby marketing site — placeholder styling.
 * Brand tokens mirror the app's Tailwind config (ocean palette, Poppins/Inter).
 * Handwritten CSS on purpose: no build step, no runtime dependency.
 */

:root {
  /* ocean palette (from the app's tailwind.config.js) */
  --ocean-100: #e0f2fe;
  --ocean-400: #38bdf8; /* the accent dot */
  --ocean-500: #0ea5e9;
  --ocean-600: #0284c7;
  --ocean-700: #0369a1;
  --ocean-900: #0c4a6e;
  --ocean-950: #082f49;

  --ink: #0f172a;
  --muted: #64748b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #f8fafc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

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

/* ── Wordmark ───────────────────────────────────────────────────────── */
.wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  font-size: 1.5rem;
}

.wordmark .dot {
  color: var(--ocean-400);
}

.wordmark-sm {
  font-size: 1.25rem;
  color: var(--ocean-600);
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  /* Matches the app's hero/auth screens and the deck's lead slides. */
  background: linear-gradient(135deg, var(--ocean-500) 0%, var(--ocean-700) 70%, var(--ocean-900) 100%);
  color: #fff;
  padding: 0 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.nav .wordmark {
  color: #fff;
}

.nav-cta {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.75rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-inner {
  max-width: 720px;
  margin: 5rem auto 0;
  text-align: center;
}

.headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.subhead {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 0.85rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: #fff;
  color: var(--ocean-600);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ── Features ───────────────────────────────────────────────────────── */
.features {
  max-width: 1080px;
  margin: -3.5rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.feature {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.25);
  border: 1px solid #eef2f7;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ── CTA ────────────────────────────────────────────────────────────── */
.cta {
  max-width: 720px;
  margin: 6rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.cta p {
  color: var(--muted);
  margin: 0.75rem 0 1.75rem;
  font-size: 1.1rem;
}

.cta .btn-primary {
  color: #fff;
  background: var(--ocean-600);
}

.cta .btn-primary:hover {
  background: var(--ocean-700);
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid #e5eaf1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
}

.footer p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
}

.footer-links a:hover {
  color: var(--ocean-600);
}
