/* Shared styles for InteroHR site */

:root {
  --screen-bg: #eef4f3;
  --screen-bg-2: #f7fbfa;
  --text: #102331;
  --muted: #617787;
  --teal: #27b8aa;
  --blue: #2f7df6;
  --shadow: 0 18px 45px rgba(23, 65, 84, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(39,184,170,0.10), transparent 26%),
    radial-gradient(circle at top right, rgba(47,125,246,0.08), transparent 24%),
    linear-gradient(180deg, var(--screen-bg-2) 0%, var(--screen-bg) 56%, #f9fbfb 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell { max-width: 1160px; margin: 0 auto; padding: 24px; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.brand { display: flex; align-items: center; min-width: 0; flex-shrink: 1; }
.brand .lockup { height: 108px; width: auto; object-fit: contain; flex: 0 1 auto; filter: drop-shadow(0 10px 24px rgba(47,125,246,0.10)); }

.nav { display: flex; gap: 12px; flex-wrap: wrap; }
.nav a {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--muted);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(16,35,49,0.03);
}

.nav a.active,
.nav a:hover {
  background: rgba(255,255,255,0.95);
  color: var(--text);
}

/* Active link color uses breathTeal */
.nav a.active { color: var(--teal); }

/* Common utility styles */
.eyebrow {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(39,184,170,0.12);
  color: #2d6069;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

footer {
  text-align: center;
  padding: 24px 0 8px;
  color: #738592;
  font-size: 0.93rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .shell {
    padding: 14px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .brand {
    justify-content: flex-start;
  }

  body .brand .lockup {
    height: 78px;
    max-width: 100%;
  }

  .nav {
    width: 100%;
    justify-content: flex-end;
  }

  .hero,
  .section {
    padding: 20px;
    border-radius: 24px;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.04;
  }

  .section h2 {
    font-size: 1.75rem;
    line-height: 1.12;
  }

  .hero p,
  .section p,
  .section .intro,
  .intro,
  .feature-card p,
  .card p,
  .panel p,
  .panel li,
  .support-card p,
  .coming-card p,
  .small-note,
  footer {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .cta-row,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand .lockup {
    height: 70px;
  }

  .hero,
  .section {
    padding: 18px;
  }

  h1 {
    font-size: 2rem;
  }

  .eyebrow {
    font-size: 0.88rem;
    padding: 9px 12px;
  }

  .nav a {
    padding: 10px 14px;
  }
}
