:root {
  --paper: #f3efe6;
  --ink: #1c1915;
  --muted: #6d675e;
  --line: #ddd4c6;
  --clay: #8d4b32;
  --space: clamp(1.25rem, 3vw, 2.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(141, 75, 50, 0.07), transparent 55%),
    var(--paper);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 380;
  letter-spacing: -0.01em;
}

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

.top,
main,
footer {
  width: min(1280px, calc(100% - 4rem));
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0 0;
}

.mark {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.top-link {
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.top-link:hover,
footer a:hover {
  color: var(--clay);
  border-bottom-color: currentColor;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem);
}

h1 {
  margin: 0;
  max-width: none;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.75rem, 5.6vw, 5.5rem);
  font-weight: 460;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(3rem, 7vh, 5.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

p {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.4;
}

footer {
  display: flex;
  padding-bottom: 1.6rem;
}

footer a {
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1rem;
}

@media (max-width: 720px) {
  .top,
  main,
  footer {
    width: min(1120px, calc(100% - 2rem));
  }

  h1 {
    max-width: none;
  }

  .offer {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
