:root {
  --color-canvas: #f6f3ed;
  --color-text-primary: #18221e;
  --color-focus: #28675b;
  --font-sans: "Onest", "Inter", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  font-family: var(--font-sans);
  background: var(--color-canvas);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.landing-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--color-canvas);
}

.landing-page button,
.landing-page a {
  min-height: 44px;
}

.landing-page a {
  color: inherit;
  text-decoration: none;
}

.landing-page button,
.landing-page input,
.landing-page textarea,
.landing-page select {
  font: inherit;
}

.landing-page button {
  color: inherit;
}

.landing-page :focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.landing-skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fcfbf8;
  color: #18221e;
  transform: translateY(calc(-100% - 24px));
}

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

.landing-container {
  width: min(100% - 48px, 1024px);
  margin-inline: auto;
}

.landing-nav {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  padding-block: 20px;
  transition: padding 300ms ease, background 300ms ease, border-color 300ms ease;
}

.landing-nav.is-scrolled {
  padding-block: 12px;
  border-bottom: 1px solid #dddcd5;
  background: rgb(252 251 248 / 95%);
  backdrop-filter: blur(8px);
}

.landing-nav__inner,
.landing-nav__actions,
.landing-logo,
.landing-button,
.landing-how-link {
  display: flex;
  align-items: center;
}

.landing-nav__inner {
  justify-content: space-between;
}

.landing-nav__actions {
  gap: 12px;
}

.landing-logo {
  min-height: auto;
  gap: 6px;
  color: #18221e;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.landing-logo__dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: #28675b;
}

.landing-logo--small {
  font-size: 16px;
}

.landing-logo--small .landing-logo__dot {
  width: 6px;
  height: 6px;
}

.landing-nav__login {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: #65706a;
  font-size: 14px;
  transition: color 150ms ease;
}

.landing-nav__login:hover {
  color: #18221e;
}

.landing-button {
  width: fit-content;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  background: #28675b;
  color: white !important;
  font-size: 16px;
  font-weight: 500;
  transition: background 150ms ease, color 150ms ease;
}

.landing-button:hover {
  background: #20554b;
}

.landing-button--nav {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.landing-button--large {
  min-height: 52px;
  padding: 16px 28px;
}

.landing-button--light {
  padding-inline: 32px;
  background: white;
  color: #28675b !important;
  font-weight: 600;
}

.landing-button--light:hover {
  background: #f6f3ed;
}

.landing-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-icon--small {
  width: 15px;
  height: 15px;
}

.landing-hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 96px 24px 80px;
  background: #18221e;
}

.landing-hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 32px 32px;
}

.landing-hero__content {
  position: relative;
  width: 100%;
  max-width: 768px;
  margin-inline: auto;
  text-align: center;
}

.landing-kicker {
  margin: 0 0 16px;
  color: #65706a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.landing-kicker--green {
  color: #28675b;
}

.landing-kicker--center {
  text-align: center;
}

.landing-hero .landing-kicker {
  margin-bottom: 32px;
}

.landing-hero h1 {
  margin: 0 0 24px;
  color: #f6f3ed;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.landing-typing,
.landing-caret {
  color: #c97752;
}

.landing-caret {
  animation: landing-caret 1s steps(2, jump-none) infinite;
}

@keyframes landing-caret {
  50% { opacity: 0; }
}

.landing-hero__lede {
  max-width: 576px;
  margin: 0 auto 48px;
  color: #9aaba4;
  font-size: 18px;
  line-height: 1.65;
}

.landing-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.landing-how-link {
  min-height: 52px;
  gap: 8px;
  padding: 0 16px;
  color: #9aaba4 !important;
  font-size: 14px;
  transition: color 150ms ease;
}

.landing-how-link:hover {
  color: #f6f3ed !important;
}

.landing-hero__price {
  margin: 32px 0 0;
  color: #65706a;
  font-size: 14px;
}

.landing-chat-preview {
  position: relative;
  width: 100%;
  max-width: 672px;
  margin: 80px auto 0;
}

.landing-chat-preview__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgb(221 220 213 / 10%);
  border-radius: 20px;
  background: rgb(252 251 248 / 6%);
  backdrop-filter: blur(8px);
}

.landing-chat-message {
  max-width: 85%;
  padding: 12px 16px;
  border: 1px solid rgb(221 220 213 / 10%);
  border-radius: 14px;
  background: rgb(252 251 248 / 4%);
  color: #9aaba4;
  font-size: 14px;
  line-height: 1.6;
}

.landing-chat-message--user {
  max-width: 80%;
  align-self: flex-end;
  border: 0;
  border-radius: 14px 14px 4px 14px;
  background: rgb(40 103 91 / 30%);
  color: #e4eee9;
}

.landing-chat-preview__fade {
  position: absolute;
  inset: auto 0 0;
  height: 64px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(to top, #18221e, transparent);
}

.landing-trust {
  overflow: hidden;
  border-block: 1px solid #dddcd5;
  padding-block: 20px;
  background: #f6f3ed;
}

.landing-trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 40px;
}

.landing-trust__list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #65706a;
  font-size: 14px;
}

.landing-trust__list span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28675b;
  content: "";
}

.landing-section {
  padding: 96px 24px;
}

.landing-section h2,
.landing-final h2,
.landing-boundaries h2 {
  margin: 0;
  color: #18221e;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.25;
}

.landing-section__lede {
  max-width: 576px;
  margin: 16px 0 0;
  color: #65706a;
  font-size: 16px;
  line-height: 1.65;
}

.landing-modes,
.landing-quotes,
.landing-faq {
  background: #fcfbf8;
}

.landing-modes h2 {
  max-width: 512px;
}

.landing-modes .landing-section__lede {
  margin-bottom: 56px;
}

.landing-mode-layout {
  display: flex;
  gap: 32px;
}

.landing-mode-tabs {
  display: flex;
  width: 224px;
  flex: none;
  flex-direction: column;
  gap: 8px;
}

.landing-mode-tab {
  min-height: 0;
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.landing-mode-tab:hover {
  border-color: #dddcd5;
  background: #f6f3ed;
}

.landing-mode-tab.is-active {
  border-color: #28675b;
  background: #e4eee9;
}

.landing-mode-tab strong,
.landing-mode-tab span {
  display: block;
}

.landing-mode-tab strong {
  color: #65706a;
  font-size: 14px;
  font-weight: 600;
}

.landing-mode-tab.is-active strong {
  color: #18221e;
}

.landing-mode-tab.is-active span {
  color: #52605a;
}

.landing-mode-tab span {
  margin-top: 2px;
  color: #65706a;
  font-size: 12px;
}

.landing-mode-card {
  flex: 1;
  padding: 32px;
  border: 1px solid #dddcd5;
  border-radius: 20px;
}

.landing-mode-card--support {
  --mode-accent: #28675b;
  --mode-accent-soft: rgb(40 103 91 / 13%);
  background: #e4eee9;
}

.landing-mode-card--coach {
  --mode-accent: #c97752;
  --mode-accent-soft: rgb(201 119 82 / 13%);
  background: #f0ebe3;
}

.landing-mode-card--navigator {
  --mode-accent: #426a8c;
  --mode-accent-soft: rgb(66 106 140 / 13%);
  background: #eaf0f5;
}

.landing-mode-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.landing-mode-card__icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--mode-accent-soft);
  color: var(--mode-accent);
}

.landing-mode-card__heading p {
  margin: 0 0 4px;
  color: var(--mode-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.landing-mode-card h3 {
  margin: 0;
  color: #18221e;
  font-size: 20px;
  font-weight: 600;
}

.landing-mode-card__description {
  margin: 0 0 24px;
  color: #18221e;
  font-size: 16px;
  line-height: 1.65;
}

.landing-mode-card__example {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgb(0 0 0 / 5%);
  border-radius: 12px;
  background: rgb(255 255 255 / 60%);
  color: #65706a;
  font-size: 14px;
  font-style: italic;
}

.landing-steps,
.landing-pricing,
.landing-footer {
  background: #f6f3ed;
}

.landing-steps h2 {
  max-width: 512px;
  margin-bottom: 64px;
}

.landing-steps__grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}

.landing-steps__grid li {
  position: relative;
}

.landing-steps__grid li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 24px;
  left: 55%;
  width: 100%;
  height: 1px;
  background: #dddcd5;
  content: "";
}

.landing-steps__grid span,
.landing-steps__grid strong,
.landing-steps__grid p {
  position: relative;
  z-index: 1;
  display: block;
}

.landing-steps__grid span {
  margin-bottom: 16px;
  color: #75756e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 30px;
  font-weight: 600;
}

.landing-steps__grid strong {
  margin-bottom: 8px;
  color: #18221e;
  font-size: 16px;
  font-weight: 600;
}

.landing-steps__grid p {
  margin: 0;
  color: #65706a;
  font-size: 14px;
  line-height: 1.6;
}

.landing-boundaries {
  background: #18221e;
}

.landing-boundaries__grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.landing-boundaries h2 {
  color: #f6f3ed;
}

.landing-boundaries__lede {
  margin: 24px 0 0;
  color: #9aaba4;
  font-size: 16px;
  line-height: 1.65;
}

.landing-boundaries .landing-kicker--green {
  color: #74aa9e;
}

.landing-boundaries__list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.landing-boundaries__list li {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 14px;
  background: rgb(255 255 255 / 4%);
}

.landing-boundaries__list > li > .landing-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #e28d8d;
}

.landing-boundaries__list strong {
  display: block;
  margin-bottom: 4px;
  color: #e28d8d;
  font-size: 14px;
  font-weight: 600;
}

.landing-boundaries__list p {
  margin: 0;
  color: #9aaba4;
  font-size: 14px;
  line-height: 1.55;
}

.landing-quotes .landing-kicker {
  margin-bottom: 48px;
}

.landing-quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.landing-quotes blockquote {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 24px;
  flex-direction: column;
  border: 1px solid #dddcd5;
  border-radius: 20px;
  background: #f6f3ed;
}

.landing-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #c97752;
}

.landing-stars .landing-icon {
  width: 14px;
  height: 14px;
  fill: currentcolor;
}

.landing-quotes blockquote > p {
  flex: 1;
  margin: 0 0 24px;
  color: #18221e;
  font-size: 16px;
  line-height: 1.65;
}

.landing-quotes footer strong,
.landing-quotes footer span {
  display: block;
}

.landing-quotes footer strong {
  color: #18221e;
  font-size: 14px;
  font-weight: 500;
}

.landing-quotes footer span {
  margin-top: 2px;
  color: #65706a;
  font-size: 12px;
}

.landing-pricing__grid {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.landing-pricing .landing-section__lede {
  margin-bottom: 32px;
}

.landing-price-card {
  padding: 32px;
  border: 2px solid #28675b;
  border-radius: 24px;
  background: #fcfbf8;
  box-shadow: 0 1px 2px rgb(24 34 30 / 5%);
}

.landing-price-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.landing-price-card__head strong,
.landing-price-card__head span {
  display: block;
}

.landing-price-card__head strong {
  color: #18221e;
  font-size: 36px;
  font-weight: 600;
}

.landing-price-card__head span {
  margin-top: 4px;
  color: #65706a;
  font-size: 14px;
}

.landing-price-card__head em {
  padding: 6px 12px;
  border-radius: 999px;
  background: #e4eee9;
  color: #28675b;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
}

.landing-price-card ul {
  display: flex;
  margin: 0 0 32px;
  padding: 0;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.landing-price-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #18221e;
  font-size: 14px;
}

.landing-price-card li .landing-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #28675b;
}

.landing-price-card > p {
  margin: 0;
  color: #65706a;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.landing-faq__inner {
  width: min(100% - 48px, 672px);
  margin-inline: auto;
}

.landing-faq h2 {
  margin-bottom: 48px;
  text-align: center;
}

.landing-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-faq article {
  overflow: hidden;
  border: 1px solid #dddcd5;
  border-radius: 14px;
}

.landing-faq button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  color: #18221e;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease;
}

.landing-faq button:hover {
  background: #f6f3ed;
}

.landing-faq button .landing-icon {
  color: #65706a;
  transition: transform 200ms ease;
}

.landing-faq button[aria-expanded="true"] .landing-icon {
  transform: rotate(180deg);
}

.landing-faq [data-faq-answer] {
  padding: 16px 20px 20px;
  border-top: 1px solid #dddcd5;
  color: #65706a;
  font-size: 14px;
  line-height: 1.65;
}

.landing-final {
  padding: 96px 24px;
  background: #28675b;
  text-align: center;
}

.landing-final > div {
  max-width: 672px;
  margin-inline: auto;
}

.landing-final h2 {
  margin-bottom: 20px;
  color: white;
}

.landing-final p {
  margin: 0 0 40px;
  color: #d0e4df;
  font-size: 16px;
  line-height: 1.65;
}

.landing-final .landing-button {
  margin-inline: auto;
}

.landing-final small {
  display: block;
  margin-top: 20px;
  color: #d0e4df;
  font-size: 14px;
}

.landing-footer {
  border-top: 1px solid #dddcd5;
  padding: 40px 24px;
}

.landing-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-footer nav a,
.landing-footer p {
  margin: 0;
  color: #65706a;
  font-size: 14px;
  transition: color 150ms ease;
}

.landing-footer nav a:hover {
  color: #18221e;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .landing-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-steps__grid li::after {
    display: none;
  }

  .landing-boundaries__grid,
  .landing-pricing__grid {
    grid-template-columns: 1fr;
  }

  .landing-quotes__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .landing-container,
  .landing-faq__inner {
    width: min(100% - 32px, 1024px);
  }

  .landing-section,
  .landing-final {
    padding: 72px 16px;
  }

  .landing-mode-layout {
    flex-direction: column;
  }

  .landing-mode-tabs {
    width: 100%;
    flex-direction: row;
  }

  .landing-mode-tab {
    flex: 1;
    text-align: center;
  }

  .landing-mode-tab span {
    display: none;
  }

  .landing-footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .landing-nav {
    padding-block: 16px;
  }

  .landing-nav__login {
    display: none;
  }

  .landing-hero {
    min-height: 100svh;
    padding: 96px 16px 64px;
  }

  .landing-break {
    display: none;
  }

  .landing-hero__lede {
    font-size: 16px;
  }

  .landing-hero__actions {
    flex-direction: column;
  }

  .landing-hero__actions .landing-button {
    width: 100%;
  }

  .landing-chat-preview {
    margin-top: 64px;
  }

  .landing-chat-preview__card {
    padding: 16px;
  }

  .landing-chat-message {
    max-width: 92%;
  }

  .landing-chat-message--user {
    max-width: 88%;
  }

  .landing-mode-tabs {
    overflow-x: auto;
  }

  .landing-mode-tab {
    min-width: max-content;
  }

  .landing-mode-card,
  .landing-price-card {
    padding: 24px;
  }

  .landing-steps__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .landing-price-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-footer nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
