:root {
  color-scheme: light;
  --paper: #f7f7f1;
  --ink: #172b24;
  --muted: #375044;
  --line: #8a9a8e;
  --green: #163d30;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 system-ui, sans-serif;
}

.entry-page {
  display: grid;
  min-height: 100svh;
  align-items: center;
  justify-items: center;
  padding: clamp(26px, 7vw, 96px) clamp(18px, 6vw, 64px);
}

.entry-content { width: min(100%, 760px); }
.entry-form-page .entry-content { width: min(100%, 600px); }

.entry-brand {
  display: inline-block;
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 650;
}

h1 {
  max-width: 720px;
  margin: 0 0 34px;
  font: 400 clamp(43px, 8.5vw, 82px)/1.02 Georgia, serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.entry-form-page h1 {
  margin-bottom: 14px;
  font-size: clamp(37px, 6.8vw, 58px);
}

.entry-form-page p { margin: 0 0 20px; }

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

.entry-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  column-gap: 13px;
  min-height: 90px;
  padding: 16px 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.entry-path:hover { background: #e7efe6; }
.entry-path-paid, .entry-submit { background: var(--green); color: var(--white); }
.entry-path-paid:hover, .entry-submit:hover { background: #255842; }

.entry-path-label {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.45;
}

.entry-path strong { font-size: 17px; line-height: 1.4; }
.entry-arrow { align-self: center; font-size: 19px; line-height: 1; }

.entry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
}

.entry-fields label { display: grid; gap: 6px; min-width: 0; font-weight: 600; }

.entry-fields input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.entry-submit {
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.entry-submit:disabled { opacity: .65; cursor: default; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #7a5c27; outline-offset: 3px; }
.entry-form-page #research-status { margin: 10px 0 0; color: #744128; }
.entry-form-page .entry-privacy { margin: 16px 0 0; font-size: 13px; }
.entry-privacy a { color: var(--muted); }

@media (max-width: 560px) {
  .entry-paths, .entry-fields { grid-template-columns: 1fr; }
  .entry-path { min-height: 76px; }
  .entry-submit { width: 100%; }
}
