:root {
  --bg: #f7f7f4;
  --ink: #1d232b;
  --muted: #66717d;
  --line: #d9dcd6;
  --panel: #ffffff;
  --deep: #20242a;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --red: #b42318;
  --amber: #b7791f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(247, 247, 244, 0.94);
  border-bottom: 1px solid rgba(217, 220, 214, 0.86);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
}

.site-nav a:hover {
  background: #eef4f2;
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 144px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 70px clamp(18px, 4vw, 56px);
  background-image:
    linear-gradient(
      90deg,
      rgba(247, 247, 244, 0.98) 0%,
      rgba(247, 247, 244, 0.9) 34%,
      rgba(247, 247, 244, 0.28) 70%,
      rgba(247, 247, 244, 0.08) 100%
    ),
    url("./assets/mail-desk-hero.png");
  background-position: center;
  background-size: cover;
}

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

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

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

h1 {
  margin-bottom: 16px;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
}

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

.button:hover {
  border-color: #8ebbb6;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.section {
  display: grid;
  gap: 26px;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

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

.feature-grid article {
  min-height: 230px;
  padding: 18px;
  display: grid;
  align-content: space-between;
}

.feature-grid span {
  color: var(--teal-dark);
  font-weight: 900;
}

.feature-grid p,
.copy-block,
.copy-block p {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  align-items: start;
}

.copy-block {
  max-width: 760px;
  font-size: 18px;
}

.copy-block ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.copy-block li + li {
  margin-top: 8px;
}

.contact {
  min-height: 280px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: var(--deep);
  color: #ffffff;
}

.contact .eyebrow {
  color: #93d8d1;
}

.contact h2 {
  max-width: 740px;
}

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

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

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

  .hero {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 42px;
    background-position: 58% center;
  }

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

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .lede {
    font-size: 19px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero {
    background-image:
      linear-gradient(rgba(247, 247, 244, 0.96), rgba(247, 247, 244, 0.9)),
      url("./assets/mail-desk-hero.png");
    background-position: center top;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }
}
