:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --ink: #18201f;
  --muted: #61706d;
  --line: #d8ded8;
  --surface: #ffffff;
  --teal: #0f766e;
  --green: #78a83f;
  --coral: #e66a4e;
  --gold: #e2a32b;
  --shadow: 0 24px 70px rgba(24, 32, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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(18px, 5vw, 64px);
  background: rgba(247, 245, 239, 0.9);
  border-bottom: 1px solid rgba(216, 222, 216, 0.8);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  width: 18px;
  height: 18px;
  background: conic-gradient(from 180deg, var(--teal), var(--green), var(--gold), var(--coral), var(--teal));
  border-radius: 50%;
}

nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(46px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

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

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

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

h1 {
  margin-bottom: 22px;
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 58ch;
  font-size: 1.13rem;
}

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

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

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

.button.secondary,
.button.compact {
  background: transparent;
}

.button.compact {
  min-height: 38px;
  margin-top: 8px;
  padding: 0 14px;
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.sun,
.panel {
  position: absolute;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sun {
  top: 12%;
  right: 11%;
  width: 180px;
  aspect-ratio: 1;
  background: var(--gold);
  border-radius: 50%;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.panel-one {
  inset: 17% 19% auto auto;
  width: 250px;
  height: 320px;
  background: linear-gradient(135deg, #ffffff 0 56%, #dfeee9 56% 100%);
}

.panel-two {
  left: 4%;
  bottom: 15%;
  width: 290px;
  height: 210px;
  background: linear-gradient(135deg, #ffffff 0 48%, #f4d0c5 48% 100%);
}

.panel-three {
  right: 4%;
  bottom: 8%;
  width: 220px;
  height: 150px;
  background: linear-gradient(135deg, #ffffff 0 54%, #d8e8b8 54% 100%);
}

.metrics,
.section-grid,
.preview-band,
.deploy {
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 64px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
}

.metrics > div {
  display: grid;
  gap: 6px;
  min-height: 132px;
  place-items: center;
  background: var(--bg);
}

.metric-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.metric-label {
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
}

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

.check-card {
  min-height: 228px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  background: #dfeee9;
  border-radius: 8px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
}

.check-icon.css {
  background: #f4d0c5;
  color: #a33e2c;
}

.check-icon.js {
  background: #f7e1ad;
  color: #805500;
}

.preview-band {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #eaf0e8;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid #c9d3c8;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

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

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

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

.browser-content {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  min-height: 330px;
  padding: 22px;
}

.mini-sidebar,
.mini-main span {
  border-radius: 8px;
  background: #edf4f1;
}

.mini-main {
  display: grid;
  gap: 16px;
}

.mini-main span {
  min-height: 78px;
}

.mini-main span:nth-child(2) {
  background: #f9e8cf;
}

.mini-main span:nth-child(3) {
  background: #f7ddd5;
}

.deploy {
  max-width: 840px;
}

.deploy code {
  display: inline-block;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

footer {
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero,
  .section-grid,
  .preview-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 360px;
    order: -1;
  }

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

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

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

  h1 {
    max-width: 10ch;
  }

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

  .browser-content {
    grid-template-columns: 1fr;
  }

  .mini-sidebar {
    min-height: 72px;
  }
}
