/* @font-face for Inter */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-400-700.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* Critical layout CSS */
:root {
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  background: #f8fafc;
  color: #0f172a;
}
a {
  color: #0f766e;
  text-decoration: none;
}
button {
  font: inherit;
}
.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.min-h-screen {
  min-height: 100vh;
}
.bg-white {
  background: #fff;
}
.text-center {
  text-align: center;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1.1;
}
.font-bold {
  font-weight: 700;
}
.text-gray-600 {
  color: #475569;
}
.text-teal-700 {
  color: #0f766e;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-primary {
  background: #0f766e;
  color: #fff;
}
.btn-secondary {
  background: #fff;
  color: #0f766e;
  border-color: #0f766e;
}
.hero {
  background: linear-gradient(90deg, #0f766e, #115e59);
  color: #fff;
}
.hero h1 {
  margin: 0 0 0.75rem;
}
.hero p {
  margin: 0 0 1.5rem;
  color: #e2f3f1;
}

/* Static hero shell styles */
#hero-shell {
  contain: layout style;
  will-change: opacity;
}
#hero-shell h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}
#hero-shell button {
  transition: all 0.2s;
  cursor: pointer;
}
#hero-shell button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .text-5xl {
    font-size: 2.25rem;
  }
  .text-4xl {
    font-size: 1.875rem;
  }
  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #hero-shell h1 {
    font-size: 2.25rem;
  }
  #hero-shell p {
    font-size: 1.125rem;
  }
}
