/* Site-wide polish layered over the compiled Tailwind build */
html, body { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: #7c3aed; color: #fff; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Keep content at a comfortable reading width on large screens */
.container:not([class*="max-w-"]) { max-width: 1240px; }

/* Cards and buttons: gentle motion + clear focus */
.rounded-lg.border, .rounded-xl.border { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hover\:shadow-lg:hover, .hover\:shadow-xl:hover { transform: translateY(-3px); }
button, a { transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
button:active { transform: translateY(1px); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #7c3aed; outline-offset: 2px; }

/* Service card "View full description" */
details > summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; user-select: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: '+'; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 999px; background: #f3e8ff; color: #7c3aed; font-weight: 700; font-size: .8rem; line-height: 1; }
details[open] > summary::before { content: '−'; }
details[open] > div { line-height: 1.65; color: #334155; }

/* Pricing: outline button (was purple text on purple) */
.sv-btn-outline { background: #fff !important; color: #7c3aed !important; border: 2px solid #7c3aed !important; }
.sv-btn-outline:hover { background: #faf5ff !important; }

/* Bottom CTA buttons */
.sv-btn-white { background: #fff !important; color: #7c3aed !important; font-weight: 600; box-shadow: 0 8px 24px rgba(15, 23, 42, .18); }
.sv-btn-white:hover { background: #f8fafc !important; }
.sv-btn-ghost { background: transparent !important; color: #fff !important; border: 2px solid rgba(255, 255, 255, .85) !important; font-weight: 600; }
.sv-btn-ghost:hover { background: rgba(255, 255, 255, .12) !important; }

/* Development process timeline */
.sv-tl > * + * { margin-top: 0; }
.sv-tl-line { min-height: 2rem; margin-bottom: 1rem; border-radius: 999px; opacity: .55; }

/* Newsletter button matches input height */
.sv-sub { height: auto !important; padding-top: .75rem !important; padding-bottom: .75rem !important; }

/* Contact card email */
.sv-email { font-size: .95rem; overflow-wrap: normal; word-break: normal; }

/* Checkout order items */
.sv-items { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid #e2e8f0; max-height: 18rem; overflow-y: auto; }
.sv-item { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .65rem .75rem; border-radius: .6rem; background: #f8fafc; border: 1px solid #eef2f7; }
.sv-iname { font-weight: 600; font-size: .9rem; color: #0f172a; line-height: 1.35; }
.sv-iprice { font-size: .85rem; font-weight: 700; color: #7c3aed; margin-top: .15rem; }
.sv-iremove { flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 999px; color: #94a3b8; font-size: .8rem; }
.sv-iremove:hover { background: #fee2e2; color: #dc2626; }

@media (max-width: 640px) {
  h1 { font-size: clamp(2.1rem, 9vw, 2.6rem) !important; line-height: 1.12 !important; }
  h2 { font-size: clamp(1.6rem, 7vw, 2rem) !important; line-height: 1.2 !important; }
  nav h1 { font-size: 1.1rem !important; line-height: 1.3 !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
