:root {
  --ink: #343638;
  --ink-2: #464b4f;
  --brand: #075f87;
  --brand-2: #064b6b;
  --sage: #e7f0f4;
  --sage-2: #d5e4eb;
  --paper: #f7f9fa;
  --white: #fff;
  --accent: #5fa4c3;
  --accent-light: #c8e3ef;
  --muted: #69767e;
  --line: #dce5e9;
  --danger: #a83d32;
  --shadow: 0 20px 56px rgba(24, 57, 72, .10);
  font-family: 'Aptos', 'Segoe UI', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.shell { overflow: hidden; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 82px; display: flex; align-items: center; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(52,54,56,.08); position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain; }
.brand-name { color: #075f87; font: 800 17px/1 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.05em; }
.brand-sub { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; margin-top: 6px; }
.brand-lockup { flex: 0 0 auto; }
.brand-lockup img { display: block; width: 248px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; color: #4d555a; }
.main-nav a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.button { border: 0; border-radius: 99px; padding: 13px 19px; min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--brand); color: white; box-shadow: 0 8px 18px rgba(7,95,135,.16); }
.button-primary:hover { background: var(--brand-2); }
.button-secondary { background: var(--white); color: var(--brand); border: 1px solid var(--line); }
.button-quiet { background: transparent; color: var(--brand); border: 1px solid rgba(7,95,135,.24); }
.button-sm { min-height: 38px; padding: 9px 14px; font-size: 11px; }
.text-button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; background: transparent; color: var(--brand); font-size: 12px; font-weight: 700; }
.text-button:hover { color: var(--brand-2); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 18px; }

.hero { position: relative; background: var(--brand); color: white; padding: 58px 0 64px; min-height: 575px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 83% 42%, rgba(111,183,212,.23), transparent 38%), linear-gradient(113deg, #075f87 0%, #064b6b 55%, #0d7198 100%); }
.hero::after { content: ''; position: absolute; right: -100px; bottom: -230px; width: 680px; height: 480px; border: 1px solid rgba(200,227,239,.18); border-radius: 50%; transform: rotate(-25deg); box-shadow: 0 0 0 50px rgba(200,227,239,.035), 0 0 0 100px rgba(200,227,239,.025); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 44px; min-height: 450px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; line-height: 1.4; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; color: #b5d7e6; }
.eyebrow::before { content: ''; display: block; width: 22px; height: 1px; background: var(--accent); }
.hero h1 { max-width: 635px; margin: 22px 0 20px; font: 600 clamp(38px, 5vw, 61px)/1.1 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.065em; }
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero-copy { max-width: 510px; color: #d5e5ec; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 31px; }
.hero .button-secondary { color: var(--brand); }
.hero .button-quiet { color: white; }
.hero-proof { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 40px; color: #d1e3eb; font-size: 10px; letter-spacing: .04em; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-art { height: 395px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; width: 345px; height: 345px; border: 1px solid rgba(200,227,239,.28); border-radius: 50%; transform: rotate(-26deg); }
.orbit::before, .orbit::after { content: ''; position: absolute; border: 1px solid rgba(200,227,239,.19); border-radius: 50%; inset: 24px -24px; transform: rotate(52deg); }
.orbit::after { inset: 58px -58px; transform: rotate(-32deg); }
.molecule-core { z-index: 1; width: 208px; height: 208px; border-radius: 50%; background: linear-gradient(145deg, rgba(220,236,244,.18), rgba(220,236,244,.04)); border: 1px solid rgba(220,236,244,.42); box-shadow: inset 0 0 55px rgba(208,231,241,.12), 0 0 70px rgba(206,231,241,.11); display: grid; place-items: center; position: relative; }
.molecule-core::after { content: ''; position: absolute; width: 72px; height: 72px; border: 1px solid var(--accent-light); border-radius: 50%; box-shadow: 0 0 30px rgba(200,227,239,.25); }
.core-ring { position: absolute; width: 146px; height: 146px; border: 1px dashed rgba(200,227,239,.5); border-radius: 50%; }
.core-label { z-index: 1; text-align: center; text-transform: uppercase; font-size: 8px; letter-spacing: .17em; color: #d3e4eb; }
.core-label strong { display: block; color: white; font: 700 23px/1.1 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.05em; margin-bottom: 5px; }
.molecule-node { position: absolute; width: 46px; height: 46px; border: 1px solid rgba(200,227,239,.6); border-radius: 50%; background: #0b5273; box-shadow: 0 0 0 8px rgba(200,227,239,.045); display: grid; place-items: center; color: var(--accent-light); font: 600 9px/1 'Aptos', 'Segoe UI', sans-serif; }
.node-one { top: 24px; left: 144px; }
.node-two { top: 110px; right: 24px; }
.node-three { bottom: 28px; right: 129px; }
.node-four { bottom: 94px; left: 17px; }
.hero-note { position: absolute; bottom: 15px; right: -10px; width: 195px; padding: 16px 18px; border: 1px solid rgba(200,227,239,.34); border-radius: 12px; color: #d5e5ec; background: rgba(4,45,65,.72); font-size: 10px; line-height: 1.55; backdrop-filter: blur(10px); }
.hero-note strong { display: block; margin-bottom: 5px; color: var(--accent-light); font: 700 11px 'Manrope', sans-serif; }

.trust-strip { background: #edf3f6; padding: 24px 0; }
.trust-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.trust-label { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.trust-items { display: flex; align-items: center; gap: 34px; color: #4c5c64; font-size: 11px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item svg { color: #6b9ab0; }

.section { padding: 88px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 13px 0 0; max-width: 560px; font: 600 clamp(28px, 3vw, 40px)/1.18 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.055em; }
.section-heading p { max-width: 375px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.eyebrow.dark { color: #567f92; }
.invitation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.invitation-card { min-height: 255px; padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: white; display: flex; flex-direction: column; box-shadow: 0 8px 25px rgba(24,57,72,.035); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { display: inline-flex; padding: 7px 10px; border-radius: 99px; background: #e8f2f6; color: #175d7d; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card-arrow { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: #637983; }
.invitation-card h3 { margin: 15px 0 5px; font: 700 19px 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.035em; }
.card-api { margin-bottom: 8px; color: #69767e; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.invitation-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.invitation-card .confidentiality-note { margin-top: 15px; padding: 12px 14px; border-radius: 9px; background: #eef5f8; color: #315f74; font-size: 11px; line-height: 1.65; }
.confidentiality-note strong { color: #194f68; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 20px; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.deadline { color: var(--muted); font-size: 10px; }
.empty-invitations { grid-column: 1/-1; min-height: 150px; padding: 30px; border: 1px dashed #bdcdd5; border-radius: 15px; background: rgba(255,255,255,.72); display: flex; align-items: center; gap: 18px; }
.empty-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #376c86; background: #e7f0f4; }
.empty-invitations h3 { margin: 0 0 6px; font: 700 14px 'Manrope', sans-serif; }
.empty-invitations p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.approach { background: #edf3f6; }
.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 95px; align-items: start; }
.approach-intro h2 { margin: 13px 0 15px; font: 600 37px/1.15 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.06em; }
.approach-intro p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.approach-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.approach-card { min-height: 180px; padding: 22px; border: 1px solid rgba(52,54,56,.1); border-radius: 13px; background: rgba(255,255,255,.72); }
.step-number { color: #608ea3; font: 700 10px 'Manrope', sans-serif; letter-spacing: .14em; }
.approach-card h3 { margin: 18px 0 8px; font: 700 15px 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.03em; }
.approach-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.privacy-band { padding: 0 0 86px; }
.privacy-panel { position: relative; overflow: hidden; padding: 37px 44px; border-radius: 17px; background: var(--brand); color: white; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.privacy-panel::after { content: 'R'; position: absolute; right: 36%; top: -102px; font: 800 270px/.9 'Manrope', sans-serif; color: rgba(255,255,255,.035); }
.privacy-panel > * { z-index: 1; }
.privacy-panel h2 { margin: 0 0 8px; font: 600 25px 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.04em; }
.privacy-panel p { max-width: 560px; margin: 0; color: #c7d6cf; font-size: 12px; line-height: 1.7; }

.site-footer { padding: 30px 0; background: #edf3f6; color: var(--ink); border-top: 1px solid var(--line); }
.site-footer .brand-mark { padding: 0; border-radius: 50%; background: transparent; }
.site-footer .brand-name { color: var(--brand); }
.site-footer .brand-sub { color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-copy { color: #69767e; font-size: 10px; line-height: 1.6; }
.footer-links { display: flex; gap: 20px; font-size: 10px; color: #4d5b62; }
.footer-links a:hover { color: white; }

.application-view, .portal-view, .admin-view { min-height: 100vh; background: #f4f7f9; }
.workspace-header { min-height: 72px; padding: 14px 24px; background: white; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; position: sticky; top: 0; z-index: 3; }
.workspace-title { display: flex; align-items: center; gap: 12px; }
.workspace-title h1 { font: 700 15px 'Aptos', 'Segoe UI', sans-serif; margin: 0; letter-spacing: -.03em; }
.header-divider { height: 32px; border-left: 1px solid #e0e8ec; margin: 0 4px; }
.workspace-title span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.workspace-body { width: min(1200px, calc(100% - 48px)); margin: 30px auto 70px; }
.workspace-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.workspace-heading h2 { margin: 8px 0 5px; font: 700 28px 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.05em; }
.workspace-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-grid { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; }
.admin-nav { padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: white; display: grid; gap: 5px; position: sticky; top: 96px; }
.admin-nav button { display: flex; gap: 11px; align-items: center; padding: 12px; border: 0; border-radius: 8px; background: transparent; color: #63727a; text-align: left; font-size: 11px; font-weight: 600; }
.admin-nav button.active, .admin-nav button:hover { background: #e8f2f6; color: var(--brand); }
.admin-content { min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 18px; }
.stat-card, .panel { border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 7px 22px rgba(24,57,72,.035); }
.stat-card { padding: 18px; }
.stat-label { color: var(--muted); font-size: 10px; }
.stat-value { display: block; margin-top: 9px; font: 700 25px 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.05em; }
.panel { padding: 20px; margin-bottom: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.panel-head h3 { margin: 0; font: 700 14px 'Aptos', 'Segoe UI', sans-serif; }
.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
th { padding: 10px 11px; color: #74828a; border-bottom: 1px solid var(--line); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
td { padding: 12px 11px; color: #454d52; border-bottom: 1px solid #edf1f3; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.table-primary { color: var(--ink); font-weight: 700; }
.table-secondary { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 99px; color: #175d7d; background: #e8f2f6; font-size: 9px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.pill.neutral { color: #5d6870; background: #edf0f2; }
.pill.gray { color: #68747c; background: #f0f2f3; }
.inline-select, .field, .field-select, .field-textarea { width: 100%; border: 1px solid #d8e1e6; border-radius: 8px; padding: 11px 12px; color: var(--ink); background: white; outline: none; font-size: 11px; }
.inline-select { width: auto; padding: 6px 28px 6px 9px; }
.inline-share { width: 100px; border: 1px solid #d8e1e6; border-radius: 7px; padding: 6px 8px; color: var(--ink); background: white; font-size: 11px; }
.field:focus, .field-select:focus, .field-textarea:focus, .inline-select:focus, .inline-share:focus { border-color: #4b91b2; box-shadow: 0 0 0 3px rgba(7,95,135,.12); }
.share-edit { display: flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--muted); font-size: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-grid label { display: grid; gap: 7px; color: #4d5b62; font-size: 10px; font-weight: 700; }
.full-width { grid-column: 1/-1; }
.form-note { margin: -2px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.question-builder { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafb; }
.builder-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 12px; }
.builder-heading strong { font: 700 12px 'Aptos', 'Segoe UI', sans-serif; }
.builder-heading p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.question-row { padding: 15px; border: 1px solid #e0e8ec; border-radius: 9px; background: white; margin-top: 10px; }
.question-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: #5e6b72; font-size: 10px; }
.question-builder .form-grid { gap: 11px; }
.currency-fields { display: flex; gap: 8px; }
.currency-fields select { width: 92px; flex: 0 0 auto; }
.document-list { margin-top: 16px; }
.participant-panel-head { margin-top: 24px; }
.footer-tagline { margin-top: 12px; }
.access-card-inline { margin: 20px 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.field-textarea { resize: vertical; min-height: 90px; }
.empty-state { padding: 30px 20px; border: 1px dashed #c6d4db; border-radius: 10px; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.7; }
.notice { padding: 12px 14px; border-radius: 9px; background: #e8f2f6; color: #315f74; font-size: 10px; line-height: 1.6; }
.notice.warning { background: #fbf4e7; color: #856a36; }
.feedback { min-height: 18px; color: var(--muted); font-size: 10px; }
.feedback.error { color: var(--danger); }
.demo-switch { display: flex; align-items: center; gap: 9px; color: #175d7d; font-size: 10px; font-weight: 700; }
.demo-switch select { border: 1px solid #cbdde5; border-radius: 7px; padding: 7px; color: #314d5b; background: #fbfdfe; font-size: 10px; }
.access-card { max-width: 560px; margin: 13vh auto; padding: 35px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.access-card h1 { margin: 12px 0 8px; font: 700 25px 'Aptos', 'Segoe UI', sans-serif; letter-spacing: -.05em; }
.access-card-inline { margin: 20px 0; }
.footer-tagline { margin-top: 12px; }
.currency-fields { display: flex; gap: 8px; }
.document-list { margin-top: 16px; }
.participant-panel-head { margin-top: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.access-card p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.project-card { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: white; margin-bottom: 15px; }
.project-card h3 { margin: 7px 0; font: 700 18px 'Manrope', sans-serif; }
.project-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 10px; margin: 13px 0; }
.project-brief { color: #4e5a60; font-size: 12px; line-height: 1.7; white-space: pre-line; }
.participant-finances { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.participant-finance { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafb; }
.participant-finance span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.participant-finance strong { color: var(--ink); font-size: 14px; }
.participant-finance-total { background: #edf4f7; }
.participant-finance-share { border-color: #b7d5e1; background: #f0f7fa; }
.participant-finance-share strong { color: #145c79; }
.participant-lab { margin: 18px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.participant-lab h4 { margin: 0 0 9px; color: var(--ink); font-size: 13px; }
.participant-lab dl { display: grid; gap: 8px; margin: 0; }
.participant-lab dl div { display: grid; grid-template-columns: minmax(110px, 150px) 1fr; gap: 12px; font-size: 10px; }
.participant-lab dt { color: var(--muted); font-weight: 700; }
.participant-lab dd { margin: 0; color: #40515a; }
.study-list { display: grid; gap: 0; border-top: 1px solid #e9eef1; }
.study-list-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid #e9eef1; }
.study-list-row strong { font-size: 11px; }
.study-list-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.study-list-row .pill { flex: 0 0 auto; }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #e9eef1; }
.doc-row:last-child { border: 0; }
.doc-title { font-size: 11px; font-weight: 700; }
.doc-meta { margin-top: 4px; color: var(--muted); font-size: 9px; }
.timeline { display: grid; gap: 0; }
.timeline-row { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf1ec; align-items: start; }
.timeline-mark { width: 9px; height: 9px; margin-top: 3px; border: 2px solid #6d9bb0; border-radius: 50%; }
.timeline-row strong { font-size: 11px; }
.timeline-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

dialog { width: min(650px, calc(100% - 28px)); max-height: min(90vh, 850px); overflow: auto; padding: 27px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(29,45,54,.28); }
dialog::backdrop { background: rgba(32,43,50,.58); backdrop-filter: blur(4px); }
.dialog-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.dialog-head h2 { margin: 8px 0 0; font: 700 25px 'Manrope', sans-serif; letter-spacing: -.05em; }
.muted { color: var(--muted); font-size: 11px; line-height: 1.7; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 19px; }
.consent { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: flex-start; gap: 10px !important; color: var(--muted) !important; font-weight: 400 !important; line-height: 1.6; }
.consent input { margin-top: 2px; accent-color: var(--ink); }
.website-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 3px; }
.form-feedback { min-height: 18px; margin: 0; color: var(--muted); font-size: 10px; }
.form-feedback.error { color: var(--danger); }
.form-feedback.success { color: #397659; }

@media (max-width: 900px) {
  .main-nav { gap: 19px; }
  .hero-grid { grid-template-columns: 1fr 0.82fr; gap: 15px; }
  .hero-art { transform: scale(.88); transform-origin: center; }
  .approach-grid { gap: 40px; }
  .admin-grid { grid-template-columns: 180px 1fr; gap: 15px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, 560px); }
  .site-header { height: 70px; }
  .header-inner { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-lockup img { width: 176px; }
  .brand-name { font-size: 15px; }
  .main-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 15px 20px; border-bottom: 1px solid var(--line); background: var(--paper); flex-direction: column; align-items: flex-start; gap: 17px; }
  .main-nav.open { display: flex; }
  .header-inner > .nav-actions .button { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero { padding: 45px 0 45px; }
  .hero-grid { display: block; min-height: initial; }
  .hero h1 { max-width: 520px; font-size: clamp(38px, 11vw, 54px); }
  .hero-copy { font-size: 13px; }
  .hero-art { height: 300px; margin: 18px auto -8px; transform: scale(.75); transform-origin: center top; }
  .hero-note { right: -12px; bottom: -8px; }
  .hero-proof { margin-top: 27px; gap: 12px 18px; }
  .hero-actions { flex-wrap: wrap; gap: 12px; }
  .trust-inner { align-items: flex-start; flex-direction: column; gap: 13px; }
  .trust-items { flex-wrap: wrap; gap: 10px 19px; }
  .section { padding: 61px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 15px; }
  .invitation-grid { grid-template-columns: 1fr; }
  .invitation-card { min-height: 225px; }
  .approach-grid { grid-template-columns: 1fr; gap: 26px; }
  .approach-intro h2 { font-size: 31px; }
  .approach-steps { grid-template-columns: 1fr; }
  .approach-card { min-height: 150px; }
  .privacy-band { padding-bottom: 60px; }
  .privacy-panel { padding: 27px 23px; display: block; }
  .privacy-panel .button { margin-top: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 14px; flex-wrap: wrap; }
  .workspace-header { padding: 12px 16px; }
  .workspace-body { width: calc(100% - 28px); margin: 22px auto 50px; }
  .workspace-heading { align-items: flex-start; flex-direction: column; }
  .admin-grid { display: block; }
  .admin-nav { display: flex; position: static; overflow-x: auto; margin-bottom: 15px; }
  .admin-nav button { flex: 0 0 auto; }
  .stat-card { padding: 13px; }
  .stat-value { font-size: 21px; }
  .panel { padding: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full-width { grid-column: auto; }
  .participant-finances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-card { margin: 9vh 14px; padding: 25px; }
  .demo-switch { display: none; }
  dialog { padding: 20px 16px; }
  .dialog-head h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
