/* SlayBudget's site: the app's Navy theme (Daylight when the system is light), the system font, macOS-style buttons. */
:root {
  --bg: #02080f; --panel: #06101a; --line: #111c2d; --line-strong: #1b2840;
  --text: #e6ebf3; --muted: #7e8a9c; --accent: #77a5f2; --on-accent: #06101f; --pos: #57bd57;
  --radius: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f5f9; --panel: #ffffff; --line: #e2e6ee; --line-strong: #cfd6e2;
    --text: #121826; --muted: #5d687a; --accent: #2f63e0; --on-accent: #ffffff; --pos: #2f9e44;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }

/* Navigation: translucent like a macOS toolbar. */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(24px, calc((100vw - 1160px) / 2));
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons: rounded, filled with the accent, like a macOS default button. */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 650; font-size: 17px;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.button:hover { text-decoration: none; filter: brightness(1.1); }
.button:active { transform: scale(0.98); }
.button.small { min-height: 34px; padding: 0 16px; font-size: 14px; }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in oklab, var(--accent) 60%, transparent); outline-offset: 3px; }

main > section { padding: 96px 24px; max-width: 1160px; margin: 0 auto; }

.hero { text-align: center; padding-top: 88px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; margin: 0 0 18px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.05; }
.hero h1 span { color: var(--muted); }
.lede { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); max-width: 720px; margin: 24px auto 0; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 16px; }

.shot { border-radius: var(--radius); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.hero-shot { margin: 56px auto 0; }

.features { display: flex; flex-direction: column; gap: 120px; }
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feature.flip .copy { order: 2; }
.feature p { color: var(--muted); font-size: 19px; margin: 16px 0 0; }

.more h2, .privacy h2, .faq h2, .final h2 { text-align: center; }
.grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid li, .points li {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 6px;
}
.grid b, .points b { font-size: 17px; }
.grid span, .points span { color: var(--muted); font-size: 15px; }

.privacy .lede { text-align: center; }
.points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.points b { color: var(--pos); }

.price { display: flex; justify-content: center; }
.card {
  text-align: center; max-width: 520px; width: 100%;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 22px; padding: 44px 36px;
}
.card .eyebrow { margin-bottom: 6px; }
.amount { font-size: 72px; font-weight: 750; letter-spacing: -0.03em; margin: 0; line-height: 1; }
.amount span { font-size: 22px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card p { color: var(--muted); }
.card .button { margin-top: 16px; }

.faq { max-width: 820px; }
.faq h2 { margin-bottom: 32px; }
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; }
details b { color: var(--text); font-weight: 600; }
.faq-shot { margin: 14px 0 4px; border-radius: 10px; border: 1px solid var(--line-strong); }

.final { text-align: center; }
.final .button { margin-top: 28px; }

.foot { border-top: 1px solid var(--line); padding: 36px 24px 48px; text-align: center; color: var(--muted); font-size: 14px; }
.foot p { margin: 6px 0; }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .copy { order: 0; }
  .grid, .points { grid-template-columns: repeat(2, 1fr); }
  .nav nav { display: none; }
  .nav .button { margin-left: auto; }
  main > section { padding: 72px 20px; }
}
@media (max-width: 520px) {
  .grid, .points { grid-template-columns: 1fr; }
}

/* Cookie consent: a quiet sheet at the bottom, like a macOS notification. */
.consent {
  position: fixed; z-index: 50; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: 14px;
  background: color-mix(in oklab, var(--panel) 92%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  font-size: 14px; color: var(--muted);
}
.consent p { margin: 0; flex: 1; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.linklike:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .consent { flex-direction: column; align-items: stretch; }
  .consent-actions { justify-content: flex-end; }
}
