/* RenewAja website — design tokens mirrored from the "Serene Renewal" Stitch
   design system (project 13097048115387733017). Light only, like the app. */

:root {
  /* Colour */
  --surface: #f7f9fb;
  --surface-container-low: #f2f4f6;
  --surface-container: #eceef0;
  --light-card: #ffffff;
  --light-surface: #f4fcf7;
  --light-border: #e2e8f0;

  --on-surface: #0f172a;
  --on-surface-variant: #64748b;
  --outline-variant: #bccbb9;

  --primary: #006e2f;          /* accessible green for text and solid fills */
  --primary-container: #22c55e; /* brand green — surfaces and accents only */
  --on-primary: #ffffff;
  --secondary: #14b8a6;
  --success: #16a34a;
  --warning: #f59e0b;
  --error: #ef4444;

  --brand-gradient: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%);

  /* Spacing — 8pt grid */
  --base: 8px;
  --stack-sm: 12px;
  --gutter: 16px;
  --stack-md: 24px;
  --screen-edge: 24px;
  --screen-edge-lg: 32px;
  --stack-lg: 40px;

  /* Shape */
  --r-sm: 8px;
  --r-input: 16px;
  --r-card: 24px;
  --r-sheet: 32px;
  --r-full: 9999px;

  /* Elevation — soft ambient shadow, never a border on white */
  --shadow-card: 0 8px 24px 0 rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 24px 0 rgba(15, 23, 42, 0.04);
  --shadow-lift: 0 16px 40px 0 rgba(15, 23, 42, 0.12);
  --shadow-brand: 0 12px 32px 0 rgba(34, 197, 94, 0.32);

  /* Motion */
  --dur: 240ms;
  --ease: cubic-bezier(0.33, 1, 0.68, 1); /* easeOutCubic */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--screen-edge);
}

.wrap--narrow {
  max-width: 800px;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto var(--stack-lg);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--light-surface);
  border-radius: var(--r-full);
  padding: 6px 14px;
  margin-bottom: var(--stack-sm);
}

.h-display {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
}

.h-headline {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.h-title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--on-surface-variant);
}

.muted {
  color: var(--on-surface-variant);
}

.caption {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
  height: 72px;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--stack-md);
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color var(--dur) var(--ease);
}

.nav a:hover {
  color: var(--primary);
  opacity: 1;
}

@media (max-width: 720px) {
  .nav a.nav--hide-sm {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-input);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  border: 0;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

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

.btn--primary {
  background: var(--brand-gradient);
  color: var(--on-primary);
  box-shadow: var(--shadow-brand);
}

.btn--ghost {
  background: var(--light-card);
  color: var(--on-surface);
  box-shadow: var(--shadow-card);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 15px;
}

/* ---------- Cards ---------- */

.card {
  background: var(--light-card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: var(--stack-md);
}

.grid {
  display: grid;
  gap: var(--stack-md);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--r-input);
  display: grid;
  place-items: center;
  background: var(--light-surface);
  color: var(--primary);
  margin-bottom: var(--stack-sm);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature p {
  font-size: 15px;
  line-height: 23px;
  color: var(--on-surface-variant);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface-container-low);
  border-top: 1px solid var(--light-border);
  padding: var(--stack-lg) 0;
  margin-top: var(--stack-lg);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
}

.site-footer a {
  font-size: 14px;
  font-weight: 500;
}
