:root {
  --bg: #f4efe7;
  --surface: rgba(255, 252, 247, 0.72);
  --surface-strong: #fffaf2;
  --text: #1d221f;
  --muted: #5e655f;
  --primary: #0f766e;
  --primary-dark: #0a4f4a;
  --accent: #ff7a18;
  --border: rgba(29, 34, 31, 0.1);
  --shadow: 0 30px 70px rgba(31, 45, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 24, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.22), transparent 28%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-content: start;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
}

.nav-link {
  text-decoration: none;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 44px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--primary-dark);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h3 {
  font-size: 1.5rem;
}

.lead {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--border);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 0;
}

.hero-stats div,
.feature-card,
.signal-card,
.highlight-panel,
.contact-panel,
.contact-form {
  backdrop-filter: blur(20px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 22px;
  border-radius: 24px;
}

.hero-stats dt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.signal-card {
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(236, 249, 247, 0.82));
}

.signal-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signal-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
}

.signal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(255, 122, 24, 0.12);
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  align-items: end;
  height: 160px;
  margin: 28px 0;
}

.signal-bars span {
  display: block;
  border-radius: 999px 999px 14px 14px;
  background: linear-gradient(180deg, rgba(255, 122, 24, 0.95), rgba(15, 118, 110, 0.85));
  animation: pulse 1.8s ease-in-out infinite;
}

.signal-bars span:nth-child(1) { height: 54%; animation-delay: 0.1s; }
.signal-bars span:nth-child(2) { height: 72%; animation-delay: 0.25s; }
.signal-bars span:nth-child(3) { height: 38%; animation-delay: 0.4s; }
.signal-bars span:nth-child(4) { height: 88%; animation-delay: 0.2s; }
.signal-bars span:nth-child(5) { height: 65%; animation-delay: 0.55s; }
.signal-bars span:nth-child(6) { height: 92%; animation-delay: 0.35s; }
.signal-bars span:nth-child(7) { height: 47%; animation-delay: 0.65s; }
.signal-bars span:nth-child(8) { height: 76%; animation-delay: 0.15s; }

.signal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.section {
  padding: 54px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-strip span {
  padding: 18px 20px;
  border-top: 1px solid rgba(29, 34, 31, 0.12);
  border-bottom: 1px solid rgba(29, 34, 31, 0.12);
  text-align: center;
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 28px;
  border-radius: 26px;
}

.feature-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.highlight-section {
  padding-top: 68px;
}

.highlight-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(130deg, rgba(255, 122, 24, 0.12), rgba(15, 118, 110, 0.16));
}

.highlight-points {
  display: grid;
  gap: 14px;
}

.highlight-points p {
  margin: 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.contact-section {
  padding-top: 74px;
}

.section-heading--compact {
  max-width: 620px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-panel,
.contact-form {
  padding: 28px;
  border-radius: 28px;
}

.contact-panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
  line-height: 1.9;
  color: var(--muted);
}

.contact-note {
  margin-top: 22px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(29, 34, 31, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.22);
  border-color: rgba(15, 118, 110, 0.45);
}

.full-span {
  grid-column: 1 / -1;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #027a48;
}

@keyframes pulse {
  0%,
  100% {
    transform: scaleY(0.92);
    opacity: 0.85;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .cards-grid,
  .highlight-panel,
  .contact-layout,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .topbar,
  .hero-actions,
  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}