/* WarpGraph — coming-soon landing
   Colors lifted from the WarpGraph design tokens (dark palette). */

:root {
  --background: oklch(0.129 0.042 264.695);
  --foreground: oklch(0.984 0.003 247.858);
  --card: oklch(0.208 0.042 265.755);
  --primary: oklch(0.488 0.243 264.376);
  --muted-foreground: oklch(0.704 0.04 256.788);
  --border: oklch(1 0 0 / 10%);
  --accent: #74c69d; /* the green chart-line in the mark */
  --radius: 0.625rem;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* soft indigo glow behind the content */
  background-image:
    radial-gradient(60rem 40rem at 50% -10%, oklch(0.488 0.243 264.376 / 22%), transparent 60%),
    radial-gradient(40rem 30rem at 80% 110%, oklch(0.696 0.17 162.48 / 10%), transparent 60%);
  background-repeat: no-repeat;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  gap: 1.75rem;
}

.logo {
  width: clamp(120px, 26vw, 184px);
  height: auto;
  filter: drop-shadow(0 8px 40px oklch(0.488 0.243 264.376 / 45%));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 oklch(0.696 0.17 162.48 / 70%);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.696 0.17 162.48 / 60%); }
  70%  { box-shadow: 0 0 0 9px oklch(0.696 0.17 162.48 / 0%); }
  100% { box-shadow: 0 0 0 0 oklch(0.696 0.17 162.48 / 0%); }
}

h1 {
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.tagline {
  max-width: 34rem;
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  color: var(--muted-foreground);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.contact a {
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
}

footer a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.sep { opacity: 0.4; }

/* simple content page (privacy / support) */
.doc {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  text-align: left;
}

.doc a.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.doc a.back:hover { color: var(--foreground); }

.doc h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin-bottom: 0.5rem; }
.doc .updated { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 2rem; }
.doc h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.doc p { color: oklch(0.984 0.003 247.858 / 88%); margin-bottom: 1rem; }
.doc a { color: var(--accent); }

/* multi-section landing (home page) */
main.page {
  justify-content: flex-start;
  padding: 0 0 3rem;
  gap: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 5rem 1.5rem 3.5rem;
}

.section {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.section h2 {
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.lead {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  color: oklch(0.984 0.003 247.858 / 90%);
  font-size: clamp(1rem, 3vw, 1.12rem);
}

.lead.small { font-size: 1rem; color: var(--muted-foreground); }
.lead a { color: var(--accent); text-decoration: none; }
.lead a:hover { text-decoration: underline; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

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

.links { margin-top: 0.5rem; font-size: 0.95rem; }
.links a { color: var(--accent); text-decoration: none; }
.links a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .logo, .badge .dot { animation: none; }
}
