:root {
  --bg: #f7f3eb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fffaf2;
  --text: #1f2937;
  --muted: #5b6472;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --border: rgba(31, 41, 55, 0.08);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 24%),
    linear-gradient(180deg, #fefcf8 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.nav,
.hero-content,
.section-heading,
.grid,
.about,
.preview-frame,
.contact-card {
  width: min(980px, 100%);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0 30px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 22px;
  align-items: center;
  min-height: calc(100vh - 110px);
}

.hero-copy h1,
.section-heading h2,
.about h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.08;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  max-width: 11ch;
}

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

.lead,
.about p,
.panel p,
.stats p,
.preview-body p,
.contact-list a {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-copy {
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
}

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

.button.primary {
  background: var(--primary);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.hero-card,
.panel,
.preview-frame,
.contact-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
  max-width: 360px;
  justify-self: end;
}

.hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 118, 110, 0.08);
  background: linear-gradient(180deg, #fffdf9 0%, #fff7eb 100%);
}

.mini-window,
.preview-topbar {
  display: flex;
  gap: 8px;
}

.mini-window span,
.preview-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f0c58e;
}

.mini-window span:nth-child(2),
.preview-topbar span:nth-child(2) {
  background: #f6de9e;
}

.mini-window span:nth-child(3),
.preview-topbar span:nth-child(3) {
  background: #98d4c8;
}

.stats {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.stats div,
.panel,
.preview-screen,
.contact-card {
  padding: 22px;
}

.stats strong,
.panel h3,
.preview-body h3 {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.section-heading h2,
.about h2,
.contact-card h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 14ch;
}

.grid.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.alt {
  background: rgba(255, 250, 242, 0.66);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.preview-frame {
  padding: 18px;
}

.preview-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  margin-top: 16px;
}

.preview-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.preview-screen {
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7efe2 100%);
}

.screen-card {
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(15, 118, 110, 0.06));
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.screen-card.large {
  height: 180px;
  margin-bottom: 18px;
}

.screen-card.accent {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
  border-color: rgba(245, 158, 11, 0.15);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-section {
  padding-top: 0;
}

.contact-card {
  display: grid;
  gap: 16px;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a {
  font-weight: 600;
}

@media (max-width: 920px) {
  .hero-content,
  .about,
  .preview-body,
  .grid.services {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    padding: 24px 0 8px;
  }

  .hero-copy h1,
  .section-heading h2,
  .about h2,
  .contact-card h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }
}
