/* Catant public marketing page (templates/landing.html).
   Deliberately standalone: this page does not load the app theme
   (style.min.css), so every rule it needs lives here. Brand accent is the
   same blue used on the auth pages (see auth-brand.css). */

:root {
  --ct-blue: #2563eb;
  --ct-blue-dark: #1d4ed8;
  --ct-blue-soft: rgba(37, 99, 235, 0.1);
  --ct-ink: #0f172a;
  --ct-body: #475569;
  --ct-muted: #64748b;
  --ct-line: #e2e8f0;
  --ct-surface: #f8fafc;
  --ct-navy: #0b1220;
  --ct-radius: 14px;
  --ct-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body.ct-page {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ct-body);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.ct-page h1,
.ct-page h2,
.ct-page h3,
.ct-page h4 {
  color: var(--ct-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

.ct-page p {
  margin: 0 0 1em;
}

.ct-page a {
  color: var(--ct-blue);
  text-decoration: none;
}

.ct-page a:hover {
  color: var(--ct-blue-dark);
}

.ct-shell {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- header */

.ct-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ct-line);
}

.ct-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

/* Anchors styled as brand/buttons must out-specify the generic `.ct-page a`
   colour rule (0,1,1), so they are written with the `.ct-page` prefix. */

.ct-page .ct-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ct-ink);
  letter-spacing: -0.02em;
}

.ct-page .ct-brand:hover {
  color: var(--ct-ink);
}

.ct-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.ct-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ct-nav a {
  color: var(--ct-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.ct-nav a:hover {
  color: var(--ct-blue);
}

.ct-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------- buttons */

.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.ct-page .ct-btn--primary {
  background: var(--ct-blue);
  border-color: var(--ct-blue);
  color: #ffffff;
}

.ct-page .ct-btn--primary:hover {
  background: var(--ct-blue-dark);
  border-color: var(--ct-blue-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.ct-page .ct-btn--ghost {
  background: transparent;
  border-color: var(--ct-line);
  color: var(--ct-ink);
}

.ct-page .ct-btn--ghost:hover {
  border-color: var(--ct-blue);
  color: var(--ct-blue);
}

.ct-page .ct-btn--onDark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.ct-page .ct-btn--onDark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.ct-btn svg {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------------ hero */

.ct-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      120% 120% at 15% 0%,
      rgba(37, 99, 235, 0.45) 0%,
      rgba(11, 18, 32, 0) 55%
    ),
    var(--ct-navy);
  color: #cbd5e1;
  padding: 96px 0 88px;
}

.ct-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #bfdbfe;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.ct-hero h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}

.ct-hero h1 em {
  font-style: normal;
  color: #93c5fd;
}

.ct-hero__lead {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 34em;
  margin-bottom: 32px;
}

.ct-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.ct-hero__note {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
}

/* Stacked "module" cards standing in for a product screenshot. */

.ct-hero__panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
}

.ct-hero__panelHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
}

.ct-hero__dots {
  display: inline-flex;
  gap: 6px;
}

.ct-hero__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

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

.ct-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
}

.ct-tile__label {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.ct-tile__value {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 650;
}

.ct-tile--wide {
  grid-column: 1 / -1;
}

.ct-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 10px;
}

.ct-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #93c5fd);
}

/* -------------------------------------------------------------- sections */

.ct-section {
  padding: 88px 0;
}

.ct-section--tint {
  background: var(--ct-surface);
  border-top: 1px solid var(--ct-line);
  border-bottom: 1px solid var(--ct-line);
}

.ct-sectionHead {
  max-width: 42em;
  margin: 0 auto 48px;
  text-align: center;
}

.ct-sectionHead h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.ct-sectionHead p {
  font-size: 1.05rem;
  margin: 0;
}

.ct-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ct-blue);
  margin-bottom: 12px;
}

/* ----------------------------------------------------------- module grid */

.ct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
}

.ct-card {
  background: #ffffff;
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
  padding: 26px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ct-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--ct-shadow);
  transform: translateY(-2px);
}

.ct-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ct-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ct-muted);
}

.ct-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--ct-blue-soft);
  color: var(--ct-blue);
  margin-bottom: 16px;
}

.ct-icon svg {
  width: 22px;
  height: 22px;
}

/* ------------------------------------------------------------ split rows */

.ct-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}

.ct-split + .ct-split {
  margin-top: 88px;
}

.ct-split__body h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.ct-split__body > p {
  font-size: 1.02rem;
}

.ct-checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ct-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
}

.ct-checks svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--ct-blue);
}

.ct-checks strong {
  color: var(--ct-ink);
  font-weight: 600;
}

.ct-panel {
  background: #ffffff;
  border: 1px solid var(--ct-line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--ct-shadow);
}

.ct-panel__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ct-muted);
  margin-bottom: 18px;
}

.ct-steps {
  list-style: none;
  counter-reset: ct-step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.ct-steps li {
  counter-increment: ct-step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ct-steps li::before {
  content: counter(ct-step);
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ct-blue-soft);
  color: var(--ct-blue);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ct-steps strong {
  display: block;
  color: var(--ct-ink);
  font-size: 0.97rem;
}

.ct-steps span {
  font-size: 0.9rem;
  color: var(--ct-muted);
}

/* --------------------------------------------------------------- at-a-glance */

.ct-tableWrap {
  overflow-x: auto;
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
  background: #ffffff;
}

.ct-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ct-table th,
.ct-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ct-line);
}

.ct-table thead th {
  background: var(--ct-surface);
  color: var(--ct-ink);
  font-weight: 600;
  white-space: nowrap;
}

.ct-table tbody tr:last-child td {
  border-bottom: none;
}

.ct-table td:first-child {
  color: var(--ct-ink);
  font-weight: 600;
}

/* ------------------------------------------------------------- platform */

.ct-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.ct-spec {
  border: 1px solid var(--ct-line);
  border-radius: 12px;
  padding: 18px 20px;
  background: #ffffff;
}

.ct-spec dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ct-muted);
  margin-bottom: 6px;
}

.ct-spec dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ct-ink);
  font-weight: 550;
}

/* ------------------------------------------------------------------ cta */

.ct-cta {
  background: radial-gradient(
      110% 140% at 85% 0%,
      rgba(37, 99, 235, 0.5) 0%,
      rgba(11, 18, 32, 0) 60%
    ),
    var(--ct-navy);
  color: #cbd5e1;
  padding: 80px 0;
  text-align: center;
}

.ct-cta h2 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.ct-cta p {
  max-width: 40em;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

.ct-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------------------- footer */

.ct-footer {
  background: #060b16;
  color: #94a3b8;
  padding: 40px 0;
  font-size: 0.9rem;
}

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

.ct-footer .ct-brand {
  color: #ffffff;
  font-size: 1rem;
}

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

.ct-footer a:hover {
  color: #ffffff;
}

.ct-footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 960px) {
  .ct-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .ct-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .ct-hero {
    padding: 64px 0 56px;
  }

  .ct-section {
    padding: 64px 0;
  }

  .ct-split + .ct-split {
    margin-top: 56px;
  }

  .ct-header__inner {
    height: 64px;
  }

  .ct-hero__cta .ct-btn,
  .ct-cta__actions .ct-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ct-page * {
    transition: none !important;
  }
}
