/*
  Tolstoy Compose base stylesheet.
  The baseline uses plain CSS and a single-column layout.
  Larger screens receive small progressive improvements below.
*/

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  background: #ffffff;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1f2328;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #1f2328;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #244bd0;
}

a:focus {
  outline: 2px solid #4b55e6;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 12px;
  z-index: 20;
  padding: 8px 12px;
  border: 1px solid #4b55e6;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2328;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-80px);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e8ec;
}

.logo {
  display: inline-block;
  margin-right: 18px;
  color: #1f2328;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-accent {
  color: #4b55e6;
}

.header-actions {
  display: inline-block;
  margin-top: 10px;
}

.nav-link,
.footer-links a {
  display: inline-block;
  min-height: 24px;
  margin-right: 16px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: #626c76;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus,
.footer-links a:hover,
.footer-links a:focus,
.nav-link[aria-current="page"] {
  color: #1f2328;
  text-decoration: underline;
}

.header-button,
.button {
  display: inline-block;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #4b55e6;
  border-radius: 6px;
  background: #4b55e6;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button {
  min-height: 42px;
  padding: 10px 18px;
}

.header-button:hover,
.header-button:focus,
.button:hover,
.button:focus {
  border-color: #244bd0;
  background: #244bd0;
  color: #ffffff;
}

.button-row {
  margin-top: 28px;
}

.button-row .button,
.button-row .inline-link {
  margin-right: 16px;
  margin-bottom: 10px;
}

.inline-link {
  color: #1f2328;
  font-weight: 600;
}

.section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
}

.section.wide {
  max-width: 1180px;
}

.first-section {
  padding-top: 56px;
}

.section + .section {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #e6e8ec;
}

.measure,
.narrow {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.narrow {
  padding-top: 72px;
  padding-bottom: 56px;
}

h1,
h2,
h3 {
  margin: 0;
  color: #1f2328;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 24px;
  font-size: 40px;
}

h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
}


p,
li,
dd {
  color: #454b52;
}

p {
  margin: 0;
}

p + p {
  margin-top: 16px;
}

ul,
ol {
  margin: 16px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 10px;
}

strong,
dt {
  color: #1f2328;
}

.kicker {
  margin: 0 0 16px;
  color: #626c76;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lede {
  color: #454b52;
  font-size: 19px;
  line-height: 1.52;
}

.section-lede {
  color: #454b52;
  font-size: 17px;
  line-height: 1.52;
}

.media-frame {
  margin: 36px 0 0;
}

.carousel-slide {
  margin: 0 0 18px;
}

.carousel-slide img {
  width: 100%;
  margin: 0;
  border: 1px solid #e6e8ec;
  border-radius: 14px;
  background: #ffffff;
}

.carousel-caption {
  margin-top: 10px;
  color: #626c76;
  font-size: 14px;
}

.carousel-controls {
  margin: 14px 0 0;
}

.carousel-button {
  display: block;
  min-height: 48px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid #dfe3fb;
  border-radius: 9px;
  background: #fbfbff;
  color: #4c5494;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
}

.carousel-button:hover,
.carousel-button:focus {
  border-color: #aeb5f4;
  background: #f4f5ff;
  color: #1f2328;
}

.carousel-button.is-active,
.carousel-button[aria-current="true"] {
  border-color: #4b55e6;
  background: #eef0ff;
  color: #1f2328;
}

.card-grid {
  margin: 36px auto 0;
}

.card {
  width: 100%;
  margin: 0 0 18px;
  padding: 24px;
  border: 1px solid #e6e8ec;
  border-radius: 14px;
  background: #ffffff;
  vertical-align: top;
}

.card h3 {
  margin-bottom: 8px;
}

.card ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.card li {
  margin-top: 8px;
}

.card-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e6e8ec;
  font-size: 15px;
}

.plan-detail p {
  margin: 0;
  color: #626c76;
}

.detail-label {
  color: #1f2328;
  font-weight: 600;
}

.plan-detail strong {
  color: #1f2328;
  font-size: 18px;
  font-weight: 600;
}

.fineprint {
  margin-top: 16px;
  font-size: 15px;
}

.fineprint p {
  color: #626c76;
}

.fineprint p + p {
  margin-top: 8px;
}

.quote {
  margin: 36px 0 0;
  padding: 0;
  border: 0;
}

.quote-photo {
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  border-radius: 70px;
}

.quote p {
  color: #1f2328;
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.quote footer {
  margin-top: 22px;
  color: #626c76;
  font-size: 16px;
}

.spaced-list {
  margin: 36px 0 0;
  padding-left: 24px;
}

.spaced-list li {
  padding-left: 4px;
}

.spaced-list li + li {
  margin-top: 30px;
}

.narrow h2 {
  margin-top: 64px;
}

.legal-contents {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid #e6e8ec;
  border-radius: 12px;
}

.legal-contents p {
  color: #1f2328;
}

.legal-contents ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-contents li {
  margin-top: 6px;
}

.legal-contents a {
  color: #4b55e6;
}

.legal-section {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #e6e8ec;
}

.legal-section h2 {
  margin-top: 0;
}

code {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.95em;
  word-wrap: break-word;
}

.feature-list {
  margin: 36px 0 0;
}

.feature-list dt {
  padding-top: 14px;
  border-top: 1px solid #e6e8ec;
  font-weight: 600;
}

.feature-list dd {
  margin: 6px 0 16px;
}

.site-footer {
  padding-top: 24px;
  padding-bottom: 32px;
  margin-top: 32px;
  border-top: 1px solid #e6e8ec;
  color: #626c76;
  font-size: 15px;
}

.site-footer span {
  display: block;
  margin-bottom: 10px;
  color: #626c76;
}

.footer-links a {
  margin-bottom: 8px;
}

.footer-cta {
  margin-top: 4px;
}

/* Progressive layout improvements for browsers that understand media queries. */
@media screen and (min-width: 720px) {
  .site-header {
    overflow: hidden;
  }

  .logo {
    float: left;
    margin-top: 7px;
  }

  .header-actions {
    display: block;
    margin-top: 0;
    text-align: right;
  }

  .first-section {
    padding-top: 56px;
  }

  h1 { font-size: 58px; }
  h2 { font-size: 34px; }
  .lede { font-size: 21px; }
  .quote p { font-size: 42px; }

  .carousel-button {
    display: inline-block;
    width: 23%;
    height: 74px;
    margin-right: 1%;
    vertical-align: top;
  }

  .card-grid {
    overflow: hidden;
  }

  .card {
    float: left;
    width: 31.3%;
    margin: 0 2% 18px 0;
  }

  .card.last-card {
    margin-right: 0;
  }

  .site-footer {
    overflow: hidden;
  }

  .site-footer span {
    float: left;
    margin-bottom: 0;
  }

  .footer-links {
    text-align: right;
  }
}

@media screen and (max-width: 560px) {
  .site-header,
  .site-footer,
  .page {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  .lede { font-size: 18px; }
  .quote p { font-size: 28px; }
  .quote-photo { width: 120px; height: 120px; border-radius: 60px; }
  .button-row .button,
  .button-row .inline-link { display: block; margin-right: 0; }
}

.section.measure h3 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.section.measure h2 + h3 {
  margin-top: 0;
}

.faq-list .faq-item {
  margin-top: 22px;
}

.faq-list .faq-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.faq-list .faq-item-separated {
  padding-top: 22px;
  border-top: 1px solid #e6e8ec;
}

.content-card {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid #e1e4ea;
  border-radius: 12px;
  background: #f8f9fc;
}

.content-card + .content-card {
  margin-top: 16px;
}

.content-card h3 {
  margin: 0 0 4px;
}

.content-note {
  margin: 0;
  color: #626c76;
  font-size: 14px;
}

.step-list {
  margin-top: 18px;
}

.step-list li {
  margin-top: 12px;
}
