:root {
  --teal: #146b70;
  --dark-teal: #0e5055;
  --ink: #16383b;
  --accent: #228c91;
  --page: #f6f8f7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
header {
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 6vw;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.note-logo {
  display: block;
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--teal);
}
.centred {
  max-width: 1450px;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 110px);
  margin: auto;
  padding: 45px 5vw 75px;
}
.pitch-column {
  min-width: 0;
}
h1 {
  font:
    400 clamp(39px, 4.25vw, 63px)/1.12 Georgia,
    serif;
  letter-spacing: -2px;
  max-width: 600px;
  margin: 0 0 27px;
  text-wrap: balance;
}
.access-invitation {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 23px;
}
.access-invitation strong {
  font-weight: 600;
  font-size: 22px;
  color: var(--teal);
}
.signup {
  max-width: 450px;
  margin: 0;
}
.form-row {
  display: flex;
  gap: 8px;
}
.signup input {
  min-width: 0;
  flex: 1;
  padding: 15px 14px;
  border: 1px solid #146b7035;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-size: 12px;
}
.signup input::placeholder {
  color: #5e7375;
  opacity: 1;
}
.signup button {
  background: var(--teal);
  color: var(--page);
  padding: 15px 20px;
  border: 0;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.signup button span {
  margin-left: 10px;
}
.signup button:hover {
  transform: translateY(-2px);
  background: var(--dark-teal);
}
.signup button:active {
  transform: translateY(0);
}
.signup button:disabled {
  cursor: wait;
  opacity: 0.7;
}
.form-status {
  font-size: 12px;
  line-height: 1.5;
  color: #526d70;
  min-height: 14px;
  margin: 8px 0 0;
}
.site-meta {
  position: absolute;
  top: 16px;
  right: 6vw;
  text-align: right;
}
.maker-credit {
  font-size: 13px;
  line-height: 1.5;
  color: var(--teal);
  margin: 0;
}
.diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  grid-template-rows: auto auto;
  row-gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 660px;
  padding: 14px 0;
  margin: 0;
}
.speaker,
.result-step {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1/3;
  row-gap: 24px;
  min-width: 0;
  margin: 0;
}
.speaker {
  grid-column: 1;
  text-align: center;
}
.result-step {
  grid-column: 3;
}
.step-heading {
  grid-row: 1;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.45px;
  text-align: center;
  color: var(--teal);
  margin: 0;
}
.speaker > .doctor-icon,
.speaker > figcaption {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}
.doctor-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto;
  color: #527c7f;
}
.speaker figcaption {
  margin-top: 120px;
}
.wave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 30px;
  margin: 5px 0 13px;
}
.wave i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--teal);
  transform-origin: center;
  animation: voice-beat 1.1s ease-in-out var(--beat) infinite alternate;
}
@keyframes voice-beat {
  from {
    transform: scaleY(0.4);
    opacity: 0.45;
  }
  to {
    transform: scaleY(1.2);
    opacity: 1;
  }
}
blockquote {
  font:
    italic 16px/1.5 Georgia,
    serif;
  margin: 0 auto;
  max-width: 255px;
  color: #5e7375;
}
.arrow {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  width: 40px;
  color: #6c9294;
  line-height: 0;
}
.arrow svg {
  display: block;
  width: 100%;
  height: 40px;
  overflow: visible;
}
.chat {
  grid-row: 2;
  align-self: center;
  background: white;
  border: 1px solid #146b7014;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px #146b7006;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  border-bottom: 1px solid #146b7014;
  font-size: 11px;
  font-weight: 600;
}
.chat-header .note-logo {
  width: 22px;
  height: 22px;
}
.chat-content {
  padding: 22px;
}
.chat h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
}
.chat p {
  font-size: 15px;
  line-height: 1.6;
  color: #5e7375;
  margin: 0;
}

.pencil-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.pencil-underline svg {
  position: absolute;
  left: -2%;
  bottom: -7px;
  width: 104%;
  height: 10px;
  overflow: visible;
  fill: none;
  stroke: #399b9d;
  stroke-width: 4;
  stroke-linecap: butt;
  stroke-linejoin: round;
  opacity: 0.8;
}
.noscript {
  text-align: center;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .centred {
    gap: 28px;
  }
  .step-heading {
    font-size: 18px;
  }
  .chat-content {
    padding: 17px;
  }
  .chat h3,
  .chat p {
    font-size: 14px;
  }
}
@media (max-width: 1000px) {
  .centred {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .centred h1 {
    font-size: 43px;
  }
  .diagram {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  }
  .step-heading {
    font-size: 18px;
  }
  .access-invitation {
    font-size: 15px;
  }
  .signup button {
    padding: 15px 13px;
  }
}
@media (max-width: 760px) {
  header {
    height: 65px;
    padding: 0 23px;
  }
  .centred {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding: 28px 24px 30px;
    max-width: 590px;
  }
  h1 {
    font-size: 43px;
    max-width: 500px;
  }
  .signup {
    max-width: 460px;
  }
  .chat-content {
    padding: 18px;
  }
  .chat h3,
  .chat p {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .site-meta {
    position: static;
    padding: 0 24px 28px;
    text-align: center;
  }
  header {
    justify-content: center;
  }
  .centred {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    min-height: calc(100svh - 65px);
    padding: 18px 24px max(18px, env(safe-area-inset-bottom));
    text-align: center;
  }
  .pitch-column {
    display: contents;
  }
  .pitch-column h1 {
    order: 0;
    margin: 0;
  }
  .signup-group {
    order: 2;
    width: 100%;
  }
  .access-invitation {
    margin-bottom: 12px;
  }
  .signup {
    width: 100%;
    margin-inline: auto;
  }
  .form-row {
    justify-content: center;
    flex-direction: column;
  }
  .signup button {
    min-height: 48px;
    font-size: 16px;
  }
  .signup input {
    text-align: center;
    font-size: 16px;
  }
  .diagram {
    order: 1;
    transform: scale(0.94);
    transform-origin: center;
    grid-template-columns: minmax(0, 0.9fr) 24px minmax(0, 1.1fr);
    row-gap: 12px;
    max-width: 400px;
    margin: 0;
    padding: 0;
  }
  .speaker,
  .result-step {
    row-gap: 12px;
  }
  .step-heading {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
  }
  .doctor-icon {
    width: 64px;
    height: 64px;
  }
  .speaker figcaption {
    margin-top: 68px;
  }
  .wave {
    height: 20px;
    gap: 3px;
    margin: 4px 0 7px;
  }
  .wave i {
    width: 2px;
  }
  blockquote {
    font-size: 15px;
    line-height: 1.45;
  }
  .arrow {
    width: 22px;
  }
  .chat {
    text-align: center;
  }
  .chat-header {
    display: none;
  }
  .chat-content {
    padding: 10px;
  }
  .chat h3,
  .chat p {
    font-size: 15px;
    line-height: 1.45;
  }
  .chat h3 {
    margin-bottom: 6px;
  }

  .maker-credit {
    text-align: center;
  }
}
@media (max-width: 360px) {
  .step-heading {
    font-size: 13px;
  }
}
@media (max-width: 420px) {
  .centred h1 {
    font-size: 37px;
  }
  .form-row {
    flex-direction: column;
  }
  .signup button {
    min-height: 48px;
  }
  .access-invitation {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wave i {
    animation: none;
  }
  .signup button {
    transition: none;
    transform: none;
  }
}
.privacy-link {
  display: inline-block;
  font-size: 12px;
  color: #526d70;
  margin-top: 4px;
}
.privacy-page {
  max-width: 640px;
  margin: 64px auto;
  padding: 24px;
  line-height: 1.6;
}
.privacy-page h1 {
  font-size: 38px;
  margin-top: 32px;
}
.privacy-page a {
  color: var(--teal);
  overflow-wrap: anywhere;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .privacy-page {
    text-align: center;
  }
}
