:root {
  --background: #f7f3e8;
  --text: #3f4939;
  --muted: #78816e;
  --green: #71835d;
  --green-dark: #526245;
  --line: rgba(82, 98, 69, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;

  color: var(--text);
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.75),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #faf7ef 0%,
      var(--background) 70%,
      #eef0df 100%
    );
}

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

.container {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.header {
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-dark);
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  position: relative;
  padding: 8px 0;

  font-size: 14px;
  color: var(--muted);

  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--green-dark);
}

nav a.active::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;

  height: 1px;
  background: var(--green);
}

/* Hero */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 0 120px;
}

.hero-content {
  position: relative;
}

.eyebrow {
  margin: 0 0 18px;

  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--green);
}

h1 {
  max-width: 700px;
  margin: 0 0 26px;

  font-family:
    Georgia,
    "Times New Roman",
    "Songti SC",
    serif;

  font-size: clamp(46px, 8vw, 82px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;

  color: var(--green-dark);
}

.description {
  max-width: 550px;
  margin: 0;

  font-size: 16px;
  line-height: 2;
  color: var(--muted);
}

.back {
  display: inline-block;
  margin-top: 36px;

  font-size: 14px;
  color: var(--green-dark);
}

.back:hover {
  text-decoration: underline;
}

/* Small field decoration */

.field {
  display: flex;
  align-items: end;
  gap: 9px;

  height: 52px;
  margin-top: 55px;
}

.grass {
  display: block;

  width: 2px;
  height: 28px;

  border-radius: 999px;
  background: var(--green);

  transform-origin: bottom;
}

.grass-1 {
  height: 20px;
  transform: rotate(-14deg);
}

.grass-2 {
  height: 34px;
  transform: rotate(8deg);
}

.grass-3 {
  height: 26px;
  transform: rotate(-4deg);
}

.grass-4 {
  height: 40px;
  transform: rotate(14deg);
}

.grass-5 {
  height: 24px;
  transform: rotate(-10deg);
}

/* Footer */

footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);

  font-size: 12px;
  color: #919888;
}

/* Mobile */

@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }

  .nav {
    height: 64px;
  }

  nav {
    gap: 20px;
  }

  .hero {
    padding: 70px 0 90px;
  }

  h1 {
    font-size: 48px;
  }

  .description {
    font-size: 15px;
  }
}
