:root {
  --scvfs-black: #1a1a1a;
  --scvfs-red: #c8102e;
  --scvfs-red-dark: #a30d24;
  --scvfs-red-tint: #fde7eb;
  --grey-900: #1a1a1a;
  --grey-700: #374151;
  --grey-500: #6b7280;
  --grey-300: #d1d5db;
  --grey-100: #f3f4f6;
  --grey-50: #fafafa;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10);
  --radius: 10px;
  --border: 1px solid #e5e7eb;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

* { max-width: 100%; }
img, video, picture, table { max-width: 100%; }
table { width: 100%; }

a { color: var(--scvfs-red); text-decoration: none; }
a:hover { color: var(--scvfs-red-dark); text-decoration: underline; }

/* Header — black banner with processed logo (red letters get white halo, grey letters → white) */
header.top {
  background: var(--scvfs-black);
  color: #ffffff;
  padding: 14px 14px 10px;
  text-align: center;
  border-bottom: 3px solid var(--scvfs-red);
  cursor: pointer;
}
header.top:hover { background: #0a0a0a; }
header.top a.header-link { color: inherit; text-decoration: none; display: block; }
header.top a.header-link:hover { text-decoration: none; }

header.top .scvfs-logo {
  max-width: 88%;
  width: auto;
  max-height: 56px;
  margin: 0 auto 4px;
  display: block;
  background: transparent;
  padding: 0;
}

header.top p.logo-subtitle,
header.top .logo-subtitle {
  margin: 2px auto 0 !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  font-style: italic !important;
  letter-spacing: 0.4px !important;
  opacity: 0.92 !important;
  font-weight: 400 !important;
}

header.top h1 {
  margin: 4px 0 2px;
  font-size: 16px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.2px;
}

header.top h1 strong { color: var(--scvfs-red); }

header.top p.tagline {
  margin: 0;
  font-size: 11px;
  color: var(--grey-300);
  font-weight: 500;
  letter-spacing: 0.2px;
}

main {
  max-width: 940px;
  margin: 0 auto;
  padding: 22px 12px 60px;
  width: 100%;
}

h2.section-title {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--scvfs-red);
  margin: 28px 8px 12px;
  font-weight: 800;
}

.tile-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .tile-grid { grid-template-columns: 1fr 1fr; }
}

.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  border: var(--border);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.tile:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  border-color: var(--scvfs-red);
  text-decoration: none;
}

.tile .icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-100);
  color: var(--scvfs-black);
  border-radius: 8px;
  flex-shrink: 0;
}

.tile .label { font-weight: 700; font-size: 15px; color: var(--ink); }
.tile .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.tile.featured {
  background: var(--scvfs-black);
  color: #fff;
  border: 2px solid var(--scvfs-red);
}

.tile.featured .icon { background: var(--scvfs-red); color: #fff; }
.tile.featured .label { color: #fff; }
.tile.featured .sub { color: rgba(255, 255, 255, 0.78); }
.tile.featured:hover { border-color: #fff; }

footer {
  text-align: center;
  padding: 24px 16px 40px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--grey-100);
  margin-top: 40px;
}

footer .red { color: var(--scvfs-red); font-weight: 700; }

.welcome-banner {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: var(--scvfs-red-tint);
  border-left: 4px solid var(--scvfs-red);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.4;
}
.welcome-banner .welcome-text { flex: 1; }
.welcome-banner .welcome-text strong { color: var(--scvfs-red-dark); }
.welcome-banner .welcome-text span { display: block; margin-top: 2px; }
.welcome-banner a { color: var(--scvfs-red); text-decoration: underline; }
.welcome-banner button {
  background: transparent;
  color: var(--muted);
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
}
.welcome-banner button:hover { color: var(--scvfs-red); }

.team-hero {
  display: block;
  margin: 12px 0 4px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--scvfs-red);
  background: #000;
  line-height: 0;
}
.team-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}
.team-hero-caption {
  text-align: center;
  margin: 0 0 12px;
  font-style: italic;
}

.install-banner {
  display: none;
  margin: 12px 8px 0;
  padding: 12px 14px;
  background: var(--grey-100);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.install-banner button {
  background: var(--scvfs-red);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
