/* Clearing — shared styles. Same palette and type as the app. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --paper: #f2eee6;
  --paper-deep: #eae4d8;
  --card: #fcfaf6;
  --ink: #191712;
  --ink-soft: #3a362c;
  --muted: #736b5c;
  --faint: #9a9181;
  --hairline: #e5dfd3;
  --sage: #7c9885;
  --sage-deep: #4c6455;
  --sage-soft: #e4eae2;
  --max: 1040px;
  --text: 720px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 50% -10%, #fbf8f1 0%, transparent 70%),
    var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---- header ---- */
header { padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
  font-weight: 800; letter-spacing: -0.4px; font-size: 19px;
}
.brand .mark { width: 32px; height: 32px; border-radius: 9px; flex: none; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #f6f3ec;
  text-decoration: none; font-weight: 700;
  padding: 13px 22px; border-radius: 999px;
  letter-spacing: -0.2px;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-stack { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-stack small { font-weight: 500; font-size: 11px; opacity: .7; }
.btn[aria-disabled='true'] { cursor: default; }
.btn[aria-disabled='true']:hover { transform: none; }
.cta-row { margin-top: 30px; display: flex; justify-content: center; }

/* ---- hero ---- */
.hero { padding: 64px 0 44px; text-align: center; }
.hero .orb {
  width: 172px; height: 172px; margin: 0 auto 30px;
  filter: drop-shadow(0 20px 36px rgba(59, 50, 31, 0.18));
}
h1 {
  font-size: clamp(34px, 5.4vw, 50px);
  line-height: 1.1; letter-spacing: -1.5px; font-weight: 800;
  margin: 0 auto 18px; max-width: 16em;
}
.sub {
  font-size: 18px; color: var(--muted);
  max-width: 32em; margin: 0 auto;
}
.kicker {
  font-size: 11px; font-weight: 600; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--sage-deep); margin-bottom: 14px;
}

/* ---- phone frames ---- */
.shots {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 30px; padding: 30px 24px 80px; flex-wrap: wrap;
}
.phone { text-align: center; }
.phone .screen {
  border-radius: 42px;
  background: #0d0c0a;
  padding: 9px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.35) inset,
    0 30px 60px rgba(59, 50, 31, 0.22);
}
.phone .screen img { border-radius: 34px; width: 100%; }
.phone-hero .screen { width: 270px; }
.phone-side .screen { width: 216px; opacity: .96; }
.phone-side { transform: translateY(18px); }
.cap {
  font-size: 13px; font-weight: 600; color: var(--muted);
  margin: 16px 0 0; letter-spacing: -0.1px;
}

/* ---- band ---- */
.band {
  background: var(--card);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 68px 0;
}
.band-title {
  font-size: clamp(26px, 3.6vw, 34px);
  letter-spacing: -1px; font-weight: 800;
  margin: 0 auto 12px; text-align: center; max-width: 14em;
}
.keep-row {
  display: grid; gap: 20px; margin-top: 38px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.keep {
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: 24px; padding: 28px; text-align: center;
}
.keep img { width: 72px; height: 72px; margin: 0 auto 16px; }
.keep h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.keep p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---- rewards ---- */
.rewards { padding: 72px 24px 40px; }
.reward-grid {
  display: grid; gap: 16px; margin-top: 38px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.reward {
  background: var(--card); border: 1px solid rgba(59,50,31,0.08);
  border-radius: 22px; padding: 26px 20px; text-align: center;
}
.reward img { width: 62px; height: 62px; margin: 0 auto 14px; }
.reward strong {
  display: block; font-size: 15.5px; font-weight: 700;
  letter-spacing: -0.2px; margin-bottom: 3px;
}
.reward span { font-size: 14px; color: var(--muted); }

/* ---- features ---- */
.features {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 30px 24px 64px;
}
.card {
  background: var(--card); border: 1px solid rgba(59,50,31,0.08);
  border-radius: 22px; padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }
.moods { display: flex; gap: 10px; margin: 4px 0 14px; }
.moods img {
  width: 42px; height: 42px; padding: 7px;
  background: var(--sage-soft); border-radius: 13px;
}

/* ---- promise ---- */
.promise {
  background: var(--sage-soft); border: 1px solid rgba(124,152,133,0.35);
  border-radius: 26px; padding: 34px 30px; margin-bottom: 72px; text-align: center;
}
.promise h2 { margin: 0 0 8px; font-size: 23px; letter-spacing: -0.5px; font-weight: 800; }
.promise p { margin: 0 auto; color: var(--sage-deep); font-size: 15.5px; max-width: 34em; }

/* ---- legal pages ---- */
.legal { padding: 48px 0 72px; max-width: var(--text); }
.legal h1 { text-align: left; font-size: clamp(30px, 5vw, 38px); margin-left: 0; }
.legal h2 { font-size: 20px; letter-spacing: -0.4px; margin: 40px 0 10px; font-weight: 700; }
.legal h3 { font-size: 16px; margin: 24px 0 6px; font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--sage-deep); }
.updated { color: var(--faint); font-size: 14px; margin-top: -8px; }
.callout {
  background: var(--card); border: 1px solid rgba(59,50,31,0.08);
  border-left: 3px solid var(--sage); border-radius: 14px;
  padding: 16px 20px; margin: 22px 0;
}
.callout p { margin: 0; font-size: 15.5px; }

table {
  width: 100%; border-collapse: collapse; margin: 18px 0;
  font-size: 15px; display: block; overflow-x: auto;
}
th, td {
  text-align: left; padding: 11px 12px;
  border-bottom: 1px solid var(--hairline); vertical-align: top;
}
th { font-weight: 700; color: var(--ink); white-space: nowrap; }
td { color: var(--ink-soft); }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 0 52px; font-size: 14.5px; color: var(--muted);
}
footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--sage-deep); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ---- small screens ---- */
@media (max-width: 720px) {
  .shots { gap: 18px; padding-bottom: 56px; }
  .phone-hero .screen { width: 230px; }
  .phone-side { display: none; }
  .hero { padding-top: 44px; }
}
