/* Shade Theory — landing + privacy. Palette and type are the app's own
   (App/DesignSystem/Color+Tokens.swift; Cormorant Garamond + Karla). */
:root {
  --cream: #F8EFDF;
  --card: #FFFDF8;
  --ink: #2B2620;
  --ink-2: rgba(43, 38, 32, .66);
  --ink-3: rgba(43, 38, 32, .5);
  --line: rgba(43, 38, 32, .1);
  --line-strong: rgba(43, 38, 32, .16);
  --terracotta: #A5603F;
  --terracotta-deep: #7E4830;
  --olive: #6B7048;
  --sand: #E9DCC6;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(43, 38, 32, .06), 0 14px 40px rgba(43, 38, 32, .1);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248, 239, 223, .9);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 1px 3px rgba(43,38,32,.18); }
.brand b { font: 600 24px/1 var(--font-display); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav .link { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav .link:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--font-body); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--card); }
.btn-primary:hover { background: #3a332b; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--card); }
.btn, .brand b { white-space: nowrap; }
@media (max-width: 640px) { .nav .link { display: none; } }
@media (max-width: 360px) { .brand b { font-size: 20px; } .nav .btn { padding: 0 14px; } }

/* ---------- breadcrumb (shared pattern across savedelete.com app pages) ---------- */
.sd-crumbs { max-width: 1080px; margin: 0 auto; padding: 14px 20px 2px;
  font: 500 14px/1.45 var(--font-body); color: inherit; opacity: .75; }
.sd-crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.sd-crumbs a:hover { opacity: .75; }
.sd-crumbs .sd-sep { margin: 0 .45em; opacity: .55; }
.sd-crumbs .sd-cur { font-weight: 600; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font: 700 12px/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font: 600 13px/1 var(--font-body); color: var(--ink-2); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 4px rgba(165, 96, 63, .16); }
h1 { font: 600 clamp(46px, 7.4vw, 82px)/1.02 var(--font-display); letter-spacing: -.01em; margin: 22px 0 18px; }
h1 em { font-style: italic; color: var(--terracotta); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.appstore { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  border-radius: 14px; background: var(--ink); color: var(--card); text-decoration: none; }
.appstore svg { width: 24px; height: 24px; }
.appstore .t { display: flex; flex-direction: column; line-height: 1.1; }
.appstore small { font-size: 11px; opacity: .8; }
.appstore b { font-size: 18px; font-weight: 600; }
.appstore.soon { background: transparent; color: var(--ink); border: 1px dashed var(--line-strong); cursor: default; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.meta b { color: var(--ink); font-weight: 600; }

.stage { position: relative; display: flex; justify-content: center; }
.stage::before { content: ""; position: absolute; inset: 8% -6% auto auto; width: 280px; height: 280px; border-radius: 50%;
  background: var(--olive); opacity: .9; }
.stage::after { content: ""; position: absolute; left: -4%; bottom: 6%; width: 190px; height: 190px; border-radius: 50%;
  background: var(--terracotta); opacity: .9; }
.phone { position: relative; z-index: 1; width: min(300px, 78vw); border-radius: 46px; padding: 10px; background: #1d1a16;
  box-shadow: 0 30px 70px rgba(43, 38, 32, .28); }
.phone img { display: block; width: 100%; height: auto; border-radius: 37px; }

/* ---------- spec strip ---------- */
.specs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.specs .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; padding-top: 16px; padding-bottom: 16px;
  font-size: 14px; color: var(--ink-2); }
.specs b { color: var(--ink); }
.specs .sd { width: 4px; height: 4px; border-radius: 50%; background: var(--sand); }

/* ---------- sections ---------- */
.block { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-2); margin: 10px 0 0; }
.title { font: 600 clamp(34px, 5vw, 50px)/1.08 var(--font-display); margin: 10px 0 0; }

.shot-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 12px; }
.shot-strip figure { margin: 0; scroll-snap-align: start; }
.shot-strip img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot-strip figcaption { text-align: center; color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .sw { display: flex; margin-bottom: 18px; }
.feature .sw i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--card); margin-right: -8px;
  box-shadow: 0 0 0 1px var(--line-strong); }
.feature h3 { font: 600 26px/1.15 var(--font-display); margin: 0 0 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }
.feature.wide { grid-column: span 2; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } .feature.wide { grid-column: auto; } }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan.free { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.plan h3 { font: 700 13px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 12px; }
.plan .n { font: 600 44px/1 var(--font-display); }
.plan .u { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.plans-note { color: var(--ink-3); font-size: 14px; margin-top: 18px; max-width: 46em; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--font-display); color: var(--terracotta); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

.help { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.help .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.help h3 { font: 600 24px/1.2 var(--font-display); margin: 0 0 8px; }
.help p { margin: 0 0 10px; color: var(--ink-2); font-size: 16px; }
.help p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .help { grid-template-columns: 1fr; } }
a.inline { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 2px; }

.cta-band { text-align: center; background: var(--ink); color: var(--card); border-radius: 28px; padding: 56px 24px; }
.cta-band .cta-icon { border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.cta-band h2 { font: 600 clamp(34px, 5vw, 48px)/1.1 var(--font-display); margin: 18px 0 10px; }
.cta-band p { color: rgba(255, 253, 248, .72); max-width: 36em; margin: 0 auto 24px; }
.cta-band .cta-row { justify-content: center; }
.cta-band .appstore.soon { color: var(--card); border-color: rgba(255, 253, 248, .35); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; }
.site-footer .wrap:first-child { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer .about p { color: var(--ink-2); font-size: 15px; max-width: 26em; }
.site-footer h4 { font: 700 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 12px; }
.site-footer .fl { display: block; text-decoration: none; color: var(--ink-2); margin: 0 0 8px; font-size: 15px; }
.site-footer .fl:hover { color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line);
  margin-top: 28px; padding-top: 20px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .site-footer .wrap:first-child { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* ---------- privacy page ---------- */
.legal-page { padding: 40px 0 40px; }
.legal-page .wrap { max-width: 760px; }
.legal-page .back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.legal-page h1 { font-size: clamp(44px, 7vw, 64px); margin: 22px 0 6px; }
.legal-page .updated { color: var(--ink-3); margin: 0 0 26px; }
.legal-page .summary { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--terracotta);
  border-radius: 14px; padding: 18px 22px; color: var(--ink-2); }
.legal-page .summary b { color: var(--ink); }
.legal-page h2 { font: 600 30px/1.2 var(--font-display); margin: 40px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .stage { margin-top: 8px; }
  .block { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
