:root {
  color-scheme: light;
  --ink: #15181f;
  --muted: #5d6675;
  --line: #dbe2e8;
  --paper: #fbfcf8;
  --white: #ffffff;
  --green: #2f7d57;
  --green-deep: #1f5e41;
  --blue: #1d5fd1;
  --coral: #d35b45;
  --shadow: 0 24px 70px rgba(27, 36, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(47, 125, 87, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 125, 87, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
}

.brand,
nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 750;
}

.brand {
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: var(--green-deep);
}

nav a {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100svh - 122px);
  margin: 0 auto;
  padding: 42px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 9vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

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

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 430px;
}

.browser-shell {
  width: min(100%, 500px);
  aspect-ratio: 1 / 0.82;
  padding: 18px;
  border: 1px solid rgba(21, 24, 31, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.browser-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

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

.browser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 86px;
  gap: 12px;
  height: calc(100% - 30px);
}

.tile {
  border-radius: 8px;
  background: #e8edf1;
}

.tile.wide {
  grid-column: 1 / -1;
  background: var(--green);
}

.tile.accent {
  background: var(--blue);
}

.tile.warm {
  background: var(--coral);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.details article {
  min-height: 164px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.details h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.details p,
footer p {
  color: var(--muted);
  line-height: 1.55;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1120px);
    padding-top: 28px;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
  }

  .browser-shell {
    transform: none;
  }

  .details {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1120px);
  }

  footer {
    width: min(100% - 28px, 1120px);
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 68px;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.8rem);
  }

  .actions,
  .button {
    width: 100%;
  }
}
