@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-sans-latin-400-italic.woff2') format('woff2'); }

/* DayStart Horizon: shared styles. Colours, fonts and rules follow the DayStart Brand Guidelines. */
:root {
  --sunrise: #FF4500;
  --midnight: #121212;
  --ember: #C2410C;
  --grey: #6B6B6B;
  --daybreak: #FFE4D6;
  --dawn: #FAF6F1;
  --white: #FFFFFF;
  --line: #ECE6DF;
  --ink-soft: #3A3A3A;
  --on-dark: #D9D9D9;
  --on-dark-quiet: #9A9A9A;
  --radius: 20px;
  --radius-sm: 12px;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(18,18,18,.04), 0 12px 40px rgba(18,18,18,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--midnight); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.accent { color: var(--sunrise); }
.eyebrow { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sunrise); margin: 0 0 18px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; overflow: clip; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; border: 0; border-radius: 999px; padding: 16px 28px; cursor: pointer; text-decoration: none; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--sunrise); color: var(--white); box-shadow: 0 8px 24px rgba(255,69,0,.28); }
.btn-primary:hover { background: #F03F00; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-dark { background: var(--midnight); color: var(--white); }
.btn-ghost { background: transparent; color: var(--midnight); border: 1px solid var(--line); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid rgba(255,69,0,.45); outline-offset: 2px; }

/* ---------- Registration page ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; }
.site-header .logo { height: 52px; width: auto; }
.site-header .tag { font-family: var(--head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-quiet); }

.hero { position: relative; background: var(--midnight); color: var(--white); overflow: hidden; overflow: clip; padding: 132px 0 88px; }
.hero-rings { position: absolute; width: 900px; left: -240px; bottom: -300px; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); margin-bottom: 24px; }
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 520px; margin: 0 0 36px; }
.proof { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 16px; }
.proof li { display: flex; gap: 14px; align-items: flex-start; color: var(--white); font-size: 16px; }
.proof .mark { flex: none; width: 22px; height: 11px; border: 2px solid var(--sunrise); border-bottom: 0; border-radius: 22px 22px 0 0; margin-top: 8px; }
.hero-horizon { display: flex; align-items: center; gap: 0; max-width: 420px; }
.hero-horizon .done { height: 3px; width: 34%; background: var(--sunrise); border-radius: 3px; }
.hero-horizon .dot { width: 12px; height: 12px; background: var(--sunrise); border-radius: 50%; margin-left: -2px; }
.hero-horizon .rest { height: 1px; flex: 1; background: rgba(255,255,255,.22); }
.hero-horizon-label { font-size: 13px; color: var(--on-dark-quiet); margin-top: 12px; }

/* Form card */
.card { background: var(--white); color: var(--midnight); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.35); padding: 40px; }
.card h2 { font-size: 28px; margin-bottom: 8px; }
.card .sub { color: var(--grey); font-size: 15px; margin: 0 0 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--head); font-weight: 500; font-size: 14px; letter-spacing: -0.01em; color: var(--midnight); }
.field .opt { color: var(--grey); font-weight: 400; }
.input, select.input, textarea.input { width: 100%; font: inherit; font-size: 16px; color: var(--midnight); background: var(--dawn); border: 1px solid transparent; border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121212' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
textarea.input { min-height: 88px; resize: vertical; }
.input::placeholder { color: #A9A39C; }
.input:hover { border-color: #E3DBD2; }
.input:focus { outline: none; background: var(--white); border-color: var(--sunrise); box-shadow: 0 0 0 4px rgba(255,69,0,.12); }
.field.invalid .input { border-color: var(--ember); background: #FFF7F3; }
.err { color: var(--ember); font-size: 13px; min-height: 0; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); transition: all .15s ease; cursor: pointer; }
.chip input:checked + span { background: var(--midnight); border-color: var(--midnight); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid rgba(255,69,0,.45); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sunrise); flex: none; }
.form-foot { margin-top: 26px; }
.small-print { font-size: 13px; color: var(--grey); text-align: center; margin: 14px 0 0; }
.form-alert { background: #FFF1EA; color: var(--ember); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; overflow: clip; }

/* Success state */
.success { text-align: left; }
.success .sun { width: 150px; margin: 4px 0 28px; }
.success h2 { font-size: 32px; margin-bottom: 12px; }
.success p { color: var(--ink-soft); margin: 0 0 28px; }
.next-steps { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.next-steps .n { font-family: var(--head); color: var(--sunrise); font-size: 18px; }
.next-steps strong { display: block; font-family: var(--head); font-weight: 600; }
.next-steps span.d { color: var(--grey); font-size: 14px; }

/* Sections */
.section { padding: 112px 0; }
.section.dawn { background: var(--dawn); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 52px); margin-bottom: 16px; }
.section-head p { color: var(--grey); font-size: 18px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 32px 28px 36px; position: relative; overflow: hidden; overflow: clip; }
.feature .num { font-family: var(--head); font-weight: 300; font-size: 44px; color: var(--sunrise); letter-spacing: -0.02em; line-height: 1; margin-bottom: 40px; display: block; }
.feature h3 { font-size: 21px; margin-bottom: 12px; }
.feature p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.feature.dark { background: var(--midnight); color: var(--white); }
.feature.dark p { color: var(--on-dark); }
.feature.dark .arc { position: absolute; top: -56px; right: -56px; width: 128px; height: 128px; border: 2px solid var(--sunrise); border-radius: 50%; }
.feature.dark .arc::after { content: ''; position: absolute; inset: 22px; border-radius: 50%; background: var(--sunrise); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps-line { position: relative; height: 12px; margin: 0 0 40px; }
.steps-line .rest { position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: #D8D2CB; }
.steps-line .done { position: absolute; left: 0; width: 18%; top: 4px; height: 3px; background: var(--midnight); border-radius: 3px; }
.steps-line .dot { position: absolute; left: 18%; top: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--midnight); }
.step .n { font-family: var(--head); font-weight: 300; font-size: 44px; color: var(--sunrise); line-height: 1; display: block; margin-bottom: 20px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step .meta { font-family: var(--head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; display: block; }
.step p { color: var(--ink-soft); margin: 0; }
.section-cta { margin-top: 56px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.trust { background: var(--daybreak); border-radius: 28px; padding: 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; overflow: clip; }
.trust h2 { font-size: clamp(30px, 3.6vw, 44px); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.trust-list li { display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(194,65,12,.18); font-size: 17px; }
.trust-list li:last-child { border-bottom: 0; }
.trust-list .k { font-family: var(--head); color: var(--ember); font-weight: 600; font-size: 14px; letter-spacing: .1em; }
.trust .arc-motif { position: absolute; width: 420px; right: -120px; top: -150px; opacity: .5; }

.site-footer { background: var(--midnight); color: var(--on-dark); padding: 72px 0 40px; position: relative; overflow: hidden; overflow: clip; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .logo { height: 52px; width: auto; }
.footer-tagline { font-family: var(--head); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-quiet); margin-top: 18px; max-width: 360px; line-height: 1.7; }
.footer-contact { display: grid; gap: 8px; font-size: 15px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--on-dark-quiet); }
.footer-bottom .rise .accent { color: var(--sunrise); }

/* Reveal on load */
@media (prefers-reduced-motion: no-preference) {
  .rise-in { animation: riseIn .7s cubic-bezier(.2,.7,.2,1) both; }
  .rise-in.d1 { animation-delay: .08s; } .rise-in.d2 { animation-delay: .16s; } .rise-in.d3 { animation-delay: .24s; }
  @keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Responsive */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { max-width: 640px; }
  .features { grid-template-columns: 1fr 1fr; }
  .hero-rings { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .site-header .wrap { padding-top: 22px; }
  .site-header .logo { height: 38px; }
  .site-header .tag { display: none; }
  .hero { padding: 108px 0 56px; }
  .hero .lead { font-size: 17px; margin-bottom: 28px; }
  .proof { margin-bottom: 0; }
  .hero-horizon, .hero-horizon-label { display: none; }
  .card { padding: 28px 22px; border-radius: 18px; }
  .card h2 { font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps-line { display: none; }
  .trust { grid-template-columns: 1fr; padding: 40px 24px; gap: 24px; border-radius: 22px; }
  .site-footer { padding-top: 56px; }
}

/* ---------- Back office ---------- */
.admin { background: var(--dawn); min-height: 100vh; }
.admin-bar { background: var(--midnight); color: var(--white); }
.admin-bar .wrap { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.admin-bar .brand { display: flex; align-items: center; gap: 18px; }
.admin-bar .logo { height: 38px; width: auto; }
.admin-bar .divider { width: 1px; height: 28px; background: rgba(255,255,255,.18); }
.admin-bar .product { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--on-dark); }
.admin-bar .btn { padding: 10px 18px; font-size: 14px; background: rgba(255,255,255,.08); color: var(--white); }
.admin-bar .btn:hover { background: rgba(255,255,255,.14); }
.admin-main { max-width: 1320px; margin: 0 auto; padding: 40px 24px 80px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-head h1 { font-size: 36px; }
.admin-head .eyebrow { margin-bottom: 10px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.tile { background: var(--white); border-radius: 16px; padding: 22px 24px; }
.tile .v { font-family: var(--head); font-weight: 600; font-size: 38px; letter-spacing: -0.03em; line-height: 1; display: block; margin-bottom: 8px; }
.tile .l { font-size: 14px; color: var(--grey); }
.tile.hl { background: var(--midnight); color: var(--white); }
.tile.hl .v { color: var(--sunrise); }
.tile.hl .l { color: var(--on-dark); }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { font: inherit; font-size: 14px; font-weight: 500; border: 1px solid var(--line); background: var(--white); color: var(--midnight); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.filter .c { color: var(--grey); margin-left: 6px; font-weight: 400; }
.filter.on { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.filter.on .c { color: var(--on-dark-quiet); }
.search { min-width: 260px; background: var(--white); border-color: var(--line); padding: 10px 14px; }
.table-card { background: var(--white); border-radius: 16px; overflow: hidden; overflow: clip; }
table.leads { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.leads th { text-align: left; font-family: var(--head); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--white); white-space: nowrap; }
.leads td { padding: 16px 18px; border-bottom: 1px solid #F3EEE8; vertical-align: top; }
.leads tbody tr { cursor: pointer; transition: background-color .12s ease; }
.leads tbody tr:hover { background: #FDFAF7; }
.leads tbody tr:last-child td { border-bottom: 0; }
.leads .org { font-family: var(--head); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.leads .muted { color: var(--grey); font-size: 13.5px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-New { background: #FFE4D6; color: var(--ember); }
.st-Contacted { background: #F1EDE8; color: #4A4A4A; }
.st-Call-booked { background: #121212; color: #fff; }
.st-Proposal-sent { background: #FFF1D6; color: #8A5300; }
.st-Won { background: #E3F4E8; color: #1D6B3A; }
.st-Lost { background: #F1F1F1; color: #8A8A8A; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; }
.tag-s { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--dawn); color: var(--ink-soft); }
.empty { padding: 72px 24px; text-align: center; color: var(--grey); }
.empty img { width: 150px; margin: 0 auto 24px; opacity: .9; }
.empty h3 { color: var(--midnight); font-size: 22px; margin-bottom: 8px; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(18,18,18,.38); opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 20; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--white); z-index: 21; transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.7,.2,1), visibility .28s; display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(18,18,18,.12); }
.drawer-head { padding: 28px 32px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.drawer-head h2 { font-size: 26px; margin-bottom: 6px; }
.icon-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 20px; line-height: 1; color: var(--midnight); }
.drawer-body { padding: 24px 32px; overflow-y: auto; flex: 1; }
.dl { display: grid; grid-template-columns: 130px 1fr; gap: 12px 16px; margin: 0 0 28px; font-size: 15px; }
.dl dt { color: var(--grey); font-size: 13.5px; }
.dl dd { margin: 0; word-break: break-word; }
.dl a { color: var(--midnight); text-decoration-color: rgba(255,69,0,.5); text-underline-offset: 3px; }
.drawer-section { margin-bottom: 24px; }
.drawer-section .label { display: block; font-family: var(--head); font-weight: 500; font-size: 14px; margin-bottom: 8px; }
.drawer-foot { padding: 18px 32px; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.saved { font-size: 13.5px; color: var(--grey); }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.quick a { font-size: 14px; text-decoration: none; padding: 9px 14px; border-radius: 999px; background: var(--dawn); }
.quick a:hover { background: var(--daybreak); }

/* Login */
.login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-art { background: var(--midnight); position: relative; overflow: hidden; overflow: clip; padding: 48px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; }
.login-art .logo { height: 50px; width: auto; align-self: flex-start; position: relative; z-index: 2; }
.login-art h1 { font-size: clamp(36px, 4vw, 52px); position: relative; z-index: 2; max-width: 460px; }
.login-art .rings { position: absolute; width: 820px; right: -300px; bottom: -150px; }
.login-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--white); }
.login-form form { width: 100%; max-width: 380px; }
.login-form h2 { font-size: 30px; margin-bottom: 8px; }
.login-form p { color: var(--grey); margin: 0 0 28px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } .hide-md { display: none; } }
@media (max-width: 760px) {
  .login { grid-template-columns: 1fr; }
  .login-art { min-height: 260px; padding: 28px 24px; }
  .login-art .rings { width: 520px; right: -200px; bottom: -120px; }
  .admin-main { padding: 28px 16px 64px; }
  .admin-bar .divider, .admin-bar .product { display: none; }
  .hide-sm { display: none; }
  .search { min-width: 0; width: 100%; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 10px; }
  .drawer-head, .drawer-body, .drawer-foot { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Staff survey, leadership survey, progress page ---------- */
.sv { min-height: 100vh; min-height: 100dvh; background: var(--white); display: flex; flex-direction: column; }
.sv-top { position: sticky; top: 0; z-index: 4; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }
.sv-top .bar { max-width: 760px; margin: 0 auto; padding: 16px 20px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sv-top .logo { height: 34px; width: auto; }
.sv-top .count { font-family: var(--head); font-size: 13px; color: var(--grey); letter-spacing: .04em; white-space: nowrap; }
.track { position: relative; height: 12px; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.track .rest { position: absolute; left: 20px; right: 20px; top: 5.5px; height: 1px; background: #E4DED7; }
.track .done { position: absolute; left: 20px; top: 4.5px; height: 3px; border-radius: 3px; background: var(--sunrise); width: 0; transition: width .35s ease; }
.track .dot { position: absolute; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--sunrise); margin-left: -6px; left: 20px; transition: left .35s ease; }
.sv-body { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 40px 20px 32px; display: flex; flex-direction: column; }
.q-section { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sunrise); margin: 0 0 14px; }
.q-prompt { color: var(--grey); font-size: 16px; margin: 0 0 8px; }
.q-text { font-family: var(--head); font-weight: 600; font-size: clamp(24px, 4.4vw, 34px); line-height: 1.2; letter-spacing: -0.025em; margin: 0 0 32px; }
.opts { display: grid; gap: 10px; }
.ans { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; font-size: 17px; color: var(--midnight); background: var(--dawn); border: 1.5px solid transparent; border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, transform .1s ease; }
.ans:hover { border-color: #E3DBD2; }
.ans:active { transform: scale(.99); }
.ans .k { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #D6CEC5; display: grid; place-items: center; font-family: var(--head); font-size: 13px; color: var(--grey); background: var(--white); }
.ans.on { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.ans.on .k { background: var(--sunrise); border-color: var(--sunrise); color: var(--white); }
.q-note { font-size: 14px; color: var(--grey); margin: 18px 0 0; }
.sv-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 32px; }
.linkbtn { font: inherit; font-family: var(--head); font-weight: 500; font-size: 15px; background: none; border: 0; color: var(--grey); cursor: pointer; padding: 10px 0; }
.linkbtn:hover { color: var(--midnight); }
.linkbtn[disabled] { visibility: hidden; }
.sv-hero { background: var(--midnight); color: var(--white); position: relative; overflow: hidden; overflow: clip; flex: 1; display: flex; }
.sv-hero .inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 40px 20px 220px; width: 100%; }
.sv-hero .logo { height: 44px; width: auto; margin-bottom: 56px; }
.sv-hero h1 { font-size: clamp(38px, 7vw, 60px); margin: 0 0 20px; }
.sv-hero .intro { color: var(--on-dark); font-size: 17px; max-width: 560px; margin: 0 0 28px; }
.sv-hero .meta { font-family: var(--head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-quiet); margin: 0 0 32px; }
.sv-hero .rings { position: absolute; width: 760px; left: 50%; transform: translateX(-50%); bottom: -300px; }
.assure { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; }
.assure li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.assure .mark { flex: none; width: 20px; height: 10px; border: 2px solid var(--sunrise); border-bottom: 0; border-radius: 20px 20px 0 0; margin-top: 8px; }
.sv-end { text-align: center; align-items: center; justify-content: center; }
.sv-end img { width: 200px; margin: 0 auto 32px; }
.sv-end h1 { font-size: clamp(32px, 6vw, 48px); margin-bottom: 14px; }
.sv-end p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 8px; }
.fade-q { animation: fadeQ .28s ease both; }
@keyframes fadeQ { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-q { animation: none; } .track .done, .track .dot { transition: none; } }

/* Leadership predictions */
.ld-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ld-item p { margin: 0 0 14px; font-size: 16.5px; }
.ld-hint { color: var(--ember); font-weight: 600; }
.ld-row { display: flex; align-items: center; gap: 18px; }
.ld-row input[type=range] { flex: 1; accent-color: var(--sunrise); height: 28px; }
.ld-row output { font-family: var(--head); font-weight: 600; font-size: 22px; width: 64px; text-align: right; color: var(--midnight); }
.ld-row output.unset { color: #C9C2BA; }
.ld-group { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sunrise); margin: 36px 0 0; }

/* Progress page */
.pg-wrap { max-width: 860px; margin: 0 auto; padding: 48px 20px 80px; }
.pg-card { background: var(--white); border-radius: var(--radius); padding: 40px; }
.pg-big { font-family: var(--head); font-weight: 600; font-size: clamp(64px, 12vw, 112px); letter-spacing: -0.04em; line-height: 1; color: var(--midnight); }
.pg-big .accent { font-size: .5em; }
.pg-line { position: relative; height: 14px; margin: 28px 0 14px; }
.pg-line .rest { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: #E4DED7; border-radius: 2px; }
.pg-line .done { position: absolute; left: 0; top: 5px; height: 4px; border-radius: 4px; background: var(--sunrise); }
.pg-line .dot { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--sunrise); }
.pg-rows { display: grid; gap: 14px; margin-top: 8px; }
.pg-row { display: grid; grid-template-columns: 1fr 2fr 48px; gap: 16px; align-items: center; font-size: 15px; }
.pg-row .b { height: 8px; background: var(--dawn); border-radius: 8px; overflow: hidden; }
.pg-row .b span { display: block; height: 100%; background: var(--midnight); border-radius: 8px; }
.pg-row .v { text-align: right; font-family: var(--head); font-weight: 600; }
@media (max-width: 600px) { .pg-card { padding: 28px 22px; } .pg-row { grid-template-columns: 1fr 1.2fr 40px; } }

/* ---------- Back office: surveys ---------- */
.admin-nav { display: flex; gap: 4px; margin-right: auto; margin-left: 32px; }
.admin-nav a { font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--on-dark-quiet); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.admin-nav a:hover { color: var(--white); }
.admin-nav a.on { color: var(--white); background: rgba(255,255,255,.1); }
.panel { background: var(--white); border-radius: 18px; padding: 28px; margin-bottom: 20px; }
.panel h2 { font-size: 22px; margin-bottom: 6px; }
.panel .hint { color: var(--grey); font-size: 14.5px; margin: 0 0 20px; }
.panel-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
.sv-list { display: grid; gap: 12px; }
.sv-row { display: grid; grid-template-columns: 2.2fr 1fr 1.4fr 1fr 24px; gap: 20px; align-items: center; background: var(--white); border-radius: 16px; padding: 20px 24px; text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
.sv-row:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.sv-row .org { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.sv-row .muted { color: var(--grey); font-size: 13.5px; }
.minibar { height: 6px; background: var(--dawn); border-radius: 6px; overflow: hidden; margin-top: 8px; }
.minibar span { display: block; height: 100%; background: var(--sunrise); border-radius: 6px; }
.st-draft { background: #F1EDE8; color: #4A4A4A; } .st-live { background: #121212; color: #fff; } .st-closed { background: #FFE4D6; color: var(--ember); }
.type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.type-card { position: relative; border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; cursor: pointer; background: var(--white); transition: border-color .15s ease, background-color .15s ease; }
.type-card input { position: absolute; opacity: 0; }
.type-card strong { display: block; font-family: var(--head); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.type-card span { color: var(--grey); font-size: 14px; }
.type-card:has(input:checked) { border-color: var(--midnight); background: var(--dawn); }
.type-card:has(input:disabled) { cursor: not-allowed; opacity: .7; }
.drv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.drv-col h3 { font-size: 16px; margin-bottom: 4px; }
.drv-col .q { color: var(--grey); font-size: 13px; margin: 0 0 12px; font-style: italic; }
.drv { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; border: 1px solid transparent; }
.drv:hover { background: var(--dawn); }
.drv input { width: 18px; height: 18px; accent-color: var(--midnight); flex: none; }
.drv:has(input:checked) { background: var(--dawn); border-color: #E7DFD6; font-weight: 500; }
.drv .gh { width: 7px; height: 7px; border-radius: 50%; background: var(--sunrise); flex: none; margin-left: auto; }
.counter { font-family: var(--head); font-weight: 600; font-size: 15px; }
.counter.bad { color: var(--ember); }
.toggle { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #F3EEE8; cursor: pointer; }
.toggle:last-child { border-bottom: 0; }
.toggle input { width: 20px; height: 20px; accent-color: var(--midnight); margin-top: 2px; flex: none; }
.toggle strong { display: block; font-family: var(--head); font-weight: 600; font-size: 15.5px; }
.toggle span { color: var(--grey); font-size: 14px; }
.cq { display: grid; grid-template-columns: 1fr 200px 40px; gap: 10px; align-items: start; padding: 14px; border-radius: 12px; background: var(--dawn); margin-bottom: 10px; }
.cq textarea.input { min-height: 48px; background: var(--white); }
.cq select.input, .cq .input { background-color: var(--white); }
.cq .opts-in { grid-column: 1 / 3; }
.sticky-save { position: sticky; bottom: 16px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--midnight); color: var(--white); border-radius: 16px; padding: 14px 16px 14px 24px; box-shadow: 0 20px 50px rgba(18,18,18,.25); }
.sticky-save .saved { color: var(--on-dark); }
.lock { background: var(--daybreak); color: var(--ember); border-radius: 12px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 20px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 8px 0 28px; }
.tabs a { font-family: var(--head); font-weight: 500; font-size: 15px; text-decoration: none; color: var(--grey); padding: 12px 16px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--midnight); border-color: var(--sunrise); }
.link-card { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid #F3EEE8; }
.link-card:last-child { border-bottom: 0; }
.link-card h3 { font-size: 17px; margin-bottom: 4px; }
.link-card p { margin: 0; color: var(--grey); font-size: 14px; }
.link-url { grid-column: 1 / -1; font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; background: var(--dawn); padding: 10px 14px; border-radius: 10px; word-break: break-all; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.msg-box { white-space: pre-wrap; background: var(--dawn); border-radius: 12px; padding: 16px 18px; font-size: 14.5px; color: var(--ink-soft); }
/* Results */
.kpi { background: var(--white); border-radius: 18px; padding: 24px; height: 100%; }
.kpi.dark { background: var(--midnight); color: var(--white); }
.kpi .lbl { font-family: var(--head); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.kpi.dark .lbl { color: var(--on-dark-quiet); }
.kpi .big { font-family: var(--head); font-weight: 600; font-size: 56px; letter-spacing: -0.04em; line-height: 1; margin: 14px 0 8px; display: block; }
.kpi .sub { font-size: 14px; color: var(--grey); }
.kpi.dark .sub { color: var(--on-dark); }
.gauge { position: relative; height: 14px; margin: 18px 0 6px; }
.gauge .seg { position: absolute; top: 6px; height: 2px; }
.gauge .mk { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--sunrise); box-shadow: 0 0 0 4px rgba(255,69,0,.2); }
.gauge-l { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--on-dark-quiet); }
.bandpill { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.b-Rising { background: #121212; color: #fff; border: 1px solid #3A3A3A; } .b-Holding { background: #E9E4DE; color: #3A3A3A; } .b-Slipping { background: #FFB98F; color: #6B2A08; } .b-At-risk { background: #C2410C; color: #fff; }
.split { display: flex; height: 10px; border-radius: 10px; overflow: hidden; margin: 16px 0 12px; background: var(--dawn); }
.split span { display: block; height: 100%; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--grey); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.drow { display: grid; grid-template-columns: 220px 1fr 56px 84px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F3EEE8; cursor: pointer; }
.drow:last-child { border-bottom: 0; }
.drow .nm { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.drow .gh { width: 7px; height: 7px; border-radius: 50%; background: var(--sunrise); flex: none; }
.hbar { height: 10px; background: var(--dawn); border-radius: 10px; overflow: hidden; }
.hbar span { display: block; height: 100%; border-radius: 10px; }
.drow .sc { font-family: var(--head); font-weight: 600; font-size: 18px; text-align: right; }
.drow .fv { font-size: 13px; color: var(--grey); text-align: right; white-space: nowrap; }
.ditems { grid-column: 1 / -1; display: none; padding: 4px 0 6px; }
.drow.open .ditems { display: block; }
.ditems div { display: grid; grid-template-columns: 1fr 64px; gap: 12px; font-size: 14px; color: var(--ink-soft); padding: 6px 0 6px 16px; border-left: 2px solid var(--daybreak); }
.ditems b { font-family: var(--head); text-align: right; }
.layer-h { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sunrise); margin: 22px 0 4px; display: flex; justify-content: space-between; }
.layer-h:first-child { margin-top: 0; }
.bs-row { display: grid; grid-template-columns: 1fr 260px 70px; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid #F3EEE8; font-size: 14.5px; }
.bs-row:last-child { border-bottom: 0; }
.bs-bars { display: grid; gap: 5px; }
.bs-bars div { display: grid; grid-template-columns: 1fr 40px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--grey); }
.bs-bars .hbar { height: 8px; }
.bs-gap { font-family: var(--head); font-weight: 600; font-size: 18px; text-align: right; }
.bs-gap.flag { color: var(--ember); }
.heat { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 14px; }
.heat th { font-family: var(--head); font-weight: 500; font-size: 13px; color: var(--grey); text-align: center; padding: 6px 4px; vertical-align: bottom; }
.heat th:first-child, .heat td:first-child { text-align: left; }
.heat td { text-align: center; padding: 10px 6px; border-radius: 8px; font-family: var(--head); font-weight: 600; }
.heat td:first-child { font-family: var(--body); font-weight: 500; padding-left: 0; }
.heat td.na { background: #F6F3EF; color: #B5AEA6; font-family: var(--body); font-weight: 400; font-size: 12px; }
.heat-wrap { overflow-x: auto; }
.comments { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding-right: 6px; }
.comments p { margin: 0; background: var(--dawn); border-radius: 12px; padding: 12px 16px; font-size: 14.5px; color: var(--ink-soft); }
.notice { background: var(--daybreak); border-radius: 14px; padding: 16px 20px; font-size: 14.5px; color: #6B2A08; margin-bottom: 20px; }
.notice strong { color: var(--ember); }
@media (max-width: 1000px) { .span-8, .span-6, .span-4, .span-3 { grid-column: span 12; } .drv-cols, .type-cards { grid-template-columns: 1fr; } .sv-row { grid-template-columns: 1fr 1fr; } .sv-row > :nth-child(n+3) { display: none; } .admin-nav { margin-left: 12px; } }
@media (max-width: 700px) { .drow { grid-template-columns: 1fr 48px; } .drow .hbar, .drow .fv { display: none; } .bs-row { grid-template-columns: 1fr 56px; } .bs-bars { grid-column: 1 / -1; grid-row: 2; } .cq { grid-template-columns: 1fr 40px; } .cq select { grid-column: 1; } .admin-bar .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; } }
