@font-face {
  font-family: "Chivo";
  src: url("/fonts/Chivo-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #1761ad;
  --blue-deep: #0d477f;
  --navy: #071f2d;
  --teal: #008e91;
  --teal-dark: #006d70;
  --ink: #0c2936;
  --muted: #4b6672;
  --mist: #edf5f7;
  --white: #fff;
  --line: #c9dce3;
  --focus: #f8d34e;
  --error: #a32929;
  --error-bg: #fff2f1;
  --success: #075f52;
  --success-bg: #e7f7f3;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Chivo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.shell { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  background: var(--focus);
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { width: auto; height: auto; padding: 11px 14px; clip-path: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand img { width: 68px; }
.site-header nav { display: flex; gap: 24px; margin-left: auto; }
.site-header nav a, .header-home { color: #294955; font-size: .86rem; font-weight: 760; text-decoration: none; }
.site-header nav a:hover, .header-home:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.header-home { min-height: 44px; display: inline-flex; align-items: center; padding: 0 15px; color: var(--white); background: var(--teal); border-radius: 5px; }
.header-home:hover { color: var(--white); background: var(--teal-dark); text-decoration: none; }

.hero { padding: clamp(56px, 8vw, 104px) 0; color: var(--white); background: var(--blue); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(40px, 7vw, 88px); }
.project-label { margin-bottom: 18px; color: #a9eef0; font-size: .78rem; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
h1 { max-width: 780px; margin-bottom: 12px; font-size: clamp(2.65rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; font-weight: 890; }
.powered { margin-bottom: 28px; color: #cfe6f6; font-size: 1.04rem; font-weight: 760; }
.hero-copy { max-width: 68ch; color: #eef7fd; font-size: 1.08rem; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.research-caveat { max-width: 67ch; margin: 0; color: #cfe6f6; font-size: .91rem; line-height: 1.62; }
.research-caveat strong { color: var(--white); }
.hero-figure { margin: 0; background: var(--navy); border: 1px solid rgba(255,255,255,.45); }
.hero-figure img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.hero-figure figcaption { padding: 13px 15px; color: #d7e8ef; font-size: .8rem; line-height: 1.5; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: .9rem;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { color: var(--white); background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.65); }
.button-secondary:hover { background: rgba(255,255,255,.09); border-color: var(--white); }
.button:disabled { cursor: wait; opacity: .62; }

.section { padding: clamp(56px, 7vw, 88px) 0; scroll-margin-top: 88px; }
.section h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 870; }
.section p { max-width: 70ch; color: var(--muted); line-height: 1.66; }
.section-light { background: var(--white); }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(42px, 8vw, 100px); align-items: start; }
.study-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.study-list li { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.study-list strong { color: var(--blue-deep); }
.study-list span { color: var(--muted); line-height: 1.55; }

.section-blue { color: var(--white); background: var(--blue); }
.section-blue .section-heading p { color: #cfe6f6; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.send-list { list-style: none; counter-reset: send; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; padding: 1px; background: rgba(255,255,255,.22); }
.send-list li { counter-increment: send; min-height: 180px; padding: 26px; color: #cfe6f6; background: #0d4f8f; line-height: 1.57; }
.send-list li::before { content: counter(send); display: block; margin-bottom: 24px; color: #a9eef0; font-size: 1.25rem; font-weight: 850; }
.send-list span { display: block; margin-bottom: 8px; color: var(--white); font-size: 1.08rem; font-weight: 820; }

.email-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr); gap: clamp(40px, 9vw, 120px); align-items: start; }
.email-layout .button { margin-top: 8px; }
.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); color: #33525f; line-height: 1.45; }
.checklist li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal-dark); font-weight: 900; }

.form-section { background: var(--mist); }
.form-layout { display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); gap: clamp(34px, 7vw, 84px); align-items: start; }
.form-intro { position: sticky; top: 112px; }
.privacy-note { margin-top: 30px; padding: 20px; background: #dceef1; border-radius: 6px; }
.privacy-note h3 { margin-bottom: 8px; color: var(--blue-deep); font-size: 1.08rem; }
.privacy-note p { margin-bottom: 12px; color: #294955; font-size: .9rem; line-height: 1.58; }
.privacy-note p:last-child { margin-bottom: 0; }
.research-form { padding: clamp(22px, 4vw, 42px); background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
fieldset { min-width: 0; margin: 0; padding: 0 0 34px; border: 0; }
fieldset + fieldset { padding-top: 34px; border-top: 1px solid var(--line); }
legend { width: 100%; margin: 0 0 24px; padding: 0; color: var(--blue-deep); font-size: 1.28rem; font-weight: 850; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 22px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .9rem; font-weight: 780; }
input[type="text"], input[type="email"], input[type="file"], textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #78909b;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
}
input[type="file"] { padding: 9px; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 11px; color: var(--blue-deep); background: var(--mist); border: 0; border-radius: 3px; font: inherit; font-weight: 760; cursor: pointer; }
textarea { resize: vertical; line-height: 1.5; }
::placeholder { color: #526c77; opacity: 1; }
.helper, .selection { margin: 7px 0 0; color: #526c77; font-size: .8rem; line-height: 1.5; }
.selection { color: var(--blue-deep); font-weight: 680; }
.field-error { min-height: 0; margin: 6px 0 0; color: var(--error); font-size: .82rem; font-weight: 720; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
.consent-group { padding-bottom: 26px; }
.check-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; align-items: start; margin-bottom: 18px; color: #294955; font-size: .9rem; line-height: 1.55; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.check-row a { color: var(--blue-deep); font-weight: 740; }
.submit-area { display: flex; align-items: flex-start; gap: 24px; }
.upload-progress { flex: 1; min-width: 0; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; color: var(--blue-deep); font-size: .84rem; font-weight: 760; }
progress { width: 100%; height: 12px; margin-top: 7px; accent-color: var(--teal); }
.upload-progress p { margin: 6px 0 0; font-size: .78rem; }
.message { margin: 0 0 28px; padding: 18px 20px; border-radius: 5px; }
.message h3 { margin-bottom: 8px; font-size: 1.05rem; }
.message p:last-child, .message ul:last-child { margin-bottom: 0; }
.message-error { color: #6f1c1c; background: var(--error-bg); border: 1px solid #d98b85; }
.message-error a { font-weight: 780; }
.message-error ul { padding-left: 22px; }
.message-success { margin-top: 28px; color: var(--success); background: var(--success-bg); border: 1px solid #6db5a8; }
.message-success p { color: var(--success); }
.reference { display: inline-block; padding: 8px 10px; color: var(--navy) !important; background: var(--white); border: 1px solid #6db5a8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; overflow-wrap: anywhere; }
.text-button { padding: 0; color: var(--blue-deep); background: transparent; border: 0; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }

.paletta-independence { padding-top: 8px; }
.independence-note {
  max-width: 46rem;
  margin: 0;
  padding: 22px 24px;
  color: #294955;
  background: var(--white);
  border-left: 4px solid var(--teal);
}
.independence-note p { margin: 0 0 12px; font-size: 1.02rem; line-height: 1.65; }
.independence-note p:last-child { margin-bottom: 0; }
.independence-attr { color: var(--blue-deep); font-weight: 760; }

.site-footer { padding: 34px 0; color: #d7e8ef; background: var(--blue-deep); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; font-size: .83rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.site-footer a { color: var(--white); text-underline-offset: 4px; }

@media (max-width: 860px) {
  .hero-layout, .split, .email-layout, .form-layout { grid-template-columns: 1fr; }
  .hero-figure { max-width: 640px; }
  .form-intro { position: static; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 30px, var(--content)); }
  .header-inner { min-height: 68px; gap: 14px; }
  .brand img { width: 58px; }
  .site-header nav { display: none; }
  .header-home { margin-left: auto; font-size: .8rem; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .hero { padding: 48px 0 56px; }
  .send-list { grid-template-columns: 1fr; }
  .send-list li { min-height: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .research-form { padding: 22px 16px; }
  .submit-area { display: block; }
  .submit-area .button { width: 100%; }
  .upload-progress { margin-top: 18px; }
}

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