/* ============================================================
   PAIDVINE — BRAND STYLESHEET
   Colors, type, and base element styles for anything built
   outside the core app (landing pages, microsites, emails).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Raleway:wght@600;700;800&display=swap');

:root {
  /* Brand green */
  --pv-green: #56B03F;        /* primary — buttons, links, active states */
  --pv-green-light: #72D559;  /* lighter accent, hover highlights */
  --pv-green-dark: #418A2F;   /* hover / pressed states, on-light text */
  --pv-green-deep: #275534;   /* deepest green — dark surfaces, footers */

  /* Accent */
  --pv-yellow: #FEC816;       /* secondary accent — badges, streaks, highlights. Use sparingly. */

  /* Neutrals */
  --pv-bg: #F8FAFC;           /* page background */
  --pv-paper: #FFFFFF;        /* card / surface background */
  --pv-ink: #1A1A1A;          /* primary text */
  --pv-ink-soft: #64748B;     /* secondary / muted text */
  --pv-line: #E2E8F0;         /* borders, dividers */
}

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

body {
  margin: 0;
  background: var(--pv-bg);
  color: var(--pv-ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Headings — Raleway ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: inherit;
  margin: 0;
}

h1 { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.375rem, 3vw, 2rem); line-height: 1.3; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.4; font-weight: 600; }
h4 { font-size: clamp(0.9375rem, 1.5vw, 1.125rem); line-height: 1.5; font-weight: 600; }
h5 { font-size: 0.9375rem; line-height: 1.5; font-weight: 600; }
h6 { font-size: 0.875rem; line-height: 1.5; font-weight: 600; }

/* ---------- Body copy & UI — Inter ---------- */
p { font-size: 0.9375rem; line-height: 1.7; font-weight: 400; margin: 0 0 1em; }
label, span, small, a, button, input, select, textarea {
  font-family: "Inter", sans-serif;
  font-size: inherit;
}
small { font-size: 0.75rem; line-height: 1.5; }
a { text-decoration: none; color: var(--pv-green-dark); }
a:hover { text-decoration: underline; }

/* ---------- Typography utility classes ---------- */
.type-display { font-family: "Raleway", sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.type-h1 { font-family: "Raleway", sans-serif; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.type-h2 { font-family: "Raleway", sans-serif; font-size: clamp(1.375rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.type-h3 { font-family: "Raleway", sans-serif; font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; line-height: 1.4; }
.type-h4 { font-family: "Raleway", sans-serif; font-size: clamp(0.9375rem, 1.5vw, 1.125rem); font-weight: 600; line-height: 1.5; }
.type-body-lg { font-family: "Inter", sans-serif; font-size: 1.0625rem; line-height: 1.7; font-weight: 400; }
.type-body { font-family: "Inter", sans-serif; font-size: 0.9375rem; line-height: 1.7; font-weight: 400; }
.type-body-sm { font-family: "Inter", sans-serif; font-size: 0.875rem; line-height: 1.6; font-weight: 400; }
.type-caption { font-family: "Inter", sans-serif; font-size: 0.75rem; line-height: 1.5; font-weight: 500; }
.type-overline { font-family: "Inter", sans-serif; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.pv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.pv-btn-primary { background: var(--pv-green); color: #fff; }
.pv-btn-primary:hover { background: var(--pv-green-dark); text-decoration: none; }
.pv-btn-outline { border-color: var(--pv-green); color: var(--pv-green-dark); background: transparent; }
.pv-btn-outline:hover { background: #EAF7E5; text-decoration: none; }

/* ---------- Surfaces ---------- */
.pv-card {
  background: var(--pv-paper);
  border: 1px solid var(--pv-line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(14, 59, 44, 0.08);
}
.pv-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pv-yellow);
  color: var(--pv-ink);
}
