:root {
  --background-color: #ffffff;
  --default-color: #27333a;
  --heading-color: #172421;
  --accent-color: #0f8f7c;
  --contrast-color: #ffffff;
  --surface-color: #ffffff;
  --nav-color: #233036;
  --nav-hover-color: #0f8f7c;
  --nav-dropdown-hover-color: #0f8f7c;
}

* {
  letter-spacing: 0 !important;
}

body {
  background: #ffffff;
}

.light-background {
  --background-color: #f5faf8;
}

.header {
  border-bottom: 1px solid rgba(23, 36, 33, 0.08);
}

.header .brand-logo {
  gap: 12px;
  min-width: 0;
}

.brand-emblem {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  background: #142421;
  border: 1px solid rgba(15, 143, 124, 0.28);
  box-shadow: 0 10px 22px rgba(20, 36, 33, 0.12);
}

.brand-emblem::before,
.brand-emblem::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #0f8f7c;
}

.brand-emblem::before {
  width: 34px;
  height: 34px;
  right: -16px;
  top: -14px;
}

.brand-emblem::after {
  width: 8px;
  height: 8px;
  left: 8px;
  bottom: 9px;
  box-shadow: 22px -24px 0 #e0b15f;
}

.brand-emblem-core {
  position: relative;
  z-index: 1;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-title,
.brand-powered {
  display: block;
  font-family: var(--nav-font);
  white-space: nowrap;
}

.brand-title {
  color: #142421;
  font-size: 25px;
  font-weight: 900;
  line-height: 0.95;
}

.brand-powered {
  color: #66757b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.header .btn-getstarted,
.hero .btn-get-started,
.tool-actions .btn-get-started,
.btn-submit,
.features-details .more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 0;
}

.header .btn-getstarted {
  padding: 9px 16px;
}

.header .btn-getstarted span {
  line-height: 1;
}

.header .btn-login {
  color: #233036;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 800;
  margin-left: 16px;
  margin-right: 10px;
  white-space: nowrap;
}

.header .btn-login:hover {
  color: #0f8f7c;
}

.nav-logout-form {
  margin: 0;
}

.nav-logout-form .btn-getstarted {
  cursor: pointer;
}

.navmenu a {
  font-weight: 650;
}

.flash-wrap {
  padding-top: 96px;
  margin-bottom: -80px;
  position: relative;
  z-index: 10;
}

.flash-wrap .alert {
  border-radius: 8px;
  border: 1px solid rgba(15, 143, 124, 0.16);
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-error-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.ai-hero {
  min-height: 72vh;
  padding-top: 160px;
}

.ai-hero .hero-bg::before {
  background: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  color: #b46520;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.ai-hero h1 {
  color: #10201d;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  max-width: 780px;
}

.hero-copy {
  max-width: 690px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero .btn-watch-video {
  margin-left: 0;
}

.ai-hero .eyebrow {
  color: #b46520;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 12px;
}

.ai-hero .hero-copy {
  color: #4d5b61;
  font-size: 20px;
  line-height: 1.55;
  margin: 14px 0 28px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.hero-metrics div {
  min-width: 108px;
  padding-left: 14px;
  border-left: 3px solid #e0b15f;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 28px;
  color: #172421;
  line-height: 1;
}

.hero-metrics span {
  color: #58666b;
  font-size: 13px;
  margin-top: 6px;
}

.hero-product-stack {
  display: grid;
  gap: 14px;
  max-width: 480px;
  margin-left: auto;
}

.hero-product-item {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  min-height: 82px;
  color: #203137;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(39, 51, 58, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 36, 33, 0.08);
}

.hero-product-item:hover {
  color: #0f8f7c;
  border-color: rgba(15, 143, 124, 0.32);
}

.hero-product-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #0f8f7c;
  background: #e6f5f2;
}

.hero-product-item strong,
.hero-product-item small {
  display: block;
}

.hero-product-item small {
  color: #657176;
  margin-top: 4px;
}

.featured-services .service-item,
.market-card,
.pricing .pricing-item,
.faq .faq-item,
.contact-panel,
.market-form,
.capability-card,
.tool-visual {
  border-radius: 8px;
}

.featured-services .service-item {
  min-height: 132px;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.category-strip span,
.category-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #203137;
  background: #eef7f4;
  border: 1px solid rgba(15, 143, 124, 0.12);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
}

.category-strip a:hover {
  color: #0f8f7c;
  border-color: rgba(15, 143, 124, 0.3);
}

.market-card {
  --card-accent-rgb: 15, 143, 124;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(var(--card-accent-rgb), 0.2);
  background:
    linear-gradient(135deg, rgba(var(--card-accent-rgb), 0.12) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(160deg, #ffffff 0%, #f8fbfa 54%, rgba(var(--card-accent-rgb), 0.08) 100%);
  box-shadow: 0 18px 44px rgba(23, 36, 33, 0.08), 0 2px 8px rgba(23, 36, 33, 0.04);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.market-card.item-cyan {
  --card-accent-rgb: 13, 202, 240;
}

.market-card.item-orange {
  --card-accent-rgb: 224, 145, 54;
}

.market-card.item-teal {
  --card-accent-rgb: 15, 143, 124;
}

.market-card.item-red {
  --card-accent-rgb: 198, 67, 76;
}

.market-card.item-indigo {
  --card-accent-rgb: 89, 81, 180;
}

.market-card.item-pink {
  --card-accent-rgb: 203, 85, 145;
}

.market-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--card-accent-rgb), 0.34);
  box-shadow: 0 26px 58px rgba(23, 36, 33, 0.12), 0 8px 18px rgba(var(--card-accent-rgb), 0.1);
}

.market-card-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.market-card-head > div {
  min-width: 0;
}

.market-card .icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 30px;
}

.market-card h3 {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.market-card p {
  flex: 1;
}

.market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.market-meta span {
  color: #35454b;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(var(--card-accent-rgb), 0.14);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.capability-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #314047;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(var(--card-accent-rgb), 0.14);
  font-size: 13px;
}

.market-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--card-accent-rgb), 0.14);
}

.market-card-bottom small,
.market-card-bottom strong {
  display: block;
}

.market-card-bottom small {
  color: #657176;
  font-size: 12px;
}

.market-card-bottom strong {
  color: #172421;
  font-size: 20px;
}

.catalog-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.catalog-hero,
.auth-hero,
.account-hero {
  padding-top: 150px;
  padding-bottom: 70px;
  background: #f7fbf9;
}

.catalog-hero h1,
.auth-hero h1,
.account-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  margin-bottom: 16px;
}

.catalog-hero p,
.auth-hero p,
.account-hero p,
.account-preview p {
  color: #4d5b61;
  font-size: 18px;
  line-height: 1.6;
}

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.catalog-stats div {
  background: #ffffff;
  border: 1px solid rgba(39, 51, 58, 0.1);
  border-radius: 8px;
  padding: 16px;
}

.catalog-stats strong,
.catalog-stats span {
  display: block;
}

.catalog-stats strong {
  color: #172421;
  font-size: 28px;
  line-height: 1;
}

.catalog-stats span {
  color: #657176;
  font-size: 13px;
  margin-top: 8px;
}

.catalog-group {
  scroll-margin-top: 110px;
  margin-top: 44px;
}

.catalog-group:first-of-type {
  margin-top: 24px;
}

.catalog-group-title {
  display: flex;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.catalog-group-title > i {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8f7c;
  background: #e6f5f2;
  border-radius: 8px;
  font-size: 26px;
  flex: 0 0 auto;
}

.catalog-group-title h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.catalog-group-title p {
  margin: 0;
  color: #657176;
}

.platform-image {
  border-radius: 8px;
  border: 1px solid rgba(39, 51, 58, 0.08);
}

.features-details .more-btn {
  gap: 8px;
}

.product-detail-section {
  background: #ffffff;
}

.product-overview-block {
  padding-bottom: 28px;
}

.product-overview-block h2,
.product-detail-panel h2,
.product-limit-band h2 {
  color: #172421;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.product-overview-block p,
.product-detail-panel p,
.product-limit-band p,
.product-note-list span {
  color: #4d5b61;
  font-size: 16px;
  line-height: 1.65;
}

.product-overview-block .col-lg-7 p {
  margin-bottom: 18px;
}

.product-highlight-grid {
  margin-top: 12px;
}

.product-info-card,
.product-detail-panel,
.product-limit-band,
.product-note-list div {
  border-radius: 8px;
  border: 1px solid rgba(15, 143, 124, 0.14);
  background:
    linear-gradient(135deg, rgba(15, 143, 124, 0.08), rgba(255, 255, 255, 0) 36%),
    #ffffff;
  box-shadow: 0 16px 38px rgba(23, 36, 33, 0.06);
}

.product-info-card {
  height: 100%;
  min-height: 250px;
  padding: 26px;
}

.product-info-card > i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8f7c;
  background: #e6f5f2;
  border-radius: 8px;
  font-size: 25px;
  margin-bottom: 18px;
}

.product-info-card h3,
.product-step-list h3 {
  color: #172421;
  font-size: 20px;
  margin-bottom: 10px;
}

.product-info-card p {
  color: #5c6a70;
  line-height: 1.58;
  margin: 0;
}

.product-detail-split {
  margin-top: 44px;
}

.product-detail-panel {
  height: 100%;
  padding: 30px;
}

.product-step-list {
  display: grid;
  gap: 18px;
}

.product-step-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.product-step-list > div > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #0f8f7c;
  border-radius: 8px;
  font-weight: 900;
}

.product-step-list p {
  margin: 0;
}

.product-check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: #405056;
  line-height: 1.55;
}

.product-check-list i {
  color: #0f8f7c;
  font-size: 18px;
}

.product-limit-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin-top: 44px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(15, 143, 124, 0.1), rgba(224, 177, 95, 0.08)),
    #f8fcfa;
}

.product-limit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-limit-grid article {
  padding: 18px;
  border: 1px solid rgba(39, 51, 58, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.product-limit-grid span,
.product-limit-grid strong {
  display: block;
}

.product-limit-grid span {
  color: #657176;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-limit-grid strong {
  color: #0f8f7c;
  font-size: 22px;
  line-height: 1.2;
  margin: 8px 0 10px;
}

.product-limit-grid p {
  font-size: 14px;
  margin: 0;
}

.product-note-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.product-note-list div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 16px 18px;
}

.product-note-list i {
  color: #0f8f7c;
  font-size: 18px;
}

.pricing .pricing-item {
  min-height: 360px;
}

.pricing h4 {
  font-size: 34px;
  min-height: 52px;
}

.pricing h4 span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

.pricing .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border-radius: 8px;
}

.contact-panel,
.market-form {
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(39, 51, 58, 0.1);
  padding: 32px;
  box-shadow: 0 12px 30px rgba(23, 36, 33, 0.06);
}

.account-preview h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 16px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-grid.compact {
  margin-top: 28px;
}

.account-grid div {
  min-height: 150px;
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(39, 51, 58, 0.1);
  box-shadow: 0 10px 24px rgba(23, 36, 33, 0.05);
}

.account-grid i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8f7c;
  background: #e6f5f2;
  border-radius: 8px;
  font-size: 22px;
  margin-bottom: 16px;
}

.account-grid strong,
.account-grid span {
  display: block;
}

.account-grid strong {
  color: #172421;
  font-size: 18px;
  margin-bottom: 6px;
}

.account-grid span {
  color: #657176;
  font-size: 14px;
  line-height: 1.45;
}

.auth-card h2,
.dashboard-panel h2 {
  font-size: 26px;
  margin-bottom: 22px;
}

.auth-card h1 {
  font-size: 34px;
}

.auth-hero [data-aos][data-aos],
.account-hero [data-aos][data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto;
}

.auth-helper-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.auth-helper-list span {
  display: flex;
  gap: 10px;
  color: #405056;
}

.auth-helper-list i {
  color: #0f8f7c;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

.field-hint {
  display: block;
  color: #657176;
  font-size: 13px;
  margin-top: 6px;
}

.auth-inline-error {
  color: #7f1d1d;
  background: #fff2f2;
  border: 1px solid #f5c7c7;
  border-radius: 8px;
  line-height: 1.55;
  padding: 14px 16px;
}

.auth-switch {
  color: #657176;
  font-size: 14px;
  text-align: center;
}

.auth-switch a {
  font-weight: 800;
}

.checkout-card h2 {
  margin-bottom: 12px;
}

.checkout-summary {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.checkout-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(39, 51, 58, 0.1);
}

.checkout-summary span {
  color: #657176;
  font-size: 14px;
}

.checkout-summary strong {
  color: #172421;
  text-align: right;
}

.checkout-info {
  margin-bottom: 18px;
}

.checkout-note {
  color: #405056;
  background: #f7faf9;
  border: 1px solid rgba(39, 51, 58, 0.1);
  border-radius: 8px;
  line-height: 1.55;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.payment-status-card {
  height: auto;
}

.payment-status-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8f7c;
  background: #e6f5f2;
  border-radius: 8px;
  font-size: 30px;
  margin-bottom: 18px;
}

.payment-status-copy {
  color: #4d5b61;
  line-height: 1.6;
}

.account-status-card,
.dashboard-tile,
.dashboard-panel {
  background: #ffffff;
  border: 1px solid rgba(39, 51, 58, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 36, 33, 0.05);
}

.account-status-card {
  padding: 22px;
}

.account-status-card span,
.account-status-card strong,
.account-status-card a {
  display: block;
}

.account-status-card span {
  color: #657176;
  font-size: 13px;
}

.account-status-card strong {
  color: #172421;
  margin: 8px 0 14px;
  word-break: break-word;
}

.dashboard-tile {
  min-height: 205px;
  padding: 24px;
}

.dashboard-tile i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8f7c;
  background: #e6f5f2;
  border-radius: 8px;
  font-size: 24px;
  margin-bottom: 18px;
}

.dashboard-tile strong,
.dashboard-tile span {
  display: block;
}

.dashboard-tile strong {
  color: #172421;
  font-size: 19px;
  margin-bottom: 8px;
}

.dashboard-tile span {
  color: #657176;
  line-height: 1.5;
}

.dashboard-panel {
  min-height: 320px;
  padding: 28px;
}

.dashboard-empty {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  border: 1px dashed rgba(39, 51, 58, 0.18);
  border-radius: 8px;
}

.dashboard-empty > i {
  color: #0f8f7c;
  font-size: 42px;
}

.dashboard-empty p {
  color: #657176;
  margin: 0;
}

.dashboard-empty.compact {
  min-height: 150px;
}

.profile-tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.profile-tool-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f7faf9;
}

.profile-tool-list i {
  color: #0f8f7c;
  font-size: 20px;
}

.account-side-stack {
  display: grid;
  gap: 18px;
}

.account-settings-form {
  display: grid;
  gap: 14px;
}

.account-settings-form .btn-submit {
  margin-top: 2px;
}

.account-form-note {
  display: block;
  margin-top: 6px;
  color: #657176;
  font-size: 12px;
  line-height: 1.45;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  border-bottom: 1px solid rgba(39, 51, 58, 0.1);
  padding: 12px 10px;
  text-align: left;
}

.account-table th {
  color: #172421;
  font-size: 13px;
  text-transform: uppercase;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #405056;
  background: #eef5f3;
  font-size: 12px;
  font-weight: 800;
}

.account-badge-active,
.account-badge-paid {
  color: #0f6f62;
  background: #dff5ef;
}

.account-badge-pending,
.account-badge-trialing {
  color: #8a5b0a;
  background: #fff4d8;
}

.account-badge-failed,
.account-badge-past_due,
.account-badge-expired {
  color: #8a1f1f;
  background: #ffe4e4;
}

.account-badge-canceled,
.account-badge-void {
  color: #657176;
  background: #edf1f1;
}

.table-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f8f7c;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.link-button {
  color: #0f8f7c;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-panel > i {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8f7c;
  background: #e6f5f2;
  border-radius: 8px;
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-points span {
  display: flex;
  gap: 8px;
  color: #27333a;
}

.contact-points i {
  color: #0f8f7c;
}

.market-form .form-control,
.market-form .form-select {
  border-radius: 8px;
  border-color: rgba(39, 51, 58, 0.16);
  min-height: 46px;
}

.market-form textarea.form-control {
  min-height: 140px;
}

.market-form .form-control:focus,
.market-form .form-select:focus {
  border-color: rgba(15, 143, 124, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(15, 143, 124, 0.12);
}

.legal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4d5b61;
  font-size: 14px;
  line-height: 1.5;
}

.legal-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: #0f8f7c;
}

.legal-check a {
  color: #0f8f7c;
  font-weight: 800;
}

.btn-submit {
  color: #ffffff;
  background: #0f8f7c;
  min-height: 46px;
  padding: 11px 18px;
  font-weight: 700;
}

.btn-submit:focus,
.btn-submit:hover {
  color: #ffffff;
}

.btn-submit:hover {
  background: #0c7768;
}

.footer .newsletter-form {
  border-radius: 8px;
}

.legal-separator {
  display: inline-block;
  padding: 0 6px;
  color: #8a969a;
}

.legal-hero {
  padding-top: 150px;
  background: linear-gradient(135deg, #f7fbf9, #ffffff);
}

.legal-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #172421;
  font-size: 54px;
  line-height: 1.05;
}

.legal-hero p {
  max-width: 780px;
  color: #4d5b61;
  font-size: 18px;
  line-height: 1.7;
}

.legal-document {
  background: #ffffff;
}

.legal-document-card {
  display: grid;
  gap: 30px;
  max-width: 980px;
  margin: 0 auto;
}

.legal-block {
  padding: 28px;
  border: 1px solid rgba(39, 51, 58, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 36, 33, 0.05);
}

.legal-block h2 {
  margin: 0 0 14px;
  color: #172421;
  font-size: 26px;
}

.legal-block p,
.legal-block li {
  color: #4d5b61;
  line-height: 1.7;
}

.legal-block p:last-child,
.legal-block ul:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  padding-left: 20px;
}

.tool-hero {
  padding-top: 150px;
  background: #f7fbf9;
}

.back-link,
.tool-actions,
.btn-secondary-link {
  display: inline-flex;
  align-items: center;
}

.back-link {
  gap: 8px;
  color: #0f8f7c;
  font-weight: 700;
  margin-bottom: 26px;
}

.tool-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tool-kicker span {
  color: #203137;
  background: #eaf5f2;
  border: 1px solid rgba(15, 143, 124, 0.14);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
}

.tool-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
  margin-bottom: 18px;
}

.tool-hero .lead {
  color: #0f8f7c;
  font-size: 22px;
  font-weight: 700;
}

.tool-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.tool-actions .btn-get-started {
  color: #ffffff;
  background: #0f8f7c;
  padding: 11px 22px;
  font-family: var(--heading-font);
  font-weight: 700;
}

.tool-actions .btn-get-started:hover {
  color: #ffffff;
  background: #0c7768;
}

.btn-secondary-link {
  gap: 8px;
  color: #27333a;
  font-weight: 800;
}

.tool-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(39, 51, 58, 0.1);
  box-shadow: 0 18px 40px rgba(23, 36, 33, 0.1);
}

.tool-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tool-price-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #172421;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(39, 51, 58, 0.1);
}

.tool-price-chip small,
.tool-price-chip strong {
  display: block;
}

.tool-price-chip small {
  color: #657176;
  font-size: 12px;
}

.tool-price-chip strong {
  font-size: 22px;
}

.capability-card {
  height: 100%;
  min-height: 230px;
  background: #ffffff;
  border: 1px solid rgba(39, 51, 58, 0.1);
  padding: 28px;
}

.capability-card > i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f8f7c;
  background: #e6f5f2;
  border-radius: 8px;
  font-size: 26px;
  margin-bottom: 18px;
}

.capability-card h3 {
  font-size: 21px;
}

@media (max-width: 991px) {
  .hero-product-stack {
    margin-right: auto;
  }

  .ai-hero,
  .tool-hero,
  .catalog-hero,
  .auth-hero,
  .account-hero,
  .legal-hero {
    padding-top: 130px;
  }

  .product-limit-band {
    grid-template-columns: 1fr;
  }

  .product-limit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header .brand-logo {
    gap: 10px;
  }

  .brand-emblem {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 10px;
  }

  .brand-emblem-core {
    font-size: 14px;
  }

  .brand-title {
    font-size: 21px;
  }

  .brand-powered {
    font-size: 8px;
  }

  .header .btn-login {
    display: none;
  }

  .header .btn-getstarted span {
    display: none;
  }

  .ai-hero {
    padding-top: 120px;
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-product-item {
    grid-template-columns: 44px 1fr 20px;
    padding: 14px;
  }

  .market-card {
    padding: 24px 20px;
  }

  .market-card-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .market-card .icon {
    width: 54px;
    height: 54px;
    font-size: 26px;
  }

  .market-meta {
    gap: 6px;
  }

  .market-meta span {
    padding: 4px 7px;
  }

  .market-card-bottom {
    align-items: start;
    flex-direction: column;
  }

  .contact-panel,
  .market-form {
    padding: 24px;
  }

  .catalog-stats,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero h1 {
    font-size: 38px;
  }

  .legal-block {
    padding: 22px;
  }

  .catalog-group-title {
    flex-direction: column;
  }

  .product-detail-panel,
  .product-limit-band,
  .product-info-card {
    padding: 24px;
  }

  .product-step-list > div {
    grid-template-columns: 36px 1fr;
  }

  .product-step-list > div > span {
    width: 36px;
    height: 36px;
  }
}
