/* Biz Secure Work teaser (bizsecure.work). Shares the Biz Secure Online
   look: Inter body, Poppins in the lockup, navy #0a1c30, BSO blue #0058db,
   green #0b7a5b for "Work" (Andrew, 24 Nov 2026). No inline styles anywhere:
   the CSP allows only this file (style-src 'self'). */

@font-face {
  font-family: 'Inter Variable';
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a1c30;
  --ink: #0a1c30;
  --muted: #3d4b5e;
  --line: #e3eaf3;
  --tint: #f6faff;
  --blue: #0058db;
  --green: #0b7a5b;
  --green-bright: #3ddc97;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: #003f9e; }
:focus-visible { outline: 3px solid #5c9bff; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 860px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; border-radius: 12px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #13324f; color: #fff; }
.btn-green { background: var(--green-bright); color: #06281d; }
.btn-green:hover { background: #2fc583; color: #06281d; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup img { width: 52px; height: 52px; }
.lockup-text { display: flex; flex-direction: column; font-family: Poppins, 'Inter Variable', sans-serif; font-weight: 800; font-size: 16px; line-height: 1.02; letter-spacing: 0.4px; color: #111; }
.lockup-text .work { color: var(--green); }
.bar-links { display: flex; align-items: center; gap: 18px; }
.family-link { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 4px; }
.family-link:hover { color: var(--blue); }
/* Staff login (24 Nov 2026): opens /plan behind Cloudflare Access, for Andrew and Martin. */
.staff-link { color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; padding: 10px 4px; white-space: nowrap; }
.staff-link:hover { color: var(--blue); text-decoration: underline; }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #8fd9bd; }
.eyebrow-green { color: var(--green); font-size: 13px; letter-spacing: 2px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -1.2px; }
.lead { font-size: 19px; line-height: 1.6; color: #c7d3e2; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 6px; }
.hero-note { font-size: 15px; color: #a9b8ca; }
.hero-visual { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }

.app-card { width: 100%; max-width: 440px; background: #fff; color: var(--ink); border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); display: flex; flex-direction: column; gap: 14px; }
.app-row-head { display: flex; justify-content: space-between; align-items: center; }
.app-title { font-weight: 700; font-size: 16px; }
.app-date { font-size: 13px; color: #4a5a6e; }
.app-events { display: flex; flex-direction: column; gap: 8px; }
.app-event { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #f3f7fc; font-size: 14px; }
.app-event .t { font-size: 13px; font-weight: 600; color: #4a5a6e; width: 44px; flex: none; }
.app-event .n { font-weight: 600; }
.app-event .k { margin-left: auto; font-size: 12px; font-weight: 600; }
.k-blue { color: var(--blue); }
.k-green { color: var(--green); }
.k-amber { color: #8a4b00; }
.app-stats { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.app-sub { font-weight: 700; font-size: 14px; }
.app-stat { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.s-green { font-weight: 600; color: var(--green); }
.s-bold { font-weight: 600; }
.app-sample { font-size: 12px; color: #5b6b7f; }

/* Features */
.features { padding: 72px 0; }
.features h2, .survey h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -0.6px; }
.section-lead { margin-top: 12px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: var(--tint); display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 20px; font-weight: 700; }
.benefit { font-size: 16px; font-weight: 600; color: var(--green); }
.card ul, .v1 ul { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; }
.card ul { font-size: 15px; line-height: 1.6; gap: 6px; }

/* Version 1 band */
.v1 { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v1-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 56px; padding-bottom: 56px; }
.v1-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.v1 h2 { font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -0.4px; }
.v1 ul { flex: 2 1 480px; min-width: 0; font-size: 17px; line-height: 1.6; gap: 10px; }

/* Survey band */
.survey .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.survey .section-lead { margin-top: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #c7d3e2; font-size: 14px; }
.site-footer a { color: #fff; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; padding-top: 36px; padding-bottom: 20px; }
.foot-title { font-weight: 700; color: #fff; margin-bottom: 8px; }
.foot-family ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.foot-links { display: flex; gap: 20px; }
.foot-legal { padding-top: 12px; padding-bottom: 32px; color: #a9b8ca; border-top: 1px solid #1d3550; }

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .family-link { display: none; }
  .staff-link { font-size: 13px; padding: 10px 2px; }
  .lockup img { width: 44px; height: 44px; }
  .lockup-text { font-size: 14px; }
  .btn { padding: 0 14px; font-size: 14px; }
  .btn-lg { width: 100%; white-space: normal; text-align: center; padding: 12px 18px; }
  .hero-grid { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .lead { font-size: 17px; }
}
