/* bffai.me demand test: the one shared stylesheet. System fonts only. No outside files. */

:root {
  color-scheme: light;
  --page: #FAF7F2;
  --text: #1A1A1A;
  --soft: #4A4A4A;
  --button: #1D4ED8;
  --button-text: #FFFFFF;
  --flag-text: #7A2E0E;
  --flag-back: #FDECC8;
  --line: #D9D4CA;
  --field: #FFFFFF;
  --field-edge: #6B6B6B;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

main,
footer {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding-top: 28px;
  padding-bottom: 8px;
}

h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
  text-wrap: balance;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--button);
  text-underline-offset: 3px;
}

a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid var(--button);
  outline-offset: 2px;
}

.topline {
  font-size: 16px;
  color: var(--soft);
  margin-bottom: 0;
}

.subhead {
  font-size: 20px;
  line-height: 1.45;
}

.points {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.points li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.points li:last-child {
  border-bottom: 1px solid var(--line);
}

.price {
  font-weight: 600;
}

#form-slot {
  margin: 20px 0 12px;
}

.standin {
  border: 2px dashed var(--flag-text);
  border-radius: 10px;
  padding: 16px;
  background: var(--field);
}

.standin-flag {
  background: var(--flag-back);
  color: var(--flag-text);
  font-size: 16px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
}

label,
legend {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
}

fieldset {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
  min-width: 0;
}

input[type="email"],
input[type="text"] {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font: inherit;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--field-edge);
  border-radius: 8px;
}

.tick,
.option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  margin-bottom: 12px;
}

.tick input,
.option input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
}

.hint {
  font-size: 16px;
  color: var(--soft);
  margin: -8px 0 14px;
}

button {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  color: var(--button-text);
  background: var(--button);
  border: 0;
  border-radius: 8px;
}

.tally {
  width: 100%;
  border: 0;
  display: block;
}

.tally-signup {
  height: 460px;
}

.tally-questions {
  height: 640px;
}

.honest {
  font-size: 16px;
  margin-bottom: 10px;
}

.adults,
.privacy-link,
.small {
  font-size: 16px;
  color: var(--soft);
  margin-bottom: 8px;
}

footer {
  margin-top: 28px;
  padding-top: 16px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--soft);
}

.note p {
  margin-bottom: 14px;
}

@media (min-width: 720px) {
  main {
    padding-top: 56px;
  }

  h1 {
    font-size: 44px;
  }
}
