/* Pocket website — same pastel-outlined system as the app. */
@font-face { font-family: Outfit; font-weight: 500; font-display: swap; src: url(assets/Outfit-Medium.ttf) format("truetype"); }
@font-face { font-family: Outfit; font-weight: 700; font-display: swap; src: url(assets/Outfit-Bold.ttf) format("truetype"); }
@font-face { font-family: Outfit; font-weight: 800; font-display: swap; src: url(assets/Outfit-ExtraBold.ttf) format("truetype"); }

:root {
  --canvas: #FBF5E9; --surface: #FFFBF3; --ink: #262626; --muted: #6E685E;
  --mint: #ADD9BC; --mint-s: #A3D3B2; --mint-l: #D9EEDF;
  --coral: #F2A598; --coral-s: #F0A194; --coral-l: #F8D5CE;
  --lav: #C9B4E2; --lav-s: #C3ABDE; --lav-l: #E6DCF2;
  --sun: #F7C948;
  --stroke: 2px solid var(--ink);
  --r-card: 24px; --r-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 500 17px/1.55 Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 12px; padding: 20px 0; }
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .12em; }
.nav .brand img { width: 40px; height: 40px; }
.nav .spacer { flex: 1; }
.nav a.link { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }

/* Buttons & chips */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px;
  border: var(--stroke); border-radius: var(--r-pill); background: var(--sun);
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 15px;
  text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: var(--surface); }
.chip {
  display: inline-block; padding: 7px 14px; border: 2px solid var(--lav-s); border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--surface);
}
.chip.fill { background: var(--lav-l); }

/* Hero */
.hero { background: var(--mint); border-bottom: var(--stroke); overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 24px 0 0; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; font-weight: 800; margin: 0 0 16px; }
.hero p.lead { font-size: 20px; margin: 0 0 28px; max-width: 30ch; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-bottom: 48px; }
.hero .phone { align-self: end; justify-self: center; width: min(320px, 100%); margin-bottom: -140px; }

/* Phone frame */
.phone {
  border: 10px solid var(--ink); border-radius: 44px; overflow: hidden; background: var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.phone img { width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; object-position: top; }

/* Sections */
section { padding: 88px 0; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.1; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 40px; max-width: 52ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: var(--stroke); border-radius: var(--r-card); padding: 24px;
}
.card .icon {
  width: 52px; height: 52px; border-radius: 50%; border: var(--stroke); display: grid; place-items: center;
  font-size: 24px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }

/* Pill bar chart decoration */
.bars { display: flex; align-items: flex-end; justify-content: center; gap: 14px; height: 180px; margin: 48px 0 0; }
.bars span { flex: 0 0 54px; border: var(--stroke); border-radius: var(--r-pill); background: var(--mint-l); }
.bars span.s { background: var(--mint-s); }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 48px; }
.shots .phone { border-width: 8px; border-radius: 36px; box-shadow: 8px 8px 0 var(--ink); }

/* Privacy band */
.band { background: var(--lav); border-top: var(--stroke); border-bottom: var(--stroke); }
.band .row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.band li { background: var(--surface); border: var(--stroke); border-radius: 18px; padding: 14px 18px; font-weight: 700; }

/* CTA */
.cta { text-align: center; }
.cta .box { background: var(--sun); border: var(--stroke); border-radius: 32px; padding: 56px 24px; box-shadow: 8px 8px 0 var(--ink); }
.cta .box .btn { background: var(--surface); }

/* Footer */
footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer .row .spacer { flex: 1; }

/* Legal page */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin: 24px 0 4px; }
.legal h2 { font-size: 24px; margin: 40px 0 8px; }
.legal p, .legal li { color: #3b3832; }
.legal table { width: 100%; border-collapse: separate; border-spacing: 0; border: var(--stroke); border-radius: 18px; overflow: hidden; background: var(--surface); margin: 12px 0; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #e7dfcf; vertical-align: top; font-size: 15px; }
.legal tr:last-child td { border-bottom: 0; }
.legal th { background: var(--lav-l); }
.note { background: var(--surface); border: var(--stroke); border-radius: 18px; padding: 16px 18px; }

@media (max-width: 820px) {
  .hero .grid, .band .row { grid-template-columns: 1fr; }
  .hero .phone { width: min(280px, 80%); }
  .bars { gap: 8px; height: 120px; } .bars span { flex-basis: 34px; }
  .cards, .shots { grid-template-columns: 1fr; }
  .shots .phone { max-width: 320px; margin: 0 auto; }
  section { padding: 64px 0; }
}
