/* ─── numa.fit design tokens (from opendesign design system) ─────── */
:root {
  --bg: #f8f6ef;
  --surface: #ffffff;
  --surface-alt: #f0ede4;
  --fg: #1f4d3a;
  --fg-body: #333333;
  --fg-2: #555555;
  --muted: #777777;
  --meta: #999999;
  --border: #e0ddd4;
  --border-soft: #ebe8e0;
  --accent: #6aa155;
  --accent-dark: #1f4d3a;
  --accent-light: #aacf8c;
  --accent-on: #ffffff;
  --accent-hover: #1f4d3a;
  --accent-active: #163a2b;
  --danger: #c0392b;

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-sm: 13px;
  --text-base: 16px;
  --text-lg: 18px;

  --leading-body: 1.6;
  --leading-tight: 1.2;
  --tracking-display: -0.02em;

  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 9999px;
  --elev-card: 0 1px 4px rgba(31,77,58,0.06);
  --focus-ring: 0 0 0 2px var(--accent);
  --motion-fast: 150ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --container-max: 1140px;
}

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

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(106,161,85,0.10), transparent 60%),
    var(--bg);
  color: var(--fg-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: var(--accent); }
img, svg { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--accent);
  color: var(--accent-on);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  z-index: 200;
  transition: top var(--motion-fast);
}
.skip-link:focus { top: var(--space-3); }

/* ─── nav ─────────────────────────────────────────────────────────── */
.topnav { padding: var(--space-6) 0; }
.topnav .container { display: flex; align-items: center; justify-content: space-between; }
.topnav-brand { display: inline-flex; align-items: center; }
.topnav-brand img { height: 44px; width: 44px; }
.topnav .badge {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* ─── hero / coming-soon body ─────────────────────────────────────── */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--space-16) 0;
}
.hero { width: 100%; }
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-content { max-width: 620px; }

.hero-logo {
  width: clamp(140px, 22vw, 200px);
  height: auto;
  margin: 0 auto var(--space-8);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--fg);
  margin-bottom: var(--space-5);
  text-wrap: balance;
}
.hero h1 em { color: var(--accent); font-style: normal; }

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--fg-2);
  line-height: 1.7;
  margin: 0 auto var(--space-10);
  max-width: 480px;
  text-wrap: pretty;
}

/* ─── notify form ─────────────────────────────────────────────────── */
.notify {
  display: flex;
  gap: var(--space-3);
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.notify input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  font: inherit;
  font-size: 15px;
  color: var(--fg-body);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--elev-card);
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.notify input[type="email"]::placeholder { color: var(--meta); }
.notify input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 2px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-on);
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-standard),
              border-color var(--motion-fast) var(--ease-standard),
              transform var(--motion-fast) var(--ease-standard);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn:active { background: var(--accent-active); border-color: var(--accent-active); transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

.notify-note {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-4);
}
.notify-status {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: var(--space-4);
  min-height: 1.2em;
}

/* ─── footer ──────────────────────────────────────────────────────── */
.pagefoot {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--text-sm);
}
.pagefoot .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.pagefoot .meta { font-family: var(--font-mono); color: var(--meta); }
.social { display: flex; gap: var(--space-5); }

/* ─── Sendy redirect status pages ─────────────────────────────────── */
.status-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: var(--space-6);
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent-dark);
}
.status-icon-muted {
  background: var(--surface-alt);
  color: var(--fg-2);
}
.status-page .btn { margin-top: var(--space-4); }

/* ─── mobile ──────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .notify { flex-direction: column; align-items: stretch; }
  .notify .btn { width: 100%; }
  .topnav-brand img { height: 40px; }
}
