/* got you — the site's one stylesheet. Tokens are DESIGN.md §2–§4, light and dark. No scripts
   anywhere: the layout, the phone frames and the tilted notes are all here. */

@font-face {
  font-family: Manrope;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Manrope-Medium.woff2) format('woff2');
}
@font-face {
  font-family: Manrope;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Manrope-SemiBold.woff2) format('woff2');
}
@font-face {
  font-family: Manrope;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Manrope-Bold.woff2) format('woff2');
}
@font-face {
  font-family: Caveat;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Caveat-Medium.woff2) format('woff2');
}

:root {
  color-scheme: light dark;
  --paper: #f6f2ea;
  --card: #fdfbf7;
  --ink1: #2b2a27;
  --ink2: #5f5b54;
  --ink3: #948f86;
  --line: #ece6dc;
  --fill1: #f0ebe2;
  --fill2: #e4ddd0;
  --peach: #f3a985;
  --accent: #4b7bd6;
  --btn-bg: #3a3937;
  --btn-fg: #ffffff;
  --frame: #1f1e1b;
  --blush: #f3cdbd;
  --terracotta: #e58a63;
  --mustard: #f2cf6b;
  --olive: #a3bd8c;
  --teal: #86b9b2;
  --blue: #6b93dc;
  --lilac: #c3addf;
  --sand: #e6dccb;
  --blob-opacity: 0.9;
  --shadow: 0 1px 2px rgba(70, 55, 30, 0.05), 0 8px 20px rgba(70, 55, 30, 0.07);
  --display: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hand: Caveat, 'Bradley Hand', 'Segoe Print', cursive;
  --system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #24221e;
    --card: #2e2b26;
    --ink1: #f1ede5;
    --ink2: #b3ada2;
    --ink3: #7f7a70;
    --line: #3a362f;
    --fill1: #2e2b26;
    --fill2: #3a362f;
    --peach: #c47f5e;
    --accent: #8fb0ee;
    --btn-bg: #f1ede5;
    --btn-fg: #24221e;
    --frame: #0f0e0d;
    --blush: #b47862;
    --terracotta: #c9684a;
    --mustard: #c9a43a;
    --olive: #6f8a5c;
    --teal: #4f8a84;
    --blue: #5b84cf;
    --lilac: #8f77b8;
    --sand: #5a5245;
    --blob-opacity: 0.7;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.25);
  }
}

/* ---------- base ---------- */

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink1);
  font: 16px/1.55 var(--system);
  overflow-x: clip;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  margin: 0;
}
h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  font-weight: 700;
}
h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  font-weight: 700;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 12px;
}
.lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink2);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  font-weight: 600;
}
/* The skip link lands here: no ring on the whole page, the next Tab carries on inside it. */
#main:focus {
  outline: none;
}
.skip:focus {
  top: 16px;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill {
  fill: currentColor;
  stroke: none;
}

/* The drawn pieces (pages/art.ts): defined once, hidden, placed with <use>. A piece fills with
   the `color` it is placed in (a `fill="currentColor"` attribute — a rule here would be resolved
   at the definition); the strokes beside the name are always peach. */
.art-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.art-rays {
  fill: var(--peach);
}
/*
 * The name in running text: the mark, in the page's ink, a little taller than the line — the
 * margins take that back so it never spreads the lines, and their difference sets the letters
 * (which sit low in the mark, under the rays) on the text's middle.
 */
.name {
  display: inline-block;
  vertical-align: middle;
  height: 1.75em;
  margin: -0.45em 0.08em -0.3em;
  color: var(--ink1);
}
.name-svg {
  display: block;
  height: 100%;
  width: auto;
}

/* Handwritten lines and their arrows. */
.hand {
  font-family: var(--hand);
  font-size: 26px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink1);
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
}
.arrow {
  width: 46px;
  height: auto;
  flex: none;
  color: var(--ink1);
}
.arrow-up {
  /* The tail by the words, the head up towards the badges (product owner, 2026-09-22). */
  transform: rotate(-30deg) scaleY(-1);
  margin-left: 8px;
}
.arrow-down {
  /* The tail under the words, the head down towards the phones. */
  transform: rotate(-30deg) scale(-1, -1);
}

/* ---------- buttons, badges ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font: 600 15px/1 var(--display);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 120ms;
}
.button:active {
  opacity: 0.85;
}
.button.primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}
.button.secondary {
  background: var(--paper);
  color: var(--ink1);
  border: 1px solid var(--ink1);
}
.button.small {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.button-icon {
  width: 18px;
  height: 18px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  display: block;
  border-radius: 6px;
}
.badge img {
  height: 40px;
  width: auto;
}

/* ---------- header ---------- */

.top {
  padding: 18px 0;
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}
.wordmark {
  display: block;
  color: var(--ink1);
  flex: none;
  border-radius: 8px;
}
.wordmark-svg {
  height: 58px;
  width: auto;
}
.nav {
  display: none;
  gap: 28px;
  margin: 0 auto;
}
.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink2);
}
.nav a:hover {
  color: var(--ink1);
}
.top .button {
  margin-left: auto;
}
@media (min-width: 720px) {
  .nav {
    display: flex;
  }
  .top .button {
    margin-left: 0;
  }
}

/* ---------- pages of words (legal, FAQ) ---------- */

.main.column {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}
.column h1 {
  font-size: 34px;
  margin: 16px 0 4px;
}
.column h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}
.column p,
.column li {
  color: var(--ink2);
  margin: 0 0 12px;
}
.column ul {
  padding-left: 20px;
  margin: 0 0 12px;
  list-style: disc;
}
.column .updated {
  color: var(--ink2);
  font-size: 13px;
  margin-bottom: 24px;
}

/* ---------- the site ---------- */

.main.wide section {
  position: relative;
}
/* The sheet's four blobs, behind things and hanging off edges; a width each, the shape keeps
   its own proportions. */
.blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: var(--blob-opacity);
  height: auto;
}

/* hero */
.hero {
  padding: 24px 0 64px;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-grid > * {
  min-width: 0;
}
.hero-words {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.hero-words h1 {
  margin-bottom: 20px;
}
.hero-words .lead {
  margin-bottom: 28px;
}
.hand-free {
  margin-top: 18px;
  transform: rotate(-4deg);
  margin-left: 24px;
}
.hero-art {
  position: relative;
  z-index: 1;
  min-height: 560px;
}
/* Two phones the same size, as on the mock: Home behind on the left, People in front on the
   right and a little lower. The frames follow the screens' own shape (1080 × 2400): a screen is
   230 wide, so 511 tall; the padding is the bezel. */
.phones {
  position: relative;
  width: 420px;
  height: 600px;
  margin: 0 auto;
}
/* A narrow phone: the whole composition, smaller. */
@media (max-width: 479px) {
  .phones {
    zoom: 0.78;
  }
  .hero-art {
    min-height: 0;
  }
}
.phone {
  position: absolute;
  width: 250px;
  height: 531px;
  background: var(--frame);
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(30, 24, 12, 0.22);
}
.phone .screen {
  width: 100%;
  height: 100%;
  background: var(--card);
  border-radius: 36px;
  overflow: hidden;
}
.screen-art,
.screen-art img {
  display: block;
  width: 100%;
  height: 100%;
}
.screen-art img {
  object-fit: cover;
  object-position: top;
}
/* Tilted as on the mock: the one behind leans a little left, the one in front a little right. */
.phone-back {
  left: 0;
  top: 0;
  z-index: 1;
  transform: rotate(-5deg);
}
.phone-front {
  right: 0;
  top: 64px;
  z-index: 2;
  transform: rotate(6deg);
}
.island {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 88px;
  height: 26px;
  margin-left: -44px;
  border-radius: 999px;
  background: var(--frame);
  z-index: 3;
}
.hand-place,
.hand-moments {
  display: block;
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 20px;
}
.hand-place .arrow {
  display: none;
}
.blob-heart {
  right: 8px;
  top: 250px;
  width: 64px;
  color: var(--terracotta);
}
/* Around the words: mustard off the left edge, blush in the top corner, olive bottom right. */
.blob-a {
  width: 250px;
  left: -180px;
  top: 190px;
  color: var(--mustard);
}
.blob-b {
  width: 190px;
  left: -110px;
  top: -70px;
  color: var(--blush);
  transform: rotate(20deg);
}
.blob-c {
  width: 250px;
  right: -160px;
  bottom: -90px;
  color: var(--olive);
  transform: rotate(-30deg);
}
/* Behind the phones: blush beside the front one, a small olive above it, mustard under both,
   teal at the foot of the back one. */
.blob-behind-a {
  width: 210px;
  left: -10px;
  top: 290px;
  color: var(--blush);
}
.blob-behind-b {
  width: 120px;
  left: 30px;
  top: 230px;
  color: var(--olive);
  transform: rotate(35deg);
}
.blob-behind-c {
  width: 230px;
  left: 140px;
  bottom: -10px;
  color: var(--mustard);
  transform: scale(-1, 1);
}
.blob-behind-d {
  width: 120px;
  right: 30px;
  bottom: 20px;
  color: var(--teal);
  transform: rotate(-20deg);
}
@media (min-width: 960px) {
  .hero {
    padding: 40px 0 96px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-art {
    min-height: 620px;
  }
  .phones {
    margin: 0 0 0 20px;
  }
  .hand-place {
    position: absolute;
    right: -30px;
    top: -20px;
    text-align: left;
    margin: 0;
    transform: rotate(-6deg);
  }
  .hand-place .arrow {
    display: block;
    margin: 20px 0 0 70px;
  }
  /* Under the front phone's foot, clear of it (the phone reaches 595px down). */
  .hand-moments {
    position: absolute;
    right: -20px;
    bottom: -44px;
    text-align: left;
    margin: 0;
    transform: rotate(-8deg);
  }
  .blob-heart {
    right: -30px;
    top: 260px;
  }
  .blob-behind-d {
    right: 150px;
    bottom: -50px;
  }
}

/* features */
.features {
  padding: 48px 0;
}
.feature-grid {
  display: grid;
  gap: 32px 24px;
  grid-template-columns: 1fr;
}
.feature {
  text-align: center;
  max-width: 260px;
  margin: 0 auto;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 16px;
  color: var(--ink1);
  border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%;
}
.feature-icon .icon {
  width: 28px;
  height: 28px;
}
.tint-mustard {
  background: var(--mustard);
}
.tint-olive {
  background: var(--olive);
}
.tint-blush {
  background: var(--blush);
}
.tint-lilac {
  background: var(--lilac);
}
.tint-blue {
  background: var(--blue);
}
.tint-teal {
  background: var(--teal);
}
.feature h3 {
  margin-bottom: 8px;
}
.feature p {
  color: var(--ink2);
  font-size: 15px;
}
@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .features {
    padding: 72px 0;
  }
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* more than a list */
.about {
  padding: 48px 0;
}
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.about-art {
  position: relative;
  padding: 24px 0 32px;
}
/* The paintings keep their own colours in the dark, as the app's onboarding ones do. */
.painting {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
}
.painting img {
  width: 100%;
  height: auto;
}
.painting-giving {
  width: min(100%, 480px);
}
.hand-better {
  position: absolute;
  left: 0;
  bottom: 24px;
  transform: rotate(-8deg);
  z-index: 2;
}
/* Blush behind her shoulder, olive beside the gift, mustard under it. */
.blob-about-a {
  width: 200px;
  left: -30px;
  top: 0;
  color: var(--blush);
  transform: rotate(-15deg);
}
.blob-about-b {
  width: 170px;
  right: 10px;
  top: 140px;
  color: var(--olive);
  transform: rotate(40deg);
}
.blob-about-c {
  width: 220px;
  right: -40px;
  bottom: -10px;
  color: var(--mustard);
  transform: scale(-1, 1) rotate(10deg);
}
.about-words h2 {
  margin-bottom: 20px;
}
.about-words .lead {
  margin-bottom: 28px;
}
@media (min-width: 900px) {
  .about {
    padding: 72px 0;
  }
  .about-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
}

/* how it works */
.how {
  padding: 48px 0;
}
.how h2 {
  margin-bottom: 32px;
  max-width: 640px;
}
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 14px/1 var(--display);
  margin-bottom: 16px;
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  color: var(--ink2);
  font-size: 15px;
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .how {
    padding: 72px 0;
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ready to give better? */
.download {
  padding: 48px 0 72px;
}
.cta {
  position: relative;
  overflow: clip;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 32px;
  align-items: center;
}
.cta-words {
  position: relative;
  z-index: 1;
}
.cta-words h2 {
  margin-bottom: 12px;
}
.cta-words .lead {
  margin-bottom: 24px;
}
.cta-art {
  position: relative;
  z-index: 1;
  padding-top: 16px;
}
.painting-gifts {
  width: min(100%, 380px);
}
.cta-sparks {
  position: absolute;
  right: 4px;
  top: 0;
  width: 54px;
  height: auto;
  color: var(--peach);
  z-index: 2;
}
/* The card clips them: olive and blush off its left corners, mustard and teal off the right. */
.blob-cta-a {
  width: 200px;
  left: -70px;
  top: -80px;
  color: var(--olive);
  transform: rotate(15deg);
}
.blob-cta-b {
  width: 190px;
  left: -80px;
  bottom: -80px;
  color: var(--blush);
}
.blob-cta-c {
  width: 240px;
  right: -100px;
  bottom: -90px;
  color: var(--mustard);
  transform: rotate(-25deg);
}
.blob-cta-d {
  width: 120px;
  right: -40px;
  top: -50px;
  color: var(--teal);
  transform: rotate(30deg);
}
@media (min-width: 900px) {
  .cta {
    grid-template-columns: 1.1fr 1fr;
    padding: 56px 64px;
  }
  .cta-sparks {
    right: -20px;
    top: -10px;
  }
}

/* ---------- footer ---------- */

.foot {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.foot-nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink2);
}
.foot-nav a:hover {
  color: var(--ink1);
}
.social {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  border-radius: 50%;
}
.social a:hover {
  color: var(--ink1);
  background: var(--fill1);
}
.social .icon {
  width: 20px;
  height: 20px;
}
.social .icon-fill {
  width: 17px;
  height: 17px;
}
.made {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink2);
}
.made-heart {
  width: 15px;
  height: auto;
  color: var(--terracotta);
}
@media (min-width: 720px) {
  .made {
    width: auto;
    margin-left: auto;
  }
  .social {
    margin-left: 0;
  }
}

/* Print: the words on white, the way in and around them left out. */
@media print {
  :root {
    --paper: #fff;
    --card: #fff;
    --ink1: #000;
    --ink2: #333;
  }
  .skip,
  .nav,
  .top .button,
  .foot-nav,
  .social,
  .blob,
  .sparks,
  .painting,
  .phones,
  .hand {
    display: none;
  }
  .phone {
    box-shadow: none;
  }
  .column a {
    text-decoration: underline;
  }
  .column a[href^='https://']::after {
    content: ' (' attr(href) ')';
    font-size: 0.85em;
    color: var(--ink2);
  }
}
