/* CertyStudy landing page. Same visual language as the app: warm white, chunky rounded cards,
   pressable buttons on a darker bottom edge, and one accent: yellow. */

@font-face {
  font-family: "Gabarito";
  src: url("fonts/gabarito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --page: #fbfaf6;
  --glow: #fff1c2;
  --card: #ffffff;
  --soft: #f6f3ec;
  --rule: #e9e4d9;
  --ink: #3e3a32;
  --ink-strong: #211e18;
  --ink-2: #74695a;
  --accent: #ffc93c;
  --accent-edge: #dba21c;
  --accent-soft: #fff4d1;
  --accent-text: #8a5d00;
  --display: "Gabarito", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: radial-gradient(120% 40rem at 50% -12rem, var(--glow), transparent 70%) no-repeat, var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink-strong);
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

::selection {
  background: color-mix(in srgb, var(--accent) 60%, transparent);
  color: var(--ink-strong);
}

:focus-visible {
  outline: 3px solid #c48a00;
  outline-offset: 3px;
  border-radius: 10px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 72rem);
  margin-inline: auto;
}

.narrow-wrap {
  width: min(100% - 2 * var(--gutter), 44rem);
}

.center {
  text-align: center;
}

.narrow {
  max-width: 40rem;
  margin-inline: auto;
}

.lede {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--ink-strong);
  border-radius: 12px;
  font-weight: 700;
}
.skip:focus {
  top: 1rem;
}

.marker {
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%);
  padding-inline: 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone; /* the highlight follows the text when it wraps */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.brand img {
  width: 2.75rem;
  height: 2.75rem;
}
.footer .brand img {
  width: 3.5rem;
  height: 3.5rem;
}
.hero-logo {
  width: clamp(9rem, 6rem + 14vw, 14rem);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 10px 18px rgb(62 58 50 / 0.16));
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  text-decoration: none;
  white-space: nowrap;
}

/* Tactile buttons. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 1rem;
  font: 700 1.0625rem/1 var(--display);
  text-decoration: none;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out, background-color 140ms ease-out;
  white-space: nowrap;
  border: 0; /* <button> brings its own border; links don't */
  cursor: pointer;
}
.btn:active {
  transform: translateY(2px);
}
.btn-primary {
  background: var(--accent);
  color: var(--ink-strong);
  box-shadow: 0 3px 0 var(--accent-edge);
}
.btn-primary:hover {
  background: #ffd25e;
}
.btn-primary:active {
  box-shadow: 0 1px 0 var(--accent-edge);
}
.btn-secondary {
  background: var(--card);
  color: var(--ink-strong);
  border: 2px solid var(--rule);
  box-shadow: 0 2px 0 var(--rule);
}
.btn-secondary:hover {
  background: var(--soft);
}
.btn-secondary:active {
  box-shadow: none;
}
.btn-lg {
  min-height: 3.75rem;
  padding: 0.65rem 2rem;
  font-size: 1.1875rem;
  line-height: 1.15;
  white-space: normal; /* long labels wrap on small phones instead of overflowing */
  text-align: center;
}
.btn-sm {
  min-height: 2.75rem;
  padding: 0 1.1rem;
  font-size: 1rem;
  border-radius: 999px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--page);
  border-bottom: 2px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}
.nav-links {
  display: none;
  gap: 1.75rem;
  margin-inline: auto;
  font-family: var(--display);
  font-weight: 600;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
}
.nav-links a:hover {
  color: var(--ink-strong);
}
.nav .btn {
  margin-left: auto;
}
/* Small phones: tighten the bar so the wordmark never runs under the button; the badge carries the name on the smallest. */
@media (max-width: 25rem) {
  .nav-inner { gap: 0.75rem; }
  .nav .wordmark { font-size: 1.375rem; }
}
@media (max-width: 22.5rem) {
  .nav .wordmark { display: none; }
}
@media (min-width: 52rem) {
  .nav-links {
    display: flex;
  }
  .nav .btn {
    margin-left: 0;
  }
}

/* Hero */
.hero {
  padding-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow-x: clip;
}
.hero-copy {
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 1.1rem + 5.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 17ch;
  margin-inline: auto;
}
.hero .lede {
  max-width: 36rem;
  margin: 1.25rem auto 0;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2rem;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--card);
  border: 2px solid var(--rule);
  font: 600 0.9375rem/1.2 var(--display);
  color: var(--ink-strong);
}
.pulse {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--accent-edge);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-edge) 60%, transparent);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 0.6rem transparent;
  }
}

/* Hero art: phone in the middle, buddies around it. */
.hero-art {
  --phone: clamp(13.5rem, 9rem + 16vw, 19rem);
  position: relative;
  width: min(100%, 60rem);
  margin: clamp(2.5rem, 2rem + 3vw, 4rem) auto 0;
  display: grid;
  justify-items: center;
}
.glow {
  position: absolute;
  inset: 8% 10% 0;
  background: radial-gradient(closest-side, #ffe07a, transparent);
  opacity: 0.65;
  filter: blur(8px);
}
.hero-phone {
  --w: var(--phone);
  position: relative;
  margin-bottom: -18%;
  transform: rotate(-3deg);
}
.buddy {
  position: absolute;
  width: calc(var(--phone) * 0.62);
  filter: drop-shadow(0 10px 14px rgb(62 58 50 / 0.18));
}
.buddy-chick {
  left: calc(50% - var(--phone) * 1.25);
  bottom: 14%;
}
.buddy-monkey {
  left: calc(50% + var(--phone) * 0.55);
  top: 12%;
}
.buddy-pup {
  left: calc(50% + var(--phone) * 0.48);
  bottom: 6%;
  width: calc(var(--phone) * 0.56);
}
@media (max-width: 40rem) {
  .buddy {
    width: calc(var(--phone) * 0.5);
  }
  .buddy-chick {
    left: calc(50% - var(--phone) * 0.98);
    bottom: 22%;
  }
  .buddy-monkey {
    left: calc(50% + var(--phone) * 0.42);
    top: 6%;
  }
  .buddy-pup {
    left: calc(50% + var(--phone) * 0.44);
    bottom: 20%;
    width: calc(var(--phone) * 0.46);
  }
}

/* Phone mockup around a real app screenshot. */
.phone {
  width: var(--w, 17rem);
  padding: calc(var(--w, 17rem) * 0.035);
  border-radius: calc(var(--w, 17rem) * 0.15);
  background: var(--ink-strong);
  box-shadow: 0 2px 0 4px #3a342b inset, 0 40px 70px -28px rgb(62 58 50 / 0.55);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: calc(var(--w, 17rem) * 0.06);
  left: 50%;
  width: 28%;
  height: calc(var(--w, 17rem) * 0.075);
  translate: -50% 0;
  border-radius: 999px;
  background: var(--ink-strong);
  z-index: 1;
}
.phone img {
  width: 100%;
  border-radius: calc(var(--w, 17rem) * 0.12);
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
}

/* Sections */
.section {
  padding-block: clamp(4.5rem, 3rem + 6vw, 8rem);
}
.hero + .section {
  padding-top: clamp(6rem, 4rem + 8vw, 10rem);
}

/* Split: phone + promise + store buttons */
.split-inner {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}
.split-phone {
  --w: clamp(15rem, 10rem + 14vw, 20rem);
  justify-self: center;
  transform: rotate(2deg);
}
.split-copy .lede {
  margin-top: 1rem;
}
@media (min-width: 56rem) {
  .split-inner {
    grid-template-columns: 1fr 1.15fr;
  }
}
.two-parts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.two-parts li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.two-parts strong {
  display: block;
  font: 700 1.25rem/1.3 var(--display);
  color: var(--ink-strong);
}
.tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--accent-soft);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem 0.6rem 0.9rem;
  border-radius: 1rem;
  border: 2px dashed var(--rule);
  background: var(--card);
  font: 700 1.125rem/1.1 var(--display);
  color: var(--ink-strong);
  cursor: default;
}
.store small {
  display: block;
  font: 500 0.75rem/1.2 var(--body);
  color: var(--ink-2);
}

/* Certifications */
.subjects-section .lede {
  margin-top: 1rem;
}
.first-certs {
  display: grid;
  gap: 1.25rem;
  max-width: 64rem;
  margin: 3rem auto 0;
}
@media (min-width: 56rem) {
  .first-certs {
    grid-template-columns: 1fr 1fr;
  }
}
.first-cert {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-color: var(--accent-edge);
  box-shadow: 0 4px 0 var(--accent-edge);
}
.first-cert > div {
  min-width: 0;
  overflow-wrap: break-word;
}
/* Very small phones: icon above the text, so long names like "Technician/Assistant" get the full card width. */
@media (max-width: 26rem) {
  .first-cert {
    flex-direction: column;
    gap: 0.75rem;
  }
}
.first-cert h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
}
.first-cert p {
  margin-top: 0.5rem;
  color: var(--ink-2);
}
.first-cert .cert-note {
  font-size: 0.8125rem;
}
.tile-lg {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
}
.tile-lg img {
  width: 2rem;
  height: 2rem;
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  font: 700 0.875rem/1.3 var(--display);
  color: var(--ink-strong);
}
.coming-title {
  margin-top: 3rem;
  font-size: 1.25rem;
  color: var(--ink-2);
}
.subjects {
  list-style: none;
  padding: 0;
  margin: 1.25rem auto 0;
  max-width: 56rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: 0.75rem;
}
.subjects li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border-radius: 1.25rem;
  border: 2px dashed var(--rule);
  background: var(--card);
  font: 700 1.0625rem/1.2 var(--display);
  color: var(--ink-strong);
}
.subjects .tile {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.875rem;
}
.subjects-note {
  margin-top: 1.5rem;
  color: var(--ink-2);
}
.subjects-note a,
.faq a {
  color: var(--accent-text);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Cards */
.card {
  background: var(--card);
  border: 2px solid var(--rule);
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgb(62 58 50 / 0.07), 0 2px 4px -2px rgb(62 58 50 / 0.06);
}
.big-cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 52rem) {
  .big-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.big-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card) 0%, var(--card) 55%, var(--accent-soft) 100%);
}
.big-card-copy {
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}
.big-card-copy p {
  margin-top: 0.6rem;
  color: var(--ink-2);
}
.peek {
  --w: clamp(14rem, 10rem + 12vw, 18rem);
  margin: auto auto -45%;
  transform: translateY(0);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.big-card:hover .peek {
  transform: translateY(-0.75rem);
}
.small-cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.small-card {
  padding: 1.5rem;
}
.small-card h3 {
  margin-top: 1rem;
  font-size: 1.1875rem;
}
.small-card p {
  margin-top: 0.4rem;
  color: var(--ink-2);
  font-size: 1rem;
}

/* Study buddy */
.buddy-section {
  background: linear-gradient(180deg, transparent, var(--accent-soft) 18%, var(--accent-soft) 82%, transparent);
}
.buddies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 0.5rem + 1.5vw, 1.5rem);
  margin: 3rem auto 0;
  max-width: 52rem;
}
.buddy-card {
  margin: 0;
  padding: clamp(0.75rem, 0.5rem + 1.5vw, 1.5rem) 0.75rem 1.25rem;
  text-align: center;
  transition: transform 200ms ease-out;
}
.buddy-card:hover {
  transform: translateY(-4px) rotate(-1deg);
}
.buddy-card img {
  width: 100%;
  max-width: 13rem;
  margin-inline: auto;
}
.buddy-card figcaption {
  margin-top: 0.25rem;
  color: var(--ink-2);
}
.buddy-card strong {
  display: block;
  font: 800 clamp(1.25rem, 1rem + 1vw, 1.625rem) / 1.2 var(--display);
  color: var(--ink-strong);
}
.feeds {
  list-style: none;
  padding: 0;
  margin: 2.5rem auto 0;
  max-width: 52rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.75rem;
}
.feeds li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.1rem;
  border-radius: 1rem;
  background: var(--card);
  border: 2px solid var(--rule);
}
.feeds strong {
  font: 700 1.0625rem/1.2 var(--display);
  color: var(--ink-strong);
}
.feeds span {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  font: 700 0.9375rem/1.2 var(--display);
  color: var(--ink-strong);
  white-space: nowrap;
}
.feeds span::before {
  content: "+ ";
}
.moods {
  list-style: none;
  padding: 0;
  margin: 3.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
  gap: 1.5rem 1rem;
  text-align: center;
}
.moods img {
  width: 8.5rem;
  margin: 0 auto 0.5rem;
}
.moods strong {
  display: block;
  font: 700 1.125rem/1.25 var(--display);
  color: var(--ink-strong);
}
.moods span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* Kickstarter */
.ks {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 1.25rem + 4vw, 4rem);
  border-radius: 2rem;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--accent-edge);
}
.ks > * {
  min-width: 0;
}
.ks h2 {
  color: var(--ink-strong);
}
.ks .lede {
  margin: 1rem 0 2rem;
  color: #4a3a12;
  max-width: 34rem;
}
.ks .btn-primary {
  background: var(--ink-strong);
  color: #fff;
  box-shadow: 0 3px 0 #000;
}
.ks .btn-primary:hover {
  background: #36312a;
}
.ks-note {
  margin-top: 1rem;
  font: 600 0.9375rem/1.3 var(--display);
  color: #4a3a12;
}
.ks-art {
  display: flex;
  justify-content: center;
}
.ks-art img {
  width: clamp(6rem, 4rem + 8vw, 10rem);
  margin-inline: -0.75rem;
}
.ks-art img:nth-child(2) {
  margin-top: -1.5rem;
}
@media (min-width: 56rem) {
  .ks {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.faq details {
  background: var(--card);
  border: 2px solid var(--rule);
  border-radius: 1.25rem;
  box-shadow: 0 2px 0 var(--rule);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font: 700 1.125rem/1.3 var(--display);
  color: var(--ink-strong);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 1.375rem;
  transition: transform 200ms ease-out;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-2);
}

/* Feedback form */
.fb {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.fb > * {
  min-width: 0;
}
.fb-copy .lede {
  margin: 1rem 0 0;
  max-width: 30rem;
}
.fb-art {
  width: clamp(7rem, 5rem + 8vw, 11rem);
  margin-top: 2rem;
}
.fb-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 0.75rem + 2vw, 2rem);
}
.fb-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.fb-topics legend {
  margin-bottom: 0.6rem;
  padding: 0;
  font: 700 1rem/1.3 var(--display);
  color: var(--ink-strong);
}
.fb-topics label {
  position: relative;
}
.fb-topics input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.fb-topics span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 2px solid var(--rule);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 2px 0 var(--rule);
  font: 700 0.9375rem/1.2 var(--display);
  color: var(--ink);
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
}
.fb-topics label:hover span {
  background: var(--soft);
}
.fb-topics input:checked + span {
  background: var(--accent);
  border-color: var(--accent-edge);
  box-shadow: 0 2px 0 var(--accent-edge);
  color: var(--ink-strong);
}
.fb-topics input:focus-visible + span {
  outline: 3px solid #c48a00;
  outline-offset: 3px;
}
.fb-row {
  display: grid;
  gap: 1.25rem;
}
.fb-field {
  display: grid;
  gap: 0.4rem;
}
.fb-field > span {
  font: 700 1rem/1.3 var(--display);
  color: var(--ink-strong);
}
.fb-field em {
  font: 500 0.875rem/1.3 var(--body);
  color: var(--ink-2);
}
.fb-field input,
.fb-field select,
.fb-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--rule);
  border-radius: 0.875rem;
  background: var(--page);
  font: 400 1.0625rem/1.5 var(--body);
  color: var(--ink-strong);
}
.fb-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  outline: none;
  border-color: var(--accent-edge);
  background: var(--card);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.fb-form .btn {
  justify-self: start;
}
.fb-form .btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.fb-status {
  margin: 0;
  min-height: 1.6em;
  font-weight: 600;
  color: var(--ink-2);
}
.fb-status:empty {
  display: none;
}
.fb-status.is-ok {
  color: #18794a;
}
.fb-status.is-error {
  color: #b8322a;
}
/* Test trial form (shares the feedback form's look) */
.trial-points {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
}
.apply-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  line-height: 1.1;
}
.apply-questions {
  display: grid;
  gap: 1.25rem;
}
.apply-questions:empty {
  display: none;
}
.fb-form h3 {
  margin: 0;
}
.fb-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink);
}
.fb-check input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0.05rem 0 0;
  accent-color: #c48a00;
}
.fb-check a {
  color: inherit;
  font-weight: 700;
}
@media (min-width: 36rem) {
  .fb-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 56rem) {
  .fb {
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
  }
}

/* Footer */
.footer {
  border-top: 2px solid var(--rule);
  padding-block: 3rem calc(3rem + env(safe-area-inset-bottom));
}
.footer-inner {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}
.footer p {
  max-width: 40rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.footer .copy {
  font-size: 0.875rem;
}
.footer .copy a {
  color: var(--accent-text);
  font-weight: 600;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
