:root {
  --bg: #fbf8f2;
  --ink: #17223b;
  --navy: #1b2a4a;
  --navy-2: #0e1830;
  --gold: #c8973f;
  --gold-light: #f0c674;
  --muted: #6b7185;
  --muted-2: #9aa1b5;
  --card: #ffffff;
  --parchment: #fbf6ee;
  --line: #ece3d0;
}

* { box-sizing: border-box; }

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }

html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 1rem; }

/* -------- Header -------- */
.site-header {
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(23, 34, 59, 0.06);
}

.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.brand {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.2px;
}

.brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-block;
}

.brand .brand-gold { color: var(--gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(23, 34, 59, 0.12);
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-size: 1.1rem;
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

.nav-block {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.3rem;
  border-radius: 12px;
}

.nav-block a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 9px;
  font-size: 0.98rem;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.nav-block a:hover { background: rgba(200, 151, 63, 0.1); color: var(--navy); }

.nav-block a.active {
  background: var(--navy);
  color: var(--gold-light);
}

/* -------- Hero -------- */
.hero { padding: 3.4rem 0 2.4rem; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 151, 63, 0.18);
}

.hero-copy h1 {
  font-size: 2.9rem;
  line-height: 1.14;
  margin: 0 0 1rem;
}

.hero-copy h1 .accent {
  background: linear-gradient(100deg, var(--gold) 0%, #a06a1f 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc { color: var(--muted); margin: 0.6rem 0; max-width: 54ch; }

.cta-row { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }

.btn { display: inline-block; text-decoration: none; }

.btn.store {
  background: transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  transition: transform 220ms cubic-bezier(.2,.9,.3,1), filter 220ms ease;
}

.btn.store:hover { transform: translateY(-3px); filter: brightness(1.06); }
.btn.store img { height: 56px; width: auto; }

.trust-row {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.6rem;
  color: var(--muted-2);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.trust-row span { display: inline-flex; align-items: center; gap: 0.4rem; }

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

.phone-frame {
  width: 100%;
  max-width: 300px;
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* -------- Sections general -------- */
section { padding: 2.6rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-head h2 { font-size: 2rem; margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); margin: 0; }

/* -------- Features -------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.feature {
  background: var(--card);
  padding: 1.4rem 1.3rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform 260ms cubic-bezier(.2,.9,.3,1), box-shadow 260ms ease, border-color 260ms ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(14, 24, 48, 0.1);
  border-color: rgba(200, 151, 63, 0.35);
}

.feature .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: linear-gradient(135deg, #fdf1da, #f6e2b8);
  margin-bottom: 0.85rem;
}

.feature .feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 { margin: 0 0 0.4rem; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* -------- Screenshots -------- */
.screenshots { background: linear-gradient(180deg, transparent, rgba(27,42,74,0.02) 20%, rgba(27,42,74,0.02) 80%, transparent); }

.shots { display: flex; flex-direction: column; gap: 3rem; }

.shot {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 940px;
  margin: 0 auto;
}

.shot.left { flex-direction: row; }
.shot.right { flex-direction: row-reverse; }

.shot img {
  flex: 0 0 240px;
  width: 100%;
  max-width: 240px;
  border-radius: 26px;
  transition: transform 420ms cubic-bezier(.2,.9,.3,1);
}

.shot:hover img { transform: translateY(-6px) rotate(-1deg); }
.shot.right:hover img { transform: translateY(-6px) rotate(1deg); }

.shot-text { flex: 1 1 auto; }
.shot-text .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200, 151, 63, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.shot-text h3 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.shot-text p { margin: 0; color: var(--muted); }

/* -------- Download CTA -------- */
.download-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 28px;
  color: #f2f0e8;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(240, 198, 116, 0.18), transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(240, 198, 116, 0.12), transparent 50%);
}

.download-cta > * { position: relative; z-index: 1; }
.download-cta h2 { color: #fbf8f2; }
.download-cta p { max-width: 560px; margin: 0 auto 1.2rem; color: #c8cfe0; }

.store-stack { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }

.download-cta .btn.store {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(240, 198, 116, 0.28);
  border-radius: 12px;
  padding: 8px 12px;
}

/* -------- FAQ -------- */
.faq-list { display: grid; gap: 0.7rem; max-width: 760px; margin: 0 auto; }

.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8973f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 260ms ease;
}

.faq-list details[open] summary::after { transform: rotate(180deg); }

.faq-list details p {
  margin: 0 1.2rem 1.05rem;
  color: var(--muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.faq-list details[open] p { opacity: 1; transform: translateY(0); }

/* -------- Footer -------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
  color: var(--muted);
  text-align: center;
  background: var(--parchment);
}

.footer-links { margin-bottom: 0.9rem; font-size: 0.95rem; }
.footer-links a { color: var(--muted); text-decoration: none; margin: 0 0.4rem; }
.footer-links a:hover { color: var(--navy); text-decoration: underline; }

.footer-disclaimer {
  font-size: 0.8rem;
  color: #7c8296;
  margin: 1rem auto 0;
  max-width: 720px;
  line-height: 1.55;
}

.meta-line { margin: 0.28rem 0; font-size: 0.92rem; }
.meta-line a { color: var(--muted); }

/* -------- Content pages (privacy/terms) -------- */
.content { padding: 2.4rem 0 1rem; max-width: 760px; margin: 0 auto; }
.content h1 { font-size: 2.2rem; margin-bottom: 0.4rem; }
.content .updated { color: var(--muted-2); font-size: 0.88rem; margin-bottom: 2rem; }
.content h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.content h3 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; }
.content p, .content li { color: var(--muted); }
.content ul, .content ol { padding-left: 1.2rem; }
.content blockquote {
  margin: 1rem 0;
  padding: 0.7rem 1rem;
  border-left: 3px solid var(--gold);
  background: var(--parchment);
  color: var(--ink);
}
.content hr { border: none; border-top: 1px solid var(--line); margin: 1.6rem 0; }
.content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.content th, .content td { text-align: left; padding: 0.5rem 0.6rem; border: 1px solid var(--line); color: var(--muted); }
.content th { color: var(--navy); background: var(--parchment); }

/* -------- Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.16,.84,.22,1), transform 700ms cubic-bezier(.16,.84,.22,1);
  will-change: opacity, transform;
}
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

/* -------- Responsive -------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 2.3rem; }
  .hero-media { order: -1; }
}

@media (max-width: 720px) {
  .shot, .shot.right { flex-direction: column; text-align: left; gap: 1.2rem; }
  .shot img { max-width: 220px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }

  .nav-block {
    position: fixed;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 4.4rem 1rem 1rem;
    background: var(--bg);
    box-shadow: 0 16px 40px rgba(14,24,48,0.14);
    transform: translateY(-110%);
    transition: transform 0.28s ease;
    z-index: 1200;
  }

  .nav-block.open { transform: translateY(0); }
  .nav-block a { padding: 0.9rem 1rem; }

  .nav-close {
    position: fixed;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 1301;
    background: transparent;
    border: 0;
    font-size: 1.3rem;
    color: var(--navy);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(14, 24, 48, 0.4);
    z-index: 1100;
  }

  .hero-copy h1 { font-size: 2rem; }
  .download-cta { padding: 2.2rem 1.2rem; border-radius: 20px; }
}

@media (min-width: 641px) {
  .nav-toggle { display: none; }
}
