/* Rounded, restrained typography shared across the public marketing site. */
body,
body[data-marketing-page],
.video-guide,
.guide-page {
  font-family: 'DM Sans', Arial, sans-serif;
}
button,
input,
textarea,
select {
  font-family: inherit;
}
.hero h1 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.hero-description {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
.desktop-nav {
  font-size: 15px;
  font-weight: 400;
}
.hero-actions {
  gap: 12px;
}
.hero-actions .button,
.hero .watch-link {
  font-size: 18px;
  font-weight: 500;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 15px;
}
.hero-actions .button {
  background: #191919;
  color: #fff;
  border: 1px solid #333;
  box-shadow:
    inset 0 1px 3px #ffffff30,
    0 2px 4px #0001;
}
.hero .watch-link {
  background: transparent;
  color: #111;
  border: 1px solid #111;
  box-shadow: none;
}
.hero .watch-link:hover {
  background: #ffffff55;
  color: #111;
}
.hero-actions .button > span,
.hero .watch-link > svg {
  display: none;
}
.hero-small {
  font-size: 13px;
  font-weight: 400;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: 34px;
  }
  .hero-actions .button,
  .hero .watch-link {
    font-size: 16px;
    min-height: 52px;
    padding: 14px 20px;
  }
}
/* Unified type and compact, left-grouped navigation. */
body
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    span,
    li,
    label,
    button,
    input,
    select,
    textarea,
    summary
  ) {
  font-family: 'DM Sans', Arial, sans-serif;
}
.header-inner {
  max-width: 1440px;
  gap: 30px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.desktop-nav {
  margin-right: auto;
  gap: 24px;
  align-items: center;
}
.header-actions {
  margin-left: auto;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
}
.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}
.nav-dropdown > summary svg {
  width: 12px;
  height: 12px;
}
.nav-dropdown[open] > summary svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 205px;
  padding: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 24px #0001;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
}
.nav-dropdown-menu a:hover {
  background: #def7ee;
}
.hero-trust {
  margin-top: 20px;
}
.hero-trust p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
}
.hero-stars {
  display: inline-flex;
  gap: 3px;
  padding: 8px 12px;
  border: 1px solid #111;
  border-radius: 24px;
}
.hero-stars svg {
  width: 16px;
  height: 16px;
  fill: #111;
}
@media (max-width: 900px) {
  .header-inner {
    gap: 16px;
  }
  .desktop-nav {
    gap: 14px;
    font-size: 13px;
  }
}

.hero-stars {
  align-items: center;
}
.hero-stars .hero-rating-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
  margin-right: 5px;
}

/* Stacked closing sections: generous rounded tops and restrained branding. */
.success-band {
  margin: 48px 0 0;
  background: #e4faf0;
  color: #111;
  border-radius: 76px 76px 0 0;
  overflow: hidden;
  text-align: center;
}
.success-band h2 {
  margin: 0;
  font-size: clamp(25px, 2.3vw, 32px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.success-band p {
  margin: 20px auto 0;
  max-width: 800px;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.5;
}
.success-study {
  padding: 44px 0 54px;
}
.success-study h2 {
  padding: 0 24px;
}
.success-marquee {
  overflow: hidden;
  margin: 38px 0 36px;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}
.success-track {
  display: flex;
  width: max-content;
  animation: success-drift 44s linear infinite;
}
.success-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 80px;
  padding-right: 80px;
}
.success-group img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: contain;
}
.success-group span {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: #074e3c;
}
.success-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
}
.success-text-link:hover {
  text-decoration: underline;
}
.success-action {
  border-radius: 76px 76px 0 0;
  padding: 44px 24px 60px;
  background: #b6f7df;
}
.success-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.success-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  min-height: 46px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #111;
}
.success-primary {
  background: #191919;
  color: #fff;
  box-shadow:
    inset 0 1px 3px #ffffff30,
    0 2px 4px #0001;
}
.success-secondary {
  background: transparent;
  color: #111;
}
.success-primary:hover {
  background: #303030;
}
.success-secondary:hover {
  background: #ffffff40;
}
.success-band + .site-footer {
  margin-top: 0;
  border-top: 0;
  background: #f4fcf7;
}
.success-marquee:hover .success-track {
  animation-play-state: paused;
}
@keyframes success-drift {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 700px) {
  .success-band {
    border-radius: 36px 36px 0 0;
    margin-top: 32px;
  }
  .success-study {
    padding: 34px 0 28px;
  }
  .success-action {
    border-radius: 36px 36px 0 0;
    padding: 34px 20px 40px;
  }
  .success-band p {
    font-size: 14px;
    margin-top: 14px;
  }
  .success-group {
    gap: 38px;
    padding-right: 38px;
  }
  .success-group span {
    font-size: 23px;
  }
  .success-group img {
    width: 48px;
    height: 48px;
  }
  .success-marquee {
    margin: 26px 0 20px;
  }
  .success-buttons {
    margin-top: 26px;
    gap: 12px;
  }
  .success-buttons a {
    padding: 12px 18px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .success-track {
    animation: none;
  }
  .success-marquee {
    overflow-x: auto;
    mask-image: none;
  }
  .success-group[aria-hidden] {
    display: none;
  }
}

.site-footer .footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.site-footer .footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 50%;
}
.site-footer .footer-social a:hover {
  background: #dff4e9;
}
.site-footer .footer-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.site-footer .footer-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.site-footer .footer-masthead .brand {
  font-size: 22px;
}
.site-footer .footer-masthead .footer-social {
  margin: 0;
  gap: 16px;
  flex-wrap: nowrap;
}
.site-footer .footer-top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 20px;
}
@media (max-width: 600px) {
  .site-footer .footer-masthead {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 22px;
  }
  .site-footer .footer-masthead .footer-social {
    gap: 12px;
  }
  .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Avoid stacking footer padding above and below the brand row. */
.site-footer {
  padding-top: 0;
}
.site-footer .footer-masthead {
  padding-top: 28px;
  padding-bottom: 24px;
}
.site-footer .footer-top {
  padding-top: 8px;
  padding-bottom: 30px;
}
@media (max-width: 600px) {
  .site-footer .footer-masthead {
    padding-top: 24px;
    padding-bottom: 18px;
    gap: 12px;
  }
}

/* Full-width navigation previews, aligned with the header content. */
.site-header .header-inner,
.site-header .desktop-nav,
.site-header .nav-dropdown {
  position: static;
}
.site-header .nav-dropdown-menu {
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e8e8e8;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 16px 24px #00000008;
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
}
.nav-preview-inner {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding: 40px 24px 54px;
}
.nav-preview-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.nav-preview-column p {
  margin: 0 0 12px;
  color: #6b6b6b;
  font-size: 15px;
  font-weight: 400;
}
.site-header .nav-preview-column a {
  padding: 4px 0;
  font-size: 17px;
  line-height: 1.4;
  border-radius: 0;
  color: #111;
}
.site-header .nav-preview-primary a {
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
.site-header .nav-preview-column a:hover {
  background: none;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-header:has(.nav-dropdown[open]) {
  background: #fff;
  border-bottom-color: transparent;
}
.nav-dropdown[open] > summary {
  color: #111;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .nav-preview-inner {
    gap: 24px;
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .site-header .nav-preview-column a {
    font-size: 15px;
  }
  .site-header .nav-preview-primary a {
    font-size: 25px;
  }
}

/* Compact account actions follow the same hierarchy as the reference header. */
.site-header .header-actions {
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.header-actions .header-login {
  color: #111;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 10px 4px;
}
.header-actions .header-signup,
.header-actions .header-plans {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #111;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}
.header-actions .header-signup {
  color: #fff;
  background: #191919;
  box-shadow:
    inset 0 1px 3px #ffffff30,
    0 2px 4px #0001;
}
.header-actions .header-plans {
  color: #111;
  background: transparent;
}
.header-actions .header-signup:hover {
  background: #303030;
}
.header-actions .header-plans:hover {
  background: #ffffff55;
}
@media (max-width: 1100px) {
  .site-header .desktop-nav {
    display: none;
  }
  .site-header .menu-toggle {
    display: grid;
    place-items: center;
  }
}
@media (max-width: 600px) {
  .header-actions .header-signup,
  .header-actions .header-plans {
    display: none;
  }
  .site-header .header-actions {
    gap: 12px;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .site-header #mobile-nav:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 18px 24px;
    border-top: 1px solid #d8e7e1;
    background: #fff;
  }
}

/* A single opaque mint joins the header and hero without a colour seam. */
:root {
  --marketing-hero-mint: #def7ee;
}
.site-header,
.hero-band {
  background: var(--marketing-hero-mint);
}
.site-header {
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.header-globe {
  display: inline-flex;
  align-items: center;
  padding-right: 12px;
  margin-right: 2px;
  border-right: 1px solid #1112;
  color: #111;
}
.header-globe svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 600px) {
  .header-globe {
    padding-right: 8px;
    margin-right: 0;
  }
  .header-globe svg {
    width: 21px;
    height: 21px;
  }
}

.hero-rotating-title > span {
  display: block;
}
.hero-word-window {
  position: relative;
  height: 1.2em;
  overflow: hidden;
}
.hero-word {
  display: block;
  animation: hero-word-cycle 4s infinite;
}
@keyframes hero-word-cycle {
  0% {
    opacity: 0;
    transform: translateY(35%);
  }
  10%,
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-35%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-word {
    animation: none;
  }
}
@media (min-width: 701px) {
  .hero-home .hero-rotating-title {
    white-space: normal;
    font-size: clamp(34px, 4vw, 48px);
  }
  .hero-home .hero-rotating-title > span {
    display: inline-block;
    vertical-align: top;
  }
  .hero-home .hero-rotating-title > span:not(:last-child) {
    margin-right: 0.22em;
  }
  .hero-home .hero-word-window {
    width: auto;
    text-align: left;
  }
}
/* Small, one-time entrances. Content is visible before JS and without motion. */
@keyframes marketing-enter {
  from {
    opacity: 0.4;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .marketing-enter {
    animation: marketing-enter 280ms ease-out both;
  }
  .hero-actions a,
  .community-card,
  .card-action {
    transition:
      background-color 160ms ease,
      box-shadow 160ms ease;
  }
}
.guide-written-steps {
  padding-block: 36px;
  max-width: 900px;
}
.guide-written-steps h2 {
  font-size: 26px;
  margin: 0 0 12px;
}
.guide-written-steps > p {
  font-size: 15px;
  line-height: 1.6;
}
.guide-written-steps details {
  border-bottom: 1px solid #d9e7e0;
  padding: 14px 0;
}
.guide-written-steps summary {
  min-height: 32px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}
.guide-written-steps details p {
  font-size: 15px;
  line-height: 1.65;
}
.guide-written-steps details a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: underline;
}
