@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&family=Fraunces:opsz,wght@9..144,700;9..144,900&display=swap");

:root {
  --paper: #fff3df;
  --cream: #fffaf0;
  --ink: #171317;
  --muted: #756b69;
  --blue: #4f79ba;
  --blue-light: #dceafb;
  --green: #75e949;
  --green-light: #e5f8c6;
  --yellow: #ffd979;
  --peach: #ffd9c5;
  --lilac: #e8dcff;
  --line: rgba(23, 19, 23, 0.14);
  --shadow: 0 24px 70px rgba(66, 48, 26, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
.site-header {
  position: relative;
  z-index: 10;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; font-size: 22px; }
.brand img { width: 48px; height: 48px; border-radius: 15px; box-shadow: 0 7px 0 rgba(23, 19, 23, 0.12); }
nav { display: flex; gap: 10px; }
nav a { padding: 9px 15px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 800; }
nav a:hover, nav a.active { background: var(--ink); color: white; }
main { position: relative; z-index: 2; }
.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 700px;
  margin: 20px auto 80px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 56px;
}
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 13px; line-height: 1.2; font-weight: 900; letter-spacing: 0.18em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-family: "Fraunces", serif; font-size: clamp(62px, 8vw, 112px); line-height: 0.86; letter-spacing: -0.065em; }
h1 em { color: var(--blue); font-weight: 900; }
.hero-text { max-width: 590px; margin: 32px 0 0; color: var(--muted); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 23px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 900; transition: transform 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-3px) rotate(-1deg); }
.button-dark { background: var(--ink); color: white; box-shadow: 0 8px 0 var(--blue); }
.button-light { background: var(--cream); box-shadow: 0 8px 0 var(--yellow); }
.hero-art { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-logo { position: relative; z-index: 3; width: min(88%, 500px); border-radius: 30%; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.orbit { position: absolute; border: 3px solid var(--ink); border-radius: 48% 52% 60% 40%; }
.orbit-one { width: 95%; aspect-ratio: 1; transform: rotate(10deg); }
.orbit-two { width: 72%; aspect-ratio: 1; border-color: var(--blue); transform: rotate(-18deg); }
.note { position: absolute; z-index: 4; padding: 11px 15px; border: 2px solid var(--ink); border-radius: 18px; background: white; box-shadow: 5px 6px 0 var(--ink); font-size: 14px; font-weight: 900; animation: bob 4s ease-in-out infinite; }
.note-one { top: 12%; right: -2%; transform: rotate(5deg); }
.note-two { bottom: 10%; left: -3%; transform: rotate(-5deg); animation-delay: -2s; }
.promise { width: min(1180px, calc(100% - 40px)); margin: 0 auto 90px; padding: 50px; border: 3px solid var(--ink); border-radius: 36px; background: var(--cream); box-shadow: 12px 14px 0 var(--ink); }
.promise > div:first-child { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
h2 { margin: 0; font-family: "Fraunces", serif; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -0.04em; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.promise article { padding: 25px; border-radius: 24px; background: var(--blue-light); }
.promise article:nth-child(2) { background: var(--green-light); }
.promise article:nth-child(3) { background: var(--peach); }
.promise article > span { display: block; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: 0.15em; }
.promise h3 { margin: 12px 0 8px; font-size: 22px; line-height: 1.2; }
.promise article p { margin: 0; color: var(--muted); font-size: 16px; }
.legal-cards { width: min(1180px, calc(100% - 40px)); margin: 0 auto 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.legal-card { position: relative; min-height: 390px; padding: 38px; overflow: hidden; border: 3px solid var(--ink); border-radius: 34px; text-decoration: none; transition: transform 180ms ease; }
.legal-card:hover { transform: translateY(-6px) rotate(-0.7deg); }
.blue-card { background: var(--blue-light); box-shadow: 10px 12px 0 var(--blue); }
.yellow-card { background: #ffebae; box-shadow: 10px 12px 0 #ee9e34; }
.legal-card h2 { max-width: 390px; }
.legal-card > p:not(.eyebrow) { max-width: 470px; color: var(--muted); }
.card-icon { position: absolute; right: 30px; top: 24px; font-size: 58px; transform: rotate(8deg); }
.card-link { position: absolute; left: 38px; bottom: 34px; font-weight: 900; }
.contact-strip { width: min(1180px, calc(100% - 40px)); margin: 0 auto 80px; padding: 25px 30px; display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 25px; border: 3px solid var(--ink); border-radius: 999px; background: var(--lilac); }
.contact-strip img { width: 100px; height: 100px; border-radius: 50%; }
.contact-strip h2 { font-size: 34px; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 45px; display: flex; justify-content: space-between; gap: 20px; border-top: 2px solid var(--line); color: var(--muted); font-size: 14px; }
footer div { display: flex; gap: 20px; }
.doodle-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.drop, .spark, .squiggle { position: absolute; color: var(--blue); opacity: 0.8; }
.drop { font-size: 34px; animation: drift 9s ease-in-out infinite; }
.drop-one { top: 22%; left: 2%; }
.drop-two { top: 72%; right: 3%; animation-delay: -4s; }
.spark { color: #e89b2c; font-size: 32px; animation: spin 8s linear infinite; }
.spark-one { top: 15%; right: 4%; }.spark-two { bottom: 10%; left: 4%; }
.squiggle { font-size: 80px; color: var(--green); transform: rotate(90deg); }
.squiggle-one { top: 50%; left: -15px; animation: bob 5s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.legal-layout { width: min(1180px, calc(100% - 40px)); margin: 45px auto 100px; display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 58px; align-items: start; }
.legal-intro { position: sticky; top: 28px; padding: 34px; border: 3px solid var(--ink); border-radius: 32px; background: var(--yellow); box-shadow: 10px 12px 0 var(--ink); }
.privacy-page .legal-intro { background: var(--blue-light); }
.legal-intro h1 { font-size: clamp(52px, 6vw, 76px); }
.legal-intro > p:not(.eyebrow) { margin: 24px 0 0; font-weight: 800; }
.legal-intro img { display: block; width: min(220px, 72%); margin: 38px auto 0; border-radius: 50%; transform: rotate(-4deg); }
.legal-document { padding: 46px; border: 3px solid var(--ink); border-radius: 34px; background: var(--cream); box-shadow: var(--shadow); }
.legal-document .lead { margin: 0 0 42px; color: var(--ink); font-size: 22px; line-height: 1.55; font-weight: 700; }
.legal-document section { padding: 29px 0; border-top: 2px solid var(--line); }
.legal-document section:last-child { padding-bottom: 0; }
.legal-document h2 { margin-bottom: 14px; font-family: "DM Sans", sans-serif; font-size: 25px; letter-spacing: -0.03em; }
.legal-document p, .legal-document li { color: #514948; }
.legal-document ul { padding-left: 24px; }
.legal-document li + li { margin-top: 8px; }
.legal-document a { color: #345f9f; font-weight: 800; }
.legal-document .callout { margin: 16px 0; padding: 28px; border: 2px solid var(--ink); border-radius: 24px; background: #ffdfd4; }
.legal-document .green-callout { background: var(--green-light); }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -20px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 45px; gap: 20px; }
  .hero-art { min-height: 470px; }
  .promise { padding: 32px; }
  .promise-grid { grid-template-columns: 1fr; }
  .legal-cards { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-intro { position: relative; top: 0; }
  .legal-intro img { width: 170px; }
  .contact-strip { border-radius: 34px; grid-template-columns: 80px 1fr; }
  .contact-strip img { width: 80px; height: 80px; }
  .contact-strip .button { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { width: min(100% - 26px, 1180px); padding-top: 15px; }
  .brand span { display: none; }
  nav { gap: 2px; }
  nav a { padding: 8px 11px; }
  .hero, .promise, .legal-cards, .contact-strip, .legal-layout, footer { width: min(100% - 26px, 1180px); }
  .hero { margin-top: 0; margin-bottom: 55px; }
  h1 { font-size: clamp(52px, 18vw, 76px); }
  .hero-text { font-size: 18px; }
  .hero-art { min-height: 370px; }
  .note-one { right: 0; top: 5%; }.note-two { left: 0; bottom: 4%; }
  .promise { padding: 25px; border-radius: 26px; box-shadow: 7px 8px 0 var(--ink); }
  .promise > div:first-child { display: block; }
  .legal-card { min-height: 360px; padding: 28px; }
  .card-icon { right: 22px; top: 18px; font-size: 43px; }
  .card-link { left: 28px; bottom: 28px; }
  .contact-strip { padding: 23px; grid-template-columns: 64px 1fr; gap: 15px; }
  .contact-strip img { width: 64px; height: 64px; }
  .contact-strip h2 { font-size: 26px; }
  .legal-layout { margin-top: 25px; gap: 28px; }
  .legal-intro, .legal-document { padding: 26px; border-radius: 26px; }
  .legal-intro h1 { font-size: 52px; }
  .legal-document .lead { font-size: 19px; }
  .legal-document h2 { font-size: 22px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
