* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #172625;
  background: #f6f7f2;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  background: #172826;
  color: #f4f7e9;
}
.bar,
main {
  max-width: 1196px;
  margin: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}
.bar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.brand i {
  width: 18px;
  height: 21px;
  background: repeating-linear-gradient(115deg, transparent 0 3px, #c4ee75 3px 7px);
}
nav {
  display: flex;
  gap: 26px;
  font-size: 0.9rem;
}
nav a:hover {
  text-decoration: underline;
}
main {
  padding-bottom: 72px;
}
h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 650;
  margin: clamp(44px, 6vw, 80px) 0 34px;
}
h1 span {
  color: #587a31;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.service {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 180px;
  padding: 23px;
  background: #e5ecd9;
  border: 1px solid #cdd9c0;
  border-radius: 12px;
}
.service:nth-child(2) {
  background: #e2edeb;
  border-color: #c7dad6;
}
.service:nth-child(3) {
  background: #f1e8da;
  border-color: #ddd1bf;
}
.service:hover {
  border-color: #536956;
}
.service-name {
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin: 22px 0 3px;
}
.description {
  color: #46544f;
  font-size: 0.93rem;
}
.arrow {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.35rem;
}
.symbol {
  width: 34px;
  height: 31px;
  display: grid;
  place-items: center;
}
.symbol i {
  display: block;
  width: 25px;
  height: 22px;
}
.workspace i {
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow:
    -4px 4px #e5ecd9,
    -5px 5px currentColor;
}
.dashboard i {
  background:
    linear-gradient(to top, currentColor 0 100%) left bottom/5px 40% no-repeat,
    linear-gradient(to top, currentColor 0 100%) center bottom/5px 95% no-repeat,
    linear-gradient(to top, currentColor 0 100%) right bottom/5px 65% no-repeat;
}
.query i {
  width: 30px;
  background: currentColor;
  clip-path: polygon(
    0 55%,
    24% 55%,
    39% 5%,
    59% 77%,
    70% 43%,
    100% 43%,
    100% 53%,
    76% 53%,
    58% 100%,
    39% 33%,
    30% 65%,
    0 65%
  );
}
h2 {
  margin: 52px 0 20px;
  font-size: 2rem;
  letter-spacing: -0.045em;
}
.groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}
.group {
  border-top: 2px solid #2f4139;
}
h3 {
  margin: 15px 0 8px;
  font-size: 1.18rem;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
li a {
  padding: 10px 2px;
  border-bottom: 1px solid #d6dbd1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
li a span {
  color: #647568;
}
li a:hover {
  color: #354f2c;
  background: #e9ede4;
}
a:focus-visible {
  outline: 3px solid #40773b;
  outline-offset: 3px;
}
header a:focus-visible {
  outline-color: #c4ee75;
}
@media (max-width: 670px) {
  .services,
  .groups {
    grid-template-columns: 1fr;
  }
  .service {
    min-height: 86px;
    padding: 15px 44px 15px 64px;
    justify-content: center;
  }
  .symbol {
    position: absolute;
    left: 17px;
    top: calc(50% - 15px);
  }
  .service-name {
    margin: 0;
    font-size: 1.3rem;
  }
  h2 {
    margin-top: 36px;
  }
}
