:root {
  color-scheme: light;
  --cream: #f8f5ef;
  --ink: #263b36;
  --green: #315f50;
  --muted: #64746e;
  --line: #dce3db;
  --sage: #e6efe7;
  --terracotta: #c76d4c;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a {
  color: var(--green);
  text-underline-offset: 0.2em;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #c76d4c;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  z-index: 10;
  background: white;
  padding: 0.6rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.narrow {
  max-width: 760px;
}
.site-header {
  background: rgba(248, 245, 239, 0.97);
  border-bottom: 1px solid #e4e9e2;
}
.header-inner,
.footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.header-inner {
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.brand img {
  border-radius: 10px;
}
.brand small {
  display: block;
  color: var(--muted);
  font:
    700 9px / 1.8 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.14em;
}
.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-header nav a,
.site-footer nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.site-header nav a:hover,
.site-footer nav a:hover,
.site-header nav a[aria-current] {
  color: var(--terracotta);
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding-block: 70px 86px;
}
.hero-copy {
  max-width: 550px;
}
.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  margin: 0 0 20px;
}
.eyebrow span,
.tag-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-right: 6px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(48px, 6.5vw, 78px);
  line-height: 1.04;
  margin-bottom: 24px;
}
h1 em {
  color: var(--green);
  font-weight: 400;
}
.hero-intro,
.page-intro {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
  max-width: 480px;
}
.hero-detail {
  max-width: 435px;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}
.button {
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 20px;
  min-height: 50px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}
.button-primary {
  color: white;
  background: var(--green);
}
.button-primary:hover {
  background: #244b3e;
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.text-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.hero-art {
  height: 500px;
  position: relative;
}
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 180px 180px 22px 22px;
  object-fit: cover;
  object-position: center 68%;
}
.art-tag {
  position: absolute;
  bottom: -18px;
  left: -25px;
  background: #fff;
  box-shadow: 0 10px 30px #263b3615;
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 750;
}
.features-section {
  background: #eaf0e9;
  padding: 72px 0 80px;
}
.features-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.section-heading h2 {
  font-size: 37px;
  line-height: 1.12;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-number {
  display: inline-block;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 750;
  border-bottom: 2px solid #d3a28e;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.feature-grid h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  margin-bottom: 9px;
}
.feature-grid p {
  color: #526b61;
  font-size: 14px;
}
.page-hero {
  background: #eaf0e9;
  padding: 62px 0 66px;
}
.page-hero h1 {
  font-size: clamp(44px, 6vw, 68px);
}
.page-hero .page-intro {
  color: #526b61;
  margin-bottom: 0;
}
.content-section {
  padding-block: 54px 80px;
}
.prose {
  font-size: 16px;
}
.prose h2 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  margin: 38px 0 10px;
  letter-spacing: -0.02em;
}
.prose p,
.prose li {
  color: #4c6259;
}
.intro-card,
.form-card {
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.intro-card {
  border-left: 4px solid var(--terracotta);
}
.intro-card p {
  margin: 6px 0 0;
}
.steps {
  padding-left: 22px;
}
.steps li {
  padding: 4px 0 4px 4px;
}
.note {
  color: var(--muted);
  font-size: 14px;
}
.form-card h2 {
  margin: 0 0 8px;
}
.form-card form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.form-card label {
  font-weight: 700;
  font-size: 14px;
}
.form-card input {
  border: 1px solid #b8c8bc;
  border-radius: 10px;
  min-height: 50px;
  padding: 12px;
  font: inherit;
  width: 100%;
}
.form-card button {
  margin-top: 6px;
  justify-self: start;
}
#result {
  margin: 16px 0 0;
  min-height: 1.5em;
}
.site-footer {
  background: #263b36;
  color: white;
  padding: 42px 0;
}
.site-footer strong {
  font-family: Georgia, serif;
  font-size: 22px;
}
.site-footer p {
  color: #c5d4ca;
  font-size: 14px;
  margin: 4px 0 0;
}
.site-footer nav a {
  color: #eef5ef;
}
@media (max-width: 700px) {
  .wrap,
  .header-inner,
  .footer-inner {
    width: min(100% - 32px, 560px);
  }
  .header-inner {
    min-height: 72px;
  }
  .brand {
    font-size: 19px;
    gap: 7px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .site-header nav,
  .site-footer nav {
    gap: 16px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 52px 62px;
  }
  .hero-art {
    height: 390px;
    margin-inline: 18px 0;
  }
  .hero-art img {
    border-radius: 145px 145px 20px 20px;
  }
  .features-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .feature-grid h3 {
    margin-bottom: 4px;
  }
  .feature-grid p {
    margin-bottom: 0;
  }
  .features-section {
    padding: 54px 0;
  }
  .page-hero {
    padding: 48px 0 50px;
  }
  .content-section {
    padding-block: 34px 54px;
  }
  .intro-card,
  .form-card {
    padding: 20px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer nav {
    flex-wrap: wrap;
  }
}
