/* SongTales marketing site — shared styles */
:root {
  --blue: #23aee9;
  --blue-deep: #0e83c4;
  --blue-darker: #0a6ba3;
  --sky: #eaf7fe;
  --sky-soft: #f6fcff;
  --ink: #143a55;
  --ink-soft: #3f6079;
  --coral: #f4744e;
  --coral-dark: #e05e38;
  --yellow: #ffc64d;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(14, 131, 196, 0.16);
  --shadow-soft: 0 4px 16px rgba(20, 58, 85, 0.1);
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4, .brand-font {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.overflow-x { overflow-x: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dff1fb;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-link img { width: 40px; height: 40px; border-radius: 10px; }
.logo-link span { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: 0.5px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: 0.95rem; }
.main-nav a:hover { color: var(--blue-deep); }
.main-nav .btn { color: var(--white); }
@media (max-width: 760px) { .main-nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--coral);
  color: var(--white) !important;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700; font-size: 1.05rem;
  padding: 13px 28px; border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--coral-dark), 0 12px 24px rgba(224, 94, 56, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--coral-dark), 0 8px 18px rgba(224, 94, 56, 0.3); }
.btn.btn-ghost {
  background: var(--white); color: var(--blue-deep) !important;
  box-shadow: 0 6px 0 #cfe8f6, 0 12px 24px rgba(14, 131, 196, 0.18);
}
.btn.btn-small { padding: 9px 20px; font-size: 0.95rem; box-shadow: 0 4px 0 var(--coral-dark); }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--white); text-decoration: none;
  padding: 10px 20px; border-radius: 14px; line-height: 1.2;
  box-shadow: var(--shadow-soft);
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 0.68rem; opacity: 0.85; }
.store-badge strong { font-size: 1.05rem; font-family: "Baloo 2", sans-serif; }
.store-badge.disabled { opacity: 0.55; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #4fd0f5 0%, var(--blue) 45%, var(--blue-deep) 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: center; padding-top: 64px; padding-bottom: 72px;
}
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; } }
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-weight: 800;
  font-size: 0.8rem; opacity: 0.9; margin-bottom: 10px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; max-width: 34em; margin-bottom: 28px; opacity: 0.96; }
.hero .hero-art img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(8, 62, 94, 0.4); }
.hero .trust-line { margin-top: 18px; font-size: 0.92rem; opacity: 0.9; }
.cloud {
  position: absolute; background: rgba(255, 255, 255, 0.14);
  border-radius: 999px; filter: blur(2px); pointer-events: none;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--sky-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white); border: 1px solid #e2f2fb; border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft); text-align: center;
}
.step .num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--sky); color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: "Baloo 2", sans-serif; font-size: 1.5rem; font-weight: 800;
}
.step h3 { margin-bottom: 8px; font-size: 1.2rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature {
  display: flex; gap: 16px; background: var(--white);
  border: 1px solid #e2f2fb; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-soft);
}
.feature .emoji { font-size: 1.9rem; flex: none; }
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Screenshots ---------- */
.shots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shots figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.shots figure:hover { transform: translateY(-4px) rotate(-0.5deg); }
.shots img { width: 100%; }
.banner-shot { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Guide cards ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card {
  display: block; background: var(--white); text-decoration: none;
  border: 1px solid #e2f2fb; border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-soft); color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--blue-deep); }
.guide-card p { color: var(--ink-soft); font-size: 0.95rem; }
.guide-card .more { display: inline-block; margin-top: 10px; font-weight: 800; color: var(--coral); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid #e2f2fb; border-radius: var(--radius-sm);
  padding: 6px 22px; margin-bottom: 12px; box-shadow: var(--shadow-soft);
}
.faq summary {
  cursor: pointer; font-family: "Baloo 2", sans-serif; font-weight: 700;
  font-size: 1.06rem; padding: 12px 0; list-style: none; position: relative; padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--coral); font-size: 1.5rem; font-family: "Baloo 2", sans-serif;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 16px; color: var(--ink-soft); }
.faq .answer a { font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white); text-align: center; border-radius: var(--radius);
  padding: 56px 32px; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { max-width: 36em; margin: 0 auto 26px; opacity: 0.95; }
.cta-band .store-badges { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bcd6e8; padding: 56px 0 32px; margin-top: 72px; font-size: 0.94rem; }
.site-footer a { color: #dfeefa; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); margin-bottom: 12px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; text-align: center; font-size: 0.85rem; opacity: 0.8; }

/* ---------- Guide article pages ---------- */
.article-hero {
  background: linear-gradient(160deg, #4fd0f5 0%, var(--blue) 55%, var(--blue-deep) 100%);
  color: var(--white); padding: 56px 0;
}
.article-hero .crumbs { font-size: 0.88rem; margin-bottom: 14px; opacity: 0.92; }
.article-hero .crumbs a { color: var(--white); }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 20em; }
.article-hero p.sub { margin-top: 12px; max-width: 38em; font-size: 1.1rem; opacity: 0.95; }
.article { max-width: 780px; margin: 0 auto; padding: 56px 24px; }
.article h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.article h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.article p, .article li { color: #2b4d66; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article .tip {
  background: var(--sky); border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0;
}
.article .prompt-box {
  background: var(--white); border: 2px dashed var(--blue);
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 18px 0;
  font-style: italic; color: var(--ink);
}
.article-cta {
  background: var(--sky); border-radius: var(--radius);
  padding: 30px 28px; margin: 40px 0 8px; text-align: center;
}
.article-cta h3 { margin: 0 0 8px; }
.article-cta p { margin-bottom: 18px; }
.article img.inline-shot { border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); margin: 20px auto; max-width: 320px; }
.related { margin-top: 44px; padding-top: 24px; border-top: 1px solid #e2f2fb; }
.related h2 { margin-top: 0; }
.related ul { list-style: none; margin-left: 0; }
.related li { margin-bottom: 10px; }
.related a { font-weight: 700; }
