@font-face {
  font-family: "Thmanyah Sans";
  src: url("/assets/fonts/thmanyah-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("/assets/fonts/thmanyah-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Sans";
  src: url("/assets/fonts/thmanyah-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("/assets/fonts/thmanyah-serif-display-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Thmanyah Serif Display";
  src: url("/assets/fonts/thmanyah-serif-display-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink-50: #f6f7f8;
  --ink-100: #eef0f2;
  --ink-200: #dce0e5;
  --ink-300: #b6bcc4;
  --ink-400: #7a828d;
  --ink-500: #4f5762;
  --ink-600: #2e3540;
  --ink-700: #1d2330;
  --ink-800: #131822;
  --ink-900: #0c1018;
  --brand-50: #ecfdf3;
  --brand-100: #d1fadf;
  --brand-400: #32d583;
  --brand-500: #16a34a;
  --brand-600: #15803d;
  --brand-900: #052e16;
  --petrol: #2e6e8e;
  --white: #ffffff;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --focus: #4a76a8;
  --border: #d7dbe0;
  --shadow: 0 22px 52px -30px rgba(12, 16, 24, 0.28);
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink-50);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-900);
  background:
    linear-gradient(var(--ink-200) 1px, transparent 1px) 0 0 / 100% 88px,
    var(--ink-50);
  font-family: "Thmanyah Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus), transparent 55%);
  outline-offset: 2px;
}

.site-header {
  width: min(1240px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink-900);
  display: grid;
  place-items: center;
  background: var(--ink-900);
  color: var(--white);
  font: 900 21px/1 "Thmanyah Serif Display", serif;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--ink-500);
  font-size: 12px;
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
}

.language-switch button {
  min-height: 34px;
  padding: 5px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--ink-500);
  background: transparent;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink-900);
}

.survey-shell {
  width: min(1240px, calc(100% - 40px));
  min-height: 720px;
  margin: 6px auto 28px;
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(520px, 1.42fr);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
}

[dir="ltr"] .survey-shell {
  grid-template-columns: minmax(310px, 0.78fr) minmax(520px, 1.42fr);
}

.brief-panel {
  min-width: 0;
  padding: clamp(32px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  color: var(--white);
  background: var(--ink-900);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--brand-400);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brief-panel h1 {
  max-width: 520px;
  margin: 0;
  font-family: "Thmanyah Serif Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 67px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

[dir="ltr"] .brief-panel h1 {
  font-size: clamp(36px, 4.35vw, 60px);
}

.brief-intro {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--ink-300);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}

.research-facts {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--ink-700);
}

.research-facts div {
  padding: 17px 0;
}

.research-facts div + div {
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--ink-700);
}

.research-facts dt {
  color: var(--ink-400);
  font-size: 12px;
}

.research-facts dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.evidence-ledger {
  border: 1px solid var(--ink-600);
  background: rgba(255, 255, 255, 0.025);
}

.ledger-title {
  margin: 0;
  padding: 12px 15px;
  color: var(--brand-400);
  border-bottom: 1px solid var(--ink-600);
  font-size: 12px;
  font-weight: 700;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ledger-row + .ledger-row {
  border-top: 1px solid var(--ink-700);
}

.ledger-row span {
  padding: 10px 15px;
}

.ledger-row span + span {
  border-inline-start: 1px solid var(--ink-700);
}

.ledger-heading {
  color: var(--ink-400);
  font-size: 11px;
}

.survey-panel {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
}

.progress-region {
  margin-bottom: 42px;
}

.progress-copy {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 700;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  background: var(--ink-100);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand-500);
  transition: width 260ms ease;
}

#survey-form {
  flex: 1;
}

.intro-screen,
.success-screen,
.survey-step {
  animation: enter-step 260ms ease both;
}

@keyframes enter-step {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-kicker {
  margin: 0 0 9px;
  color: var(--petrol);
  font-size: 13px;
  font-weight: 700;
}

.survey-panel h2 {
  margin: 0;
  font-family: "Thmanyah Serif Display", Georgia, serif;
  font-size: clamp(31px, 4vw, 47px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.screen-copy {
  max-width: 670px;
  margin: 20px 0 0;
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.8;
}

.screen-copy-secondary {
  margin-top: 12px;
}

.founder-signature {
  width: fit-content;
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.founder-photo-link {
  display: block;
  flex: none;
  border-radius: 50%;
}

.founder-photo-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus), transparent 55%);
  outline-offset: 3px;
}

.founder-photo-frame {
  width: 58px;
  height: 58px;
  display: block;
  overflow: hidden;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--ink-50);
  box-shadow: 0 0 0 1px var(--border);
}

.founder-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.7);
  transform-origin: 50% 23%;
}

.founder-details {
  display: grid;
  gap: 2px;
}

.founder-name-link {
  width: fit-content;
  color: var(--ink-900);
  text-decoration: none;
}

.founder-name-link:hover,
.founder-name-link:focus-visible {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.founder-name-link strong {
  font-size: 14px;
}

.founder-signature small {
  color: var(--ink-500);
  font-size: 12px;
}

.founder-linkedin {
  width: fit-content;
  margin-top: 2px;
  color: var(--petrol);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.founder-linkedin:hover,
.founder-linkedin:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.usage-proof {
  margin: 28px 0 0;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--petrol) 28%, var(--border));
  background: color-mix(in srgb, var(--petrol) 4%, white);
}

.usage-proof-kicker {
  margin: 0 0 13px;
  color: var(--petrol);
  font-size: 12px;
  font-weight: 700;
}

.usage-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.usage-proof-item {
  min-width: 0;
  padding: 2px 16px;
}

.usage-proof-item:first-child {
  padding-inline-start: 0;
}

.usage-proof-item + .usage-proof-item {
  border-inline-start: 1px solid var(--border);
}

.usage-proof-item strong {
  display: block;
  color: var(--ink-900);
  font-family: "Thmanyah Serif Display", Georgia, serif;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1;
}

.usage-proof-item span {
  display: block;
  margin-top: 7px;
  color: var(--ink-600);
  font-size: 12px;
  line-height: 1.5;
}

.usage-proof-source {
  margin: 15px 0 0;
  color: var(--ink-500);
  font-size: 11px;
  line-height: 1.55;
}

.usage-surface-breakdown {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.usage-surface-breakdown > p {
  margin: 0 0 10px;
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 700;
}

.usage-surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.usage-surface-item {
  min-width: 0;
  padding: 11px 12px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--border);
  background: var(--white);
}

.usage-surface-item strong {
  color: var(--petrol);
  font-size: 12px;
}

.usage-surface-item span {
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
}

.usage-surface-item small {
  color: var(--ink-500);
  font-size: 11px;
}

.promise-list {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--border);
}

.promise-item {
  padding: 18px 14px;
}

.promise-item + .promise-item {
  border-inline-start: 1px solid var(--border);
}

.promise-item strong,
.promise-item span {
  display: block;
}

.promise-item strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.promise-item span {
  color: var(--ink-500);
  font-size: 12px;
}

.question-list {
  margin-top: 34px;
  display: grid;
  gap: 32px;
}

.question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.question legend,
.question-label {
  width: 100%;
  padding: 0;
  display: block;
  color: var(--ink-900);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.required-mark {
  color: var(--brand-600);
}

.question-help {
  margin: 4px 0 13px;
  color: var(--ink-500);
  font-size: 13px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.choice {
  position: relative;
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.choice:hover {
  border-color: var(--ink-400);
  transform: translateY(-1px);
}

.choice:has(input:checked) {
  border-color: var(--brand-500);
  background: var(--brand-50);
}

.choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--brand-500);
}

.choice span {
  min-width: 0;
  line-height: 1.35;
}

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  background: var(--white);
}

.field-input,
.field-select {
  min-height: 50px;
  padding: 10px 13px;
}

.field-textarea {
  min-height: 116px;
  padding: 12px 13px;
  resize: vertical;
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--ink-400);
}

.field-input:hover,
.field-textarea:hover,
.field-select:hover {
  border-color: var(--ink-400);
}

.other-input,
.conditional-fields {
  margin-top: 10px;
}

.conditional-fields {
  padding: 18px;
  display: grid;
  gap: 16px;
  border-inline-start: 3px solid var(--brand-500);
  background: var(--brand-50);
}

.inline-label {
  display: grid;
  gap: 6px;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 700;
}

.consent-box {
  margin-top: 32px;
  padding: 17px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--ink-50);
}

.consent-box input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--brand-500);
}

.consent-box span {
  color: var(--ink-600);
  font-size: 13px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.form-actions {
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
}

.button {
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  min-width: 150px;
  color: var(--white);
  background: var(--ink-900);
}

.button-primary:hover {
  background: var(--brand-600);
}

.button-secondary {
  color: var(--ink-700);
  border-color: var(--border);
  background: var(--white);
}

.button[disabled] {
  opacity: 0.58;
  cursor: wait;
}

.button-arrow {
  font-family: system-ui, sans-serif;
}

.form-error,
.notice {
  margin-top: 18px;
  padding: 12px 14px;
  color: var(--danger);
  border: 1px solid #fecdca;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  font-size: 14px;
}

.question-invalid > legend,
.question-invalid > .question-label {
  color: var(--danger);
}

.question-invalid .choice-grid,
.question-invalid .field-input,
.question-invalid .field-textarea,
.question-invalid .field-select {
  border-color: #f04438;
}

.data-note {
  margin: 34px 0 0;
  padding-top: 18px;
  color: var(--ink-400);
  border-top: 1px solid var(--ink-100);
  font-size: 12px;
}

.success-mark {
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  color: var(--brand-900);
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  font-size: 24px;
  font-weight: 900;
}

.success-reference {
  margin-top: 26px;
  padding: 13px 15px;
  display: inline-block;
  color: var(--ink-600);
  border: 1px solid var(--border);
  background: var(--ink-50);
  font-size: 12px;
}

.site-footer {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-500);
  font-size: 12px;
}

@media (max-width: 900px) {
  .survey-shell,
  [dir="ltr"] .survey-shell {
    grid-template-columns: 1fr;
  }

  .brief-panel {
    min-height: auto;
    padding: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: end;
  }

  .brief-panel h1,
  [dir="ltr"] .brief-panel h1 {
    font-size: clamp(37px, 7vw, 58px);
  }

  .brief-intro {
    max-width: 640px;
  }
}

@media (max-width: 650px) {
  body {
    background: var(--white);
  }

  .site-header,
  .survey-shell,
  .site-footer {
    width: 100%;
  }

  .site-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .brand-copy small {
    display: none;
  }

  .language-switch button {
    padding-inline: 9px;
    font-size: 13px;
  }

  .survey-shell {
    margin: 0;
    border-inline: 0;
    box-shadow: none;
  }

  .brief-panel {
    padding: 30px 22px;
    display: block;
  }

  .brief-panel h1,
  [dir="ltr"] .brief-panel h1 {
    max-width: 410px;
    font-size: 43px;
  }

  .brief-intro {
    margin-top: 20px;
    font-size: 16px;
  }

  .research-facts {
    margin-top: 26px;
  }

  .evidence-ledger {
    display: none;
  }

  .survey-panel {
    min-height: 650px;
    padding: 30px 20px;
  }

  .progress-region {
    margin-bottom: 30px;
  }

  .choice-grid,
  .promise-list {
    grid-template-columns: 1fr;
  }

  .usage-proof-grid {
    grid-template-columns: 1fr;
  }

  .usage-surface-grid {
    grid-template-columns: 1fr;
  }

  .usage-proof-item {
    padding: 12px 0;
  }

  .usage-proof-item + .usage-proof-item {
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }

  .promise-item + .promise-item {
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }

  .form-actions {
    align-items: stretch;
  }

  .button {
    flex: 1;
  }

  .site-footer {
    padding: 0 20px;
    flex-direction: column;
    gap: 4px;
  }
}

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