:root {
  --paper: #f5efe1;
  --paper-card: #fffaf0;
  --paper-note: #f7e8ad;
  --ink: #2f2c28;
  --ink-soft: #6d665c;
  --red: #bf563d;
  --blue: #4f6f9f;
  --green: #668555;
  --line: rgba(101, 82, 55, 0.12);
  --font-hand: "Bradley Hand", "Chalkboard SE", "Marker Felt", "Segoe Print", cursive;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sketch: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --sketch-alt: 15px 225px 15px 255px / 225px 15px 255px 15px;
  --shadow: 5px 6px 0 rgba(47, 44, 40, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, var(--line) 31px 32px);
  font-family: var(--font-hand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
img, svg { display: block; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 12px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 239, 225, 0.9);
  border-bottom: 1px dashed rgba(47, 44, 40, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 48% 52% 44% 56% / 55% 44% 56% 45%;
  background: var(--paper-card);
  box-shadow: 2px 2px 0 rgba(47, 44, 40, 0.13);
  transform: rotate(-4deg);
  font-size: 1.05rem;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline wavy var(--red); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--sketch);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 4px 0 rgba(47, 44, 40, 0.17);
  font-weight: 700;
  text-decoration: none;
  transform: rotate(-0.6deg);
  transition: transform 150ms ease, background 150ms ease;
}
.button:hover { color: white; background: var(--red); border-color: var(--red); transform: translateY(-2px) rotate(0); }
.button.secondary { background: transparent; color: var(--ink); box-shadow: none; }
.button.secondary:hover { background: var(--paper-card); border-color: var(--ink); color: var(--ink); }

.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--ink-soft); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; border-top: 2px dashed currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 13ch; margin-bottom: 20px; font-size: clamp(2.6rem, 6vw, 4.65rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.13; }
h3 { margin-bottom: 6px; font-size: 1.15rem; }
.highlight { position: relative; color: var(--red); white-space: nowrap; }
.highlight::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -2px; border-bottom: 4px wavy var(--red); opacity: 0.7; }
.hero-copy { max-width: 47ch; margin-bottom: 28px; color: var(--ink-soft); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.small-note { margin-top: 18px; color: var(--ink-soft); font-size: 0.94rem; }

.ipad-stage { position: relative; display: grid; place-items: center; min-height: 430px; }
.ipad-stage::before { content: ""; position: absolute; width: 88%; height: 88%; border: 2px dashed rgba(47, 44, 40, 0.25); border-radius: 48% 52% 45% 55% / 52% 45% 55% 48%; transform: rotate(3deg); }
.ipad {
  position: relative;
  width: min(510px, 100%);
  padding: 13px;
  border-radius: 30px;
  background: #25221f;
  box-shadow: 10px 14px 0 rgba(47, 44, 40, 0.12), 0 32px 60px -35px rgba(47, 44, 40, 0.6);
  transform: rotate(1.5deg);
}
.ipad-screen { min-height: 350px; padding: 24px; border-radius: 20px; overflow: hidden; background: #fffdf8; }
.mock-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; }
.mock-pill { padding: 6px 10px; border-radius: 99px; background: #f1ece2; color: #625e57; }
.letter-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.letter {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1.5px solid #d6cfc2;
  border-radius: 9px 7px 10px 8px;
  background: white;
  color: #292622;
  font-size: clamp(1rem, 2.6vw, 1.65rem);
  transform: rotate(var(--tilt, 0deg));
}
.letter:nth-child(3n) { --tilt: -2deg; }
.letter:nth-child(4n) { --tilt: 2deg; }
.letter.empty { color: #c8c0b4; font-family: var(--font-body); font-size: 0.8rem; }
.pencil-line { position: absolute; right: -24px; bottom: 36px; width: 190px; height: 12px; border-radius: 999px; background: linear-gradient(90deg, #eee 0 86%, #b7aca0 86% 94%, #2e2a25 94%); box-shadow: 0 5px 10px rgba(47,44,40,.18); transform: rotate(-23deg); }
.scribble-note { position: absolute; top: 7px; right: 4px; color: var(--red); font-weight: 700; transform: rotate(5deg); }

section { padding: 64px 0; }
.section-tinted { border-block: 2px dashed rgba(47,44,40,.2); background: rgba(255,250,240,.55); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section-tag { margin-bottom: 8px; color: var(--red); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.steps, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 25px;
  border: 2px solid var(--ink);
  border-radius: var(--sketch);
  background: var(--paper-card);
  box-shadow: var(--shadow);
}
.card:nth-child(even) { border-radius: var(--sketch-alt); transform: rotate(.35deg); }
.number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 15px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper-note); font-size: 1.2rem; font-weight: 800; transform: rotate(-5deg); }
.card p { margin-bottom: 0; color: var(--ink-soft); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-symbol { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 48% 52% 44% 56%; font-family: var(--font-body); font-weight: 800; }
.red { color: var(--red); }
.blue { color: var(--blue); }
.green { color: var(--green); }
.feature p { margin-bottom: 0; color: var(--ink-soft); }
.privacy-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; padding: 42px; border: 2px solid var(--ink); border-radius: var(--sketch-alt); background: var(--paper-card); box-shadow: var(--shadow); }
.check-list { display: grid; gap: 13px; align-content: start; }
.check { display: flex; gap: 11px; }
.check::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-family: var(--font-body); font-weight: 900; }
.faq { max-width: 760px; }
details { margin-bottom: 13px; border: 2px solid var(--ink); border-radius: var(--sketch); background: var(--paper-card); box-shadow: 3px 3px 0 rgba(47,44,40,.08); }
summary { padding: 17px 20px; cursor: pointer; font-weight: 700; }
details p { padding: 0 20px 18px; margin-bottom: 0; color: var(--ink-soft); }
.cta { padding: 54px 32px; border: 2px solid var(--ink); border-radius: 14px 45px 18px 40px / 42px 14px 45px 18px; background: var(--paper-note); box-shadow: var(--shadow); text-align: center; transform: rotate(-.35deg); }
.cta p { max-width: 48ch; margin: 0 auto 24px; color: var(--ink-soft); }

.page-main { padding: 64px 0 80px; }
.page-shell { max-width: 780px; margin: 0 auto; padding: 40px; border: 2px solid var(--ink); border-radius: var(--sketch); background: var(--paper-card); box-shadow: var(--shadow); }
.page-shell h1 { max-width: none; font-size: clamp(2.25rem, 6vw, 3.6rem); }
.page-shell h2 { margin-top: 38px; font-size: 1.55rem; }
.page-shell h3 { margin-top: 24px; }
.page-shell p, .page-shell li { font-family: var(--font-body); color: #49443e; }
.page-shell .lead { font-family: var(--font-hand); color: var(--ink-soft); font-size: 1.15rem; }
.meta { color: var(--ink-soft); font-size: .92rem; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 34px; }
.callout { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--green); background: rgba(102,133,85,.09); }
.contact-card { margin-top: 34px; padding: 24px; border: 2px dashed var(--ink); border-radius: var(--sketch-alt); background: var(--paper-note); }
.contact-card p:last-child { margin-bottom: 0; }
footer { padding: 36px 0 52px; color: var(--ink-soft); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 10px; }
.footer-links a { color: var(--ink-soft); }

@media (max-width: 820px) {
  .hero-grid, .privacy-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .steps { grid-template-columns: 1fr; }
  .ipad-stage { min-height: 380px; }
}
@media (max-width: 620px) {
  .nav .nav-link { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .page-shell { padding: 26px 20px; }
  .letter-grid { gap: 6px; }
  .ipad-screen { min-height: 300px; padding: 18px; }
  .pencil-line { width: 150px; right: -12px; }
  .privacy-panel { padding: 27px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

