/* ClaroSuite marketing site */

:root {
  --mkt-bg: #f8fafc;
  --mkt-surface: #ffffff;
  --mkt-text: #0f172a;
  --mkt-text-muted: #64748b;
  --mkt-border: #e2e8f0;
  --mkt-primary: #1d4ed8;
  --mkt-primary-dark: #1e40af;
  --mkt-primary-soft: #eff6ff;
  --mkt-header-bg: #0b1220;
  --mkt-hero-bg: linear-gradient(145deg, #0b1220 0%, #1e293b 48%, #1d4ed8 100%);
  --mkt-radius: 12px;
  --mkt-radius-sm: 8px;
  --mkt-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.06);
  --mkt-max: 1120px;
  --mkt-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.marketing-layout {
  margin: 0;
  font-family: var(--mkt-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mkt-text);
  background: var(--mkt-bg);
}

a {
  color: var(--mkt-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.mkt-container {
  width: min(100% - 2rem, var(--mkt-max));
  margin-inline: auto;
}

.mkt-container--narrow {
  width: min(100% - 2rem, 720px);
}

/* Dev / coming-soon banner */

.mkt-dev-banner {
  background: #422006;
  color: #fef3c7;
  border-bottom: 1px solid #92400e;
  font-size: 0.875rem;
}

.mkt-dev-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem 0.75rem;
  width: min(100% - 2rem, var(--mkt-max));
  margin-inline: auto;
  padding: 0.625rem 0;
  text-align: center;
}

.mkt-dev-banner strong {
  color: #fde68a;
  font-weight: 700;
}

.mkt-dev-banner a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mkt-dev-banner a:hover {
  color: #fde68a;
}

.mkt-preview-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Header */

.mkt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mkt-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--mkt-max));
  margin-inline: auto;
  min-height: 4rem;
}

.mkt-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  flex-shrink: 0;
}

.mkt-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.mkt-nav {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}

.mkt-nav__link {
  color: #cbd5e1;
  padding: 0.5rem 0.75rem;
  border-radius: var(--mkt-radius-sm);
  font-size: 0.9375rem;
  text-decoration: none;
}

.mkt-nav__link:hover,
.mkt-nav__link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.mkt-header__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Buttons */

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: var(--mkt-radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.mkt-btn:hover {
  text-decoration: none;
}

.mkt-btn--sm {
  padding: 0.4375rem 0.875rem;
  font-size: 0.875rem;
}

.mkt-btn--lg {
  padding: 0.8125rem 1.375rem;
  font-size: 1rem;
}

.mkt-btn--block {
  width: 100%;
}

.mkt-btn--primary {
  background: var(--mkt-primary);
  color: #fff;
}

.mkt-btn--primary:hover {
  background: var(--mkt-primary-dark);
  color: #fff;
}

.mkt-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.mkt-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mkt-page-hero .mkt-btn--outline,
.mkt-section .mkt-btn--outline {
  color: var(--mkt-primary);
  border-color: var(--mkt-border);
  background: var(--mkt-surface);
}

.mkt-page-hero .mkt-btn--outline:hover,
.mkt-section .mkt-btn--outline:hover {
  border-color: var(--mkt-primary);
  background: var(--mkt-primary-soft);
  color: var(--mkt-primary-dark);
}

.mkt-btn--ghost {
  background: transparent;
  color: #e2e8f0;
  border-color: transparent;
}

.mkt-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Hero */

.mkt-hero {
  background: var(--mkt-hero-bg);
  color: #fff;
  padding: 5rem 0 4.5rem;
}

.mkt-hero__inner {
  max-width: 760px;
}

.mkt-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
}

.mkt-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mkt-hero__lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 42rem;
}

.mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mkt-hero__registered {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  color: #94a3b8;
}

.mkt-hero__registered a {
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mkt-hero__registered a:hover {
  color: #fff;
}

/* App launcher */

.mkt-section--apps {
  padding-top: 0;
  margin-top: -1.5rem;
}

.mkt-app-launcher__header {
  margin-bottom: 1.25rem;
}

.mkt-app-launcher__title {
  margin: 0 0 0.375rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.mkt-app-launcher__lead {
  margin: 0;
  color: var(--mkt-text-muted);
  font-size: 0.9375rem;
}

.mkt-app-launcher__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.mkt-app-launcher__card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  box-shadow: var(--mkt-shadow);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.mkt-app-launcher__card:hover {
  text-decoration: none;
  border-color: var(--mkt-primary);
  box-shadow:
    0 0 0 1px var(--mkt-primary),
    var(--mkt-shadow);
}

.mkt-app-launcher__card--dms {
  border-top: 3px solid #3b82f6;
}

.mkt-app-launcher__card--tms {
  border-top: 3px solid #6366f1;
}

.mkt-app-launcher__name {
  font-weight: 700;
  font-size: 1.0625rem;
}

.mkt-app-launcher__desc {
  color: var(--mkt-text-muted);
  font-size: 0.875rem;
}

.mkt-app-launcher__action {
  margin-top: 0.5rem;
  color: var(--mkt-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.mkt-product-card__signin {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--mkt-text-muted);
}

.mkt-product-card__signin a {
  font-weight: 600;
}

.mkt-page-hero {
  padding: 4rem 0 3rem;
  color: #fff;
}

.mkt-page-hero--dms {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

.mkt-page-hero--tms {
  background: linear-gradient(135deg, #0f172a 0%, #312e81 100%);
}

.mkt-page-hero--pricing {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
}

.mkt-page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mkt-page-hero__lead {
  margin: 0;
  font-size: 1.0625rem;
  color: #cbd5e1;
  max-width: 40rem;
}

.mkt-page-hero--pricing .mkt-page-hero__lead {
  margin-inline: auto;
}

/* Sections */

.mkt-section {
  padding: 4rem 0;
}

.mkt-section--muted {
  background: #f1f5f9;
}

.mkt-section__header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.mkt-section__header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.mkt-section__header p {
  margin: 0;
  color: var(--mkt-text-muted);
  font-size: 1.0625rem;
}

/* Product cards */

.mkt-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mkt-product-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 2rem;
  box-shadow: var(--mkt-shadow);
}

.mkt-product-card h3 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.375rem;
}

.mkt-product-card__tag {
  margin: 0 0 1rem;
  color: var(--mkt-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.mkt-product-card p {
  margin: 0 0 1rem;
  color: var(--mkt-text-muted);
}

.mkt-product-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
}

.mkt-product-card__icon--dms {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.mkt-product-card__icon--tms {
  background: linear-gradient(135deg, #4338ca, #6366f1);
}

.mkt-checklist {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.mkt-checklist li {
  position: relative;
  padding-left: 1.375rem;
  margin-bottom: 0.5rem;
  color: var(--mkt-text-muted);
  font-size: 0.9375rem;
}

.mkt-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mkt-primary);
}

.mkt-link-arrow {
  font-weight: 600;
  text-decoration: none;
}

.mkt-link-arrow::after {
  content: " →";
}

/* Benefits */

.mkt-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mkt-benefits--three {
  grid-template-columns: repeat(3, 1fr);
}

.mkt-benefit {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 1.5rem;
}

.mkt-benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.mkt-benefit p {
  margin: 0;
  color: var(--mkt-text-muted);
  font-size: 0.9375rem;
}

/* Feature grid */

.mkt-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mkt-feature {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 1.5rem;
}

.mkt-feature h3 {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
}

.mkt-feature ul {
  margin: 0;
  padding-left: 1.125rem;
  color: var(--mkt-text-muted);
  font-size: 0.9375rem;
}

.mkt-feature li + li {
  margin-top: 0.375rem;
}

.mkt-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--mkt-primary-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--mkt-radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mkt-primary-dark);
}

.mkt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mkt-split h2 {
  margin-top: 0;
}

.mkt-split p {
  color: var(--mkt-text-muted);
}

/* Pricing */

.mkt-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.mkt-price-card {
  position: relative;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  padding: 2rem;
  box-shadow: var(--mkt-shadow);
  display: flex;
  flex-direction: column;
}

.mkt-price-card--featured {
  border-color: var(--mkt-primary);
  box-shadow:
    0 0 0 1px var(--mkt-primary),
    var(--mkt-shadow);
}

.mkt-price-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  margin: 0;
  padding: 0.25rem 0.625rem;
  background: var(--mkt-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mkt-price-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.375rem;
}

.mkt-price-card__desc {
  margin: 0 0 1.25rem;
  color: var(--mkt-text-muted);
  font-size: 0.9375rem;
}

.mkt-price {
  margin: 0 0 1.25rem;
}

.mkt-price__amount {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mkt-price__term {
  display: block;
  margin-top: 0.25rem;
  color: var(--mkt-text-muted);
  font-size: 0.875rem;
}

.mkt-price-card .mkt-checklist {
  flex: 1;
}

.mkt-pricing-note {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--mkt-text-muted);
  font-size: 0.9375rem;
  max-width: 42rem;
  margin-inline: auto;
}

.mkt-faq {
  display: grid;
  gap: 0.75rem;
}

.mkt-faq__item {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-sm);
  padding: 0 1rem;
}

.mkt-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
}

.mkt-faq__item p {
  margin: 0 0 1rem;
  color: var(--mkt-text-muted);
  font-size: 0.9375rem;
}

/* CTA band */

.mkt-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.25rem;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius);
  box-shadow: var(--mkt-shadow);
}

.mkt-cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.mkt-cta-band p {
  margin: 0;
  color: var(--mkt-text-muted);
  max-width: 36rem;
}

/* Footer */

.mkt-footer {
  background: var(--mkt-header-bg);
  color: #94a3b8;
  margin-top: 2rem;
}

.mkt-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  width: min(100% - 2rem, var(--mkt-max));
  margin-inline: auto;
  padding: 3rem 0 2rem;
}

.mkt-footer__brand strong {
  color: #fff;
  font-size: 1.125rem;
}

.mkt-footer__tagline {
  margin: 0.5rem 0;
  max-width: 22rem;
  font-size: 0.9375rem;
}

.mkt-footer__credit {
  margin: 0;
  font-size: 0.875rem;
}

.mkt-footer a {
  color: #cbd5e1;
}

.mkt-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mkt-footer__heading {
  margin: 0 0 0.75rem;
  color: #e2e8f0;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mkt-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-footer__links li + li {
  margin-top: 0.375rem;
}

.mkt-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  width: min(100% - 2rem, var(--mkt-max));
  margin-inline: auto;
}

/* Responsive */

@media (max-width: 960px) {
  .mkt-product-grid,
  .mkt-pricing-grid,
  .mkt-feature-grid,
  .mkt-benefits,
  .mkt-benefits--three {
    grid-template-columns: 1fr 1fr;
  }

  .mkt-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .mkt-header__inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
    min-height: auto;
  }

  .mkt-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .mkt-hero {
    padding: 3.5rem 0 3rem;
  }

  .mkt-section {
    padding: 3rem 0;
  }

  .mkt-product-grid,
  .mkt-pricing-grid,
  .mkt-feature-grid,
  .mkt-benefits,
  .mkt-benefits--three,
  .mkt-footer__inner,
  .mkt-footer__cols {
    grid-template-columns: 1fr;
  }

  .mkt-app-launcher__grid {
    grid-template-columns: 1fr;
  }

  .mkt-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}
