:root {
  --bg: #FBF5F2;
  --bg-alt: #F3E9E4;
  --card: #FFFDFC;
  --text: #2A2129;
  --muted: #6b5c63;
  --muted-2: #8a7a80;
  --muted-3: #9c8d94;
  --accent: #FA408C;
  --accent-dark: #E0367A;
  --grad: linear-gradient(135deg, #FA408C, #E6C78C);
  --border-soft: rgba(42, 33, 41, .06);
  --border: rgba(42, 33, 41, .08);
  --border-strong: rgba(42, 33, 41, .1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.page { min-height: 100vh; background: var(--bg); color: var(--text); overflow-x: hidden; position: relative; }

/* Announcement bar */
.announce-bar {
  background: var(--grad); color: #fff; text-align: center;
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 16px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(251,245,242,.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff; flex: none;
}
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.site-nav a.current { color: var(--text); }
.site-nav a.dim { color: var(--muted-3); }
.nav-pricing { display: inline; }
.btn-download {
  background: var(--grad); color: #fff; padding: 10px 20px; border-radius: 12px; font-size: 13px;
  font-weight: 600; border: none; cursor: pointer;
}

/* Decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.blob-1 { top: -140px; left: -160px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(250,64,140,.20), transparent 70%); }
.blob-2 { top: 280px; right: -200px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(230,199,140,.28), transparent 70%); }

/* Hero */
.hero { position: relative; padding: 120px 48px 96px; text-align: center; }
.hero-holding { padding: 140px 48px 160px; }
.hero-eyebrow { position: relative; font-size: 25px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.hero-title { position: relative; font-weight: 800; letter-spacing: -.03em; font-size: clamp(38px, 6.2vw, 64px); line-height: 1.08; margin-top: 20px; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero-desc { position: relative; font-size: 18px; font-weight: 500; color: var(--muted); margin-top: 22px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.hero-btn-row { position: relative; display: flex; gap: 14px; justify-content: center; margin-top: 34px; }
.btn-primary {
  background: var(--grad); color: #fff; font-weight: 700; font-size: 16px; padding: 17px 30px;
  border-radius: 16px; border: none; cursor: pointer; display: inline-block;
}
.btn-secondary {
  background: #fff; border: 1px solid var(--border-strong); color: var(--text);
  font-weight: 600; font-size: 16px; padding: 17px 30px; border-radius: 16px; cursor: pointer;
}
.hero-shot { position: relative; margin: 56px auto 0; width: 260px; height: 562px; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }

/* Value grid */
.values { position: relative; padding: 100px 48px; background: var(--bg-alt); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1180px; margin: 0 auto; }
.value-card { background: var(--card); border-radius: 14px; padding: 26px; }
.value-tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.value-title { font-weight: 700; font-size: 17px; margin-top: 16px; }
.value-desc { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* Split sections */
.split { padding: 110px 48px; background: var(--bg); display: flex; gap: 64px; align-items: center; max-width: 1180px; margin: 0 auto; flex-wrap: wrap; }
.split.alt { background: var(--bg-alt); flex-wrap: wrap-reverse; }
.split-copy { flex: 1; min-width: 340px; }
.stats-copy { flex: none; width: 440px; }
.split-eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .05em; text-transform: uppercase; }
.split-title { font-weight: 800; font-size: 40px; line-height: 1.15; margin-top: 14px; letter-spacing: -.02em; }
.split-desc { font-size: 16px; color: var(--muted); margin-top: 16px; line-height: 1.6; max-width: 420px; }
.split-shot { flex: none; width: 260px; height: 562px; }
.split-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; }
.tag-row { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.tag { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; }

.import-note {
  margin-top: 20px; display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 14px; padding: 14px 18px; max-width: 420px;
  box-shadow: 0 8px 20px rgba(42,33,41,.08);
}
.import-note-icon { flex: none; display: flex; }
.import-note span { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }

.streak-card { margin-top: 32px; background: var(--card); border-radius: 14px; padding: 26px; max-width: 420px; display: flex; align-items: center; gap: 24px; }
.streak-ring {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg 260deg, var(--bg-alt) 260deg 360deg);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.streak-ring-inner { width: 66px; height: 66px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: var(--text); }
.streak-label { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.streak-value { font-size: 15px; font-weight: 600; color: var(--text); margin-top: 4px; }
.calendar-caption { font-size: 11px; font-weight: 600; color: var(--muted-2); margin: 16px 0 6px; }
.calendar-grid { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; max-width: 420px; }
.calendar-cell { width: 100%; padding-top: 100%; border-radius: 3px; }

.stats-highlights-caption { font-size: 11px; font-weight: 600; color: var(--muted-2); margin: 24px 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.stats-highlights { display: flex; gap: 8px; max-width: 420px; }
.stats-highlights img {
  width: 25%; min-width: 0; height: 110px; object-fit: cover; object-position: top;
  border-radius: 10px; box-shadow: 0 8px 20px rgba(42,33,41,.12);
}
.stats-highlights img.stats-shot-left { object-position: left top; }

.stats-pro { flex: none; width: 256px; }
.stats-pro-label { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .05em; text-transform: uppercase; }
.stats-pro-shots { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.stats-pro-shots img {
  width: 100%; height: auto; display: block;
  border-radius: 10px; box-shadow: 0 8px 20px rgba(42,33,41,.12);
}

.stats-highlights img, .stats-pro-shots img {
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.stats-highlights img:hover, .stats-pro-shots img:hover,
.stats-highlights img:focus-visible, .stats-pro-shots img:focus-visible {
  transform: translateY(-3px); box-shadow: 0 14px 30px rgba(42,33,41,.2);
}

.lightbox {
  position: fixed; inset: 0; background: rgba(20,15,18,.75); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  padding: 40px; opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 100;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(640px, 90vw); max-height: 88vh; width: auto; height: auto;
  border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.lightbox-close {
  position: absolute; top: 24px; right: 28px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

.quote-card { margin-top: 32px; background: var(--card); border-radius: 14px; padding: 26px; max-width: 420px; border-left: 3px solid #8C59BF; }
.quote-text { font-size: 16px; font-style: italic; color: var(--text); line-height: 1.6; }
.quote-attr { font-size: 13px; font-weight: 600; color: var(--muted-2); margin-top: 14px; }

/* Themes */
.theme-toggle {
  display: inline-flex; margin-top: 28px; padding: 4px; background: var(--card);
  border-radius: 999px; gap: 2px;
}
.theme-toggle-btn {
  border: none; background: transparent; cursor: pointer; padding: 9px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted); font-family: inherit;
}
.theme-toggle-btn.active { background: var(--text); color: var(--bg); }

.swatch-row { display: flex; gap: 12px; justify-content: flex-start; margin-top: 20px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; padding: 0; }
.swatch.active { border-color: var(--text); }
.swatch-name {
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); min-height: 1.2em;
}

.theme-demo-shot { position: relative; box-shadow: 0 20px 50px rgba(42,33,41,.16); border-radius: 36px; overflow: hidden; }
.theme-demo-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .18s ease;
}
.theme-demo-shot img.is-swapping { opacity: 0; }

/* Pro */
.pro { padding: 110px 48px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); text-align: center; }
.pro-intro { max-width: 640px; margin: 0 auto; }
.pro-title { font-weight: 800; font-size: 40px; line-height: 1.15; margin-top: 14px; letter-spacing: -.02em; }
.pro-desc { font-size: 16px; color: var(--muted); margin: 16px auto 0; line-height: 1.6; max-width: 480px; }

.pro-devices { max-width: 720px; margin: 44px auto 0; }
.pro-devices img { width: 100%; height: auto; display: block; }

.pro-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px auto 0; max-width: 1180px;
}
.pro-tile {
  background: var(--card); border-radius: 14px; padding: 28px; display: flex; flex-direction: column;
  gap: 14px; text-align: left;
}
.pro-tile-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.pro-tile-shot { width: 100%; height: 150px; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 8px 20px rgba(42,33,41,.1); }
.pro-tile-title { font-weight: 700; font-size: 16px; color: var(--text); }
.pro-tile-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

.pro-tile.featured { grid-column: span 2; background: var(--grad); color: #fff; justify-content: center; }
.pro-tile.featured .pro-tile-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.pro-tile.featured .pro-tile-title { color: #fff; font-size: 24px; }
.pro-tile.featured .pro-tile-desc { color: rgba(255,255,255,.88); font-size: 15px; max-width: 420px; }

.icon-swatch-row { display: flex; gap: 6px; }
.icon-swatch-row span { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }

/* Pricing */
.pricing { padding: 120px 48px; background: var(--bg); text-align: center; }
.pricing-title { font-weight: 800; font-size: 40px; margin-top: 16px; letter-spacing: -.02em; }
.pricing-desc { font-size: 16px; color: var(--muted); margin-top: 12px; }
.pricing-cards { display: flex; gap: 28px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.price-card { width: 320px; background: var(--card); border-radius: 20px; padding: 36px; text-align: left; }
.price-card.pro { background: var(--grad); color: #fff; }
.price-name { font-weight: 700; font-size: 19px; }
.price-tagline { font-size: 15px; color: var(--muted); margin-top: 6px; }
.price-card.pro .price-tagline { color: rgba(255,255,255,.85); }
.price-value { margin-top: 24px; font-size: 38px; font-weight: 800; }
.price-period { font-size: 16px; font-weight: 600; color: var(--muted-2); }
.price-card.pro .price-period { color: rgba(255,255,255,.75); }
.price-btn { display: block; margin-top: 28px; font-weight: 600; font-size: 15px; padding: 15px; border-radius: 14px; text-align: center; }
.price-card:not(.pro) .price-btn { background: var(--bg-alt); color: var(--text); }
.price-card.pro .price-btn { background: #fff; color: var(--accent); font-weight: 700; }
.pricing-note {
  max-width: 560px; margin: 36px auto 0; background: var(--bg-alt); border-radius: 14px;
  padding: 20px 24px; font-size: 14px; color: var(--muted); line-height: 1.6; text-align: left;
}
.pricing-note strong { color: var(--text); }

/* CTA */
.cta { position: relative; padding: 130px 48px; text-align: center; overflow: hidden; background: var(--bg-alt); }
.cta-icon { position: relative; width: 76px; height: 76px; border-radius: 22px; background: var(--grad); margin: 0 auto 32px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cta-icon img { width: 100%; height: 100%; object-fit: cover; }
.cta-title { position: relative; font-weight: 800; font-size: 44px; letter-spacing: -.02em; }
.cta-sub { position: relative; font-size: 17px; color: var(--muted); margin-top: 14px; }
.cta-btn-row { position: relative; display: flex; gap: 14px; justify-content: center; margin-top: 32px; }

/* Footer */
.site-footer { padding: 56px 48px; background: var(--bg-alt); border-top: 1px solid var(--border-soft); }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1180px; margin: 0 auto; flex-wrap: wrap; gap: 32px; }
.footer-brand-row { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand-row:hover .footer-brand-name { color: var(--accent); }
.footer-brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; }
.footer-brand-name { font-weight: 700; font-size: 14px; color: var(--text); }
.footer-copy { font-size: 13px; color: var(--muted-2); margin-top: 10px; }
.footer-links { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted-3); }
.footer-disclaimer {
  max-width: 1180px; margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px; line-height: 1.6; color: var(--muted-3);
}
.cross-promo { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; max-width: 300px; }
.cross-promo-label { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.cross-promo-title { font-size: 15px; font-weight: 700; color: var(--text); margin-top: 4px; }

/* Legal pages */
.legal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 48px; border-bottom: 1px solid var(--border-soft); }
.legal-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.legal-nav a { color: var(--muted); }
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 80px 32px 120px; }
.legal-eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .05em; text-transform: uppercase; }
.legal-title { font-weight: 800; font-size: 42px; letter-spacing: -.02em; margin-top: 14px; }
.legal-updated { font-size: 15px; color: var(--muted); margin-top: 12px; }
.legal-body { margin-top: 48px; display: flex; flex-direction: column; gap: 36px; font-size: 16px; line-height: 1.75; color: #3a2f34; }
.legal-body h2 { font-weight: 700; font-size: 19px; color: var(--text); margin: 0 0 8px; }
.legal-body ul { padding-left: 20px; margin: 10px 0; }
.legal-footer { padding: 40px 48px; border-top: 1px solid var(--border-soft); font-size: 13px; color: var(--muted-2); text-align: center; }

@media (max-width: 680px) {
  .site-header, .legal-header { padding: 14px 18px; }
  .site-nav { gap: 12px; font-size: 12px; }
  .nav-pricing { display: none; }
  .btn-download { padding: 8px 14px; font-size: 12px; }
  .hero { padding: 88px 20px 64px; }
  .hero-title { font-size: clamp(26px, 8.4vw, 40px); }
  .hero-desc { font-size: 16px; }
  .hero-btn-row { flex-direction: column; }
  .value-grid { grid-template-columns: 1fr; }
  .split, .split.alt { padding: 72px 20px; gap: 32px; }
  .split-title { font-size: 30px; }
  .split-shot { width: 100%; height: 440px; max-width: 320px; margin: 0 auto; }
  .split.alt .split-copy { order: 1; }
  .split.alt .split-shot { order: 2; }
  .stats-copy { width: 100%; }
  .stats-pro { order: 3; width: 100%; max-width: 320px; margin: 24px auto 0; }
  .pro { padding: 72px 20px; }
  .pro-title { font-size: 30px; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-tile.featured { grid-column: span 1; }
  .pricing { padding: 80px 20px; }
  .pricing-title { font-size: 32px; }
  .price-card { width: 100%; }
  .cta { padding: 88px 20px; }
  .cta-title { font-size: 32px; }
  .footer-row { flex-direction: column; }
}
