/* TeamSure sales site (teamsure.co.uk). Brand: navy #1e3a8a, blue #1d4ed8, green #16a34a; on dark #0f1f4d with #4ade80. */
:root {
  --navy: #1e3a8a;
  --navy-dk: #0f1f4d;
  --navy-xdk: #0a1638;
  --blue: #1d4ed8;
  --blue-dk: #1e40af;
  --green: #16a34a;
  --green-dk: #15803d;
  --green-lt: #4ade80;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --red: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 60px -24px rgba(15,31,77,.45);
  --gutter: clamp(16px, 4vw, 56px);
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0 0 1em; }
.ic { flex: 0 0 auto; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: rgba(29,78,216,.15);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16.5px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -10px rgba(22,163,74,.7); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(29,78,216,.7); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: default; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--green-dk); transform: translateY(-1px); }
  .btn-blue:hover { background: var(--blue-dk); transform: translateY(-1px); }
  .btn-ghost:hover { border-color: var(--navy); }
  .btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.06); }
}
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(29,78,216,.45); outline-offset: 2px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,23,42,.4); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 160px; height: auto; }
.main-nav { display: flex; gap: 6px; flex: 1; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; touch-action: manipulation; }
.main-nav a[aria-current="page"] { color: var(--blue); }
@media (hover: hover) { .main-nav a:hover { background: var(--bg-2); color: var(--ink); } }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.link-signin { color: var(--navy); font-weight: 700; text-decoration: none; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; touch-action: manipulation; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; padding: 10px 0 18px; }
.mobile-menu .wrap { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 13px 4px; border-bottom: 1px solid var(--bg-2); min-height: 48px; display: flex; align-items: center; }
.mobile-menu .btn { margin-top: 12px; }
@media (max-width: 920px) {
  .main-nav, .link-signin { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .header-actions .btn-sm { display: none; }
  .brand img { width: 140px; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, rgba(29,78,216,.55), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(22,163,74,.28), transparent 60%), linear-gradient(160deg, var(--navy-dk) 0%, var(--navy-xdk) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(64px, 8vw, 112px); }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--green-lt); }
.hero-lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.82); max-width: 600px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.8); font-size: 14.5px; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--green-lt); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 22px; }
.hero-badge b { white-space: nowrap; flex: 0 0 auto; background: var(--green); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .02em; }

/* Product mock (hero) */
.mock { position: relative; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; font-size: 13px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.mock-bar .mock-url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 380px; }
.mock-side { background: var(--navy-dk); color: rgba(255,255,255,.75); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.mock-side .mock-logo { color: #fff; font-weight: 800; font-size: 15px; padding: 2px 8px 12px; letter-spacing: -.02em; }
.mock-side .mock-logo span { color: var(--green-lt); }
.mock-side div.it { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-weight: 500; font-size: 12.5px; }
.mock-side div.it.on { background: rgba(255,255,255,.1); color: #fff; }
.mock-side .ic { width: 15px; height: 15px; }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-2); min-width: 0; }
.mock-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mock-h b { font-size: 15px; }
.mock-h small { color: var(--muted); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock-kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mock-kpi small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mock-kpi strong { font-size: 20px; letter-spacing: -.02em; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mock-card h5 { margin: 0 0 8px; font-size: 12.5px; color: var(--ink-2); }
.mock-req { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--bg-2); }
.mock-req:first-of-type { border-top: 0; }
.mock-av { width: 28px; height: 28px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; flex: 0 0 auto; }
.mock-req .who { flex: 1; min-width: 0; line-height: 1.3; }
.mock-req .who small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-pill { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.mock-pill.ok { background: var(--green); color: #fff; }
.mock-pill.wait { background: #fff; color: var(--navy); border: 1px solid var(--line-2); }
.mock-rota { display: grid; grid-template-columns: 70px repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 11px; }
.mock-rota span { padding: 5px 4px; border-radius: 6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-rota .d { color: var(--muted); font-weight: 700; }
.mock-rota .n { text-align: left; font-weight: 600; color: var(--ink-2); }
.mock-rota .s1 { background: var(--blue); color: #fff; font-weight: 600; }
.mock-rota .s2 { background: var(--green); color: #fff; font-weight: 600; }
.mock-rota .off { background: #fff; border: 1px dashed var(--line-2); color: var(--muted); }
.mock-float { position: absolute; right: 28px; bottom: -44px; color: var(--ink); background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: 13px; max-width: 250px; border: 1px solid var(--line); }
.mock-float .tick { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.mock-float small { display: block; color: var(--muted); }
.hero-visual { position: relative; margin-bottom: 30px; }

/* Logos / sectors strip */
.sectors { padding: 28px 0; border-bottom: 1px solid var(--line); }
.sectors-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.sectors p { margin: 0 8px 0 0; font-weight: 600; color: var(--muted); font-size: 14.5px; }
.sector-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); background: #fff; }
.sector-chip .ic { color: var(--blue); }

/* Value props */
.props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.prop { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.prop .icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.prop h3 { font-size: 20px; font-weight: 700; }
.prop p { color: var(--muted); margin: 0; }
.ib-navy { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.ib-green { background: linear-gradient(135deg, #22c55e, var(--green-dk)); }
.ib-mix { background: linear-gradient(135deg, var(--blue), var(--green)); }

/* Feature groups */
.feature-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fgroup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.fgroup-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.fgroup-head .icon-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.fgroup-head h3 { margin: 0; font-size: 18.5px; font-weight: 700; }
.fgroup > p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.tick-list .ic { color: var(--green); margin-top: 3px; }

/* Split feature rows */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split.reverse .split-copy { order: 2; }
.split-copy h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; }
.split-copy > p { font-size: 17.5px; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); }
.panel-dark { background: linear-gradient(160deg, var(--navy-dk), var(--navy-xdk)); color: #fff; border: 0; }
.panel-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.panel-row:first-child { border-top: 0; }
.panel-row .grow { flex: 1; min-width: 0; }
.panel-row small { display: block; color: var(--muted); }
.panel-dark .panel-row { border-top-color: rgba(255,255,255,.1); }
.panel-dark small { color: rgba(255,255,255,.6); }
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 99px; }
.doc-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.doc-chip.signed { background: var(--green); color: #fff; }
.doc-chip.sent { background: var(--blue); color: #fff; }
.doc-chip.draft { background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); }

/* Pricing teaser + pricing page */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.popular { border: 2px solid var(--blue); box-shadow: 0 24px 48px -24px rgba(29,78,216,.55); }
.price-card .tag { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.price-card h3 { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.price-card .people { font-size: 22px; margin-top: 4px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
.price-card .amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-card .amount strong { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.price-card .amount span { color: var(--muted); font-weight: 600; }
.price-card .sub { color: var(--muted); font-size: 14px; min-height: 22px; margin-bottom: 18px; }
.price-card .sub b { color: var(--green-dk); }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card .tick-list { margin-bottom: 22px; }
.price-quote { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 26px; border-radius: 18px; background: linear-gradient(160deg, var(--navy-dk), var(--navy-xdk)); color: #fff; }
.price-quote h3 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.price-quote p { margin: 0; color: rgba(255,255,255,.75); }
.cycle-toggle { display: inline-flex; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); gap: 4px; box-shadow: var(--shadow); }
.cycle-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2); padding: 10px 18px; min-height: 44px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; touch-action: manipulation; }
.cycle-toggle button.on { background: var(--navy); color: #fff; }
.cycle-toggle .save { font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--green); color: #fff; }
.toggle-row { display: flex; justify-content: center; margin-bottom: 36px; }
.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.included li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); padding: 6px 0; }
.included .ic { color: var(--green); margin-top: 3px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; touch-action: manipulation; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { color: #fff; background: radial-gradient(800px 400px at 100% 0%, rgba(22,163,74,.35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-dk) 100%); border-radius: 24px; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.8); font-size: 17.5px; margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--navy-dk), var(--navy-xdk)); color: #fff; padding: clamp(44px, 6vw, 76px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 18px; max-width: 720px; margin: 0; }
.page-hero.center { text-align: center; }
.page-hero.center p { margin: 0 auto; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-items: start; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.req { color: var(--red); font-weight: 700; }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea {
  width: 100%; height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 11px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { height: auto; min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:not([type=radio]):not([type=checkbox]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.18); }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { display: none; font-size: 13px; color: var(--red); font-weight: 600; }
.field.has-err input:not([type=radio]):not([type=checkbox]), .field.has-err select, .field.has-err textarea, .field.has-err .combo-input { border-color: var(--red); }
.field.has-err .err { display: block; }
.req-note { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.gdpr { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; padding: 16px 18px; background: #fff; }
.gdpr p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0 0 10px; }
.gdpr a { color: var(--blue); font-weight: 600; }
.check-row { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 8px 2px; min-height: 44px; }
.check-row input[type=checkbox] { width: 22px; height: 22px; flex: 0 0 22px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.check-row span { font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.45; }
.check-row.soft span { font-weight: 500; color: var(--ink-2); }
.check-row.has-err span { color: var(--red); }
.form-alert { display: none; border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.form-alert.show { display: flex; gap: 10px; align-items: flex-start; }
.form-alert.error { border: 1px solid #fecaca; border-left: 4px solid var(--red); color: #991b1b; background: #fff; }
.form-done { text-align: center; padding: 28px 10px; }
.form-done .tick-big { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 16px 30px -14px rgba(22,163,74,.8); }
.form-done h2 { font-size: 28px; font-weight: 800; }
.form-done p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto 12px; }

/* Contact layout */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-aside .aside-card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 16px; background: #fff; }
.contact-aside h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.contact-aside h3 .ic { color: var(--blue); }
.contact-aside p { color: var(--muted); margin: 0; font-size: 15px; }

/* Legal */
.legal-banner { background: #fff; border: 2px solid #d97706; border-radius: 14px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 28px; color: #92400e; font-weight: 600; }
.legal-banner .ic { color: #d97706; margin-top: 2px; }
.legal-banner p { margin: 0; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.legal-toc { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; }
.legal-toc strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.legal-toc a { display: block; font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 6px 4px; border-radius: 6px; }
@media (hover: hover) { .legal-toc a:hover { color: var(--blue); } }
.legal-body { max-width: 900px; }
.legal-body h1 { display: none; }
.legal-body h2 { font-size: 23px; font-weight: 800; margin: 34px 0 12px; padding-top: 6px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 18px; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 16px; }
.legal-body ul { padding-left: 22px; margin: 0 0 1em; }
.legal-body li { margin-bottom: 6px; }
.legal-body .legal-note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--line-2); padding-left: 12px; }

/* Footer */
.site-footer { background: var(--navy-xdk); color: rgba(255,255,255,.72); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { width: 160px; margin-bottom: 14px; }
.footer-brand p { max-width: 380px; font-size: 15px; }
.site-footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.site-footer a { display: block; color: rgba(255,255,255,.72); text-decoration: none; padding: 6px 0; font-size: 15px; min-height: 32px; }
@media (hover: hover) { .site-footer a:hover { color: var(--green-lt); } }
.footer-legal { padding-top: 22px; font-size: 13.5px; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-legal p { margin: 0; max-width: 900px; }

/* Responsive */
@media (max-width: 1180px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 720px; }
  .feature-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .props { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-copy { order: 0; }
  .feature-groups { grid-template-columns: minmax(0, 1fr); }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-side { display: none; }
  .mock-float { right: 12px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .included { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { width: 100%; }
  .cta-band .actions .btn { width: 100%; }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-kpis .mock-kpi:nth-child(3) { display: none; }
  .mock-float { display: none; }
  .mock-rota { grid-template-columns: 56px repeat(5, minmax(0, 1fr)); }
  .price-quote .btn { width: 100%; }
  .cycle-toggle button { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Request a quote (teams over the top band) */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.quote-intro h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
.quote-intro > p { font-size: 17.5px; color: var(--muted); }
.quote-form .quote-submit { margin-top: 18px; width: 100%; }
@media (max-width: 1024px) { .quote-layout { grid-template-columns: minmax(0, 1fr); } }

/* Centred hero with the app screens underneath */
.hero-centre { grid-template-columns: minmax(0, 1fr); text-align: center; padding-bottom: clamp(36px, 4vw, 56px); }
.hero-centre .hero-copy { max-width: 880px; margin: 0 auto; }
.hero-centre .hero-lede { margin-left: auto; margin-right: auto; max-width: 700px; }
.hero-centre .hero-cta, .hero-centre .hero-points { justify-content: center; }
@media (max-width: 560px) { .hero-centre { text-align: left; } .hero-centre .hero-cta, .hero-centre .hero-points { justify-content: flex-start; } }

/* Support page */
.support-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.support-quick { display: flex; flex-direction: column; gap: 10px; }
.support-search { margin-top: 24px; max-width: 640px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 0 16px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.support-search .ic { color: var(--muted); }
.support-search input { flex: 1; border: 0; height: 56px; font: inherit; font-size: 16px; color: var(--ink); background: transparent; min-width: 0; }
.support-search input:focus { outline: none; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.topic-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); min-height: 44px; touch-action: manipulation; }
.topic-card .icon-box { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.topic-card b { display: block; font-size: 16px; }
.topic-card small { display: block; color: var(--muted); font-size: 13.5px; }
@media (hover: hover) { .topic-card:hover { border-color: var(--blue); } }
.support-tip { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; padding: 14px 16px; margin-bottom: 34px; background: #fff; }
.support-tip .ic { color: var(--green); margin-top: 2px; }
.support-tip p { margin: 0; color: var(--ink-2); }
.help-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; align-items: start; }
.help-topic { scroll-margin-top: 90px; margin-bottom: 18px; }
.help-topic h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.help-topic h2 .ic { color: var(--blue); }
.help-topic .faq { max-width: none; }
.help-none { grid-column: 1 / -1; color: var(--muted); }
#still-stuck { scroll-margin-top: 72px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { cursor: pointer; }
.topic-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff; }
.topic-chip input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.topic-chip input:focus-visible + span { outline: 3px solid rgba(29,78,216,.45); outline-offset: 2px; }
@media (max-width: 1024px) { .help-topics { grid-template-columns: minmax(0, 1fr); } .support-hero { grid-template-columns: minmax(0, 1fr); align-items: start; } .support-quick { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 760px) { .topic-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .topic-grid { grid-template-columns: minmax(0, 1fr); } .support-quick .btn { width: 100%; } }
