/* iView design tokens. Change --accent (or set a company brand colour) to re-theme the whole portal. */
:root {
  --accent: #4f46e5; --accent-2: #7c3aed;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff); --accent-line: color-mix(in srgb, var(--accent) 25%, #fff);
  --bg: #f4f5fa; --card: #fff; --text: #171a2b; --muted: #636a80; --line: #e5e7ef; --line-strong: #d3d7e3;
  --good: #15803d; --good-bg: #e7f6ec; --ok: #2563eb; --ok-bg: #e9f0fe; --warn: #b45309; --warn-bg: #fdf3e2; --bad: #b91c1c; --bad-bg: #fdecec;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 24, 50, .04), 0 2px 10px rgba(20, 24, 50, .05);
  --shadow-lg: 0 12px 40px rgba(20, 24, 50, .12);
  font-size: 15px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
h1 { font-size: 1.65rem; margin: .1em 0 .4em; letter-spacing: -.02em; line-height: 1.25; } h2 { font-size: 1.15rem; margin: .1em 0 .7em; letter-spacing: -.01em; }
h3 { margin: .3em 0 .5em; font-size: 1.02rem; } h4 { margin: .8em 0 .3em; }
small, .small { font-size: .85rem; } .muted { color: var(--muted); } .mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.hidden { display: none !important; } .nowrap { white-space: nowrap; } .wrap { word-break: break-word; } .center { text-align: center; }
.text-good { color: var(--good); } .text-bad { color: var(--bad); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; gap: 20px; padding: 0 24px; min-height: 60px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; color: var(--text); font-size: 1.05rem; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo img { height: 30px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-weight: 800; font-size: .95rem; flex: none; }
.mainnav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.mainnav a { padding: 8px 11px; border-radius: 8px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.mainnav a.active, .mainnav a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.userbox { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.credits { background: var(--accent-soft); color: var(--accent); padding: 4px 11px; border-radius: 99px; font-weight: 650; font-size: .82rem; white-space: nowrap; }
.btn.nav-toggle { display: none; }
.page { max-width: 1240px; margin: 0 auto; padding: 28px 18px 72px; }

@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; padding: 8px 16px; gap: 10px; }
  .btn.nav-toggle { display: inline-flex; margin-left: auto; }
  .mainnav, .topbar .userbox { display: none; width: 100%; }
  .topbar.open .mainnav { display: flex; flex-direction: column; padding: 6px 0; }
  .topbar.open .userbox { display: flex; flex-wrap: wrap; padding: 10px 0 12px; border-top: 1px solid var(--line); margin-left: 0; }
  .page { padding: 20px 14px 60px; }
}

/* ---------- Layout helpers ---------- */
/* overflow-x: a wide table scrolls inside its card instead of pushing the whole page sideways on phones. */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow); min-width: 0; overflow-x: auto; }
.card.narrow, .narrow { max-width: 620px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 16px; } .grid.two { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); } .grid.three { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); margin-bottom: 18px; }
@media (max-width: 600px) { .grid.stats { gap: 10px; } .grid.stats .stat { padding: 14px; gap: 10px; } .grid.stats .icon-tile { width: 34px; height: 34px; } .stat strong { font-size: 1.4rem; } }
.grid > .card { margin-bottom: 0; }
.stat { display: flex; align-items: center; gap: 14px; margin-bottom: 0; }
/* Only the label above the number; the icon tile is a span too and must keep its own centring. */
.stat > div { min-width: 0; }
.stat > div > span { color: var(--muted); font-size: .84rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .stat strong { display: block; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.02em; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-end { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.row-gap { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.inline { display: inline; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; } .page-head p { margin: 4px 0 0; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.icon-tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile.good { background: var(--good-bg); color: var(--good); } .icon-tile.warn { background: var(--warn-bg); color: var(--warn); } .icon-tile.ok { background: var(--ok-bg); color: var(--ok); }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty .icon-tile { margin: 0 auto 10px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }

/* ---------- Buttons and forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); border-radius: var(--radius-sm); cursor: pointer; font-size: .94rem; font-weight: 550; text-decoration: none !important; font-family: inherit; line-height: 1.2; transition: background .15s, border-color .15s, box-shadow .15s, filter .15s; }
.btn:hover { border-color: #b9bfd0; background: #fafbfd; } .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 1px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(20, 24, 50, .12), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn.primary:hover { filter: brightness(1.08); background: var(--accent); }
.btn.danger { color: var(--bad); } .btn.ghost { background: transparent; border-color: transparent; box-shadow: none; } .btn.ghost:hover { background: rgba(20, 24, 50, .05); }
.btn.small { padding: 5px 10px; font-size: .84rem; border-radius: 8px; } .btn.big { padding: 13px 24px; font-size: 1.04rem; border-radius: 11px; }

label { display: flex; flex-direction: column; gap: 5px; font-weight: 550; font-size: .9rem; }
label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.inline-field { flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; font-weight: 400; }
.inline-field input { width: 80px; }
input, select, textarea { font: inherit; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); } input[type=color] { height: 40px; padding: 2px; width: 80px; }
input[type=file] { padding: 7px; background: #fafbfd; }
textarea { resize: vertical; } input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; } legend { font-weight: 600; padding: 0 6px; }
details summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.hint { color: var(--muted); font-size: .84rem; font-weight: 400; }
.opt { color: var(--muted); font-size: .78rem; font-weight: 400; margin-left: 4px; }
/* Two even columns of labelled fields, one column on phones. */
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.option-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; background: #fafbfd; }
.option-box .chips:empty, .option-box .chips.hidden { display: none; }

/* ---------- Messages, badges, scores ---------- */
.flash { padding: 11px 15px; border-radius: var(--radius-sm); margin-bottom: 16px; background: var(--ok-bg); color: var(--ok); word-break: break-word; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.flash.ok { background: var(--good-bg); color: var(--good); } .flash.bad { background: var(--bad-bg); color: var(--bad); } .flash.warn { background: var(--warn-bg); color: var(--warn); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .76rem; font-weight: 650; vertical-align: middle; white-space: nowrap; }
.badge.good { background: var(--good-bg); color: var(--good); } .badge.ok { background: var(--ok-bg); color: var(--ok); } .badge.warn { background: var(--warn-bg); color: var(--warn); } .badge.bad { background: var(--bad-bg); color: var(--bad); } .badge.muted { background: #eef0f5; color: var(--muted); }
.score { display: inline-block; min-width: 48px; text-align: center; padding: 3px 9px; border-radius: 8px; font-weight: 750; font-variant-numeric: tabular-nums; }
.score.good { background: var(--good-bg); color: var(--good); } .score.ok { background: var(--ok-bg); color: var(--ok); } .score.warn { background: var(--warn-bg); color: var(--warn); } .score.bad { background: var(--bad-bg); color: var(--bad); }
.delta { display: inline-block; min-width: 46px; text-align: center; padding: 2px 9px; border-radius: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.delta.up { background: var(--good-bg); color: var(--good); } .delta.down { background: var(--bad-bg); color: var(--bad); } .delta:not(.up):not(.down) { background: #eef0f5; color: var(--muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .82rem; flex: none; }
.avatar.big { width: 56px; height: 56px; font-size: 1.15rem; }
.person { display: flex; align-items: center; gap: 11px; min-width: 0; } .person > div { min-width: 0; }

/* ---------- Tables and tabs ---------- */
.table { width: 100%; border-collapse: collapse; } .table th, .table td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfe; }
.table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; background: #fafbfd; }
.table.top td { vertical-align: top; }
.form-table input, .form-table textarea { min-width: 70px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; flex-wrap: wrap; }
.tabs a { padding: 9px 12px; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 550; display: inline-flex; gap: 6px; align-items: center; }
.tabs a:hover { color: var(--text); text-decoration: none; } .tabs a.active { color: var(--accent); border-color: var(--accent); }
.tabs .count { background: #eef0f5; color: var(--muted); border-radius: 99px; padding: 0 7px; font-size: .74rem; }
.tabs a.active .count { background: var(--accent-soft); color: var(--accent); }
.tabs.vertical { flex-direction: column; border: 0; min-width: 190px; } .tabs.vertical a { border: 0; border-left: 3px solid transparent; border-radius: 0 6px 6px 0; }
.tabs.vertical a.active { background: #fff; border-left-color: var(--accent); }
.settings-wrap { display: flex; gap: 20px; align-items: flex-start; } .settings-form { flex: 1; max-width: 760px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.checklist { list-style: none; padding: 0; } .checklist li { padding: 4px 0; } .checklist .ok { color: var(--good); } .checklist .todo { color: var(--muted); }
.setup-list { list-style: none; padding: 0; margin: 0 0 12px; }
.setup-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.setup-list li:last-child { border-bottom: 0; }
.setup-list .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #eef0f5; color: var(--muted); }
.setup-list .dot .icon { width: 14px; height: 14px; }
.setup-list .ok .dot { background: var(--good-bg); color: var(--good); }
.setup-list .state { margin-left: auto; font-size: .8rem; color: var(--muted); } .setup-list .ok .state { color: var(--good); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chip { flex-direction: row; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font-weight: 400; }

/* ---------- Dashboard ---------- */
.welcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--radius); color: #fff; margin-bottom: 18px;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .18), transparent 40%), linear-gradient(120deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow); }
.welcome h1 { margin: 0; color: #fff; } .welcome p { margin: 4px 0 0; opacity: .88; }
.welcome .btn { background: #fff; color: var(--accent); border-color: #fff; }
.gs-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); counter-reset: gs; }
.gs-step { counter-increment: gs; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 48px; position: relative; background: #fff; }
.gs-step::before { content: counter(gs); position: absolute; left: 13px; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: #eef0f5; color: var(--muted); }
.gs-step.done { background: var(--good-bg); border-color: color-mix(in srgb, var(--good) 25%, #fff); }
.gs-step.done::before { content: '✓'; background: var(--good); color: #fff; }
.gs-step strong { display: block; font-size: .92rem; } .gs-step span { color: var(--muted); font-size: .82rem; }
.review-list { list-style: none; margin: 0; padding: 0; } .review-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.review-list li:last-child { border-bottom: 0; }

/* ---------- Roles ---------- */
.role-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.role-card { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.role-card h3 { margin: 0; font-size: 1.08rem; } .role-card h3 a { color: var(--text); }
.role-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .85rem; }
.role-meta span { display: inline-flex; align-items: center; gap: 5px; }
.role-card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.status-strip { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: st; }
.status-strip li { counter-increment: st; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 550; }
.status-strip li::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #eef0f5; font-size: .76rem; font-weight: 700; }
.status-strip li.done { color: var(--good); border-color: color-mix(in srgb, var(--good) 30%, #fff); background: var(--good-bg); }
.status-strip li.done::before { content: '✓'; background: var(--good); color: #fff; }
.status-strip li.next { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

.question { border-top: 1px solid var(--line); padding: 10px 0; } .question summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 400; }
.question .qtext { flex: 1; } .question .qmeta { color: var(--muted); font-size: .82rem; white-space: nowrap; } .question form { padding: 12px 0; }
.add-question { display: flex; gap: 8px; margin-top: 10px; }

/* ---------- Candidates and report ---------- */
.invite-panel { display: grid; gap: 16px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
@media (max-width: 900px) { .invite-panel { grid-template-columns: 1fr; } }
.report-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.report-head .who { flex: 1; min-width: 220px; } .report-head h1 { margin: 0; }
.report-head .head-score { text-align: center; padding: 6px 16px; border-left: 1px solid var(--line); }
.report-head .head-score strong { font-size: 1.9rem; display: block; line-height: 1.1; }
.section-nav { position: sticky; top: 60px; z-index: 5; display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; margin: -4px 0 14px; background: var(--bg); }
.section-nav a { padding: 6px 12px; border-radius: 99px; color: var(--muted); font-weight: 550; font-size: .88rem; white-space: nowrap; border: 1px solid transparent; }
.section-nav a:hover { background: #fff; border-color: var(--line); text-decoration: none; color: var(--text); }
section[id] { scroll-margin-top: 120px; }
.invite-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.invite-box .link { flex: 1; min-width: 200px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; background: #f6f7fb; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; word-break: break-all; }

/* ---------- Home page ---------- */
.hero { text-align: center; padding: 48px 0 24px; } .hero h1 { font-size: 2.4rem; } .lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; margin: 0 auto 1em; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin: 24px 0 36px; }
.packs { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); margin-bottom: 18px; }
.pack { display: flex; flex-direction: column; gap: 4px; } .pack .price { font-size: 1.7rem; font-weight: 750; letter-spacing: -.02em; } .pack ul { padding-left: 18px; color: var(--muted); }
.pack .btn { margin-top: auto; }
/* Home page prices */
.price-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); align-items: stretch; padding-top: 10px; }
.plan { display: flex; flex-direction: column; gap: 0; padding: 28px 26px 26px; }
.plan h3 { margin: 0 0 14px; font-size: 1.3rem; }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan .price small { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { display: inline-flex; align-self: flex-start; gap: 6px; align-items: center; margin: 12px 0 18px; padding: 5px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: .88rem; }
.plan .ticks { margin-bottom: 24px; padding-top: 18px; border-top: 1px dashed var(--line-strong); gap: 9px; }
.plan .ticks li { font-size: .96rem; }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 2px 4px rgba(20, 24, 50, .06), 0 24px 50px -14px color-mix(in srgb, var(--accent) 45%, transparent); }
.plan.featured .per { background: var(--accent); color: #fff; }
.ribbon { position: absolute; top: 16px; right: 16px; padding: 4px 11px; border-radius: 99px; font-size: .74rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }
@media (min-width: 901px) { .plan.featured { transform: translateY(-8px); } .plan.featured:hover { transform: translateY(-11px); } }
.landing { margin-top: -28px; }
.landing section { padding: 56px 0; }
.landing h2.title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); text-align: center; margin-bottom: .3em; letter-spacing: -.025em; line-height: 1.2; }
.landing p.sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 32px; font-size: 1.05rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 99px; }
.hero2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 64px !important; }
.hero2 h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; margin: 16px 0 14px; letter-spacing: -.035em; }
.hero2 h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { margin: 0 0 24px; text-align: left; }
.hero2 .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--muted); font-size: .9rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; } .trust .icon { color: var(--good); }
@media (max-width: 900px) { .hero2 { grid-template-columns: 1fr; gap: 32px; padding-top: 36px !important; } }
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; }
.mock::before { content: ''; position: absolute; inset: -18px -18px auto auto; width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity: .14; z-index: -1; }
.mock-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-head .score-ring { margin-left: auto; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--good) 0 82%, #e9ecf3 82% 100%); }
.mock-head .score-ring b { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.15rem; }
.mock .dimrow { display: grid; grid-template-columns: 150px 1fr 34px; gap: 10px; align-items: center; font-size: .85rem; margin: 7px 0; }
.mock .dimrow .bar { margin: 0; }
.mock .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
/* Home page boxes: clear border, soft layered shadow, accent line on top, slight lift on hover. */
.box { position: relative; overflow: hidden; background: #fff; border: 1px solid #dde1ec; border-radius: 16px; padding: 26px 24px 24px;
  box-shadow: 0 1px 2px rgba(20, 24, 50, .05), 0 12px 30px -8px rgba(20, 24, 50, .12); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.box::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.box:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 2px 4px rgba(20, 24, 50, .06), 0 20px 44px -12px color-mix(in srgb, var(--accent) 38%, transparent); }
@media (prefers-reduced-motion: reduce) { .box, .box:hover { transition: none; transform: none; } }
/* Icon and heading side by side; the heading always stays on one line. */
.box-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; min-width: 0; }
.box-head h3 { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(1.08rem, .6rem + .75vw, 1.3rem); letter-spacing: -.01em; }
.box p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.how { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: how; }
@media (max-width: 1000px) { .how { grid-template-columns: 1fr; } }
.mock::after { content: ''; position: absolute; left: -30px; bottom: -30px; width: 130px; height: 130px; z-index: -1;
  background-image: radial-gradient(var(--accent-line) 2.2px, transparent 2.4px); background-size: 16px 16px; }
@media (max-width: 900px) { .mock::before, .mock::after { display: none; } }
.how > .box { counter-increment: how; }
.how > .box .box-head { padding-right: 40px; }
.how > .box::before { content: counter(how); position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 750; font-size: .9rem; box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 40%, transparent); }
.pack h3 { font-size: 1.25rem; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; } .ticks .icon { color: var(--good); margin-top: 3px; }
/* Full-width white band without widening the page: the shadow paints the sides, clip-path keeps it to the band's height. */
.band-soft { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq details[open] summary { margin-bottom: 6px; } .faq details p { margin: 0; color: var(--muted); }
.cta-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; color: #fff; border-radius: 24px; padding: 48px 52px !important; margin: 24px 0 56px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 12% 0, rgba(255, 255, 255, .22), transparent 42%), radial-gradient(circle at 100% 100%, rgba(255, 255, 255, .12), transparent 40%), linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--accent) 60%, transparent); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; letter-spacing: -.02em; line-height: 1.2; } .cta-band p { opacity: .92; margin: 0 0 18px; font-size: 1.05rem; }
.cta-points { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 550; }
.cta-points li { display: inline-flex; align-items: center; gap: 6px; } .cta-points .icon { background: rgba(255, 255, 255, .22); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
.cta-band .btn { background: #fff; color: var(--accent); border-color: #fff; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .3); }
.cta-art { width: 100%; max-width: 380px; height: auto; justify-self: end; }
.illustration { width: 100%; max-width: 520px; height: auto; justify-self: center; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px !important; text-align: left; } .cta-art { justify-self: center; max-width: 320px; } }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 0; color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Report ---------- */
.report-top { grid-template-columns: 260px 1fr; } @media (max-width: 760px) { .report-top { grid-template-columns: 1fr; } .settings-wrap { flex-direction: column; } }
.overall { text-align: center; } .big-score { font-size: 3.4rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; } .big-score small { font-size: 1rem; color: var(--muted); }
.big-score.good, .band.good { color: var(--good); } .big-score.ok, .band.ok { color: var(--ok); } .big-score.warn, .band.warn { color: var(--warn); } .big-score.bad, .band.bad { color: var(--bad); }
.band { font-weight: 700; margin-bottom: 10px; }
.integrity { display: inline-block; padding: 4px 12px; border-radius: 99px; font-weight: 600; font-size: .88rem; }
.integrity.good { background: var(--good-bg); color: var(--good); } .integrity.warn { background: var(--warn-bg); color: var(--warn); } .integrity.bad { background: var(--bad-bg); color: var(--bad); }
.dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.bar { height: 8px; background: #eceef4; border-radius: 99px; overflow: hidden; margin: 6px 0; } .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 99px; }
.bar.good span { background: var(--good); }
video#player { width: 100%; max-height: 520px; background: #000; border-radius: 10px; }
.id-photo { width: 140px; border-radius: 10px; vertical-align: middle; }
.turn { border-top: 1px solid var(--line); padding: 12px 0; } .turn.followup { margin-left: 24px; } .turn p { margin: 4px 0; }
.turn .ai { color: var(--muted); } pre.code { background: #1e1e2e; color: #e4e4ef; padding: 12px; border-radius: 10px; overflow: auto; max-height: 420px; font-size: .85rem; }
.compare th { width: 200px; }
.logo-preview { max-height: 60px; align-self: flex-start; }

/* ---------- Log in and sign up ---------- */
.auth-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; margin: 0; }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .18), transparent 40%), linear-gradient(140deg, var(--accent), var(--accent-2)); }
.auth-side .logo { color: #fff; } .auth-side .logo-mark { background: rgba(255, 255, 255, .2); }
.auth-side h2 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 14px; letter-spacing: -.02em; }
.auth-side .ticks .icon { color: #fff; } .auth-side p { opacity: .85; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-card .logo { margin-bottom: 18px; }
@media (max-width: 860px) { .auth-page { grid-template-columns: 1fr; } .auth-side { padding: 22px 20px; } .auth-side .side-body { display: none; } }

@media print {
  .topbar, .no-print, form, .btn, .section-nav { display: none !important; }
  body { background: #fff; } .card { border: 0; padding: 8px 0; break-inside: avoid; box-shadow: none; } .page { padding: 0; }
}
