/* Prepza website: the app's warm off-white, charcoal text and sage accent,
   with a dark version that follows the visitor's device. */
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --tint: #f1efe8;
  --text: #2c2c2a;
  --muted: #64635e;
  --border: #e2dfd3;
  --accent: #72a447;
  --accent-deep: #35561c;
  --accent-tint: #edf4e4;
  --serif: ui-serif, 'New York', 'Iowan Old Style', Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a18;
    --surface: #252622;
    --tint: #2e2f2a;
    --text: #f1efe8;
    --muted: #aaa9a2;
    --border: #383934;
    --accent: #8fbd4a;
    --accent-deep: #c6e39d;
    --accent-tint: #29351e;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
}

a {
  color: var(--accent-deep);
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- header / footer ---- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 600 24px/1 var(--serif);
}

.brand img {
  border-radius: 8px;
}

/* The wordmark's final "a" is green, like the leaf in the icon. */
.brand-a {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--accent-deep);
  background: var(--accent-tint);
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 32px;
}

.footer-row p {
  margin: 0;
}

/* ---- home ---- */

.hero {
  padding: 64px 0 40px;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
}

.hero-icon {
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(58, 52, 36, 0.12);
}

h1 {
  font: 600 clamp(34px, 6vw, 52px) / 1.1 var(--serif);
  letter-spacing: -0.01em;
  margin: 24px 0 16px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto 20px;
}

.badge {
  display: inline-block;
  margin: 8px 0 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 15px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  color: var(--accent-deep);
  margin-bottom: 14px;
}

.feature h2 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 6px;
}

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

.note {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---- legal and support ---- */

.legal {
  max-width: 760px;
  padding-top: 32px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-top: 8px;
}

.legal .lead {
  margin-left: 0;
  font-size: 17px;
}

.legal section {
  margin-top: 28px;
}

.legal h2 {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.legal p {
  margin: 0 0 12px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
}
