/* Window Valet website — shared styles. The same colors and type as the app:
   system font, neutral surfaces and one blue accent. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;

  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #a1a1a6;
  --line: rgba(0, 0, 0, .08);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, .1);
  --coral: #e5484d;
  --stage: #f5f5f7;
  --shadow: 0 0 0 .5px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .07);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --bg-2: #1f1f22;
    --card: #232326;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #6e6e73;
    --line: rgba(255, 255, 255, .09);
    --accent: #0a84ff;
    --accent-hover: #2b95ff;
    --accent-soft: rgba(10, 132, 255, .16);
    --coral: #ff6369;
    --stage: #1f1f22;
    --shadow: 0 0 0 .5px rgba(255, 255, 255, .08), 0 12px 32px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.5 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
       background: color-mix(in srgb, var(--bg) 80%, transparent); box-shadow: inset 0 -.5px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 9px; font: 600 16px/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.logo img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--text-2); }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ---------- Buttons (the app's pills) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 28px;
       border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: none; cursor: pointer;
       transition: background .15s, transform .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--text); background: var(--bg-2); box-shadow: inset 0 0 0 .5px var(--line); }
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 8%, var(--bg-2)); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); }
.muted { color: var(--text-3); }

/* ---------- Questions (shared by every page that has them) ---------- */
.faq { max-width: 720px; margin: 0 auto; border-radius: 14px; background: var(--bg-2); overflow: hidden; }
.faq details + details { box-shadow: inset 0 .5px 0 var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px;
               cursor: pointer; list-style: none; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 3px; border-right: 1.5px solid var(--text-3);
                      border-bottom: 1.5px solid var(--text-3); transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.faq p { margin: -6px 20px 18px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.faq p a { color: var(--accent); text-decoration: none; }

/* ---------- Footer ---------- */
footer { padding: 32px 0 48px; color: var(--text-3); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
               padding-top: 24px; box-shadow: inset 0 .5px 0 var(--line); }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
