@font-face { font-family: "Nuzzlebook Hand"; src: url("assets/NuzzlebookHand-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #fff8ee;
  --paper-deep: #f4e9d9;
  --ink: #594438;
  --muted: #746357;
  --blue: #2f6d9f;
  --blue-soft: #d9e9f5;
  --pink: #ad3e72;
  --pink-soft: #f4d9e5;
  --sage: #d5dfcb;
  --line: rgba(35, 49, 45, 0.16);
  --shadow: 0 18px 50px rgba(59, 58, 49, 0.11);
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(213, 223, 203, 0.52), transparent 22rem),
    radial-gradient(circle at 92% 20%, rgba(244, 217, 229, 0.62), transparent 25rem),
    var(--paper);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: radial-gradient(rgba(35, 49, 45, 0.11) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 2px 0 rgba(35, 49, 45, 0.18); }

nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 0.9rem; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--pink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  min-height: 650px;
  padding: 72px 0 90px;
}

.eyebrow {
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.05; }
h1 { max-width: 680px; margin: 18px 0 22px; font-size: clamp(3.2rem, 7vw, 6.4rem); font-weight: 780; }
h1 span { color: var(--blue); }
h2 { margin-bottom: 16px; font-size: clamp(2.1rem, 4vw, 3.45rem); }
h3 { margin-bottom: 10px; font-size: 1.28rem; }

.lede { max-width: 590px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.28rem); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 11px 19px;
  border: 1.5px solid var(--blue);
  border-radius: 15px 12px 16px 11px;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(35, 49, 45, 0.16);
  transform: rotate(-0.45deg);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px) rotate(0.2deg); box-shadow: 5px 6px 0 rgba(35, 49, 45, 0.16); }
.button.secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.55); color: var(--ink); }

.hero-note {
  display: inline-flex;
  gap: 8px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.89rem;
}
.hero-note::before { content: "✦"; color: var(--pink); }

.hero-art { position: relative; padding: 24px 0 34px; }
.cuddle-bear { position: absolute; left: -9%; top: 5%; width: 43%; z-index: 3; border-radius: 30%; transform: rotate(-8deg); box-shadow: 0 12px 30px #59443818; }
.hero-phone {
  position: relative;
  margin: 0 6% 0 auto;
  width: min(300px, 74%);
  padding: 9px;
  border: 1px solid rgba(35, 49, 45, 0.2);
  border-radius: 32px 27px 36px 25px;
  background: #18231f;
  box-shadow: 16px 20px 0 rgba(35, 49, 45, 0.12), var(--shadow);
  transform: rotate(3deg);
}
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 24px; }
.doodle { position: absolute; z-index: 2; user-select: none; }
.doodle.sun { left: 2%; top: 9%; color: #e9b14f; font-size: 4.2rem; transform: rotate(-12deg); }
.doodle.heart { left: 3%; bottom: 16%; color: var(--pink); font-size: 3.9rem; transform: rotate(-18deg); }
.doodle.star { right: 2%; bottom: 5%; color: var(--blue); font-size: 4rem; transform: rotate(13deg); }
.doodle.line { right: 10%; top: 1%; color: var(--ink); font-size: 3.7rem; transform: rotate(55deg); }

.section { padding: 88px 0; }
.section.kickered { border-top: 1px solid var(--line); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 34px; margin-bottom: 34px; }
.section-intro p { max-width: 490px; margin-bottom: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature {
  min-height: 210px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 21px 17px 24px 18px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 7px 0 rgba(35, 49, 45, 0.05);
}
.feature:nth-child(2) { background: var(--blue-soft); transform: rotate(0.55deg); }
.feature:nth-child(3) { background: var(--pink-soft); transform: rotate(-0.6deg); }
.feature:nth-child(4) { background: var(--sage); transform: rotate(0.35deg); }
.feature-mark { display: block; height: 36px; margin-bottom: 15px; color: var(--pink); font-size: 2rem; line-height: 1; }
.feature:nth-child(2) .feature-mark { color: var(--blue); }
.feature:nth-child(4) .feature-mark { color: var(--ink); }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 0.93rem; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.screen-card { margin: 0; }
.screen-card img {
  height: auto;
  display: block;
  width: 100%;
  border: 1px solid rgba(35, 49, 45, 0.14);
  border-radius: 25px 20px 28px 19px;
  box-shadow: var(--shadow);
}
.screen-card:nth-child(2) img { transform: rotate(0.8deg); }
.screen-card:nth-child(3) img { transform: rotate(-0.7deg); }
.screen-card figcaption { padding: 15px 5px 0; color: var(--muted); font-size: 0.93rem; }
.screen-card figcaption strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1rem; }

.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(35px, 8vw, 100px);
  align-items: center;
  padding: 58px clamp(24px, 5vw, 70px);
  border: 1.5px solid rgba(47, 109, 159, 0.35);
  border-radius: 30px 25px 34px 23px;
  background: linear-gradient(120deg, rgba(217, 233, 245, 0.82), rgba(255, 255, 255, 0.55));
  box-shadow: 8px 9px 0 rgba(47, 109, 159, 0.08);
}
.story p { color: var(--muted); }
.steps { display: grid; gap: 21px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--pink); border-radius: 50%; color: var(--pink); font-weight: 800; }
.step p { margin-bottom: 0; font-size: 0.94rem; }

.privacy-callout { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.privacy-callout p { max-width: 650px; margin-bottom: 0; color: var(--muted); }

.site-footer { padding: 36px 0 45px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
.footer-row { display: flex; justify-content: space-between; gap: 22px; }
.footer-row p { margin-bottom: 0; }
.footer-links { display: flex; gap: 18px; }

.policy { max-width: 780px; padding: 70px 0 90px; }
.policy h1 { margin-bottom: 14px; font-size: clamp(2.7rem, 6vw, 5rem); }
.policy .updated { color: var(--muted); }
.policy h2 { margin-top: 46px; font-size: 1.75rem; }
.policy p, .policy li { color: var(--muted); }
.policy ul { padding-left: 1.25rem; }
.policy a { color: var(--blue); }

:focus-visible { outline: 3px solid #e5a62f; outline-offset: 4px; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .hero-art { max-width: 580px; width: 100%; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .privacy-callout { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .wrap { width: min(calc(100% - 28px), 1120px); }
  .site-header { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  nav { gap: 12px; font-size: 0.78rem; }
  nav a:nth-child(2) { display: none; }
  h1 { font-size: clamp(2.9rem, 15vw, 4.5rem); }
  .hero { padding: 38px 0 55px; }
  .hero-phone { margin-right: 8%; width: min(255px, 78%); }
  .doodle.sun { font-size: 3rem; }
  .doodle.heart { font-size: 2.8rem; }
  .doodle.star { font-size: 3rem; }
  .feature-grid, .screens { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .section-intro { display: block; }
  .section-intro p { margin-top: 16px; }
  .footer-row { display: block; }
  .footer-links { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Original Paint lettering is reserved for headings. */
h1, h2, h3 { font-family: "Nuzzlebook Hand", ui-rounded, sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.18; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.6rem; }
.brand .brand-wordmark { width: 148px; height: auto; border-radius: 0; box-shadow: none; }

.helpers { max-width: 510px; }
.helpers h3 { margin-top: 24px; }
.helpers h3:first-child { margin-top: 0; }
@media (max-width: 580px) { .cuddle-bear { left: 0; width: 38%; } }
