/* Here: Daily Audio Affirmations — site styles */
:root {
  --ink: #1e1240;
  --ink-soft: #4a3f6b;
  --accent: #6c5ce7;
  --accent-deep: #5546c8;
  --lavender: #a99bef;
  --bg: #f7f5ff;
  --card: #ffffff;
  --line: #e6e1fa;
  --hero-grad: radial-gradient(120% 120% at 80% 0%, #45308f 0%, #2a1a55 45%, #1e1240 100%);
  --radius: 20px;
  --shadow: 0 10px 40px rgba(30, 18, 64, .10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--accent-deep); }
@media (max-width: 720px) { .site-nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff !important;
  font-weight: 600; text-decoration: none;
  padding: 12px 24px; border-radius: 999px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 20px rgba(108, 92, 231, .35);
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn.small { padding: 9px 18px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 2px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-deep) !important; }
.appstore-badge { display: inline-block; transition: transform .15s ease, opacity .15s ease; }
.appstore-badge:hover { transform: translateY(-2px); opacity: .92; }
.appstore-badge svg { display: block; height: 56px; width: auto; }

/* Hero */
.hero { background: var(--hero-grad); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #c9befc; }
.hero .lede { font-size: 1.15rem; color: #d8d2f5; max-width: 34em; margin-bottom: 28px; }
.hero-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-proof { display: flex; gap: 26px; flex-wrap: wrap; color: #b9aef0; font-size: .9rem; padding-bottom: 56px; }
.hero-proof strong { color: #fff; display: block; font-size: 1.05rem; }
.hero-phone { align-self: end; margin-bottom: -6px; }
.hero-phone img { width: min(320px, 80%); margin: 0 auto; border-radius: 32px 32px 0 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, .45); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede, .hero-phone img { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-proof { justify-content: center; }
}

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 10px; }

/* Screenshots rail */
.shots { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shots-rail { display: flex; gap: 20px; overflow-x: auto; padding: 8px 24px 24px; scroll-snap-type: x mandatory; max-width: 1100px; margin: 0 auto; }
.shots-rail figure { flex: 0 0 232px; scroll-snap-align: center; }
.shots-rail img { border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.shots-rail figcaption { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .icon { font-size: 1.5rem; margin-bottom: 10px; }
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

/* Guide cards */
.guides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: var(--ink); display: block;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lavender); }
.guide-card .icon { font-size: 1.6rem; margin-bottom: 12px; }
.guide-card h3 { font-size: 1.02rem; margin-bottom: 6px; line-height: 1.35; }
.guide-card p { color: var(--ink-soft); font-size: .88rem; }
.guide-card .more { display: inline-block; margin-top: 12px; color: var(--accent-deep); font-weight: 600; font-size: .88rem; }
@media (max-width: 980px) { .guides-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .guides-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; }
.faq-list summary { cursor: pointer; font-weight: 600; padding: 16px 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.4rem; color: var(--accent); font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 0 18px; color: var(--ink-soft); }
.faq-list .answer a { font-weight: 600; }

/* Big CTA */
.cta { background: var(--hero-grad); color: #fff; text-align: center; border-radius: 28px; padding: 72px 32px; margin: 0 24px; }
.cta-outer { max-width: 1100px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 14px; }
.cta p { color: #d8d2f5; max-width: 36em; margin: 0 auto 30px; }

/* Footer */
.site-footer { padding: 56px 0 40px; color: var(--ink-soft); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { color: var(--ink); font-size: .95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-deep); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Guide article pages */
.article-hero { background: var(--hero-grad); color: #fff; padding: 64px 0 56px; }
.article-hero .crumbs { font-size: .85rem; color: #b9aef0; margin-bottom: 18px; }
.article-hero .crumbs a { color: #d8d2f5; text-decoration: none; }
.article-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; max-width: 20em; }
.article-hero .sub { color: #d8d2f5; margin-top: 16px; max-width: 40em; font-size: 1.05rem; }
.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 24px; }
.article h2 { font-size: 1.5rem; margin: 44px 0 14px; letter-spacing: -.01em; }
.article h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.article p { margin-bottom: 16px; color: #33285c; }
.article ul, .article ol { margin: 0 0 16px 22px; color: #33285c; }
.article li { margin-bottom: 8px; }
.affirm-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin: 20px 0; box-shadow: var(--shadow); }
.affirm-list ol { margin: 0 0 0 20px; }
.affirm-list li { font-style: italic; color: var(--ink); margin-bottom: 10px; }
.article .tip { background: #efeaff; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 20px 0; font-size: .95rem; }
.article-shot { float: right; width: 240px; margin: 6px 0 18px 28px; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 640px) { .article-shot { float: none; margin: 20px auto; } }
.inline-cta { background: var(--hero-grad); color: #fff; border-radius: var(--radius); padding: 32px; margin: 40px 0; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.inline-cta .txt { flex: 1 1 300px; }
.inline-cta h3 { margin: 0 0 6px; }
.inline-cta p { color: #d8d2f5; margin: 0; font-size: .95rem; }
.related { max-width: 760px; margin: 0 auto; padding: 0 24px 72px; }
.related h2 { font-size: 1.3rem; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
