@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --paper: #f7f3e9;
  --ink: #273332;
  --teal: #407b76;
  --terracotta: #c86648;
  --cream: #fffaf0;
  --line: rgba(39, 51, 50, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
}

a {
  color: inherit;
}

.site-header {
  width: min(1380px, calc(100% - 3rem));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.site-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-links a,
.footer-links a {
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.site-links a[aria-current='page'] {
  color: var(--terracotta);
}

.hero {
  width: min(1380px, calc(100% - 3rem));
  min-height: 740px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: 2rem;
  background: var(--teal);
  color: var(--cream);
}

.hero-copy {
  padding: clamp(2rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: #ffd1bb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero-copy > p:last-child {
  max-width: 600px;
  color: #e5eeee;
  line-height: 1.7;
}

.hero img {
  width: 100%;
  height: 100%;
  min-height: 740px;
  object-fit: cover;
}

.builder {
  width: min(1120px, calc(100% - 3rem));
  margin: 8rem auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.builder > div:first-child > p:last-child {
  color: #6a7775;
}

h2 {
  margin: 0;
  font-size: clamp(3rem, 5.7vw, 5.7rem);
  font-weight: 500;
  line-height: 0.95;
}

.tool-list {
  padding: 2rem;
  border: 1px solid var(--ink);
  background: var(--cream);
}

.tool-list label {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.8rem;
  line-height: 1.5;
}

.tool-list input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--terracotta);
}

.recommendation {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--terracotta);
  color: var(--cream);
}

.recommendation span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.recommendation h3 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.recommendation p {
  line-height: 1.65;
}

.essay {
  width: min(790px, calc(100% - 3rem));
  margin: 0 auto 9rem;
  color: #667270;
  font-size: 1.05rem;
  line-height: 1.9;
}

.essay .lead {
  color: var(--teal);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  line-height: 1.5;
}

footer {
  padding: 3rem max(1.5rem, calc((100% - 1380px) / 2));
  background: var(--ink);
  color: var(--cream);
}

@media (max-width: 800px) {
  .site-header {
    padding: 1.25rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .builder {
    grid-template-columns: 1fr;
  }

  .hero img {
    min-height: 480px;
  }
}
