:root {
  --bg: #f7f7f8;
  --panel: #ffffff;
  --panel-soft: #f4f4f5;
  --text: #202123;
  --muted: #6e6e80;
  --line: #e5e7eb;
  --dark: #202123;
  --accent: #10a37f;
  --shadow: 0 18px 55px rgba(0,0,0,.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -20%, rgba(16,163,127,.10), transparent 34%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(229,231,235,.88);
  background: rgba(247,247,248,.84);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.brand:link,
.brand:visited,
.brand:hover,
.brand:active {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 17px;
  text-decoration: none !important;
  color: var(--text);
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-block;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'>\
<rect width='64' height='64' rx='16' fill='%2310a37f'/>\
<g fill='none' stroke='%23ffffff' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M32 15c3.8 0 6.8 2 8.6 5.1'/>\
<path d='M46.5 20.5c3.8 0 6.8 3.1 6.8 7c0 2.7-1.4 4.8-3.6 6'/>\
<path d='M49 40c0 4.1-3.1 7.2-7.2 7.2h-1.8'/>\
<path d='M24.2 54.5c1.6 2.2 4.3 3.5 7.8 3.5c3.4 0 6.1-1.3 7.8-3.5'/>\
<path d='M24 47.2h-1.8c-4.1 0-7.2-3.1-7.2-7.2'/>\
<path d='M14.3 33.5c-2.2-1.2-3.6-3.3-3.6-6c0-3.9 3-7 6.8-7h1.9'/>\
<path d='M23.4 20.1c1.8-3 4.9-5.1 8.6-5.1'/>\
<path d='M24 25h16'/>\
<path d='M21 33h22'/>\
<path d='M25 41h14'/>\
</g>\
</svg>");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 6px 18px rgba(16,163,127,.18);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.navlinks a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.navlinks a:hover {
  color: var(--text);
}

.hero {
  padding: 56px 0 34px;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.hero-grid > div:first-child {
  max-width: 880px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #333;
  font-size: 14px;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,.035);
}

.eyebrow.compact {
  margin-bottom: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
}

h1 {
  margin: 0 auto;
  max-width: 850px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 780;
}

.lead {
  margin: 18px auto 0;
  max-width: 760px;
  color: #3c3c3c;
  font-size: 18px;
  line-height: 1.6;
}

.actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 720;
  font-size: 15px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  box-shadow: 0 8px 24px rgba(16,163,127,.16);
}

.btn.secondary {
  background: #fff;
  color: var(--text);
}

section {
  padding: 46px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0 0 13px;
  font-weight: 760;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
  margin: 0;
}

.cards,
.steps,
.faq-grid,
.price-grid,
.use-grid,
.free-course-grid,
.quick-paths,
.related-pages {
  display: grid;
  gap: 14px;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps,
.price-grid,
.related-pages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-grid,
.free-course-grid,
.quick-paths {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.faq-item,
.free-course-card,
.quick-path-card,
.related-card,
.content {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 26px rgba(0,0,0,.035);
}

.content {
  padding: 24px;
}

.card h3,
.faq-item h3,
.free-course-card h3,
.quick-path-card strong,
.related-card strong {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.price {
  margin: 11px 0;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.card p,
.faq-item p,
.free-course-card p,
.quick-path-card p,
.related-card p,
.content p,
li {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  font-size: 15px;
}

.content p + p {
  margin-top: 14px;
}

.quick-path-card,
.related-card {
  text-decoration: none;
  color: var(--text);
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.quick-path-card:hover,
.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16,163,127,.45);
  box-shadow: 0 14px 36px rgba(0,0,0,.06);
}

.quick-path-card span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(16,163,127,.10);
  color: var(--accent);
  font-weight: 850;
  font-size: 13px;
  margin-bottom: 14px;
}

.free-course-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(16,163,127,.09);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.free-course-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.free-course-card p {
  flex: 1;
}

.free-course-card a {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
}

.subpage-context-banner,
.page-context {
  margin: 24px auto 0;
  max-width: 820px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  box-shadow: 0 8px 26px rgba(0,0,0,.035);
}

.subpage-context-banner a,
.page-context a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.advisor {
  width: min(860px, 100%);
  margin: 8px auto 0;
  background: var(--panel);
  border: 1px solid rgba(229,231,235,.92);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,.07);
  overflow: hidden;
  text-align: left;
}

.centered-advisor {
  max-width: 860px;
}

.advisor-top {
  min-height: 62px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255,255,255,.92);
}

.advisor-title {
  font-weight: 760;
  letter-spacing: -0.025em;
  font-size: 17px;
}

.advisor-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #10a37f;
  box-shadow: 0 0 0 4px rgba(16,163,127,.14);
}

.chat-window {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.chat-messages {
  height: 510px;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background:
    linear-gradient(to bottom, rgba(247,247,248,.62), #fff 26%),
    #fff;
}

.chat-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.chat-row.user {
  justify-content: flex-end;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 850;
  flex: 0 0 auto;
}

.chat-row.user .avatar {
  display: none;
}

.chat-bubble {
  max-width: 78%;
  padding: 13px 15px;
  border-radius: 18px;
  line-height: 1.52;
  font-size: 15px;
  background: var(--panel-soft);
  color: var(--text);
  white-space: normal;
}

.chat-row.bot .chat-bubble {
  border-bottom-left-radius: 7px;
}

.chat-row.user .chat-bubble {
  background: var(--dark);
  color: #fff;
  border-bottom-right-radius: 7px;
}

.chat-bubble strong {
  font-weight: 800;
  color: inherit;
}

.chat-row.bot .chat-bubble strong {
  color: #111827;
}

.list-number {
  display: inline-block;
  min-width: 22px;
  font-weight: 800;
  color: var(--accent);
}

.bullet {
  display: inline-block;
  min-width: 18px;
  font-weight: 900;
  color: var(--accent);
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
  background: #fff;
}

.chat-suggestions button {
  border: 1px solid var(--line);
  background: #f7f7f8;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}

.chat-suggestions button:hover {
  background: #fff;
  border-color: rgba(16,163,127,.45);
  transform: translateY(-1px);
}

.chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  background: #fff;
}

.chat-input-row input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 15px;
  font-family: inherit;
  background: #f7f7f8;
  outline: none;
}

.chat-input-row input:focus {
  border-color: #b8b8af;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16,163,127,.10);
}

.chat-input-row button {
  border: 1px solid var(--dark);
  background: var(--dark);
  color: #fff;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 760;
  cursor: pointer;
  font-family: inherit;
}

.inline-lead-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.inline-lead-panel.visible {
  display: block;
  animation: leadPanelIn .22s ease-out;
}

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

.inline-lead-head {
  margin-bottom: 14px;
}

.inline-lead-head strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.inline-lead-head span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.lead-form,
.inline-lead-form {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 12px;
  font-size: 15px;
  font-family: inherit;
  background: #f7f7f8;
  color: var(--text);
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: #b8b8af;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16,163,127,.10);
}

.lead-form textarea {
  min-height: 105px;
  resize: vertical;
}

.inline-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 14px;
}

.form-status.ok {
  color: #1f6b45;
  font-weight: 700;
}

.form-status.err {
  color: #a33;
  font-weight: 700;
}

.market-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0,0,0,.035);
}

.market-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  font-size: 14px;
}

.market-table th,
.market-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.market-table th {
  background: #f7f7f8;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.market-table td {
  color: #333;
}

.market-table tr:last-child td {
  border-bottom: 0;
}

.market-note,
.free-course-note {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

.market-note strong,
.free-course-note strong {
  color: var(--text);
}

.cta {
  background: var(--dark);
  color: #fff;
  border-radius: 22px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 18px 55px rgba(0,0,0,.12);
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.cta .btn {
  border-color: #fff;
  background: #fff;
  color: #111;
  white-space: nowrap;
}

footer {
  padding: 34px 0;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-links a,
footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover,
footer a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .cards,
  .use-grid,
  .free-course-grid,
  .quick-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor {
    width: min(760px, 100%);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 30px, 1120px);
  }

  .hero {
    padding: 42px 0 26px;
  }

  .navlinks {
    display: none;
  }

  h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .lead {
    font-size: 17px;
  }

  .offer-strip,
  .cards,
  .steps,
  .faq-grid,
  .price-grid,
  .use-grid,
  .free-course-grid,
  .quick-paths,
  .related-pages,
  .cta,
  .inline-form-grid {
    grid-template-columns: 1fr;
  }

  .chat-messages {
    height: 430px;
    padding: 16px;
  }

  .chat-bubble {
    max-width: 90%;
  }

  .chat-input-row {
    grid-template-columns: 1fr;
  }

  .chat-input-row button,
  .btn {
    width: 100%;
    min-height: 46px;
  }

  .chat-suggestions {
    padding: 0 12px 12px;
  }

  .chat-suggestions button {
    width: 100%;
    text-align: left;
    border-radius: 12px;
  }

  .subpage-context-banner,
  .page-context {
    border-radius: 16px;
  }

  .cta {
    padding: 24px;
  }
}
