:root {
  color-scheme: light;
  --ink: #332d3d;
  --ink-soft: #625b6d;
  --cream: #fff8eb;
  --paper: #fffdf7;
  --moss: #647f60;
  --moss-dark: #3f5843;
  --apricot: #e9905f;
  --mist: #dce9ef;
  --plum: #74617e;
  --line: rgba(51, 45, 61, 0.14);
  --shadow: 0 18px 50px rgba(51, 45, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(233, 144, 95, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 4%, rgba(116, 97, 126, 0.16), transparent 32rem),
    linear-gradient(180deg, var(--cream), #f8f4ef 70%);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  min-height: 100vh;
}

a {
  color: var(--moss-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.09em;
}

a:hover {
  color: var(--plum);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--apricot);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.skip-link {
  background: var(--ink);
  color: white;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: fixed;
  top: -5rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
main,
.site-footer {
  margin-inline: auto;
  max-width: 72rem;
  width: min(100% - 2rem, 72rem);
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-block: 1.25rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 800;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark {
  background: #bcae98;
  border: 1px solid rgba(51, 45, 61, 0.22);
  border-radius: 48% 52% 45% 47%;
  display: inline-block;
  height: 1.9rem;
  position: relative;
  width: 1.65rem;
}

.brand-mark::before,
.brand-mark::after {
  background: var(--moss);
  border-radius: 80% 10% 80% 10%;
  content: "";
  height: 0.72rem;
  position: absolute;
  top: -0.34rem;
  width: 0.36rem;
}

.brand-mark::before {
  left: 0.43rem;
  transform: rotate(-38deg);
}

.brand-mark::after {
  right: 0.39rem;
  transform: rotate(38deg);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  font-weight: 700;
  text-decoration: none;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
  min-height: 62vh;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.eyebrow {
  color: var(--moss-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  letter-spacing: -0.055em;
  margin: 0.35rem 0 1rem;
}

.page-title {
  font-size: clamp(2.5rem, 7vw, 4.7rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.lede {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 42rem;
}

.icon-frame {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28%;
  box-shadow: var(--shadow);
  margin-inline: auto;
  max-width: 24rem;
  overflow: hidden;
  transform: rotate(2deg);
}

.icon-frame img {
  display: block;
  height: auto;
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  background: var(--moss-dark);
  border: 2px solid var(--moss-dark);
  border-radius: 999px;
  color: white;
  display: inline-block;
  font-weight: 800;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--moss-dark);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.prose,
details {
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 8px 28px rgba(51, 45, 61, 0.06);
}

.card {
  padding: 1.4rem;
}

.card p,
.card h3 {
  margin-top: 0;
}

.prose {
  margin-bottom: 1.25rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.prose > :first-child {
  margin-top: 0;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.faq {
  display: grid;
  gap: 0.8rem;
}

details {
  padding: 1rem 1.15rem;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.contact-panel {
  background: var(--ink);
  border-radius: 1.4rem;
  color: white;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.contact-panel a {
  color: #f8d5bd;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin-top: 4rem;
  padding-block: 1.5rem 2.5rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 48rem) {
  .site-header {
    align-items: flex-start;
    gap: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-copy {
    order: 2;
  }

  .icon-frame {
    max-width: 14rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

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

  .icon-frame {
    transform: none;
  }
}
