/* UTI Network shared brand tokens — extracted from utifree.com palette */
:root {
  color-scheme: light;
  --brand-primary: 165 55% 42%;          /* teal — UTI network signature */
  --brand-primary-soft: 165 55% 94%;
  --brand-secondary: 205 65% 48%;        /* clinical blue */
  --brand-secondary-soft: 205 65% 95%;
  --brand-accent: 34 73% 91%;            /* warm sand */
  --brand-ink: 200 18% 14%;
  --brand-ink-soft: 200 12% 35%;
  --brand-bg: 0 0% 100%;
  --brand-bg-soft: 200 25% 98%;
  --brand-border: 200 15% 88%;
  --brand-success: 145 60% 38%;
  --brand-danger: 0 70% 50%;
  --brand-amazon: 36 100% 50%;
  --font-heading: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --shadow-sm: 0 1px 2px hsl(200 20% 10% / 0.06);
  --shadow-md: 0 8px 24px -10px hsl(200 30% 20% / 0.15);
  --shadow-lg: 0 24px 48px -16px hsl(200 30% 20% / 0.2);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: hsl(var(--brand-ink));
  background: hsl(var(--brand-bg));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  color: hsl(var(--brand-ink));
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0; }
a { color: hsl(var(--brand-primary)); text-decoration: none; transition: color .15s ease; }
a:hover { color: hsl(var(--brand-secondary)); }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--brand-bg) / 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid hsl(var(--brand-border));
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: hsl(var(--brand-ink));
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, hsl(var(--brand-primary)), hsl(var(--brand-secondary)));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: hsl(var(--brand-ink-soft));
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: hsl(var(--brand-primary)); }
@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: hsl(var(--brand-primary));
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: hsl(var(--brand-primary) / 0.92); color: white; box-shadow: var(--shadow-md); }
.btn-secondary {
  background: white;
  color: hsl(var(--brand-ink));
  border-color: hsl(var(--brand-border));
}
.btn-secondary:hover { border-color: hsl(var(--brand-primary)); color: hsl(var(--brand-primary)); }
.btn-amazon {
  background: hsl(var(--brand-amazon));
  color: hsl(200 18% 14%);
  box-shadow: 0 6px 18px -8px hsl(var(--brand-amazon) / 0.6);
}
.btn-amazon:hover { background: hsl(var(--brand-amazon) / 0.9); color: hsl(200 18% 14%); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* hero */
.hero {
  position: relative;
  padding: 80px 0 64px;
  background:
    radial-gradient(800px 380px at 80% -20%, hsl(var(--brand-primary) / 0.18), transparent 60%),
    radial-gradient(700px 320px at 5% 110%, hsl(var(--brand-secondary) / 0.14), transparent 60%),
    linear-gradient(180deg, hsl(var(--brand-bg)), hsl(var(--brand-bg-soft)));
  overflow: hidden;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: hsl(var(--brand-primary-soft));
  color: hsl(var(--brand-primary));
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title { max-width: 22ch; margin-bottom: 18px; }
.hero-sub {
  max-width: 60ch;
  color: hsl(var(--brand-ink-soft));
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
.section { padding: 64px 0; }
.section-soft { background: hsl(var(--brand-bg-soft)); }
.section-title {
  text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: hsl(var(--brand-ink-soft));
  max-width: 60ch;
  margin: 0 auto 40px;
}

/* card grids */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: white;
  border: 1px solid hsl(var(--brand-border));
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: hsl(var(--brand-primary) / 0.5);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: hsl(var(--brand-primary-soft));
  color: hsl(var(--brand-primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 800;
}
.card-title { margin-bottom: 8px; }
.card-body { color: hsl(var(--brand-ink-soft)); font-size: 0.96rem; }

/* footer */
.footer {
  background: hsl(var(--brand-ink));
  color: hsl(0 0% 88%);
  padding: 56px 0 28px;
}
.footer h4 {
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer a { color: hsl(0 0% 75%); display: block; padding: 4px 0; font-size: 0.92rem; }
.footer a:hover { color: white; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid hsl(0 0% 100% / 0.08);
  font-size: 0.85rem;
  color: hsl(0 0% 65%);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.muted { color: hsl(var(--brand-ink-soft)); }
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: hsl(var(--brand-secondary-soft));
  color: hsl(var(--brand-secondary));
  font-size: 0.78rem;
  font-weight: 600;
}
