/* PullOrKeep legal-page styling. Forest + paper palette, comfortable
   reading width, mobile-first. */

:root {
  --paper: #f7f4ed;
  --paper-deep: #ece5d9;
  --ink: #1a1a1a;
  --text: #2a2a2a;
  --text-mid: #6b6b6b;
  --hairline: rgba(0, 0, 0, 0.08);
  --forest: #1f3326;
  --fresh: #5a7a3f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  line-height: 1.6;
  font-size: 16px;
  padding: 0;
  min-height: 100vh;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

@media (max-width: 600px) {
  .wrap {
    padding: 32px 20px 64px;
  }
}

header {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 20px;
  margin-bottom: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest);
}

.brand-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--forest);
  color: var(--paper);
  border-radius: 6px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
}

.brand-name {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.2px;
}

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin: 24px 0 6px;
  font-weight: 600;
}

@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }
}

h2 {
  font-size: 18px;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin: 36px 0 8px;
  font-weight: 600;
}

h3 {
  font-size: 15px;
  color: var(--ink);
  margin: 20px 0 4px;
  font-weight: 600;
}

p,
li {
  font-size: 15.5px;
  color: var(--text);
  margin: 12px 0;
}

ul,
ol {
  padding-left: 22px;
  margin: 12px 0;
}

a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: rgba(31, 51, 38, 0.35);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: var(--forest);
}

.last-updated {
  color: var(--text-mid);
  font-size: 13.5px;
  margin: 0 0 8px;
}

.lede {
  font-size: 16.5px;
  color: var(--text-mid);
  margin: 18px 0 28px;
  line-height: 1.55;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

th {
  background: var(--paper-deep);
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: var(--text-mid);
}

/* ── Landing-page sections ─────────────────────────────────────────────
   Used by index.html only. Other legal pages use the .wrap container
   defined above and don't load these classes. */

body.landing {
  background: var(--paper);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 28px 80px;
}

@media (max-width: 700px) {
  .page { padding: 18px 18px 60px; }
}

/* ── Site header (sticky-feeling top bar) ─────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 28px;
  border-bottom: none;
  margin-bottom: 0;
}

.site-header .brand {
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: var(--forest);
  color: var(--paper);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.1px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31, 51, 38, 0.18);
  text-decoration: none;
}

@media (max-width: 600px) {
  .header-cta { display: none; }
}

/* ── Phone frame (used everywhere screenshots appear) ──────────────── */

.phone-frame {
  position: relative;
  width: 280px;
  background: #0a0a0a;
  border-radius: 38px;
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.04),
    0 30px 60px -20px rgba(31, 51, 38, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.phone-frame.small {
  width: 220px;
  border-radius: 30px;
  padding: 6px;
}

.phone-frame.small img {
  border-radius: 24px;
}

@media (max-width: 700px) {
  .phone-frame { width: 240px; }
  .phone-frame.small { width: 200px; }
}

/* ── Hero (split: copy left, screenshot right) ──────────────────────── */

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 32px 0 96px;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 48px;
    margin: 24px 0 64px;
  }
}

.hero-copy h1 {
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -1.2px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 20px;
}

@media (max-width: 700px) {
  .hero-copy h1 { font-size: 38px; letter-spacing: -0.8px; }
}

.hero-copy .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 28px;
  max-width: 520px;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: var(--paper-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.pill.pull { color: #8e2820; background: rgba(142, 40, 32, 0.10); }
.pill.keep { color: #1f3326; background: rgba(31, 51, 38, 0.10); }
.pill.watch { color: #8a6512; background: rgba(138, 101, 18, 0.10); }

.app-store-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--forest);
  color: var(--paper);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.app-store-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(31, 51, 38, 0.22);
  text-decoration: none;
}

.app-store-cta.large {
  padding: 18px 36px;
  font-size: 16px;
}

/* Hero shot anchoring */
.hero-shot {
  display: flex;
  justify-content: center;
}

.hero-shot .phone-frame {
  width: 320px;
}

@media (max-width: 700px) {
  .hero-shot .phone-frame { width: 260px; }
}

/* ── Showcase (3 phones in a row) ───────────────────────────────────── */

.showcase {
  margin: 96px 0;
  text-align: center;
}

.showcase h2 {
  font-size: 36px;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--ink);
}

.showcase .sub {
  font-size: 17px;
  color: var(--text-mid);
  margin: 0 0 48px;
}

.showcase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .showcase-row { grid-template-columns: 1fr; gap: 56px; }
}

.showcase figure {
  margin: 0;
  text-align: center;
}

.showcase figcaption {
  margin-top: 24px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.showcase figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 15.5px;
}

/* ── Value grid (4 cards) ───────────────────────────────────────────── */

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 96px 0;
}

@media (max-width: 700px) {
  .value-grid { grid-template-columns: 1fr; margin: 64px 0; }
}

.value {
  background: var(--paper-deep);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px 26px;
}

.value h3 {
  font-size: 17px;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
  font-weight: 600;
  color: var(--ink);
}

.value p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* ── Deep shot (text + screenshot, alternating) ─────────────────────── */

.deep-shot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 96px 0;
  background: var(--paper-deep);
  border-radius: 24px;
  padding: 56px 48px;
}

@media (max-width: 900px) {
  .deep-shot {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 28px;
  }
}

.deep-text h2 {
  font-size: 32px;
  letter-spacing: -0.8px;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--ink);
}

.deep-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ── Pricing ────────────────────────────────────────────────────────── */

.pricing {
  margin: 96px 0;
  text-align: center;
}

.pricing h2 {
  font-size: 36px;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--ink);
}

.pricing .sub {
  font-size: 17px;
  color: var(--text-mid);
  margin: 0 0 40px;
}

.tier-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .tier-row { grid-template-columns: 1fr; }
}

.tier {
  background: var(--paper-deep);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: left;
}

.tier.featured {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

.tier h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--text-mid);
}

.tier.featured h4 { color: rgba(247, 244, 237, 0.7); }

.tier .price {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1;
}

.tier .price .per {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0;
}

.tier.featured .price { color: var(--paper); }
.tier.featured .price .per { color: rgba(247, 244, 237, 0.7); }

.tier p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.tier.featured p { color: rgba(247, 244, 237, 0.85); }

/* ── Closing CTA ────────────────────────────────────────────────────── */

.closing {
  text-align: center;
  margin: 96px 0;
  padding: 64px 24px;
  background: var(--paper-deep);
  border-radius: 24px;
}

.closing h2 {
  font-size: 36px;
  letter-spacing: -0.8px;
  margin: 0 0 24px;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 700px) {
  .closing h2 { font-size: 26px; }
  .closing { padding: 48px 20px; }
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
}

.footer-links a:hover { color: var(--forest); }

.footer-attribution {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.5;
}
