:root {
  --bg: #fdfbf7;
  --ink: #0f172a;
  --ink-muted: #475569;
  --line: rgba(15, 23, 42, 0.08);
  --surface: rgba(255, 255, 255, 0.75);
  --accent: #0f172a;
  --accent-ghost: rgba(15, 23, 42, 0.05);
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "SF Pro Display", "Segoe UI", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
}

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-bg__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(253, 251, 247, 0.6) 100%
  );
  backdrop-filter: blur(2px);
}

.page-bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  mix-blend-mode: multiply;
}

.hero,
main,
.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  text-align: center;
  padding: 8rem 1.5rem 5rem;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.eyebrow--muted {
  color: var(--ink-muted);
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease,
    background 150ms ease;
}

.btn--primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

main {
  padding-bottom: 5rem;
}

.panel {
  margin: 0 auto 4rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  padding: 3rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.panel--highlight {
  background: rgba(15, 23, 42, 0.95);
  color: white;
  text-align: center;
}

.panel__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.panel__intro h2 {
  margin: 0 0 0.75rem;
}

.panel__intro p {
  color: var(--ink-muted);
}

.panel--highlight p {
  color: rgba(255, 255, 255, 0.8);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.contact {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact .btn--primary {
  align-self: center;
}

.meta {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--ink-muted);
}

@media (max-width: 640px) {
  .panel {
    padding: 2.5rem 1.5rem;
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }
}
