/* ==========================================================================
   base.css — global styles loaded on every page
   (font, theme variables, reset, typography)
   ========================================================================== */

/* ---- Poppins (self-hosted for speed, swap to avoid invisible text) ---- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}

/* ---- Theme tokens ---- */
:root {
  --tp-green: #097736;
  --tp-green-dark: #066b30;
  --tp-green-light: #0b8a3f;
  --tp-text: #1f2937;
  --tp-muted: #6b7280;
  --tp-border: #e5e7eb;
  --tp-white: #ffffff;
  --tp-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Theme button: glossy green — green at the edges, lighter through the centre.
     Layer 1 = soft top-to-bottom sheen. Layer 2 = horizontal green→light→green. */
  --tp-green-gradient:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0.10) 100%),
    radial-gradient(58% 130% at 50% 32%, #25ad5b 0%, #109547 38%, #097736 68%, #045d2a 100%);
  --tp-green-gradient-hover:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(0, 0, 0, 0.10) 100%),
    radial-gradient(58% 130% at 50% 32%, #1f9e52 0%, #0d8a40 38%, #086c31 68%, #034f24 100%);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--tp-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tp-text);
  background-color: #fcfbf7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
}
