/* ============================================================
   ARFA WEDCRAFT — site styles
   Palette: espresso #16110d · gold #c8a24e · ivory #f4ecdd · rose #b76e79
   Fonts: Cormorant Garamond (display) · Jost (UI/body) · Great Vibes (brand)
   ============================================================ */

:root {
  --bg: #16110d;
  --bg-raise: #211a13;
  --bg-card: #1c1610;
  --gold: #c8a24e;
  --gold-bright: #e6c477;
  --ivory: #f4ecdd;
  --ivory-dim: rgba(244, 236, 221, 0.68);
  --rose: #b76e79;
  --line: rgba(200, 162, 78, 0.22);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.site-html { background-color: var(--bg); scroll-behavior: smooth; }

.site-body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(200, 162, 78, 0.07), transparent),
    var(--bg);
  color: var(--ivory);
  min-height: 100dvh;
  line-height: 1.55;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.15; text-wrap: balance; }

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(22, 17, 13, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; }
.brand-script { font-family: 'Great Vibes', cursive; font-size: 1.7rem; color: var(--gold-bright); line-height: 1; }
.brand-caps { font-family: 'Jost', sans-serif; font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ivory); font-weight: 500; }

.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-bright); }

.nav-actions { display: flex; gap: 0.6rem; align-items: center; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.4rem;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #241a08;
  box-shadow: 0 6px 22px rgba(200, 162, 78, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200, 162, 78, 0.4); }
.btn-ghost { border-color: var(--line); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Sections ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.section-pad { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.section-heading { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-top: 0.7rem; }
.section-sub { color: var(--ivory-dim); max-width: 38rem; margin-top: 0.8rem; font-size: 1.02rem; text-wrap: pretty; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

.ornament-row { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin: 1.2rem 0; }
.ornament-row span { display: block; width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament-row span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament-row i { display: block; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Hero ---------- */
.hero-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem clamp(3rem, 7vw, 5rem);
  gap: 1.2rem;
}
.hero-script { font-family: 'Great Vibes', cursive; font-size: clamp(1.6rem, 4.5vw, 2.3rem); color: var(--gold-bright); font-weight: 400; }
.hero-title { font-size: clamp(2.5rem, 7vw, 4.3rem); max-width: 18ch; }
.hero-title em { font-style: italic; color: var(--gold-bright); }
.hero-sub { color: var(--ivory-dim); max-width: 42rem; font-size: clamp(1rem, 2.4vw, 1.15rem); text-wrap: pretty; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; margin-top: 0.6rem; }
.hero-note { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.08em; }

.hero-stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); margin-top: 1.8rem; flex-wrap: wrap; justify-content: center; }
.hero-stat { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-stat b { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold-bright); font-weight: 600; }
.hero-stat span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); }

/* ---------- Template explorer ---------- */
.tpl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .tpl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tpl-grid { grid-template-columns: repeat(3, 1fr); } }

.tpl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.tpl-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }

.tpl-thumb {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.tpl-thumb .tpl-names { font-family: 'Great Vibes', cursive; font-size: 1.9rem; line-height: 1.1; z-index: 1; }
.tpl-thumb .tpl-sub { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; z-index: 1; }
.tpl-thumb::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid currentColor;
  opacity: 0.28;
  border-radius: 10px;
}

.tpl-tag {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(22, 17, 13, 0.75);
  color: var(--gold-bright);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.tpl-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.tpl-name { font-size: 1.35rem; }
.tpl-desc { font-size: 0.88rem; color: var(--ivory-dim); flex: 1; text-wrap: pretty; }
.tpl-actions { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.tpl-actions .btn { padding: 0.5rem 1.1rem; font-size: 0.72rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 2.4rem; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem; background: var(--bg-card); display: flex; flex-direction: column; gap: 0.5rem; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold); font-weight: 600; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: 0.88rem; color: var(--ivory-dim); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.4rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 0.9rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); align-items: flex-start; }
.feature svg { flex-shrink: 0; color: var(--gold); margin-top: 0.15rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.feature p { font-size: 0.85rem; color: var(--ivory-dim); }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 2.4rem; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; background: var(--bg-card); }
.compare-col.highlight { border-color: var(--gold); background: linear-gradient(180deg, rgba(200, 162, 78, 0.08), transparent), var(--bg-card); }
.compare-col h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.compare-col li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--ivory-dim); align-items: flex-start; }
.compare-col li::before { content: '✕'; color: var(--rose); font-size: 0.8rem; margin-top: 0.15rem; }
.compare-col.highlight li { color: var(--ivory); }
.compare-col.highlight li::before { content: '✓'; color: var(--gold-bright); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2.6rem; align-items: stretch; }
@media (min-width: 860px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.price-card.popular { border-color: var(--gold); box-shadow: 0 16px 50px rgba(200, 162, 78, 0.14); }
.popular-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #241a08;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-plan { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.price-amount { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; line-height: 1; }
.price-amount small { font-size: 1rem; color: var(--ivory-dim); font-family: 'Jost', sans-serif; font-weight: 300; }
.price-tagline { font-size: 0.88rem; color: var(--ivory-dim); font-style: italic; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.price-list li { display: flex; gap: 0.55rem; font-size: 0.88rem; color: var(--ivory-dim); align-items: flex-start; }
.price-list li::before { content: '✓'; color: var(--gold-bright); margin-top: 0.05rem; }

/* ---------- FAQ (CSS-only animated accordion) ---------- */
.faq { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 0.8rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-card); overflow: hidden; transition: border-color 0.3s ease; }
.faq-item:has(.faq-check:checked) { border-color: var(--gold); }
.faq-check { position: absolute; opacity: 0; pointer-events: none; }
.faq-q {
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-q::after { content: '+'; color: var(--gold); font-size: 1.3rem; font-family: 'Jost', sans-serif; font-weight: 300; transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.5, 1); }
.faq-item:has(.faq-check:checked) .faq-q::after { transform: rotate(225deg); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item:has(.faq-check:checked) .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 1.3rem 1.2rem; font-size: 0.92rem; color: var(--ivory-dim); opacity: 0; transform: translateY(-6px); transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s; }
.faq-item:has(.faq-check:checked) .faq-a p { opacity: 1; transform: translateY(0); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(200, 162, 78, 0.12), transparent),
    var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.cta-band h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); max-width: 24ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 2.6rem 1.5rem 2.2rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.footer-tag { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--ivory-dim); }
.footer-note { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.06em; }
.footer-copy { font-size: 0.75rem; color: var(--ivory-dim); margin-top: 0.6rem; }

/* ---------- Auth & forms ---------- */
.auth-wrap { min-height: calc(100dvh - 140px); display: flex; align-items: center; justify-content: center; padding: 3rem 1.2rem; }
.auth-card { width: 100%; max-width: 420px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: 2.2rem 1.9rem; display: flex; flex-direction: column; gap: 1.1rem; }
.auth-card h1 { font-size: 1.9rem; text-align: center; }
.auth-card .auth-sub { text-align: center; font-size: 0.88rem; color: var(--ivory-dim); margin-top: -0.6rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.field input, .field select, .field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem 0.9rem;
  color: var(--ivory);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 90px; }
.field .hint { font-size: 0.75rem; color: var(--ivory-dim); }

.form-error { background: rgba(183, 110, 121, 0.14); border: 1px solid rgba(183, 110, 121, 0.5); color: #eec3ca; border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.86rem; }
.form-success { background: rgba(200, 162, 78, 0.12); border: 1px solid var(--line); color: var(--gold-bright); border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.86rem; }

.auth-alt { text-align: center; font-size: 0.85rem; color: var(--ivory-dim); }
.auth-alt a { color: var(--gold-bright); }

/* ---------- Dashboard ---------- */
.dash-wrap { max-width: 1080px; margin: 0 auto; padding: 2.2rem clamp(1rem, 4vw, 2rem) 4rem; }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.dash-head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.dash-head .dash-sub { color: var(--ivory-dim); font-size: 0.9rem; margin-top: 0.3rem; }

.slot-pill { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--gold); border-radius: 999px; padding: 0.5rem 1.1rem; font-size: 0.82rem; color: var(--gold-bright); background: rgba(200, 162, 78, 0.08); }
.slot-pill b { font-weight: 600; }

.inv-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 700px) { .inv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .inv-grid { grid-template-columns: repeat(3, 1fr); } }

.inv-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; }
.inv-card h3 { font-size: 1.3rem; }
.inv-meta { display: flex; flex-wrap: wrap; gap: 0.7rem; font-size: 0.78rem; color: var(--ivory-dim); }
.inv-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.inv-status { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.22rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); align-self: flex-start; }
.inv-status.live { color: #9fd8a4; border-color: rgba(122, 199, 130, 0.5); }
.inv-status.draft { color: var(--ivory-dim); }
.inv-status.expired { color: var(--rose); border-color: rgba(183, 110, 121, 0.5); }
.inv-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.3rem; }
.inv-actions .btn { padding: 0.42rem 0.95rem; font-size: 0.68rem; }

.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); padding: 3rem 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.empty-state p { color: var(--ivory-dim); max-width: 30rem; }

/* ---------- Wizard ---------- */
.wizard-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: 1.8rem 1.6rem; margin-bottom: 1.4rem; }
.wizard-card > h2 { font-size: 1.35rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.7rem; }
.wizard-card > h2 .wz-num { font-family: 'Jost', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; color: #241a08; background: var(--gold); width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.row-list { display: flex; flex-direction: column; gap: 0.7rem; }
.row-item { display: flex; gap: 0.6rem; align-items: center; }
.row-item input { flex: 1; }
.row-remove { background: none; border: 1px solid var(--line); color: var(--rose); border-radius: 8px; width: 38px; height: 38px; cursor: pointer; font-size: 1rem; flex-shrink: 0; }
.row-add { align-self: flex-start; background: none; border: 1px dashed var(--gold); color: var(--gold-bright); border-radius: 8px; padding: 0.5rem 1rem; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 0.8rem; letter-spacing: 0.08em; }

.toggle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.7rem; }
.toggle-chip { display: flex; align-items: center; gap: 0.55rem; border: 1px solid var(--line); border-radius: 10px; padding: 0.65rem 0.9rem; cursor: pointer; font-size: 0.85rem; user-select: none; }
.toggle-chip input { accent-color: var(--gold); width: 16px; height: 16px; }

.tpl-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; }
.tpl-pick { position: relative; cursor: pointer; }
.tpl-pick input { position: absolute; opacity: 0; }
.tpl-pick .pick-box { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.tpl-pick input:checked + .pick-box { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200, 162, 78, 0.4); }
.tpl-pick .pick-thumb { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; }
.tpl-pick .pick-thumb .tpl-names { font-family: 'Great Vibes', cursive; font-size: 1.25rem; }
.tpl-pick .pick-thumb .tpl-sub { font-size: 0.55rem; letter-spacing: 0.28em; text-transform: uppercase; }
.tpl-pick .pick-name { padding: 0.5rem 0.7rem; font-size: 0.8rem; text-align: center; background: var(--bg-card); }

.upload-tile { border: 1px dashed var(--line); border-radius: 12px; padding: 1.2rem; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; font-size: 0.85rem; color: var(--ivory-dim); }
.upload-tile img { max-height: 130px; border-radius: 8px; object-fit: cover; }
.upload-thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.upload-thumbs .up-thumb { position: relative; }
.upload-thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.upload-thumbs .up-x { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--rose); color: #fff; border: none; cursor: pointer; font-size: 0.72rem; line-height: 1; }

.wizard-footer { position: sticky; bottom: 0; background: rgba(22, 17, 13, 0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 0.9rem clamp(1rem, 4vw, 2rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; z-index: 40; }
.wizard-footer .save-note { font-size: 0.8rem; color: var(--ivory-dim); }

/* ---------- Inbox ---------- */
.msg-list { display: flex; flex-direction: column; gap: 0.9rem; }
.msg-card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-card); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.msg-top { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.msg-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; }
.rsvp-badge { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); }
.rsvp-badge.yes { color: #9fd8a4; border-color: rgba(122, 199, 130, 0.5); }
.rsvp-badge.no { color: var(--rose); border-color: rgba(183, 110, 121, 0.5); }
.rsvp-badge.maybe { color: var(--gold-bright); }
.msg-text { font-size: 0.92rem; color: var(--ivory-dim); font-style: italic; }
.msg-date { font-size: 0.72rem; color: var(--ivory-dim); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.9rem; margin-bottom: 1.6rem; }
.stat-box { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-card); padding: 1.1rem; text-align: center; }
.stat-box b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: var(--gold-bright); font-weight: 600; }
.stat-box span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); }

/* ---------- Share box ---------- */
.share-box { border: 1px solid var(--gold); border-radius: var(--radius); background: linear-gradient(180deg, rgba(200,162,78,0.09), transparent), var(--bg-card); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; }
.share-link-row { display: flex; gap: 0.6rem; }
.share-link-row input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 10px; padding: 0.65rem 0.9rem; color: var(--gold-bright); font-size: 0.88rem; }

/* ---------- Misc ---------- */
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-dim); text-decoration: none; margin-bottom: 1.2rem; }
.back-link:hover { color: var(--gold-bright); }
.muted { color: var(--ivory-dim); }
.gold-text { color: var(--gold-bright); }

/* ============================================================
   Dashboard v2 (page markup classes)
   ============================================================ */
.hidden { display: none !important; }
.btn-tiny { padding: 0.45rem 1rem; font-size: 0.7rem; }

main.dash { max-width: 1080px; margin: 0 auto; padding: 2.2rem clamp(1rem, 4vw, 2rem) 4rem; width: 100%; }
.dash-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 600; }
.dash-sub { color: var(--ivory-dim); font-size: 0.9rem; margin-top: 0.3rem; }
.dash-section-title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; margin: 2rem 0 1rem; }

.slot-pill strong { font-weight: 600; }
.pill-tag { background: var(--gold); color: #241a08; border-radius: 999px; padding: 0.14rem 0.6rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; }
.pill-link { color: var(--gold-bright); text-decoration: underline; margin-left: 0.3rem; }

.create-card { display: flex; align-items: center; gap: 1.1rem; border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1.3rem 1.5rem; text-decoration: none; color: var(--ivory); background: rgba(200, 162, 78, 0.05); transition: background 0.2s, border-color 0.2s; margin-bottom: 0.6rem; }
.create-card:hover { background: rgba(200, 162, 78, 0.11); }
.create-card.locked { border-style: solid; border-color: var(--line); }
.create-plus { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold-bright); width: 3rem; height: 3rem; border: 1px solid var(--gold); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.create-card strong { display: block; font-size: 1.02rem; }
.create-card em { display: block; font-style: normal; font-size: 0.8rem; color: var(--ivory-dim); margin-top: 0.2rem; }

.inv-swatch { border-radius: 12px; aspect-ratio: 16 / 7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; }
.inv-names-preview { font-family: 'Great Vibes', cursive; font-size: 1.5rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.inv-tpl-name { font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.inv-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.inv-views { font-size: 0.74rem; color: var(--ivory-dim); }
.inv-date { font-size: 0.82rem; color: var(--gold-bright); }
.st-live { color: #9fd8a4; border-color: rgba(122, 199, 130, 0.5); }
.st-draft { color: var(--ivory-dim); }
.st-expired { color: var(--rose); border-color: rgba(183, 110, 121, 0.5); }
.inv-status { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.22rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); }

.publish-banner { border: 1px solid var(--gold); border-radius: var(--radius); background: linear-gradient(180deg, rgba(200,162,78,0.12), transparent), var(--bg-card); padding: 1.4rem 1.5rem; margin-bottom: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.banner-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.share-link { word-break: break-all; }
.share-link a { color: var(--gold-bright); }

.empty-card { border: 1px dashed var(--line); border-radius: var(--radius); padding: 2.6rem 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.empty-card p { color: var(--ivory-dim); max-width: 32rem; }

.inv-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.inv-tab { border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1.1rem; font-size: 0.8rem; color: var(--ivory-dim); text-decoration: none; }
.inv-tab.active { border-color: var(--gold); color: var(--gold-bright); background: rgba(200, 162, 78, 0.08); }

.stat-card { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-card); padding: 1.1rem; text-align: center; display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: var(--gold-bright); font-weight: 600; }
.stat-label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); }

.badge { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); }
.badge-yes { color: #9fd8a4; border-color: rgba(122, 199, 130, 0.5); }
.badge-no { color: var(--rose); border-color: rgba(183, 110, 121, 0.5); }
.msg-body { font-size: 0.92rem; color: var(--ivory); font-style: italic; }
.msg-time { font-size: 0.72rem; color: var(--ivory-dim); }

/* ---------- Wizard v2 ---------- */
.steps-bar { display: flex; gap: 0.4rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 1.6rem; }
.step-dot { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; color: var(--ivory-dim); }
.step-dot.active { border-color: var(--gold); color: var(--gold-bright); background: rgba(200, 162, 78, 0.1); }
.step-dot.done { color: #9fd8a4; border-color: rgba(122, 199, 130, 0.4); }

.wz-step { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: 1.7rem 1.5rem; margin-bottom: 1.2rem; }
.wz-form { display: flex; flex-direction: column; gap: 1.1rem; }
.wz-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .wz-row { grid-template-columns: 1fr 1fr; } }
.wz-form label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 0.4rem; }
.wz-form input:not([type=checkbox]):not([type=file]), .wz-form textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 0.95rem; color: var(--ivory); font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.2s;
}
.wz-form input:focus, .wz-form textarea:focus { border-color: var(--gold); }
.wz-form textarea { resize: vertical; }
.wz-fieldset { border: 1px dashed var(--line); border-radius: 12px; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.8rem; }
.wz-fieldset legend { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); padding: 0 0.5rem; }
.wz-hint { font-size: 0.82rem; color: var(--ivory-dim); }
.wz-error { color: #eec3ca; font-size: 0.86rem; min-height: 1.2rem; }
.wz-nav { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: rgba(22, 17, 13, 0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 0.9rem 0.2rem; z-index: 40; }
.wz-nav-right { display: flex; gap: 0.6rem; }

.dyn-row { display: flex; gap: 0.6rem; align-items: center; }
.dyn-row input { flex: 1; }
.dyn-row-event .ev-desc { flex: 2; }
.dyn-del { background: none; border: 1px solid var(--line); color: var(--rose); border-radius: 8px; width: 36px; height: 36px; cursor: pointer; font-size: 1rem; flex-shrink: 0; }

.wz-upload label { margin-bottom: 0.5rem; }
.upload-zone { border: 1px dashed var(--line); border-radius: 12px; padding: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.upload-zone img { max-height: 120px; border-radius: 8px; object-fit: cover; }
.slide-thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.slide-thumb { position: relative; }
.slide-thumb img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.slide-thumb .dyn-del { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--rose); color: #fff; border: none; font-size: 0.7rem; line-height: 1; }

.tpl-pick-swatch { border-radius: 12px 12px 0 0; aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; border: 1px solid var(--line); border-bottom: none; transition: box-shadow 0.2s; }
.tpl-pick-name { font-family: 'Great Vibes', cursive; font-size: 1.4rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.tpl-pick-tag { font-size: 0.55rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.tpl-pick-foot { display: block; border: 1px solid var(--line); border-top: none; border-radius: 0 0 12px 12px; padding: 0.5rem 0.7rem; font-size: 0.74rem; text-align: center; background: var(--bg-card); }
.tpl-pick-foot a { color: var(--gold-bright); text-decoration: none; }
.tpl-pick input:checked ~ .tpl-pick-swatch, .tpl-pick.picked .tpl-pick-swatch { box-shadow: 0 0 0 2px var(--gold); }

.toggle { display: flex; align-items: center; gap: 0.55rem; border: 1px solid var(--line); border-radius: 10px; padding: 0.65rem 0.9rem; cursor: pointer; font-size: 0.85rem; user-select: none; text-transform: none; letter-spacing: normal; }
.toggle input { accent-color: var(--gold); width: 16px; height: 16px; }
.publish-box { border: 1px solid var(--gold); border-radius: 12px; background: rgba(200, 162, 78, 0.07); padding: 1.1rem 1.2rem; }

/* Photo & music step: device upload or link */
.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-input-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.media-upload-btn { cursor: pointer; }
.media-or { font-size: 0.8rem; color: var(--ivory-dim); font-style: italic; }
.media-status { font-size: 0.82rem; min-height: 1.1rem; margin-top: 0.4rem; color: var(--ivory-dim); }
.media-status.ok { color: #9fd8a4; }
.media-status.err { color: #eec3ca; }

/* "Edit the following" wording rows */
.wording-row { display: flex; flex-direction: column; gap: 0.5rem; }
.wording-toggle { border-style: dashed; }
.wording-input:disabled { opacity: 0.45; cursor: not-allowed; background: rgba(255,255,255,0.02); }
.wording-row textarea.wording-input { min-height: 4.4rem; }

/* ---------- Buy plan page ---------- */
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 1.3rem; }
@media (min-width: 760px) { .plan-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .plan-grid.plan-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.plan-strike { font-size: 1.15rem; color: var(--ivory-dim); font-weight: 400; margin-right: 0.35rem; vertical-align: 0.9rem; }
.plan-flag-alt { background: transparent; border: 1px solid var(--gold); color: var(--gold-bright); }
.gold-text { color: var(--gold-bright); font-weight: 600; }
.plan-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: 0.9rem; }
.plan-card.plan-featured { border-color: var(--gold); box-shadow: 0 16px 50px rgba(200, 162, 78, 0.14); }
.plan-flag { position: absolute; top: -0.7rem; right: 1.2rem; background: var(--gold); color: #241a08; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 999px; padding: 0.3rem 0.9rem; }
.plan-name { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 500; font-family: 'Jost', sans-serif; }
.plan-price { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; line-height: 1; }
.plan-tagline { font-size: 0.88rem; color: var(--ivory-dim); font-style: italic; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; padding: 0; }
.plan-list li { display: flex; gap: 0.55rem; font-size: 0.88rem; color: var(--ivory-dim); align-items: flex-start; }
.plan-list li::before { content: '✓'; color: var(--gold-bright); margin-top: 0.05rem; }
.plan-buy:disabled { opacity: 0.6; cursor: wait; }
.plans-foot { margin-top: 1.4rem; font-size: 0.85rem; color: var(--ivory-dim); font-style: italic; }

/* ============================================================
   Standalone pages (silo structure)
   ============================================================ */
.page-hero { max-width: 820px; margin: 0 auto; padding: clamp(3rem, 8vw, 5rem) 1.5rem 2.6rem; text-align: center; }
.page-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5.5vw, 3.1rem); font-weight: 600; line-height: 1.15; text-wrap: balance; }
.page-sub { margin-top: 1rem; color: var(--ivory-dim); font-size: 1.02rem; line-height: 1.6; text-wrap: pretty; }
.page-sub a { color: var(--gold-bright); }
.link-more { color: var(--gold-bright); text-decoration: none; font-size: 0.92rem; letter-spacing: 0.04em; }
.link-more:hover { text-decoration: underline; }

/* prose (legal & about) */
.prose { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.prose h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; margin: 2rem 0 0.6rem; }
.prose p { color: var(--ivory-dim); font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.9rem; }
.prose a { color: var(--gold-bright); }
.prose strong { color: var(--ivory); }

/* walkthrough (how it works page) */
.walkthrough { list-style: none; max-width: 760px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-direction: column; gap: 2.2rem; }
.walk-step { display: flex; gap: 1.3rem; align-items: flex-start; }
.walk-num { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; width: 3.2rem; height: 3.2rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.walk-step h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; margin-bottom: 0.45rem; }
.walk-step p { color: var(--ivory-dim); font-size: 0.94rem; line-height: 1.65; }
.walk-step a { color: var(--gold-bright); }

/* template grid (partial markup) */
.tpl-swatch { aspect-ratio: 16 / 10; border-radius: 12px 12px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; position: relative; overflow: hidden; }
.tpl-swatch::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(255,255,255,0.1), transparent 60%); }
.tpl-swatch .tpl-names { font-family: 'Great Vibes', cursive; font-size: 1.8rem; line-height: 1.1; z-index: 1; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.tpl-tag-chip { z-index: 1; font-size: 0.56rem; letter-spacing: 0.3em; text-transform: uppercase; border: 1px solid; border-radius: 999px; padding: 0.24rem 0.8rem; }
.tpl-meta { padding: 1rem 1.1rem 1.2rem; text-align: left; display: flex; flex-direction: column; gap: 0.35rem; }
.tpl-meta h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; }
.tpl-meta p { font-size: 0.83rem; color: var(--ivory-dim); line-height: 1.5; }
.tpl-cta { margin-top: 0.45rem; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); }
a.tpl-card { text-decoration: none; color: var(--ivory); display: block; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 2.4rem; text-align: left; }
@media (min-width: 640px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.testi-head { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-bright); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(200, 162, 78, 0.07); }
.testi-head figcaption { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.testi-head b { font-size: 0.92rem; font-weight: 600; }
.testi-head figcaption span { font-size: 0.74rem; color: var(--ivory-dim); }
.testi-stars { color: var(--gold-bright); font-size: 0.8rem; letter-spacing: 0.1em; }
.testi-card blockquote { font-size: 0.9rem; color: var(--ivory-dim); line-height: 1.65; font-style: italic; }

/* contact page */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 1.3rem; max-width: 720px; margin: 0 auto; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); padding: 2rem 1.6rem; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.contact-icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-bright); display: inline-flex; align-items: center; justify-content: center; background: rgba(200, 162, 78, 0.07); }
.contact-card h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; }
.contact-card p { font-size: 0.88rem; color: var(--ivory-dim); }
.contact-note { margin-top: 1.8rem; font-size: 0.86rem; color: var(--ivory-dim); }
.contact-note a { color: var(--gold-bright); }

/* pricing page free banner */
.free-banner { border: 1px solid var(--gold); border-radius: var(--radius); background: linear-gradient(180deg, rgba(200,162,78,0.1), transparent), var(--bg-card); padding: 2rem 1.6rem; margin-bottom: 1.8rem; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; text-align: center; }
.free-banner .plan-tagline { max-width: 34rem; }

/* footer (multi-column) */
/* Mobile-first: everything centered; left-aligned columns only on wide screens. */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; width: 100%; text-align: center; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.footer-col-brand .footer-tag { margin-left: auto; margin-right: auto; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; text-align: left; }
  .footer-col { align-items: flex-start; }
  .footer-col-brand .footer-tag { margin-left: 0; margin-right: 0; }
}
.footer-col h3 { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; font-family: 'Jost', sans-serif; font-weight: 500; }
.footer-col a { font-size: 0.86rem; color: var(--ivory-dim); text-decoration: none; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col-brand .footer-tag { font-size: 0.88rem; max-width: 22rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.5rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ivory-dim); display: inline-flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s; }
.footer-social a:hover { color: var(--gold-bright); border-color: var(--gold); }
.footer-base { display: flex; flex-direction: column; gap: 0.3rem; align-items: center; justify-content: space-between; width: 100%; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.4rem; }
@media (min-width: 640px) { .footer-base { flex-direction: row; } }
.footer-powered { font-size: 0.75rem; color: var(--ivory-dim); }
.footer-powered a { color: var(--gold-bright); text-decoration: none; }
.footer-powered a:hover { text-decoration: underline; }

/* ---------- "Make it for you" concierge band ---------- */
.concierge-band {
  margin-top: 2rem;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(200, 162, 78, 0.07), transparent), var(--bg-card);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.concierge-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; }
.concierge-text p { font-size: 0.9rem; color: var(--ivory-dim); max-width: 34rem; margin-top: 0.4rem; }
.concierge-btn svg { flex-shrink: 0; }
@media (min-width: 760px) {
  .concierge-band { flex-direction: row; justify-content: space-between; text-align: left; }
  .concierge-text p { margin-left: 0; }
}

/* ============================================================
   Mobile hamburger menu (CSS checkbox pattern)
   ============================================================ */
.nav-toggle-check { display: none; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 9px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; flex-shrink: 0; }
.nav-toggle span { display: block; height: 1.5px; background: var(--gold-bright); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle-check:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle-check:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-toggle-check:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  z-index: 49;
  flex-direction: column;
  gap: 1.4rem;
  padding: 1.5rem 1.4rem 1.8rem;
  background: rgba(22, 17, 13, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.nav-drawer-links { display: flex; flex-direction: column; }
.nav-drawer-links a {
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(200, 162, 78, 0.12);
}
.nav-drawer-links a:last-child { border-bottom: none; }
.nav-drawer-actions { display: flex; flex-direction: column; gap: 0.6rem; }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-drawer { display: flex; }
  .nav-toggle-check:checked ~ .nav-drawer { opacity: 1; transform: translateY(0); visibility: visible; }
  /* Desktop actions hidden on mobile: everything lives in the drawer */
  .site-nav .nav-actions { display: none; }
}

/* ============================================================
   Back to top
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 60;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(22, 17, 13, 0.92);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: rgba(200, 162, 78, 0.15); }

/* ============================================================
   Hero CTA attention pop + wiggle (fires once after page load)
   ============================================================ */
@keyframes ctaAttention {
  0% { transform: scale(1) rotate(0deg); }
  12% { transform: scale(1.09) rotate(-2.5deg); }
  24% { transform: scale(1.07) rotate(2.5deg); }
  36% { transform: scale(1.08) rotate(-1.8deg); }
  48% { transform: scale(1.06) rotate(1.4deg); }
  60% { transform: scale(1.07) rotate(-0.8deg); }
  72% { transform: scale(1.03) rotate(0.4deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.cta-attention { animation: ctaAttention 1.3s ease-in-out 2.4s 2; }
@media (prefers-reduced-motion: reduce) { .cta-attention { animation: none; } }

/* ============================================================
   Mobile refinement: slightly smaller everything, better spacing
   ============================================================ */
@media (max-width: 640px) {
  /* Buttons: smaller, never wrap to two lines */
  .btn { padding: 0.52rem 1.1rem; font-size: 0.72rem; letter-spacing: 0.12em; white-space: nowrap; }
  .btn-lg { padding: 0.75rem 1.7rem; font-size: 0.8rem; }
  .btn-tiny { padding: 0.4rem 0.85rem; font-size: 0.64rem; }

  /* Brand slightly smaller so it never collides with the hamburger */
  .brand-script { font-size: 1.45rem; }
  .brand-caps { font-size: 0.68rem; letter-spacing: 0.28em; }

  /* Typography scale-down */
  .hero-title { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .hero-script { font-size: 1.4rem; }
  .hero-sub { font-size: 0.92rem; line-height: 1.6; }
  .section-heading { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .section-sub { font-size: 0.9rem; }
  .page-title { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .page-sub { font-size: 0.92rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.34em; }
  .cta-band h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  /* Cards & content slightly tighter */
  .tpl-meta h3 { font-size: 1.12rem; }
  .tpl-meta p { font-size: 0.78rem; }
  .tpl-swatch .tpl-names { font-size: 1.5rem; }
  .step h3 { font-size: 1.08rem; }
  .step p { font-size: 0.82rem; }
  .feature h3 { font-size: 1rem; }
  .feature p { font-size: 0.8rem; }
  .faq-q { font-size: 1.02rem; padding: 0.9rem 1.1rem; }
  .faq-a p { font-size: 0.85rem; }
  .testi-card blockquote { font-size: 0.84rem; }
  .plan-price { font-size: 2.3rem; }
  .plan-strike { font-size: 0.95rem; vertical-align: 0.65rem; }
  .plan-list li { font-size: 0.82rem; }
  .plan-tagline { font-size: 0.82rem; }
  .plan-card { padding: 1.5rem 1.25rem; }
  .hero-stat b { font-size: 1.4rem; }
  .hero-stat span { font-size: 0.64rem; }

  /* Breathing room between text sections */
  .section-pad { padding: 3rem 0; }
  .hero-landing { gap: 1rem; padding-bottom: 2.5rem; }
  .section-heading { margin-top: 0.55rem; }
  .section-sub { margin-top: 0.7rem; }
  .tpl-grid, .steps, .features, .testi-grid { margin-top: 1.8rem; }
  .plan-grid { margin-top: 1.6rem; }

  /* Plan card content stays LEFT aligned on mobile (per request) */
  .plan-card { text-align: left; }
  .plan-card .plan-list { text-align: left; align-items: stretch; }
  .plan-card .plan-list li { justify-content: flex-start; text-align: left; }
  .plan-card .plan-name, .plan-card .plan-price, .plan-card .plan-tagline { text-align: left; }
}
