/* SparkyCrew website. One dark look, matching the app.
   Layout: a single centred column (max 1120px) with a split hero
   (words left, phone right) that stacks on phones. */
:root {
  --ground: #16181B;
  --surface: #22262B;
  --raised: #2B3036;
  --border: #3A3F46;
  --text: #F2F0EA;
  --soft: #D5D7DA;
  --muted: #A9ADB3;
  --accent: #F5C518;
  --on-accent: #16181B;
  --pass: #4ADE80;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: #FFD84D; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { width: 36px; height: 36px; flex: none; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: 0.5px; line-height: 1; }
.wordmark b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; padding-block: 72px 56px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 76px); line-height: 0.98; letter-spacing: 0.3px; margin: 0 0 22px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 20px; color: var(--soft); max-width: 34em; margin: 0 0 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #FFD84D; color: var(--on-accent); }
.btn-quiet { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn-quiet:hover { color: var(--text); background: var(--raised); }
.small { font-size: 15px; color: var(--muted); margin: 14px 0 0; }

/* Phone mock of the app's home screen */
.phone { justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; background: #0E0F11; border: 1px solid var(--border); padding: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.screen { height: 100%; border-radius: 34px; background: var(--ground); overflow: hidden; padding: 30px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.screen-top { display: flex; align-items: center; justify-content: space-between; }
.screen-top .wordmark { font-size: 24px; }
.bell { width: 32px; height: 32px; border-radius: 16px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--soft); }
.notice { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; line-height: 1.35; color: var(--soft); }
.notice strong { color: var(--accent); font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-height: 76px; }
.tile svg { width: 22px; height: 22px; color: var(--accent); }
.tile span { font-weight: 700; font-size: 14px; }

/* Sections */
section { padding-block: 64px; }
.section-head { max-width: 40em; margin-bottom: 36px; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 48px); line-height: 1.02; margin: 0 0 12px; text-wrap: balance; }
.section-head p { color: var(--soft); margin: 0; }
.band { background: var(--surface); border-block: 1px solid var(--border); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.feature { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.feature .icon svg { width: 24px; height: 24px; }
h3 { font-size: 20px; font-weight: 700; margin: 6px 0 0; }
.feature p { margin: 0; color: var(--soft); font-size: 16.5px; }

.paperwork { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { border: 1px solid var(--border); background: var(--raised); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; color: var(--soft); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; color: var(--soft); }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: 4px; border-radius: 6px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks strong { color: var(--text); }

.staff-card { background: var(--ground); border: 1px solid var(--border); border-radius: 18px; padding: 8px 0; }
.staff-card h4 { margin: 0; padding: 10px 18px 6px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.staff { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--border); }
.avatar { width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; font-weight: 700; color: var(--on-accent); font-size: 15px; }
.staff .who { font-weight: 700; font-size: 16px; }
.staff .what { font-size: 14px; color: var(--muted); }
.status { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 10px; font-variant-numeric: tabular-nums; }
.on { background: rgba(74, 222, 128, 0.15); color: var(--pass); }
.off { background: var(--raised); color: var(--muted); }

.closing { text-align: center; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing p { color: var(--soft); max-width: 34em; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-block: 32px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* Legal pages */
.legal { padding-block: 48px 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 8px; }
.legal .meta { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.draft { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; font-size: 16px; color: var(--soft); margin-bottom: 32px; }
.legal h2 { font-family: var(--body); font-size: 22px; font-weight: 700; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--soft); font-size: 17px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal strong { color: var(--text); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 48px 40px; gap: 44px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
  section { padding-block: 48px; }
}
