/* Star Chart marketing site — shared styles */
:root {
  --pink: #ff4fa3;
  --pink-deep: #e83a8f;
  --purple: #7c5cff;
  --violet: #a855f7;
  --sun: #ffb800;
  --ink: #3b2a52;
  --ink-soft: #6b5a85;
  --bg: #fff7fb;
  --card: #ffffff;
  --line: #f3d9ea;
  --grad: linear-gradient(100deg, #ff6ec4 0%, #ff4fa3 45%, #a855f7 100%);
  --grad-soft: linear-gradient(160deg, #fff0f7 0%, #f3e8ff 55%, #e0f2fe 100%);
  --radius: 24px;
  --shadow: 0 10px 30px rgba(232, 58, 143, 0.12);
  --shadow-lg: 0 24px 60px rgba(124, 92, 255, 0.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4 { font-family: "Fredoka", "Nunito", sans-serif; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.3em 0; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 0.5em; font-weight: 600; }
h3 { font-size: 1.25rem; margin: 1.4em 0 0.4em; font-weight: 600; }
p { margin: 0.7em 0; }
a { color: var(--pink-deep); }
img { max-width: 100%; height: auto; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* accents */
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--violet); background: #f3e8ff;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 10px;
}
.center { text-align: center; }
.sub { color: var(--ink-soft); font-size: 1.1rem; max-width: 640px; }
.center .sub { margin-left: auto; margin-right: auto; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 251, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav-links a:hover { color: var(--pink-deep); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; text-align: center; font-family: "Fredoka", sans-serif;
  font-weight: 600; border-radius: 999px; padding: 14px 30px; font-size: 1.05rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 10px 24px rgba(232, 58, 143, 0.35); }
.btn-ghost { background: #fff; color: var(--purple) !important; border: 2px solid #e6ddff; }
.btn-sm { padding: 10px 20px; font-size: 0.95rem; }

/* hero */
.hero { background: var(--grad-soft); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; padding-top: 40px; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 10px 0 0; list-style: none; color: var(--ink-soft); font-weight: 700; font-size: 0.92rem; }
.hero-trust li::before { content: "✓ "; color: #16a34a; font-weight: 900; }
/* hero social-proof review strip */
.hero-reviews {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(243, 217, 234, 0.65);
  border-radius: 16px;
  padding: 14px 18px 12px;
  max-width: 480px;
}
.hero-reviews-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-reviews-label {
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 8px;
}
.hero-reviews-quote {
  font-size: 0.88rem;
  color: var(--ink);
  margin: 0 0 6px;
  padding: 0;
  font-style: italic;
  line-height: 1.45;
  border: none;
}
.hero-reviews-quote:last-child { margin-bottom: 0; }
.hero-reviews-quote cite { font-style: normal; font-weight: 700; color: var(--ink-soft); font-size: 0.82rem; }
.hero-shot { position: relative; text-align: center; }
.phone-frame {
  display: inline-block; padding: 12px; border-radius: 40px; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.phone-frame img { display: block; border-radius: 30px; width: min(310px, 78vw); }
.floaty { position: absolute; font-size: 2rem; animation: floaty 3.5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) {
  .floaty { animation: none; }
  .btn, .btn:hover { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* sections */
section { padding: 72px 0; }
section:nth-of-type(even) { background: #fff; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }

/* trust strip */
.trust-strip { background: var(--ink); color: #fff; padding: 18px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-weight: 800; font-size: 0.95rem; }
.trust-strip span { opacity: 0.95; }

/* cards & grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .emoji { font-size: 2.1rem; display: block; margin-bottom: 8px; }
.card h3 { margin-top: 0; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0; }

/* steps */
.step { position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--grad); color: #fff; font-family: "Fredoka", sans-serif;
  font-weight: 600; font-size: 1.2rem; margin-bottom: 12px;
}

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: start; }
@media (max-width: 960px) { .shots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; } }
.shot { text-align: center; }
.shot img { border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shot figcaption { font-weight: 700; color: var(--ink-soft); margin-top: 12px; font-size: 0.95rem; }
.wide-shot { margin: 48px auto 0; text-align: center; }
.wide-shot img { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }

/* download */
.download-box {
  background: var(--grad-soft); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 44px 30px; text-align: center; box-shadow: var(--shadow);
}
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }
.store-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 22px; min-width: 190px;
}
.store-badge small { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.store-badge strong { font-family: "Fredoka", sans-serif; font-size: 1.15rem; font-weight: 600; }
.store-badge.soon { opacity: 0.65; }
.store-badge.soon small { color: #ffd166; opacity: 1; }

/* avatar studio demo */
.studio {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center;
  max-width: 940px; margin: 0 auto;
}
@media (max-width: 760px) { .studio { grid-template-columns: 1fr; gap: 24px; } }
.studio-stage {
  background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px; text-align: center;
}
.studio-stage img { width: min(320px, 70vw); height: auto; display: inline-block; }
.control-group { margin-bottom: 22px; }
.control-group h3 { margin: 0 0 10px; font-size: 1.05rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: "Fredoka", sans-serif; font-weight: 500; font-size: 0.98rem; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 9px 20px;
  cursor: pointer; transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.chip:hover { transform: translateY(-2px); border-color: #f0abd8; }
.chip:active { transform: scale(0.95); }
.chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.swatch {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; cursor: pointer;
  box-shadow: 0 0 0 2px var(--line); transition: transform 0.12s ease, box-shadow 0.12s ease;
  padding: 0; font-size: 0;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--pink); transform: scale(1.12); }
.control-group.is-disabled { opacity: 0.4; pointer-events: none; }
.studio-note { color: var(--ink-soft); font-size: 0.95rem; }
@media (prefers-reduced-motion: reduce) {
  .chip, .chip:hover, .swatch, .swatch:hover { transition: none; transform: none; }
}

/* guides */
.guide-card { display: flex; flex-direction: column; text-decoration: none; transition: transform 0.15s ease; }
.guide-card:hover { transform: translateY(-4px); }
.guide-card h3 { color: var(--ink); }
.guide-card .more { margin-top: auto; padding-top: 14px; font-weight: 800; color: var(--pink-deep); font-size: 0.95rem; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 6px 22px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.06rem;
  padding: 12px 0; list-style: none; position: relative; padding-right: 34px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--pink); font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--ink-soft); margin-top: 0; padding-bottom: 14px; }
.learn-more { font-weight: 800; white-space: nowrap; }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; text-align: center; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--pink-deep) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.cta-band .sub { color: rgba(255, 255, 255, 0.92); }

/* footer */
.site-footer { background: #2c1f42; color: #cfc3e6; padding: 56px 0 32px; font-size: 0.95rem; }
.site-footer a { color: #f0abd8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #453567; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.85rem; }

/* ---------- guide article pages ---------- */
.article-hero { background: var(--grad-soft); padding: 56px 0 44px; }
.breadcrumbs { font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pink-deep); }
article.guide { padding: 48px 0 24px; }
article.guide h2 { margin-top: 1.8em; font-size: 1.7rem; }
article.guide ul, article.guide ol { padding-left: 1.3em; }
article.guide li { margin-bottom: 0.5em; }
article.guide table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.97rem; }
article.guide th, article.guide td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
article.guide th { font-family: "Fredoka", sans-serif; font-weight: 600; background: #fff0f7; }
.app-callout {
  background: var(--grad-soft); border: 2px solid #f0c9e4; border-radius: var(--radius);
  padding: 26px 28px; margin: 2em 0; box-shadow: var(--shadow);
}
.app-callout h2, .app-callout h3 { margin-top: 0.2em; }
.tip {
  background: #fefce8; border-left: 5px solid var(--sun); border-radius: 12px;
  padding: 14px 18px; margin: 1.4em 0; font-size: 0.98rem;
}
.related { padding: 30px 0 70px; }
.related h2 { text-align: center; margin-bottom: 30px; }
