* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --paper: #f6efe1;
  --paper-strong: #fffaf0;
  --ink: #25211d;
  --muted: #756c60;
  --line: #e5d9c7;
  --brand: #bd7626;
  --brand-dark: #7b4517;
  --green: #789780;
  --soft-red: #f5e3df;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: var(--brand-dark);
}

.site-header {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 20px 0 44px;
}

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

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: 64px;
  line-height: 0.98;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 800;
}

.phone-stage {
  position: relative;
  min-height: 720px;
}

.phone {
  position: absolute;
  width: min(62%, 340px);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(75, 48, 20, 0.24);
}

.phone.primary {
  right: 0;
  top: 0;
}

.phone.secondary {
  left: 0;
  bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 0 72px;
}

article,
.wide-panel,
.document {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

article {
  padding: 24px;
}

article h2,
.wide-panel h2,
.document h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

article p,
.document p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wide-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: 32px;
  align-items: center;
  margin-bottom: 72px;
  padding: 32px;
  overflow: hidden;
}

.wide-panel h2 {
  max-width: 620px;
  font-size: 42px;
  line-height: 1.05;
}

.wide-panel img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(75, 48, 20, 0.18);
}

.document {
  max-width: 820px;
  margin: 48px auto 72px;
  padding: 34px;
}

.document h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 46px;
}

.document h2 {
  margin-top: 28px;
}

.document p + p {
  margin-top: 14px;
}

footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 46px;
  }

  .phone-stage {
    min-height: 600px;
  }

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

  .wide-panel h2 {
    font-size: 34px;
  }
}

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

  h1,
  .document h1 {
    font-size: 38px;
  }

  .lede {
    font-size: 19px;
  }

  .phone-stage {
    min-height: 520px;
  }

  .phone {
    width: 72%;
    border-radius: 24px;
  }

  .document,
  .wide-panel {
    padding: 24px;
  }
}
