/* ============================================================
   Noteable — modern marketing site
   Brand: purple wordmark + gold accent, warm cream surfaces
   Dependency-free. Mobile-first.
   ============================================================ */

:root {
  --purple:       #7a2e8e;
  --purple-deep:  #561f66;
  --purple-soft:  #f3eaf6;
  --gold:         #f4b71e;
  --gold-deep:    #c9920a;
  --green:        #1f9d57;
  --maroon:       #7a1f2b;
  --ink:          #221426;
  --ink-soft:     #5a4d61;
  --line:         #e7dcec;
  --bg:           #ffffff;
  --bg-soft:      #faf5fc;
  --cream:        #fdf6e9;
  --white:        #ffffff;
  --shadow-sm:    0 1px 3px rgba(34,20,38,.08), 0 1px 2px rgba(34,20,38,.06);
  --shadow-md:    0 8px 24px rgba(86,31,102,.12);
  --shadow-lg:    0 20px 50px rgba(86,31,102,.22);
  --radius:       14px;
  --radius-lg:    22px;
  --maxw:         1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
}
.section--purple h2, .section--purple h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; font-weight: 700; color: var(--purple);
  background: var(--purple-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section--purple .eyebrow { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--purple-deep); }
.btn-gold { background: var(--gold); color: #3a2a05; box-shadow: 0 8px 20px rgba(244,183,30,.35); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-ghost:hover { background: var(--purple-soft); }
.section--purple .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.section--purple .btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 88px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.5rem;
  color: var(--purple); letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand .note { color: var(--gold); font-size: 1.35rem; }
.brand img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a:not(.btn) {
  color: var(--ink); font-weight: 600; font-size: .98rem; padding: 8px 12px;
  border-radius: 8px;
}
.nav-links a:not(.btn):hover { background: var(--purple-soft); color: var(--purple); text-decoration: none; }
.nav-links a.active { color: var(--purple); }
.nav-cta { display: flex; gap: 10px; margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; color: var(--purple);
}
.nav-toggle svg { width: 100%; height: 100%; }

@media (max-width: 940px) {
  .nav { height: 72px; }
  .brand img { height: 46px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 22px 22px;
    gap: 6px; box-shadow: var(--shadow-md); transform: translateY(-130%);
    transition: transform .25s ease; margin-left: 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { padding: 12px; font-size: 1.05rem; }
  .nav-cta { flex-direction: column; margin-left: 0; margin-top: 8px; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 72px; background:
  radial-gradient(1200px 500px at 80% -10%, var(--purple-soft), transparent 60%),
  radial-gradient(900px 400px at 0% 110%, #fff6e0, transparent 55%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 .hl { color: var(--purple); }
.hero .lead { font-size: 1.25rem; margin-bottom: 28px; }
.hero-note { color: var(--gold); }
.hero-art { position: relative; }
.hero-art img { border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero-badges { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink-soft); font-weight: 600; }
.hero-badge .tick { color: var(--green); font-weight: 900; }
.floaty { position: absolute; font-size: 2.4rem; color: var(--gold); opacity: .55; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row, .hero-badges { justify-content: center; }
}

/* ---------- feature cards ---------- */
.grid { display: grid; gap: 22px; }
.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: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--purple-soft); color: var(--purple); font-size: 1.5rem; margin-bottom: 14px;
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* feature checklist */
.checklist { list-style: none; padding: 0; columns: 2; column-gap: 40px; }
.checklist li { break-inside: avoid; padding: 7px 0 7px 30px; position: relative; }
.checklist li::before {
  content: "♪"; position: absolute; left: 0; top: 6px; color: var(--gold);
  font-weight: 900; font-size: 1.1rem;
}
@media (max-width: 640px) { .checklist { columns: 1; } }

/* ---------- carousel ---------- */
.carousel { position: relative; max-width: 860px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); background:#000; }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.4,.0,.2,1); }
.carousel-slide { min-width: 100%; }
.carousel-slide img { width: 100%; }
.carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px;
  background: linear-gradient(transparent, rgba(34,20,38,.82)); color: #fff;
  font-weight: 700; border-radius: 0 0 var(--radius) var(--radius); pointer-events: none;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--purple); font-size: 1.4rem; font-weight: 900;
  box-shadow: var(--shadow-md); display: grid; place-items: center; transition: background .15s;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }
.carousel-dots { display: flex; gap: 9px; justify-content: center; margin-top: 18px; }
.carousel-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line); cursor: pointer; transition: background .15s, transform .15s; }
.carousel-dots button.active { background: var(--purple); transform: scale(1.25); }
@media (max-width: 920px) {
  .carousel-btn.prev { left: 6px; } .carousel-btn.next { right: 6px; }
}

/* ---------- testimonial rotator ---------- */
.quotes { position: relative; min-height: 210px; max-width: 760px; margin: 0 auto; }
.quote {
  position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease;
  display: flex; flex-direction: column; justify-content: center; pointer-events: none;
}
.quote.active { opacity: 1; pointer-events: auto; }
.quote .stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 14px; }
.quote blockquote { font-size: 1.3rem; line-height: 1.5; margin: 0 0 14px; font-weight: 500; }
.section--purple .quote blockquote { color: #fff; }
.quote cite { font-style: normal; font-weight: 700; opacity: .85; }
.quote .who::before { content: "— "; }

/* ---------- screenshot gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.shot {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background:#fff;
  cursor: zoom-in; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.shot figcaption { padding: 12px 14px; font-weight: 700; font-size: .95rem; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(20,8,24,.9); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-cap { color:#fff; text-align:center; margin-top: 14px; font-weight: 700; }
.lightbox-close {
  position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}
.lightbox figure { margin: 0; }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; background:#fff; }
table.compare th, table.compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
table.compare th:first-child, table.compare td:first-child { text-align: left; font-weight: 600; }
table.compare thead th {
  background: var(--purple); color: #fff; font-size: .95rem; position: sticky; top: 0;
}
table.compare thead th small { display:block; font-weight: 500; opacity: .85; font-size: .8rem; }
table.compare thead th.pop { background: var(--purple-deep); }
table.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
table.compare .grp td { background: var(--cream); font-weight: 800; text-align: left; color: var(--maroon); }
.yes { color: var(--green); font-weight: 900; }
.no  { color: #c9bcce; }
.lim { color: var(--gold-deep); font-weight: 700; }

/* ---------- pricing / plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan {
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative;
}
.plan.featured { border: 2px solid var(--purple); box-shadow: var(--shadow-md); }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color:#3a2a05; font-weight: 800; font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
}
.plan h3 { font-size: 1.4rem; margin-bottom: 10px; }
/* two-tier price block: prominent amount + small muted qualifier */
.plan .price { display: flex; flex-direction: column; gap: 3px; margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan .price .amt { font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.05; }
.plan .price .sub { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }

/* inline Easy Song logo — sits on the text baseline, scales with surrounding type */
.es-logo { height: 1.05em; width: auto; vertical-align: -0.16em; display: inline-block; }
.plan .price .sub .es-logo { height: 1.3em; vertical-align: -0.3em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan ul li { padding: 8px 0 8px 28px; position: relative; color: var(--ink-soft); border-top: 1px solid var(--line); }
.plan ul li:first-child { border-top: 0; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.plan .btn { width: 100%; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n {
  counter-increment: step; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple); color:#fff; font-weight: 800; display: grid; place-items: center; font-size: 1.15rem;
}
.step .n::before { content: counter(step); }
.step h3 { margin-bottom: 3px; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background:#fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px;
  padding: 4px 20px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--purple); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p:last-child { margin-bottom: 16px; }
.faq details p { color: var(--ink-soft); }

/* ---------- split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 820px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* prose */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose p { color: var(--ink); }

/* callout */
.callout { background: var(--purple-soft); border-left: 4px solid var(--purple); border-radius: 10px; padding: 18px 22px; margin: 22px 0; }
.callout.warn { background: #fff6e0; border-color: var(--gold-deep); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d8cfdd; padding: 56px 0 30px; }
.site-footer a { color: #e7d9ee; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand img { height: 46px; width: auto; display: block; }
.site-footer h4 { color:#fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .muted { color: #9b8da3; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #9b8da3; }

/* utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.muted { color: var(--ink-soft); }
