:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #27352d;
  --green: #365441;
  --muted: #697366;
  --line: #dfe3d5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.7 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid #b64e32;
  outline-offset: 6px;
  border-radius: 3px;
}
header,
main,
footer {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font:
    32px/1.1 Georgia,
    serif;
  letter-spacing: -1px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 15px;
}
main {
  padding-block: 64px 80px;
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -1px;
  font-family: Georgia, serif;
}
h1 {
  font-size: clamp(44px, 6.8vw, 80px);
  margin: 20px 0 28px;
}
h2 {
  font-size: 30px;
  margin: 36px 0 14px;
}
h3 {
  font-size: 25px;
}
p {
  margin: 0 0 18px;
}
.intro {
  max-width: 680px;
  font-size: 21px;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.phone {
  width: min(100%, 300px);
  display: block;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 20px 60px #27352d13;
}
.pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 99px;
  background: #e5ebdb;
  color: var(--green);
  font-size: 14px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.features p {
  color: var(--muted);
  font-size: 16px;
}
.article {
  max-width: 760px;
}
.article h1 {
  font-size: clamp(42px, 6vw, 64px);
}
.note {
  background: #e9eddf;
  padding: 24px;
  border-radius: 18px;
  margin: 28px 0;
}
.note p:last-child {
  margin-bottom: 0;
}
.contact {
  display: inline-block;
  background: var(--green);
  color: white;
  border-radius: 14px;
  padding: 14px 20px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
li {
  margin-bottom: 8px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer span {
  margin-right: auto;
}
@media (max-width: 680px) {
  header,
  main,
  footer {
    width: calc(100% - 36px);
  }
  header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }
  main {
    padding-top: 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .phone {
    width: 270px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 44px;
  }
  .features h3 {
    margin-bottom: 10px;
  }
}
