/* QuizSeed - light garden/growth theme (greens, sky blue, sunrise gold, soil). */

:root {
  --sky: #eaf2fb;
  --cream: #fbf6ea;
  --ink: #20271f;
  --muted: #5d6b58;
  --line: rgba(32, 39, 31, 0.10);
  --seed: #3f8f2e;       /* primary brand green */
  --sprout: #5fbf45;     /* lighter green accent */
  --soil: #6b4a2e;       /* warm neutral */
  --skyblue: #15539c;    /* icon sky */
  --gold: #f0a93a;       /* sunrise */
  --radius: 20px;
  --max: 1000px;
  --shadow-sm: 0 1px 3px rgba(32,39,31,0.06), 0 8px 22px rgba(32,39,31,0.07);
  --shadow-lg: 0 14px 44px rgba(32,39,31,0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky) 0%, var(--cream) 55%) fixed;
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
a { color: var(--seed); }

header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(234, 242, 251, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; margin-left: 22px; }
.nav nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: linear-gradient(135deg, var(--sprout), var(--seed)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255,255,255,0.6); border-color: var(--line); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.62; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: #1b1b1b; color: #fff; padding: 11px 20px 11px 18px; border-radius: 12px; text-decoration: none;
  transition: transform .15s ease;
}
.appstore:hover { transform: translateY(-1px); }
.appstore[aria-disabled="true"] { opacity: 0.6; cursor: default; }
.appstore[aria-disabled="true"]:hover { transform: none; }
.appstore svg { width: 24px; height: 24px; fill: #fff; }
.appstore .t { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .t small { font-size: 0.62rem; opacity: 0.85; }
.appstore .t span { font-size: 1.12rem; font-weight: 600; }

/* Hero */
.hero { padding: clamp(44px, 8vw, 88px) 0 clamp(32px, 5vw, 60px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero img.appicon { width: 100%; max-width: 280px; border-radius: 24%; box-shadow: var(--shadow-lg); display: block; margin: 0 auto; }
.hero .eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--seed); background: rgba(63,143,46,0.12); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero p.lede { font-size: 1.15rem; color: var(--muted); margin: 20px 0 28px; max-width: 34ch; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero .order-img { order: -1; }
}

section { padding: clamp(48px, 7vw, 84px) 0; }
.section-head { text-align: center; max-width: 40ch; margin: 0 auto 44px; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: rgba(255,255,255,0.65); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--sprout), var(--seed)); margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature { background: rgba(255,255,255,0.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), #e08a1f); color: #fff; margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.feature h3 { font-size: 1.1rem; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* Privacy band */
.band { background: linear-gradient(135deg, var(--skyblue), #0e3c75); color: #eef4fb; border-radius: 26px; padding: clamp(34px, 6vw, 60px); text-align: center; box-shadow: var(--shadow-lg); }
.band h2 { color: #fff; }
.band p { color: rgba(238,244,251,0.82); max-width: 56ch; margin: 14px auto 0; }
.band .chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.band .chip-pill { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; }

.platforms { text-align: center; color: var(--muted); }
.platforms strong { color: var(--ink); }

footer { border-top: 1px solid var(--line); padding: 38px 0; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer nav { display: flex; gap: 20px; }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(44px, 8vw, 80px) 24px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 6px; }
.legal .eff { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 1.2rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--seed); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
