@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/jakarta.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fcfcfc;
  --ink: #171717;
  --muted: #545454;
  --line: #e6e6e6;
  --accent: #008f7a;
  --accent-dark: #006a59;
  --tint: #eff9f6;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }

.announcement {
  padding: .9rem 1rem;
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
  font-size: clamp(.77rem, 1.9vw, .96rem);
  font-weight: 800;
  letter-spacing: .085em;
  line-height: 1.35;
  text-transform: uppercase;
}

main { padding: clamp(2.8rem, 7vw, 6.75rem) 1.15rem clamp(3rem, 9vw, 7rem); }

.hero {
  max-width: 77rem;
  margin: 0 auto clamp(2.1rem, 6.6vw, 5.4rem);
  text-align: center;
}

h1 {
  max-width: 76rem;
  margin: 0 auto;
  font-size: clamp(2.12rem, 5vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.17;
  text-wrap: balance;
}

.trial-highlight {
  display: inline-block;
  padding: .015em .12em .065em;
  border-radius: .14em;
  background: #1ac6a6;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1.02;
}

.sketch-underline { position: relative; display: inline-block; white-space: nowrap; }

.sketch-underline svg {
  position: absolute;
  left: 0;
  bottom: -.12em;
  width: 100%;
  height: .3em;
  overflow: visible;
  color: var(--accent);
  pointer-events: none;
}

.sketch-underline path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 9; }
.sketch-underline path:last-child { stroke-width: 6; opacity: .9; }

.hero p {
  margin: clamp(1.1rem, 2.8vw, 2.3rem) 0 0;
  font-size: clamp(1.1rem, 2.55vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.35;
  text-wrap: balance;
}

.card {
  width: min(100%, 45rem);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 23, 23, .10);
}

.panel { padding: clamp(1.1rem, 4.2vw, 2.6rem); }
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }

legend, h2 {
  margin: 0 0 1.05rem;
  padding: 0;
  font-size: clamp(1.2rem, 2.7vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.3;
}

.context { margin: -.35rem 0 1.1rem; color: var(--muted); line-height: 1.55; }
.choice + .choice { margin-top: .55rem; }

.choice {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  width: 100%;
  min-height: 3.25rem;
  padding: .85rem .95rem;
  border: 1px solid var(--line);
  border-radius: .72rem;
  background: #fff;
  color: var(--ink);
  text-align: left;
  line-height: 1.4;
  cursor: pointer;
}

.choice:hover, .choice:has(input:checked) {
  background: var(--tint);
  border-color: var(--accent);
}

.choice input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin: .135rem 0 0;
  accent-color: var(--accent-dark);
}

.choice-button::before {
  content: "";
  flex: 0 0 1.1rem;
  height: 1.1rem;
  margin-top: .135rem;
  border: 1.5px solid var(--accent-dark);
  border-radius: 50%;
}

.qualifier { color: var(--muted); font-weight: 700; }

.actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  padding: .8rem clamp(1.1rem, 4.2vw, 2.6rem);
  border-top: 1px solid #dcece6;
  background: var(--tint);
}

.actions-with-back { justify-content: space-between; }

.primary, .back {
  min-height: 2.8rem;
  padding: .55rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  font-weight: 800;
}

.primary { background: var(--accent-dark); color: #fff; }
.primary:hover { background: #005748; }
.back { padding-left: 0; background: transparent; color: var(--accent-dark); }
.back:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.choice:focus-within { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

.field { display: grid; gap: .4rem; margin: .9rem 0 0; font-weight: 700; }

.field input {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .8rem;
  border: 1px solid #a6a6a6;
  border-radius: .6rem;
  font-weight: 500;
  color: inherit;
}

.field-help { margin: .45rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.field input::placeholder { color: #666; opacity: 1; }
.privacy { margin: .625rem 0 0; font-size: .78rem; }
.privacy a { color: var(--muted); text-underline-offset: .15em; }
.form-error { margin: .75rem 0 0; color: #9c252b; font-weight: 600; }
.primary:disabled { cursor: wait; opacity: .72; }
.declined { max-width: 40rem; margin: 0 auto; text-align: center; font-size: clamp(1.03rem, 2vw, 1.2rem); line-height: 1.65; }

@media (min-width: 76rem) {
  h1 > .headline-line { display: block; }
}

