:root{
  --bg:#ffffff;
  --fg:#111213;
  --muted:#5b6168;
  --brand:#ffd54a;   /* Labour Flex yellow */
  --brand-hover:#f2c63b;
  --card:#ffffff;
  --border:#e9eaee;
  --shadow:0 6px 20px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
html,body{
  height:100%;
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.container{max-width:1120px;margin:0 auto;padding:0 20px}
.row{display:flex;align-items:center;justify-content:space-between;gap:16px}

/* Header (light) */
.site-header{
  position:sticky;top:0;z-index:10;
  backdrop-filter:saturate(120%) blur(6px);
  -webkit-backdrop-filter:saturate(120%) blur(6px); /* Safari/iOS */
  background:#ffffffd9;
  border-bottom:1px solid var(--border);
  padding:10px 0;
}
.brand{display:flex;align-items:center;gap:10px}
.logo{width:36px;height:36px;object-fit:contain}
.brand-name{font-weight:700;font-size:18px;color:var(--fg)}
.nav .link{background:none;border:none;color:var(--muted);cursor:pointer}
.link{
  font:inherit;color:var(--muted);text-decoration:none;
  padding:6px 10px;border-radius:8px
}
.link:hover{color:var(--fg);background:#f6f7f9}

/* Hero (light, roomy) */
.hero{
  display:grid;grid-template-columns:1fr;gap:20px;
  padding:64px 20px 24px;
  background:linear-gradient(180deg,#fff, #fffef6);
  border-bottom:1px solid var(--border);
}
.hero-content h1{font-size:44px;line-height:1.1;margin:0 0 12px}
.tagline{color:var(--muted);max-width:56ch;margin:0 0 24px}

.badge{
  display:inline-block;background:#f6f7f9;border:1px solid var(--border);
  color:var(--muted);font-size:12px;padding:6px 10px;border-radius:999px;margin-bottom:12px
}

.cta{
  display:inline-block;padding:14px 18px;border-radius:14px;
  background:var(--brand);color:#141414;font-weight:700;text-decoration:none;
  box-shadow:var(--shadow);
  transition:transform .08s ease, background-color .15s ease
}
.cta:hover{transform:translateY(-1px);background:var(--brand-hover)}
.cta-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.cta.ghost{
  background:#ffffff;color:var(--fg);border:1px solid var(--border);box-shadow:none
}
.cta.ghost:hover{background:#f6f7f9}

.tiny-note{margin-top:10px;color:var(--muted);font-size:13px}

/* Trust strip */
.trustbar{
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;
  padding:14px 20px;color:var(--muted)
}
.pill{
  border:1px solid var(--border);background:#fffef6;
  color:#6b6f76;padding:6px 10px;border-radius:999px;font-size:13px
}

/* Sections */
.section{padding:28px 20px}
.section-title{margin:0 0 14px;font-size:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}

/* Cards & Features (light) */
.features{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:16px;padding:24px 20px 64px
}
.card{
  background:var(--card);border:1px solid var(--border);
  border-radius:18px;padding:18px;box-shadow:var(--shadow)
}
.card h3{margin:4px 0 8px}
.card p{margin:0;color:var(--muted)}

/* Stats */
.stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
  padding:8px 20px 28px
}
.stat{
  background:#fff;border:1px solid var(--border);
  border-radius:18px;padding:16px;text-align:center;box-shadow:var(--shadow)
}
.stat-num{font-size:28px;font-weight:800}
.stat-label{color:var(--muted);margin-top:4px}

/* Quotes */
.quote p{margin:0 0 8px}
.muted{color:var(--muted)}

/* FAQ */
.faq details{
  background:#fff;border:1px solid var(--border);
  border-radius:14px;margin:10px 0;padding:12px 14px;box-shadow:var(--shadow)
}
.faq summary{cursor:pointer;font-weight:600}
.faq p{color:var(--muted);margin:10px 0 0}

/* CTA banner */
.cta-banner{padding:36px 20px 64px}
.cta-banner-inner{
  background:linear-gradient(180deg,#fffef6,#ffffff);
  border:1px solid var(--border);border-radius:22px;padding:22px;text-align:center;
  box-shadow:var(--shadow)
}

/* Footer (light) */
.site-footer{
  border-top:1px solid var(--border);
  padding:16px 0 24px;color:#6b6f76;background:#fff
}
.foot-links{display:flex;gap:12px}

/* Modal (light) */
.modal{
  width:min(760px,92vw);border:none;border-radius:18px;
  padding:0;color:var(--fg);background:#ffffff;box-shadow:var(--shadow)
}
.modal::backdrop{background:rgba(0,0,0,.4)}
.modal header{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;border-bottom:1px solid var(--border)
}
.modal .modal-body{padding:16px}
.close{
  background:#fff;border:1px solid var(--border);color:var(--muted);
  border-radius:10px;padding:6px 10px;cursor:pointer
}
.close:hover{background:#f6f7f9;color:var(--fg)}

/* Responsive */
@media (max-width:900px){
  .hero{grid-template-columns:1fr;gap:18px;padding-top:36px}
  .hero-content h1{font-size:34px}
  .features{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
}

/* ===================== */
/* Add-ons for polish    */
/* ===================== */

/* Visible keyboard focus */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible { border-radius: 8px; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Disabled CTA matches aria-disabled */
.cta[aria-disabled="true"], .cta.disabled {
  opacity: .6;
  pointer-events: none;
}

/* Robust <dialog> styling (if you use <dialog class="modal">) */
dialog.modal {
  width: min(760px, 92vw);
  max-height: 85vh;
  overflow: auto;
  border: none;
  border-radius: 18px;
  padding: 0;
  color: var(--fg);
  background: #fff;
  box-shadow: var(--shadow);
}
dialog.modal::backdrop { background: rgba(0,0,0,.4); }

/* Subtle active feedback */
.cta:active { transform: translateY(0); }
.link:active { background: #f0f2f5; }
