/* Palette derived from Hutarka's store screenshots: deep indigo chrome (#1E1839),
   warm yellow word-chips/CTAs (#FFC933), periwinkle phrase bubbles (#ABA3E3),
   violet sparkle accents. Bold geometric sans throughout, matching the app. */
:root {
  --cream: #f6f4fc;
  --cream-deep: #eae6f8;
  --ink: #1e1839;
  --card: #241d46;
  --card-2: #2c2454;
  --yellow: #ffc933;
  --yellow-deep: #f0b722;
  --rust: #5b4bc4;
  --muted: #5f5980;
  --muted-dark: #b3abdd;
  --radius: 20px;
  --serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rust); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .brand { font-family: var(--serif); font-weight: 800; letter-spacing: -0.015em; }

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1.2; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.35em; }

.accent { color: var(--rust); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 252, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 24, 57, 0.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; }
.nav-links a { color: var(--ink); text-decoration: none; opacity: 0.75; }
.nav-links a:hover { opacity: 1; }
.nav-links .btn { opacity: 1; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 14px 28px; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 6px 22px rgba(240, 183, 34, 0.45);
}
.btn-primary:hover { background: var(--yellow-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2c2454; }
.btn small { display: block; font-weight: 400; font-size: 0.72rem; opacity: 0.7; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-copy p.lead { font-size: 1.2rem; color: var(--muted); margin: 20px 0 28px; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-proof { margin-top: 22px; font-size: 0.95rem; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-proof strong { color: var(--ink); }
.stars { color: var(--rust); letter-spacing: 2px; }
.hero-phone { position: relative; text-align: center; }
.hero-phone img {
  width: min(320px, 80%); margin: 0 auto; border-radius: 36px;
  box-shadow: 0 30px 60px rgba(30, 24, 57, 0.32);
}
@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-phone { order: -1; }
  .hero-phone img { width: min(260px, 70%); }
}

/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-kicker {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
  font-weight: 700; color: var(--rust); margin-bottom: 10px;
}
.section-sub { color: var(--muted); max-width: 42em; margin-bottom: 36px; }

/* ---------- screenshots ---------- */
.shots { background: var(--ink); color: var(--cream); }
.shots h2 { color: var(--cream); }
.shots .section-kicker { color: var(--yellow); }
.shots .section-sub { color: var(--muted-dark); }
.shot-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, 62vw);
  gap: 20px; overflow-x: auto; padding: 8px 4px 20px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shot-rail figure { scroll-snap-align: start; }
.shot-rail img { border-radius: 24px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.shot-rail figcaption { font-size: 0.88rem; color: var(--muted-dark); margin-top: 10px; text-align: center; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fffdfa; border: 1px solid rgba(30, 24, 57, 0.07);
  border-radius: var(--radius); padding: 26px;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); font-weight: 800; font-size: 1.1rem;
  align-items: center; justify-content: center; margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); color: var(--cream); border-radius: var(--radius); padding: 26px;
}
.feature h3 { color: var(--yellow); }
.feature p { color: var(--muted-dark); font-size: 0.95rem; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* ---------- guides ---------- */
.guide-group { margin-bottom: 40px; }
.guide-cat { color: var(--rust); font-size: 1.1rem; margin: 0 0 16px; text-transform: none; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.guide-card {
  background: #fffdfa; border: 1px solid rgba(30, 24, 57, 0.07);
  border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 24, 57, 0.12); }
.guide-card .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--rust); margin-bottom: 10px;
}
.guide-card p { color: var(--muted); font-size: 0.95rem; }
.guide-card .more { color: var(--rust); font-weight: 700; font-size: 0.92rem; }
@media (max-width: 720px) { .guide-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details {
  background: #fffdfa; border: 1px solid rgba(30, 24, 57, 0.07);
  border-radius: 14px; padding: 6px 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--rust); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--cream); text-align: center; border-radius: 28px; padding: 64px 32px; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--muted-dark); max-width: 36em; margin: 12px auto 28px; }

/* ---------- footer ---------- */
.site-footer { padding: 48px 0 64px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer h4 { color: var(--ink); font-size: 0.95rem; margin-bottom: 4px; }

/* ---------- article / guide pages ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 56px 24px 24px; }
.article header { margin-bottom: 32px; }
.article .breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.article .breadcrumbs a { color: var(--muted); }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.2em; }
.article p, .article li { color: #3a3457; }
.article ul, .article ol { padding-left: 1.3em; margin: 0.6em 0 1em; }
.article table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95rem; }
.article th, .article td { border: 1px solid rgba(30, 24, 57, 0.14); padding: 9px 12px; text-align: left; }
.article th { background: var(--cream-deep); }
.article .table-scroll { overflow-x: auto; }
.article-cta {
  background: var(--card); color: var(--cream); border-radius: var(--radius);
  padding: 28px; margin: 2.2em 0;
}
.article-cta h3 { color: var(--yellow); margin-top: 0; }
.article-cta p { color: var(--muted-dark); }
.article-cta .btn { margin-top: 14px; }
.article .shot-inline { width: min(300px, 90%); border-radius: 22px; margin: 1.4em auto; box-shadow: 0 16px 36px rgba(30, 24, 57, 0.26); }
.related { max-width: 720px; margin: 0 auto; padding: 0 24px 64px; }
.related h2 { font-size: 1.3rem; }
.related ul { list-style: none; padding: 0; }
.related li { margin: 8px 0; }
