/* Shared styles for the Car4Wash website. Page-specific styles live in each page's <style>. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0d1117; color: #ffffff; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; }
img, svg { max-width: 100%; }
a { color: #3ddc84; }
a:hover { color: #4ade80; }
input, button, select, textarea { font: inherit; }
.g { font-family: 'Space Grotesk', Inter, sans-serif; }
.k { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #22c55e; }
.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; }
.ph { color: #3ddc84; font-style: italic; }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 12px; padding: 16px 26px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; min-height: 48px; }
.btn-gold { background: #22c55e; color: #052e16; }
.btn-gold:hover { background: #3ddc84; color: #052e16; }
.btn-dark { background: #0d1117; color: #ffffff; }
.btn-ghost { background: transparent; border: 1px solid #2a3140; color: #ffffff; font-weight: 600; font-size: 15px; padding: 13px 22px; }
.btn[disabled], .btn[aria-disabled="true"], .is-soon { opacity: .55; cursor: default; }
.in { height: 48px; border-radius: 12px; border: 1px solid #2a3140; background: #1c2230; color: #ffffff; padding: 0 14px; width: 100%; }
.in:focus { outline: 2px solid #22c55e; outline-offset: 1px; }
.lbl { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }

/* Area check result */
[data-area-result] { margin-top: 4px; border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 1.5; background: #1c2230; border: 1px solid #2a303b; }
[data-area-result] p { margin: 0; }
[data-area-result][data-kind="yes"] { border-color: rgba(34, 197, 94, .5); }
[data-area-result][data-kind="no"] { border-color: rgba(34, 197, 94, .5); }
[data-area-result][data-kind="error"] { border-color: rgba(248, 113, 113, .6); color: #fca5a5; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.store-btn { display: inline-block; background: #ffffff; color: #0d1117; text-decoration: none; font-weight: 700; font-size: 14px; padding: 11px 16px; border-radius: 10px; }
.store-btn.is-soon { background: #2a303b; color: #c9d1d9; }
.waitlist-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.waitlist-form input { flex: 1 1 200px; height: 48px; border-radius: 12px; border: 1px solid #2a3140; background: #161b22; color: #ffffff; padding: 0 14px; }
.waitlist-form .btn { padding: 0 20px; height: 48px; }
.waitlist-msg { flex-basis: 100%; margin: 0; font-size: 13px; color: #fca5a5; }
.waitlist-done { margin: 0; color: #c9d1d9; }

/* Footer */
.site-footer { border-top: 1px solid #1d2229; background: #0a0d12; }
.site-footer .cols { max-width: 1200px; margin: 0 auto; padding: 56px 24px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #ffffff; font-size: 21px; font-weight: 700; }
.site-footer .brand span { width: 30px; height: 30px; border-radius: 15px; background: conic-gradient(#22c55e, #4ade80, #16a34a, #22c55e); }
.site-footer .tag { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: #8b949e; max-width: 300px; }
.site-footer .pin { margin: 14px 0 0; font-size: 14px; color: #8b949e; display: flex; align-items: center; gap: 8px; }
.site-footer .col { display: grid; gap: 12px; align-content: start; }
.site-footer .col p { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #8b949e; }
.site-footer .col a { color: #c9d1d9; text-decoration: none; font-size: 15px; }
.site-footer .col a:hover { color: #ffffff; }
.site-footer .legal { max-width: 1200px; margin: 0 auto; padding: 22px 24px 28px; font-size: 13px; color: #8b949e; border-top: 1px solid #1d2229; }
@media (max-width: 760px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .cols > div:first-child { grid-column: 1 / -1; }
}

/* Plain-text pages (privacy, terms, delete account) */
.doc { max-width: 760px; margin: 0 auto; padding: 30px 24px 96px; }
.doc h1 { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; font-size: clamp(34px, 4.5vw, 50px); line-height: 1.05; letter-spacing: -1.5px; margin: 12px 0 0; }
.doc h2 { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; font-size: 24px; margin: 40px 0 10px; }
.doc h3 { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: #c9d1d9; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .lead { font-size: 18px; color: #c9d1d9; margin: 16px 0 0; }
.doc .meta { font-size: 14px; color: #8b949e; margin: 10px 0 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #1d2229; color: #c9d1d9; vertical-align: top; }
.doc th { color: #8b949e; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.doc .card { background: #161b22; border: 1px solid #1d2229; border-radius: 24px; padding: 30px; }
.doc .note { background: #161b22; border: 1px solid #1e4532; border-radius: 16px; padding: 16px 20px; color: #c9d1d9; font-size: 15px; }

/* Header shared by the plain pages */
.site-header { max-width: 1200px; margin: 0 auto; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #ffffff; font-size: 21px; font-weight: 700; }
.site-header .brand span { width: 34px; height: 34px; border-radius: 17px; background: conic-gradient(#22c55e, #4ade80, #16a34a, #22c55e); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; font-size: 15px; }
.site-header nav a { color: #c9d1d9; text-decoration: none; }
