:root {
  --ivory: #fbf5f0;
  --paper: #fffdfb;
  --rose: #c9858d;
  --blush: #e8c5c2;
  --plum: #6a314f;
  --mauve: #a77a8d;
  --sage: #98aa96;
  --charcoal: #342d31;
  --muted: #6f6469;
  --line: rgba(106, 49, 79, 0.16);
  --shadow: 0 18px 50px rgba(79, 43, 59, 0.09);
  --radius: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 10% 5%, rgba(232, 197, 194, .35), transparent 28rem),
    var(--ivory);
  font-family: "Nunito Sans", Nunito, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--plum); text-underline-offset: .2em; }
a:hover { color: #4d2139; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: .7rem 1rem;
  color: white;
  background: var(--plum);
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

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

.site-header { min-height: 104px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--plum);
  font-family: Lora, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.brand img { border-radius: 50%; box-shadow: 0 5px 18px rgba(106, 49, 79, .12); }

nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
nav a { font-size: .92rem; font-weight: 700; text-decoration: none; }
nav a[aria-current="page"] { text-decoration: underline; }

main { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: 5vw;
  padding: 7rem 6vw;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

h1, h2, h3 {
  margin: 0;
  color: var(--plum);
  font-family: Lora, Georgia, serif;
  line-height: 1.16;
}

h1 { max-width: 850px; font-size: clamp(2.7rem, 6vw, 5.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.025em; }
h3 { font-size: 1.35rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--mauve);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lead { max-width: 720px; margin: 1.8rem 0 0; font-size: clamp(1.12rem, 2vw, 1.35rem); }
.status { display: inline-block; margin: 2.2rem 0 0; padding: .65rem 1rem; background: rgba(152, 170, 150, .2); border-radius: 999px; font-weight: 700; }

.thread-mark { position: relative; aspect-ratio: 1; min-height: 320px; }
.thread-mark::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 6px solid var(--blush);
  border-radius: 44% 56% 48% 52%;
  transform: rotate(18deg);
}
.thread-mark span {
  position: absolute;
  inset: 25%;
  border: 3px solid var(--rose);
  border-radius: 50%;
}
.thread-mark span:nth-child(2) { inset: 35% 15%; transform: rotate(60deg); border-color: var(--mauve); }
.thread-mark span:nth-child(3) { inset: 15% 35%; transform: rotate(-42deg); border-color: var(--sage); }

.principles { padding: 8rem 0; }
.principles > div:first-child { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: end; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.cards article { padding: 2rem; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 22px; }
.cards p { margin-bottom: 0; color: var(--muted); }
.card-number { display: block; margin-bottom: 2.5rem; color: var(--rose); font-weight: 800; }

.legal-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.4fr); gap: 7vw; padding: 5rem 0 8rem; }
.legal-summary { align-self: start; position: sticky; top: 2rem; }
.legal-summary h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.legal-summary > p:not(.eyebrow):not(.callout) { color: var(--muted); }
.callout { padding: 1.25rem 1.4rem; background: rgba(232, 197, 194, .32); border-left: 4px solid var(--rose); border-radius: 4px 14px 14px 4px; }
.callout.wide { margin-top: 3rem; }
.callout.wide h2 { font-size: 1.5rem; }
.legal-copy { padding: 1rem 0; }
.legal-copy section { padding: 0 0 2.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.legal-copy section.callout { padding: 1.25rem 1.4rem; }
.legal-copy section:last-child { border-bottom: 0; }
.legal-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.legal-copy p, .legal-copy ul, .legal-copy ol { margin: 1rem 0 0; }
.legal-copy li + li { margin-top: .65rem; }

.steps { padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.steps li > span { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; color: white; background: var(--plum); border-radius: 50%; font-weight: 800; }

footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); font-size: .9rem; }
footer p { margin: 0; color: var(--muted); }

@media (max-width: 800px) {
  .site-header { align-items: flex-start; padding: 1.2rem 0; }
  .site-header nav { justify-content: flex-end; gap: .45rem 1rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 4rem 1.5rem; }
  .thread-mark { min-height: 220px; max-width: 360px; width: 100%; margin: 0 auto; }
  .principles > div:first-child, .cards, .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .site-header, footer { width: min(100% - 28px, 1160px); }
  main { width: min(100% - 28px, 1160px); }
  .brand span { max-width: 8rem; line-height: 1.15; }
  .site-header nav { max-width: 11rem; }
  .hero { border-radius: 20px; }
  .cards { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: .5rem; }
}

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