:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --ink: #18201d;
  --muted: #5f6b64;
  --line: #d8d1c4;
  --panel: #fffaf1;
  --green: #1f7a58;
  --teal: #0d8b8b;
  --coral: #e65f4f;
  --gold: #d99b2b;
  --shadow: 0 24px 60px rgba(24, 32, 29, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(31, 122, 88, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(230, 95, 79, 0.08), transparent 32%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(24, 32, 29, 0.08);
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--panel);
}

.nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 44px 0 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 8vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.intro {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.75;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

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

.button.secondary {
  background: transparent;
}

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

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(24, 32, 29, 0.14);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.browser-bar span:nth-child(2) {
  background: var(--gold);
}

.browser-bar span:nth-child(3) {
  background: var(--teal);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.preview-panel {
  min-height: 136px;
  padding: 18px;
  border-radius: 8px;
  background: #edf5ef;
  color: var(--ink);
}

.preview-panel.large {
  grid-row: span 2;
  min-height: 286px;
  background:
    linear-gradient(150deg, rgba(13, 139, 139, 0.2), transparent),
    #f5ead7;
}

.preview-panel.accent {
  background: #f8ded5;
}

.preview-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

.preview-panel span,
.card p,
.split-section p {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.split-section,
.contact {
  padding: clamp(54px, 8vw, 88px) 0;
  border-top: 1px solid rgba(24, 32, 29, 0.1);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

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

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(24, 32, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.76);
}

.split-section,
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}

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

.footer {
  justify-content: center;
  gap: 10px;
  padding: 34px 20px 48px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

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

  .contact {
    align-items: start;
  }
}

@media (max-width: 520px) {
  main {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .preview-panel.large {
    min-height: 190px;
  }

  .button {
    width: 100%;
  }
}
