/* ============================================================
   SiteBuilder.me, Jimdo-style aesthetic layer
   Overrides Claude-era serif/italic styling from template parts.
   This layer is small on purpose: the real design lives in
   style.css and home-v2.css.
   ============================================================ */

/* ------ Kill leftover serif/italic accents from the template parts ------ */
.v2serif,
.v2serif--italic,
.v2h1,
.v2h2 {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--foreground) !important;
}
.v2serif--italic {
  color: var(--primary) !important;
  font-style: normal !important;
}

/* ------ Eyebrow chip (small uppercase indigo) ------ */
.v2eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
}
.v2eyebrow svg { width: 0.85rem; height: 0.85rem; }

/* ------ Body base ------ */
body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* ------ Headings ------ */
h1, h2, h3, h4, h5, h6,
.v2h1, .v2h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.028em;
  line-height: 1.05;
}
h1, .v2h1 { line-height: 1.02; letter-spacing: -0.035em; }

/* ------ Buttons (final Jimdo look, beats any inline overrides) ------ */
.btn-primary,
.v2plan__cta--pop,
.v2prompt__btn {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  padding: 0.85rem 1.5rem !important;
  transition: background .18s, transform .18s, box-shadow .22s !important;
  letter-spacing: -0.005em !important;
}
.btn-primary:hover,
.v2plan__cta--pop:hover,
.v2prompt__btn:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(67, 83, 255, 0.55) !important;
}

.btn-ghost, .btn-outline {
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.btn-outline {
  background: transparent !important;
  border: 1.5px solid var(--foreground) !important;
  color: var(--foreground) !important;
}
.btn-outline:hover {
  background: var(--foreground) !important;
  color: #fff !important;
}

/* ------ Cards, Jimdo look: sharp radius, soft shadow, no beveled feel ------ */
.card, .feature-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card--hover:hover, .feature-card:hover {
  box-shadow: 0 12px 30px -14px rgba(10, 18, 48, 0.12);
  transform: translateY(-2px);
}

/* ------ Icon tiles, soft blue chip ------ */
.icon-tile {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-md);
}

/* ------ Section spacing ------ */
.section { padding-block: 5.5rem; }
@media (max-width: 640px) { .section { padding-block: 3.5rem; } }
.section--muted { background: var(--muted); }
.section--muted-soft { background: #FAFAFC; }

/* ------ FAQ items ------ */
.faq-item[open] summary { color: var(--primary); }
.faq-item summary svg { transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }

/* ------ Reveal animation ------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
  .reveal.is-in { opacity: 1; transform: translateY(0); }
}

/* ------ Selection ------ */
::selection { background: var(--accent); color: var(--primary); }

/* ------ Focus ring: accessible + on-brand ------ */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------ Small text helpers ------ */
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }

/* ------ Footer polish (details in style.css) ------ */
.site-footer h2 { color: var(--foreground); letter-spacing: -0.01em; }
