:root {
  --blue: #0064EC;
  --blue-hover: #0F75FF;
  --ink: #1D1D1D;
  --body: #3D4550;
  --small: #5C6672;
  --icon: #98A2AE;
  --line: #E3E7ED;
  --line-strong: #C6CFDA;
  --canvas: #F4F6F9;
  --soft: #F8F9FB;
  --blue-soft: #EBF3FF;
  --blue-line: #D5E4FB;
  --focus: #B26A00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Figtree, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

.site-header,
.site-footer,
.section-pad {
  padding-left: clamp(24px, 5vw, 56px);
  padding-right: clamp(24px, 5vw, 56px);
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.wordmark span {
  display: inline-block;
  line-height: 1;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.top-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--small);
  font-size: 14px;
  font-weight: 500;
}

.top-nav a:not(.nav-button) {
  color: var(--small);
}

.top-nav a:not(.nav-button):hover {
  color: var(--ink);
}

.nav-button {
  color: var(--ink);
  border: 1px solid #D7DDE5;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 600;
}

.nav-button:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(300px, 420px);
  align-items: center;
  justify-content: center;
  gap: clamp(42px, 7vw, 96px);
  padding-top: 72px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--small);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  max-width: 720px;
}

.hero-copy > p:not(.eyebrow) {
  color: var(--body);
  font-size: 18px;
  line-height: 1.65;
  max-width: 650px;
  margin-bottom: 14px;
}

.early-access {
  margin-top: 34px;
  max-width: 510px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.early-access h2 {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.3;
}

.early-access p {
  margin-bottom: 16px;
  color: var(--small);
  font-size: 14px;
  line-height: 1.6;
}

.field-row {
  display: flex;
  gap: 9px;
}

input,
textarea {
  width: 100%;
  border: 1.5px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 2px 3px rgba(29, 29, 29, .05);
  outline: none;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 136px;
  resize: vertical;
  padding: 13px 14px;
}

input::placeholder,
textarea::placeholder {
  color: var(--icon);
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 100, 236, .13), inset 0 2px 3px rgba(29, 29, 29, .05);
}

button {
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  padding: 13px 20px;
  white-space: nowrap;
}

button:hover {
  background: var(--blue-hover);
}

button:disabled {
  cursor: wait;
  opacity: .72;
}

.bot-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--small);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.form-status:empty {
  margin-top: 0;
}

.form-status.is-success {
  color: #0F7B57;
}

.form-status.is-error {
  color: #A81E1E;
}

.question-panel {
  align-self: center;
  max-width: 420px;
}

.worksheet-preview {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--blue-line);
  border-radius: 14px;
  background: var(--blue-soft);
}

.preview-head {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
}

.preview-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
}

.preview-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-line {
  height: 12px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(0, 100, 236, .14);
}

.preview-line.strong {
  width: 76%;
  margin-top: 26px;
  background: rgba(0, 100, 236, .24);
}

.preview-line.short {
  width: 48%;
}

.question-panel ul {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid #DDE3EA;
}

.question-panel li {
  padding: 15px 0;
  border-bottom: 1px solid #DDE3EA;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.panel-note {
  margin: 18px 0 0;
  color: var(--small);
  font-size: 14px;
  line-height: 1.6;
}

.page-section {
  border-top: 1px solid var(--line);
  padding-top: 76px;
  padding-bottom: 88px;
}

.privacy {
  background: var(--soft);
}

.content-narrow {
  max-width: 760px;
}

.content-narrow h2,
.contact-grid h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.content-narrow > p,
.contact-grid > div > p {
  color: var(--body);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.callout,
.note-box,
.account-box {
  border: 1px solid var(--blue-line);
  border-radius: 14px;
  background: var(--blue-soft);
}

.callout {
  margin: 40px 0 44px;
  padding: 24px 26px;
}

.callout h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.callout p,
.note-box,
.account-box p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.split-list {
  display: grid;
  gap: 24px;
  margin-bottom: 44px;
}

.split-list h4 {
  margin-bottom: 7px;
  font-size: 17px;
  line-height: 1.3;
}

.split-list p {
  color: var(--small);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 0;
}

.content-narrow h3 {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.25;
}

hr {
  height: 1px;
  margin: 40px 0;
  border: 0;
  background: var(--line);
}

.plain-list {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 0 0 44px;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.note-box {
  margin-top: 40px;
  padding: 20px 22px;
  border-color: var(--line);
  background: #fff;
  color: var(--small);
}

.contact-grid {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(320px, 520px);
  gap: 48px 72px;
}

.account-box {
  margin-top: 32px;
  padding: 20px 22px;
  border-color: var(--line);
  background: var(--canvas);
}

.account-box .eyebrow {
  margin-bottom: 10px;
}

.account-box p {
  margin-bottom: 12px;
  color: var(--small);
  line-height: 1.6;
}

.account-box a {
  font-size: 14px;
  font-weight: 600;
}

.contact-form {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
}

.contact-form label span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-actions span {
  color: var(--small);
  font-size: 13px;
  line-height: 1.4;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  flex: 1;
  margin: 0;
  color: var(--small);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer a {
  font-weight: 500;
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.site-footer div a {
  color: var(--small);
}

.site-footer div a:hover {
  color: var(--ink);
}

.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;
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--canvas);
}

.response-card {
  width: min(100%, 560px);
  padding: 34px 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.response-card h1 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.12;
}

.response-card p {
  color: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

.response-page > .wordmark {
  position: absolute;
  top: 34px;
}

@media (max-width: 900px) {
  .hero,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    justify-content: stretch;
  }

  .question-panel,
  .content-narrow,
  .contact-grid {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .top-nav {
    width: 100%;
    margin-left: 0;
    gap: 16px;
  }

  .top-nav .nav-button {
    margin-left: auto;
  }

  h1 {
    font-size: 42px;
  }

  .field-row,
  .form-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer div {
    flex-wrap: wrap;
  }

  button {
    width: 100%;
  }
}
