/* Shared black/white theme and typography */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;600;700&display=swap');
@font-face {
  font-family: 'Stolzl';
  src: local('Stolzl'); /* Fallback to system if installed */
  font-weight: 400;
  font-style: normal;
}
:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #b3b3b3;
  --accent: #ffffff; /* use white for link accents */
  --maxw: 1200px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Mulish', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
.wrapper {
  min-height: 100dvh;
  min-height: 100vh; /* fallback */
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.header, .footer {
  width: 100%;
}
.header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img { height: 40px; width: auto; display: block; }
.brand-title {
  font-family: 'Stolzl', 'Mulish', sans-serif;
  font-size: 22px;
  letter-spacing: 0.6px;
  /* sentence case per request */
}
.main {
  display: grid;
  place-items: center;
  padding: 96px 20px; /* fit within viewport while remaining airy */
  grid-row: 2;
}
.hero {
  text-align: center;
  max-width: 820px;
}
.hero > * + * { margin-top: 20px; }

/* Section structure to clearly bind headings with their content */
.section { margin: 40px 0; }
.section + .section { margin-top: 56px; }
.hero .section:first-of-type { margin-top: 56px; }
.section-title { display:block; padding-bottom: 0; margin: 0; border-bottom: none; }
.section-body { margin-top: 12px; }
.hero .logo { height: 88px; width: auto; display:block; margin: 0 auto 24px; opacity:.95 }
.hero .lead { color: var(--muted); font-size: clamp(18px, 2.2vw, 20px); margin: 0 0 32px; }
.hero a.inline { color: var(--fg); text-decoration: none; border-bottom: 1px solid transparent; }
.hero a.inline:hover { border-color: var(--fg); }
.hero h1 {
  font-family: 'Stolzl', 'Mulish', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin: 16px 0 28px; /* more space under heading */
  font-weight: 700;
}

/* Ross-style h5 heading treatment (sentence case) */
.h5 {
  font-family: 'Stolzl', 'Mulish', sans-serif;
  font-size: 33px;
  font-weight: 500;
  letter-spacing: 0.6px;
  margin: 0 0 8px;
}
.hero p {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 20px);
  margin: 0 0 28px;
}
.cta {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--fg);
  text-decoration: none;
  border-radius: 10px;
  transition: all .2s ease;
}
.cta:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
.cta-primary { background: var(--bg); border: 2px solid var(--fg); color: var(--fg); }
.cta-primary:hover { filter: none; border-color: var(--fg); }

.cta-group { display:flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.benefits { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0 0 32px 0; }
.benefits-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefits-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefits-3 { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .benefits-3 { grid-template-columns: repeat(3, 1fr); }
}
.card { padding: 22px; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; background: rgba(255,255,255,0.02); transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .2s ease; will-change: transform, box-shadow; }
.card h4 { margin: 0 0 8px; font-family: 'Stolzl', 'Mulish', sans-serif; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); }
.card .icon { width: 32px; height: 32px; color: var(--fg); opacity:.9; margin: 0 auto 10px auto; display:block }
.card:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.04); transform: translateY(-1px); box-shadow: none; }

/* Simple benefit list: 1 column on small, 2 columns on wide */
.benefits-list { grid-template-columns: 1fr; }
@media (min-width: 1000px) {
  .benefits-list { grid-template-columns: 1fr 1fr; }
}

.nav-links { display: flex; gap: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--fg); }

.footer {
  grid-row: 3;
  padding: 16px 20px 1rem; /* add bottom breathing room */
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 14px;
}
.footer .footer-meta { margin-bottom: 8px; color: var(--muted); }
.footer-links { display:flex; flex-wrap:wrap; gap: 10px 18px; justify-content:center; align-items:center; margin-bottom: 0; }
.footer-links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.footer-links a:hover { color: var(--accent); border-color: var(--accent); }

.divider { border: 0; border-top: 1px solid rgba(255,255,255,0.12); margin: 24px 0; }

/* Accordion */
.accordion {
  width: 100%;
  margin-top: 16px;
}
.accordion > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  color: var(--fg);
  background: rgba(255,255,255,0.02);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.accordion > summary:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); transform: translateY(-1px); }
.accordion > summary::-webkit-details-marker { display: none; }
.accordion .label { font-weight: 600; letter-spacing: 0.3px; }
.accordion .chevron { width: 18px; height: 18px; opacity: .9; animation: floatY 1.6s ease-in-out infinite; transition: transform .25s ease, opacity .2s ease; }
.accordion[open] .chevron { transform: rotate(180deg); animation: none; opacity: 1; }
.accordion .content { margin-top: 22px; }
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(4px); }
  100% { transform: translateY(0); }
}

/* Index logo separator */
.logo-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  display: inline-block;
}
