:root {
  --bg: #FFFDF9;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --surface-warm: #FFF7ED;
  --ink: #0F172A;
  --ink-muted: #334155;
  --ink-soft: #475569;
  --border: #E2E8F0;
  --brand: #B91C1C;
  --brand-dark: #881337;
  --brand-soft: #FEF2F2;
  --gold: #B45309;
  --gold-bright: #F59E0B;
  --gold-soft: #FEF3C7;
  --success: #15803D;
  --success-soft: #F0FDF4;
  --focus: #0284C7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px -15px rgba(15, 23, 42, 0.14);
  --font: 'Heebo', 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 16px;
  background: var(--ink);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
}

.main-nav a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
}

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 20px 20px;
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 4px;
  border-bottom: 1px solid var(--surface-alt);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
  min-height: 46px;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
  min-height: 40px;
}

/* Hero */
.hero {
  padding: 44px 0 56px;
  background:
    radial-gradient(circle at 15% 20%, rgba(185, 28, 28, 0.08), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.12), transparent 40%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 44px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  background: var(--gold-soft);
  color: #78350F;
  border: 1px solid #FDE68A;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.3vw, 3.1rem);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-highlight {
  color: var(--brand);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  margin: 0 0 24px;
  max-width: 60ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.trust-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card-preview {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  border: 2px solid #334155;
  position: relative;
}

.card-suit-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #FCD34D;
  font-weight: 700;
  margin-bottom: 14px;
}

.preview-verse {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 16px;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.preview-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  color: #CBD5E1;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* Cards Grids */
.grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.occasion-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.occasion-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.occasion-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.occasion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.occasion-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Sample Gallery */
.sample-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sample-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--ink-muted);
}

.tag-brand {
  background: var(--brand-soft);
  border-color: #FECACA;
  color: var(--brand-dark);
}

.lyrics-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  white-space: pre-line;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink);
}

.sample-audio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
}

/* Pricing */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.pricing-card.featured {
  border-color: var(--brand);
  border-width: 2px;
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF5F5 100%);
}

.popular-pill {
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}

.price-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.96rem;
}

.check-mark {
  color: var(--success);
  font-weight: 900;
  flex-shrink: 0;
}

.guarantee-banner {
  margin-top: 24px;
  background: var(--success-soft);
  border: 1.5px solid #86EFAC;
  color: #14532D;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
}

/* Wizard Form */
.wizard-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .wizard-wrap { padding: 36px; }
}

.wizard-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.step-pill {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.step-pill.active {
  background: var(--brand);
  color: #FFFFFF;
  border-color: var(--brand);
}

.form-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label, .field-legend {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
}

.field-hint {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #FFFFFF;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--focus);
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.choice-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.choice-option {
  position: relative;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice-option label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface-alt);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
}

.choice-option input:checked + label {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.choice-option input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.form-status {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status.error {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  color: #991B1B;
}

.form-status.success {
  background: var(--success-soft);
  border: 1.5px solid #86EFAC;
  color: #14532D;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 4px 18px;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 800;
  font-size: 1.03rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.35rem;
  color: var(--brand);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-body {
  padding: 0 0 16px;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* Footer */
.site-footer {
  background: #0F172A;
  color: #E2E8F0;
  padding: 44px 0 28px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}

@media (min-width: 780px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 0.9fr 1fr; }
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #FFFFFF;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer a {
  color: #FDE68A;
}

.site-footer a:hover {
  color: #FFFFFF;
}

.cancel-highlight {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  background: rgba(185, 28, 28, 0.25);
  color: #FFFFFF !important;
  font-weight: 700;
  text-decoration: none;
}

.business-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #475569;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
  color: #CBD5E1;
  line-height: 1.7;
}

.legal-main {
  padding: 44px 0 64px;
}

.legal-article {
  max-width: 840px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .legal-article { padding: 40px; }
}

.legal-article h1 {
  margin-top: 0;
  font-size: 2rem;
}

.legal-article h2 {
  margin-top: 28px;
  font-size: 1.25rem;
  color: var(--brand-dark);
}

.notice-box {
  background: var(--gold-soft);
  border: 1.5px solid #F59E0B;
  color: #78350F;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 18px 0;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .header-inner { min-height: 62px; gap: 8px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm {
    padding: 6px 10px;
    font-size: 0.82rem;
    min-height: 38px;
    white-space: nowrap;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .container {
    padding-inline: 16px;
  }
}

/* Seasonal banner (toggled via assets/config.js) */
.seasonal-banner {
  background: #1E3A8A;
  color: #FFFFFF;
  border-bottom: 3px solid #F59E0B;
}
.seasonal-banner[hidden] { display: none !important; }
.seasonal-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding-block: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.seasonal-banner-inner p {
  margin: 0;
  flex: 1 1 220px;
  line-height: 1.5;
}
.seasonal-banner-inner a {
  color: #0F172A;
  background: #FDE68A;
  text-decoration: none;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 10px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.seasonal-banner-inner a:hover { color: #0F172A; background: #FCD34D; }
.seasonal-dismiss {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.55);
  background: transparent;
  color: #FFFFFF;
  border-radius: 10px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.seasonal-dismiss:hover { background: rgba(255,255,255,0.12); }

/* SEO landing pages */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: #94A3B8; }
.landing-hero { padding: 36px 0 20px; }
.landing-hero h1 { margin: 0 0 14px; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; }
.landing-prose { max-width: 760px; }
.landing-prose p { font-size: 1.05rem; color: var(--ink-muted); }
.related-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
.related-grid a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
}
.related-grid a:hover { border-color: var(--brand); color: var(--brand-dark); }
.related-grid a span { display: block; font-weight: 500; color: var(--ink-muted); font-size: 0.88rem; margin-top: 4px; }

/* Delivery page virality watermark */
.made-with {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1.5px dashed #F59E0B;
  background: var(--gold-soft);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.made-with-mark {
  font-weight: 800;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 1.02rem;
}
.made-with-mark:hover { color: var(--brand); }
.made-with p { margin: 0; color: #78350F; font-size: 0.92rem; }

/* Pre-launch waitlist (toggled via assets/config.js prelaunch: true) */
.prelaunch-banner {
  background: #7C2D12;
  color: #FFF7ED;
  border-bottom: 3px solid #F59E0B;
}
.prelaunch-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding-block: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.prelaunch-banner-inner p { margin: 0; flex: 1 1 240px; line-height: 1.5; }
.prelaunch-banner a { color: #FDE68A; }
.prelaunch-banner a:hover { color: #FFFFFF; }
.prelaunch-note {
  background: #FFF7ED;
  border: 1.5px solid #F59E0B;
  color: #7C2D12;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-weight: 700;
}
