/*
 * Janade landing page. Colours are tokens on :root (same green family as Rafu Smart),
 * redefined for dark mode. No external fonts or scripts, so the strict CSP stays simple.
 */
:root {
  --brand-900: #0b3d2e;
  --brand-800: #0f5a40;
  --brand-700: #136f4f;
  --brand-600: #17855f;
  --brand-100: #dcf0e6;
  --brand-50: #eef8f3;
  --bg: #ffffff;
  --bg-alt: #f6f8f7;
  --text: #17201c;
  --muted: #55625c;
  --border: #dfe5e2;
  --link: var(--brand-700);
  --button-bg: var(--brand-700);
  --button-bg-hover: var(--brand-800);
  --button-text: #ffffff;
  --radius: 12px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1513;
    --bg-alt: #151d1a;
    --text: #e7eeea;
    --muted: #a3b2ab;
    --border: #2a3632;
    --link: #6fd0a6;
    --brand-50: #13261f;
    --brand-100: #1b3a2e;
    --brand-900: #cdeedd;
    --button-bg: #1f9a6c;
    --button-bg-hover: #23ad79;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--link);
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--brand-600), var(--brand-800));
  color: #fff;
  font-weight: 800;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, var(--brand-50), var(--bg));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--link);
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--brand-900);
}

.lead {
  max-width: 60ch;
  margin: 20px 0 32px;
  font-size: 1.15rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  border-color: var(--link);
}

.button.primary {
  background: var(--button-bg);
  border-color: var(--button-bg);
  color: var(--button-text);
}

.button.primary:hover {
  background: var(--button-bg-hover);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--bg-alt);
}

h2 {
  margin: 0 0 28px;
  font-size: 1.8rem;
  color: var(--brand-900);
}

h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.product {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.product h3 {
  font-size: 1.5rem;
}

.slogan {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

.pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-900);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 28px;
  margin: 20px 0 28px;
  padding-left: 20px;
}

.more {
  margin: 20px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Error page */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 560px) {
  .hero {
    padding: 56px 0 48px;
  }
  .section {
    padding: 48px 0;
  }
  .product {
    padding: 20px;
  }
  nav {
    gap: 14px;
  }
}
