/* Proga — global site styles.
   Design system: Poppins type, teal #138e99 brand, ink #0f1b1d, surface #f6f9f9.
   Variable names are kept stable so forms.css inherits the new palette. */

/* ---- Poppins (self-hosted) ---- */
@font-face{font-family:"Poppins";font-weight:400;font-style:normal;font-display:swap;src:url("/fonts/Poppins-Regular.ttf") format("truetype");}
@font-face{font-family:"Poppins";font-weight:500;font-style:normal;font-display:swap;src:url("/fonts/Poppins-Medium.ttf") format("truetype");}
@font-face{font-family:"Poppins";font-weight:600;font-style:normal;font-display:swap;src:url("/fonts/Poppins-SemiBold.ttf") format("truetype");}
@font-face{font-family:"Poppins";font-weight:700;font-style:normal;font-display:swap;src:url("/fonts/Poppins-Bold.ttf") format("truetype");}
@font-face{font-family:"Poppins";font-weight:800;font-style:normal;font-display:swap;src:url("/fonts/Poppins-ExtraBold.ttf") format("truetype");}

:root {
  /* Brand */
  --teal: #138e99;          /* core brand teal */
  --teal-dark: #0f747e;
  --teal-50: #eef9fa;
  --teal-100: #d9f2f4;
  --teal-300: #7fd2d9;

  /* Ink / neutrals */
  --ink: #0f1b1d;
  --ink-soft: #4f656a;
  --muted: #6e8589;
  --line: #dde5e6;
  --line-soft: #eef3f3;
  --placeholder: #93a6a9;

  /* Surfaces */
  --bg: #f6f9f9;
  --surface-card: #ffffff;

  /* Status */
  --success: #1f9d57;
  --success-bg: #e0f3e8;
  --danger: #d6453d;

  /* Brand gradient (primary CTAs) */
  --gradient-brand: linear-gradient(135deg, #0c90b4 0%, #24a8c0 100%);

  /* Type — Poppins everywhere; --serif kept as an alias so headings restyle */
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: var(--sans);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ---- Header ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 40px;
}

.site-header a { display: inline-flex; align-items: center; text-decoration: none; }

.logo { height: 36px; width: auto; display: block; }

.header-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.header-link:hover { color: var(--teal); }

/* small outline action in the header (homepage) */
.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  background: transparent;
  border: 1.5px solid #bccacc;
  border-radius: 999px;
  padding: 9px 20px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.header-action:hover { background: var(--teal-50); border-color: var(--teal-300); }

/* ---- Hero ---- */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px 72px;
}

.hero {
  max-width: 860px;
  text-align: center;
  animation: progaRise .5s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--teal-dark);
  background: var(--teal-100);
  padding: 7px 16px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  margin: 26px 0 0;
}

.hero h1 .accent { color: var(--teal); }

.hero p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 26px auto 0;
  text-wrap: pretty;
}

.hero p.sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  margin: 22px auto 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 30px;
  border-radius: 999px;
  margin-top: 36px;
  box-shadow: 0 8px 24px rgba(19,142,153,0.25);
  transition: box-shadow 0.15s ease, transform 0.12s ease;
}
.cta:hover { box-shadow: 0 10px 28px rgba(19,142,153,0.32); transform: translateY(-1px); }
.cta:active { transform: translateY(1px); }
.cta svg { width: 20px; height: 20px; }

.cta-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.cta-note a { color: var(--teal); text-decoration: none; font-weight: 500; }
.cta-note a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer .footer-logo { height: 18px; width: auto; opacity: .55; display: block; }
.site-footer a { color: var(--teal); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---- Motion ---- */
@keyframes progaRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes progaSpin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .site-header { padding: 20px 22px; }
  .logo { height: 32px; }
  main { padding: 32px 22px 56px; }
  .site-footer { padding: 22px 22px; }
}
