/* Peza marketing site — shared styles. Dependency-free. */
:root {
  --green: #0f6e56;
  --leaf: #1d9e75;
  --green-deep: #0b5c44;
  --green-tint: #e6f2ec;
  --canvas: #faf8f2;
  --surface: #ffffff;
  --ink: #19231f;
  --muted: #586259;
  --faint: #646d65;
  --border: #e7e4da;
  --gold: #7a5e10;
  --shadow: 0 8px 24px rgba(28, 42, 31, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Spline Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Header ───────────────────────────────────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 242, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 22px;
}
.brand .word {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 22px; color: var(--green); letter-spacing: -0.5px;
}
nav.site-nav a {
  margin-left: 22px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 15px;
}
nav.site-nav a:hover { color: var(--green); }
@media (max-width: 640px) {
  nav.site-nav a:not(.btn) { display: none; }
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 14px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  border: 0; cursor: pointer; transition: transform 0.08s ease, opacity 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--green-deep); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--green); }

/* ── Hero ─────────────────────────────────────────── */
.hero { padding: 72px 0 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-tint); color: var(--green-deep);
  font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -1px;
  margin: 20px 0 16px; max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero p.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Official Google Play badge — asset already includes the required clear space,
   so no extra padding is added. Never recolor/alter per Google's guidelines. */
.play-badge { display: inline-block; line-height: 0; }
.play-badge img { height: 60px; width: auto; display: block; }
.tutors-card .play-badge img { height: 56px; }

/* ── Trust strip ──────────────────────────────────── */
.trust {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; margin-top: 40px;
  box-shadow: var(--shadow);
}
.trust .shield {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-tint); color: var(--green-deep);
  display: grid; place-items: center; font-size: 22px;
}
.trust p { margin: 0; color: var(--ink); font-weight: 600; }
.trust span { color: var(--muted); font-weight: 400; }

/* ── Sections ─────────────────────────────────────── */
section.block { padding: 64px 0; border-top: 1px solid var(--border); }
section.block h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.5px; margin: 0 0 8px;
}
section.block .sub { color: var(--muted); margin: 0 0 36px; font-size: 17px; max-width: 56ch; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.step .n {
  width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint);
  color: var(--green-deep); display: grid; place-items: center;
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 20px; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── For tutors ───────────────────────────────────── */
.tutors-card {
  background: var(--green); color: #fff; border-radius: var(--radius);
  padding: 44px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px; box-shadow: var(--shadow);
}
.tutors-card h2 { font-family: 'Fraunces', Georgia, serif; margin: 0 0 8px; font-size: 28px; }
.tutors-card p { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 46ch; }
.tutors-card .btn-primary { background: #fff; color: var(--green-deep); }
.tutors-card .btn-primary:hover { background: #f3f3f3; }

/* ── Footer ───────────────────────────────────────── */
footer.site { border-top: 1px solid var(--border); padding: 48px 0; color: var(--muted); }
footer.site .row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
footer.site a { color: var(--muted); text-decoration: none; display: block; margin: 6px 0; font-size: 15px; }
footer.site a:hover { color: var(--green); }
footer.site .legal { font-size: 13px; color: var(--faint); margin-top: 28px; }
footer.site h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); margin: 0 0 6px; }

/* ── Legal pages ──────────────────────────────────── */
.legal-page { padding: 56px 0 80px; }
.legal-page .back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-bottom: 24px; }
.legal-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px clamp(20px, 5vw, 56px);
  box-shadow: var(--shadow); overflow-wrap: break-word;
}
.legal-content h1 { font-family: 'Fraunces', Georgia, serif; }
@media (max-width: 600px) { .legal-page { padding: 32px 0 56px; } }
