@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Variable.woff2') format('woff2-variations'),
       url('/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #4B3F72;
  --primary-hover: #3d3360;
  --primary-light: #ede9f5;
  --primary-tint: #f5f3f9;

  --secondary: #2AB5A0;
  --secondary-hover: #229e8c;

  --bg: #F7F6F3;
  --bg-warm: #f5f4f0;
  --bg-subtle: #eeede9;
  --surface: #ffffff;

  --text: #1A1A2E;
  --text-secondary: #4a4a5a;
  --text-muted: #5c5c6c;

  --border: #e6e4df;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);

  --container-max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

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

/* ------- Header ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }

.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--primary); text-decoration: none; }

@media (max-width: 600px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.875rem; }
}

/* ------- Hero ------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(75, 63, 114, 0.08), transparent 70%),
    var(--bg);
}
.hero__inner { max-width: 760px; }
.hero__title { margin-bottom: 16px; color: var(--text); }
.hero__subtitle {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: 32px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-hover); text-decoration: none; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface); border-color: #d4d2cc; text-decoration: none; }

/* ------- Sections ------- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__title { margin-bottom: 12px; }
.section__lede { color: var(--text-secondary); font-size: 1.0625rem; max-width: 60ch; margin-bottom: 32px; }

.prose p { color: var(--text-secondary); max-width: 65ch; }
.prose p + p { margin-top: 0.75em; }

/* ------- Cards ------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary-hover);
  background: rgba(42, 181, 160, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 14px;
}
.card__title { margin-bottom: 4px; color: var(--primary); }
.card__subtitle { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 14px; font-weight: 500; }
.card__body { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 18px; }
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
}
.card__cta:hover { color: var(--primary-hover); }

/* ------- Contact ------- */
.contact {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin: 0;
}
.contact__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact__row:last-child { border-bottom: none; }
.contact__row dt { font-weight: 600; color: var(--text); }
.contact__row dd { margin: 0; color: var(--text-secondary); }

@media (max-width: 480px) {
  .contact__row { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
}

/* ------- Footer ------- */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--secondary); }
.site-footer__inner { display: grid; gap: 32px; }
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}
.site-footer__brand img { filter: brightness(0) invert(1); }

.company-info {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
}
.company-info__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.company-info dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px 24px;
  margin: 0;
}
.company-info dl > div { display: grid; gap: 2px; }
.company-info dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.company-info dd {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  margin: 16px 0 0;
}
