:root {
  --ink: #171619;
  --paper: #f4f0e8;
  --purple: #786de8;
  --blue: #438bda;
  --coral: #ff8066;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

header {
  height: 80px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 22, 25, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.mark {
  width: 24px;
  height: 24px;
  display: block;
  border: 2px solid;
  border-radius: 50%;
  box-shadow: 5px 0 0 -3px var(--paper), 5px 0 0 -1px var(--ink);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
}

.nav-button {
  padding: 11px 16px;
  border: 1px solid;
  border-radius: 50px;
}

.hero {
  min-height: 710px;
  padding: 115px 8vw 90px;
  background:
    radial-gradient(circle at 78% 35%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(135deg, #f6f2eb, #ebe5dc);
}

.eyebrow,
.label,
.number {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: #4da271;
  border-radius: 50%;
}

.hero h1 {
  margin: 40px 0 34px;
  font-size: clamp(74px, 11vw, 155px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.09em;
}

.hero h1 em {
  color: var(--purple);
  font-family: Georgia, serif;
  font-weight: 600;
}

.hero > p {
  max-width: 570px;
  margin-bottom: 32px;
  color: #565159;
  font-size: 18px;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 16px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
}

.dark {
  background: var(--ink);
  color: white;
}

.services {
  padding: 110px 6vw;
  background: #faf7f2;
}

.section-heading {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  align-items: end;
  gap: 60px;
}

.label {
  color: #766f78;
}

h2 {
  margin: 18px 0 0;
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.section-heading > p {
  color: #68636b;
  font-size: 14px;
  line-height: 1.8;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.card {
  min-height: 590px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 22, 25, 0.15);
  background: var(--paper);
}

.card.purple {
  border-top: 5px solid var(--purple);
}

.card.blue {
  border-top: 5px solid var(--blue);
}

.card.coral {
  border-top: 5px solid var(--coral);
}

.number {
  color: #777178;
}

.card h3 {
  margin: 52px 0 14px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.06em;
}

.card > p {
  min-height: 65px;
  margin: 0;
  color: #5f5a62;
  font-size: 13px;
  line-height: 1.7;
}

.price {
  margin: 30px 0 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(23, 22, 25, 0.14);
  border-bottom: 1px solid rgba(23, 22, 25, 0.14);
  font-size: 30px;
  font-weight: 700;
}

.price small {
  margin-left: 8px;
  color: #777178;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
}

.card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.card li {
  color: #4d4850;
  font-size: 12px;
  line-height: 1.45;
}

.card li::before {
  content: "✓";
  margin-right: 9px;
}

.card > a {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(23, 22, 25, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.about {
  padding: 120px 8vw;
  background: #dcd5ca;
}

.about h2 {
  max-width: 950px;
}

.about h2 em {
  font-family: Georgia, serif;
  font-weight: 500;
}

.about > p {
  max-width: 690px;
  margin: 34px 0 60px;
  color: #5d575f;
  font-size: 16px;
  line-height: 1.8;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.values div {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(23, 22, 25, 0.25);
}

.values span {
  color: #655f67;
  font-size: 12px;
}

.contact {
  min-height: 650px;
  padding: 110px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: white;
  text-align: center;
}

.contact .label {
  color: rgba(255, 255, 255, 0.65);
}

.contact h2 {
  font-size: clamp(54px, 8vw, 110px);
}

.contact p {
  max-width: 600px;
  margin: 30px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.75;
}

.light {
  background: var(--coral);
  color: var(--ink);
}

footer {
  min-height: 120px;
  padding: 35px 6vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
}

footer span:nth-child(2) {
  text-align: center;
}

footer span:last-child {
  text-align: right;
}

@media (max-width: 850px) {
  nav > a:not(.nav-button) {
    display: none;
  }

  .section-heading,
  .cards,
  .values {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 560px;
  }
}

@media (max-width: 560px) {
  header {
    padding: 0 20px;
  }

  .nav-button {
    padding: 10px 12px;
    font-size: 10px;
  }

  .hero {
    min-height: 650px;
    padding: 90px 22px 65px;
  }

  .hero h1 {
    font-size: 65px;
  }

  .hero > p {
    font-size: 15px;
  }

  .services,
  .about {
    padding: 80px 20px;
  }

  h2 {
    font-size: 46px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  footer span:nth-child(2),
  footer span:last-child {
    text-align: center;
  }
}
