html {
  scroll-behavior: smooth;
}

body {
    background-color: #F5F1FF;
    color: #2D1E40;
    font-family: 'Gentium Book Plus';
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
}

div {
    padding-block: 1%;
    padding-left: 1%;
    padding-right: 1%;
}

div.headline {
    flex: 3;
    text-align: center;
    vertical-align: middle;
}

div.tagline {
  flex: 2;
  border-left: 4px solid #6741D9;
  padding: 2%;
  font-size: xx-large;
}

div.periwinkle {
    background-color: #DFC7FF;
}

div.periwinkle p {
    margin-block-start: 1rem;
    padding-left: 2%;
}

div.main-content div {
    padding-left: 5%;
}

div.headshot {
    margin: 8%;
}




p {
    margin-block-start: 0;
    margin-block-end: 1rem;
}

p.b {
    font-weight: bold;
}

p.bi {
    font-weight: bold;
    font-style: italic;
}

p.cta {
    font-size: xx-large;
}

p.subtitle {
    font-size: x-large;
    font-weight: 700;
    font-style: italic;
    margin-block-end: .1rem;
}



h1 {
    color: #401B65;
    font-family: 'Amaranth';
    font-size: 3rem;
    margin-block-start: 1rem;
    margin-block-end: 0;
}

h1.headline {
    font-size: 6rem;
}


h2 {
    color: #401B65;
    font-family: 'Amaranth';
    font-variant: small-caps;
    font-weight: 400;
    font-size: 2rem;
    margin-block-start: 0;
    margin-block-end: 0;
}

h2.serif {
    font-family: "Gentium Book Plus";
}


h3 {
    color: #6741D9;
    font-style: italic;
    font-weight: 400;
    font-size: 1.75rem;
}


ul {
    margin-block: 2rem;
}

li {
    padding-left: 2%;
    margin-left: 2%;
    margin-block-end: 1.5rem;
}


a {
    color: #6741D9;
    font-weight: bold;
}


span.b {
    font-weight: bold;
}

span.i {
    font-style: italic;
    font-variant: normal;
}

span.bi {
    font-weight: bold;
    font-style: italic;
}

span.bright {
    color: #6741D9;
}

span.pop {
    color: #6741D9;    
    font-style: italic;
    font-weight: bold;
}


img.headshot {
    width: 200px;
    border-radius: 12px;
    display: block;
    flex-shrink: 0;
}



.section-flex {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: flex-start;
}

.bio {
  flex: 1.2;
  border-right: 4px solid #6741D9;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.main-content {
  flex: 3;
}

.mid-content {
  flex: 1.5;
}

.side-card {
  flex: 2;
  background-color: #fff;
  border-left: 4px solid #6741D9;
  line-height: 1.5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  padding: 2%;
}

.side-card li {
    margin-block-end: .1rem;
}

.side-card ul {
    margin-block-start: .1rem;
}

.center {
    text-align: center;
}

.emoji {
    font-size: 1.5rem;
}



.top-nav {
    background-color: #DFC7FF;
    padding: 0.5rem 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    font-family: 'Amaranth';
    font-size: 1.1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 2rem;
}

.top-nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #401B65;
  font-weight: bold;
}

.footer-nav {
  text-align: center;
  padding: 1rem;
  background-color: #DFC7FF;
  font-size: 1rem;
}

.footer-nav a {
  margin: 0 0.5rem;
  color: #401B65;
  text-decoration: none;
  font-weight: bold;
}

form textarea {
  width: 100%;
  min-height: 10rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

form button[type="submit"] {
  background: #7b4de1;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  margin-top: 2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
form button[type="submit"]:hover {
  background: #5d35b2;
}

form div {
    margin-block-end: 2rem;
}

#pain-points form {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

form input[type="radio"],
form input[type="checkbox"] {
  accent-color: #7b4de1; /* or any branded color */
  margin-left: 2rem;
}

form div {
    padding-right: 1rem;
}
form div.periwinkle {
    padding-block-end: 2rem;
}

#pain-points {
    display: flex;
    justify-content: center;
}

#pain-points form {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.inline-field {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.inline-field label {
  white-space: nowrap;
  flex-shrink: 0;
}

.inline-field input[type="text"] {
  flex-grow: 1;
  padding: 0.25rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.section-flex {
  scroll-margin-top: 6rem; /* or however tall your nav is */
}

#trust {
  align-items: stretch;
}

.bottom-content {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

div.main-content p {
  margin-top: 0;
}

img.hero {
  width: 100%;
  margin: 0;
  padding: 0;
}

div.img-container {
  margin: 0;
  padding: 0;
}