:root {
  --mkt-navy: #0a1f44;
  --mkt-blue: #1557d0;
  --mkt-blue-deep: #0d3f9c;
  --mkt-blue-soft: #e8f0ff;
  --mkt-ink: #121c2e;
  --mkt-muted: #5a6a82;
  --mkt-line: #d5deeb;
  --mkt-surface: #f3f6fb;
  --mkt-white: #ffffff;
  --mkt-display: "Sora", "Segoe UI", sans-serif;
  --mkt-body: "Manrope", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body.mkt {
  margin: 0;
  font-family: var(--mkt-body);
  color: var(--mkt-ink);
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(21, 87, 208, 0.12), transparent 60%),
    radial-gradient(900px 420px at -10% 20%, rgba(10, 31, 68, 0.06), transparent 55%),
    linear-gradient(180deg, #eef3fa 0%, var(--mkt-surface) 28%, #e9eef6 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
}

body.mkt a { color: var(--mkt-blue); text-decoration: none; }
body.mkt a:hover { text-decoration: underline; }

/* —— Nav —— */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(213, 222, 235, 0.9);
}

.mkt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mkt-navy) !important;
  font-family: var(--mkt-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

.mkt-brand-mark { color: var(--mkt-blue); display: inline-flex; }

.mkt-nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex: 1;
}

.mkt-nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.mkt-nav-links a {
  color: var(--mkt-ink) !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  opacity: 0.82;
}

.mkt-nav-links a:hover { opacity: 1; color: var(--mkt-blue) !important; }

.mkt-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.mkt-link {
  color: var(--mkt-ink) !important;
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: none !important;
}

.mkt-link:hover { color: var(--mkt-blue) !important; }

.mkt-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--mkt-line);
  border-radius: 10px;
  background: var(--mkt-white);
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.mkt-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--mkt-navy);
  border-radius: 2px;
}

/* —— Buttons —— */
.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-family: var(--mkt-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.mkt-btn-primary {
  background: var(--mkt-blue);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(21, 87, 208, 0.28);
}

.mkt-btn-primary:hover { background: var(--mkt-blue-deep); }

.mkt-btn-ghost {
  background: transparent;
  color: var(--mkt-blue) !important;
  padding-left: 6px;
  padding-right: 6px;
  box-shadow: none;
}

.mkt-btn-on-blue {
  background: #fff;
  color: var(--mkt-blue-deep) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mkt-btn-on-blue:hover { background: #f4f7ff; }

/* —— Hero —— */
.mkt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: min(78vh, 720px);
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(238, 243, 250, 0.95) 0%, rgba(232, 240, 255, 0.6) 45%, transparent 70%);
}

.mkt-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 7vw, 88px) clamp(20px, 5vw, 64px);
  max-width: 640px;
}

.mkt-brand-hero {
  font-family: var(--mkt-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  color: var(--mkt-navy);
  line-height: 1;
  margin: 0 0 18px;
  animation: mkt-rise 0.7s ease both;
}

.mkt-eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mkt-blue);
  animation: mkt-rise 0.7s ease 0.05s both;
}

.mkt-hero h1 {
  margin: 0 0 16px;
  font-family: var(--mkt-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--mkt-ink);
  animation: mkt-rise 0.7s ease 0.1s both;
}

.mkt-hero-lead {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--mkt-muted);
  max-width: 34rem;
  animation: mkt-rise 0.7s ease 0.15s both;
}

.mkt-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  animation: mkt-rise 0.7s ease 0.2s both;
}

.mkt-hero-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.mkt-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: mkt-fade 1s ease 0.15s both;
}

.mkt-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(238, 243, 250, 0.55) 0%, transparent 28%);
  pointer-events: none;
}

/* —— Value strip —— */
.mkt-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 20px;
  padding: 28px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid var(--mkt-line);
}

.mkt-value {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 4px;
}

.mkt-value-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mkt-blue-soft);
  color: var(--mkt-blue);
  display: grid;
  place-items: center;
}

.mkt-value strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.mkt-value span {
  font-size: 0.86rem;
  color: var(--mkt-muted);
}

/* —— Sections —— */
.mkt-section {
  padding: clamp(48px, 8vw, 88px) clamp(16px, 4vw, 48px);
}

.mkt-section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.mkt-section h2 {
  margin: 0 0 10px;
  font-family: var(--mkt-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--mkt-navy);
}

.mkt-section-lead {
  margin: 0 auto 36px;
  text-align: center;
  color: var(--mkt-muted);
  max-width: 36rem;
}

/* —— Modules —— */
.mkt-modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
  margin-bottom: 28px;
}

.mkt-module {
  text-align: center;
  padding: 8px 6px;
}

.mkt-module-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--mkt-line);
  color: var(--mkt-blue);
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mkt-module:hover .mkt-module-icon {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(21, 87, 208, 0.14);
}

.mkt-module span {
  font-weight: 650;
  font-size: 0.92rem;
}

.mkt-center { text-align: center; }

/* —— Integrations —— */
.mkt-integrations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mkt-logo {
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 12px;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mkt-logo:hover {
  transform: translateY(-2px);
  border-color: #b8c9e8;
}

.mkt-logo-mark {
  font-family: var(--mkt-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--mkt-navy);
  letter-spacing: -0.02em;
}

.mkt-logo small {
  color: var(--mkt-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

/* —— Portals (interaction cards OK) —— */
.mkt-portals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mkt-portal-card {
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(15, 35, 70, 0.05);
}

.mkt-portal-card h3 {
  margin: 0 0 12px;
  font-family: var(--mkt-display);
  font-size: 1.25rem;
  color: var(--mkt-navy);
}

.mkt-portal-card ul {
  margin: 0 0 16px;
  padding-left: 1.1rem;
  color: var(--mkt-muted);
}

.mkt-portal-card li { margin-bottom: 6px; }

.mkt-portal-visual {
  border-radius: 12px;
  min-height: 140px;
  background:
    linear-gradient(160deg, var(--mkt-blue-soft), #fff 55%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(21, 87, 208, 0.04) 10px,
      rgba(21, 87, 208, 0.04) 11px
    );
  border: 1px solid var(--mkt-line);
  position: relative;
  overflow: hidden;
}

.mkt-portal-visual::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 18%;
  bottom: 14%;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #c9d6ec;
  box-shadow: 0 8px 18px rgba(10, 31, 68, 0.08);
}

.mkt-portal-visual::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 28%;
  height: 8px;
  border-radius: 4px;
  background: var(--mkt-blue);
  opacity: 0.85;
  box-shadow:
    0 16px 0 0 rgba(21, 87, 208, 0.18),
    0 32px 0 0 rgba(21, 87, 208, 0.12),
    0 48px 0 0 rgba(21, 87, 208, 0.08);
}

.mkt-portal-support .mkt-portal-visual::after {
  background: #1a7a4c;
  box-shadow:
    0 16px 0 0 rgba(26, 122, 76, 0.18),
    0 32px 0 0 rgba(26, 122, 76, 0.12),
    0 48px 0 0 rgba(26, 122, 76, 0.08);
}

/* —— Deployment —— */
.mkt-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.mkt-flow-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 18px 14px;
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 14px;
}

.mkt-flow-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--mkt-blue-soft);
  color: var(--mkt-blue);
  display: grid;
  place-items: center;
}

.mkt-flow-step strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
}

.mkt-flow-arrow {
  color: var(--mkt-blue);
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

/* —— Testimonials —— */
.mkt-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mkt-quote {
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 14px;
  padding: 22px 20px;
}

.mkt-quote blockquote {
  margin: 0 0 18px;
  font-style: italic;
  color: var(--mkt-ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.mkt-quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mkt-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mkt-blue), var(--mkt-navy));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.mkt-quote-person strong { display: block; font-size: 0.9rem; }
.mkt-quote-person span { font-size: 0.8rem; color: var(--mkt-muted); }

/* —— CTA band —— */
.mkt-cta-band {
  background: linear-gradient(115deg, var(--mkt-blue-deep), var(--mkt-blue) 55%, #2a6de0);
  color: #fff;
  padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mkt-cta-band::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 55%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.mkt-cta-band h2 {
  margin: 0 0 18px;
  font-family: var(--mkt-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  position: relative;
}

.mkt-cta-band .mkt-btn { position: relative; }

/* —— Inner pages —— */
.mkt-page {
  width: min(720px, calc(100% - 32px));
  margin: 40px auto 64px;
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 12px 30px rgba(15, 35, 70, 0.05);
}

.mkt-page h1 {
  margin: 0 0 10px;
  font-family: var(--mkt-display);
  letter-spacing: -0.03em;
  color: var(--mkt-navy);
}

.mkt-page .muted { color: var(--mkt-muted); }
.mkt-page ul { color: var(--mkt-ink); line-height: 1.7; }

/* —— Footer —— */
.mkt-footer {
  margin-top: auto;
  background: var(--mkt-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 36px clamp(16px, 4vw, 48px) 28px;
}

.mkt-footer a { color: #cfe0ff !important; text-decoration: none !important; }
.mkt-footer a:hover { text-decoration: underline !important; }

.mkt-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.mkt-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--mkt-display);
  font-weight: 800;
}

.mkt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.mkt-footer-copy {
  margin: 8px 0 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

.mkt-flash-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 12px auto 0;
}

.mkt-flash {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--mkt-line);
  background: #fff;
}

.mkt-flash-ok { background: #eaf7ef; border-color: #b7e0c4; color: #0f7a3a; }
.mkt-flash-error { background: #fdeceb; border-color: #f0b6b0; color: #b42318; }

@keyframes mkt-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mkt-fade {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* —— Tablet —— */
@media (max-width: 980px) {
  .mkt-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mkt-hero-copy {
    max-width: none;
    padding-bottom: 28px;
  }

  .mkt-hero-media {
    min-height: 260px;
    order: 2;
  }

  .mkt-hero-media::after {
    background: linear-gradient(0deg, rgba(238, 243, 250, 0.35) 0%, transparent 35%);
  }

  .mkt-values { grid-template-columns: 1fr 1fr; }
  .mkt-modules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mkt-integrations { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mkt-portals { grid-template-columns: 1fr; }
  .mkt-portal-card { grid-template-columns: 1.2fr 0.8fr; }
  .mkt-quotes { grid-template-columns: 1fr; }
}

/* —— Mobile —— */
@media (max-width: 760px) {
  .mkt-nav-toggle { display: flex; }

  .mkt-nav-menu {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--mkt-line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(10, 31, 68, 0.14);
  }

  .mkt-nav-menu.is-open { display: flex; }

  .mkt-nav-links {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    gap: 4px;
  }

  .mkt-nav-links a {
    padding: 10px 8px;
    border-radius: 8px;
  }

  .mkt-nav-links a:hover { background: var(--mkt-blue-soft); }

  .mkt-nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mkt-nav-actions .mkt-btn { width: 100%; }

  .mkt-nav { position: relative; }

  .mkt-values { grid-template-columns: 1fr; }
  .mkt-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-integrations { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mkt-portal-card { grid-template-columns: 1fr; }
  .mkt-portal-visual { min-height: 120px; order: -1; }

  .mkt-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .mkt-flow-step { max-width: none; }

  .mkt-flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .mkt-brand-hero { font-size: 2.15rem; }
}

/* —— Coming soon —— */
.mkt-coming-soon {
  min-height: min(72vh, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 10vw, 96px) clamp(20px, 5vw, 48px);
}

.mkt-coming-soon .mkt-brand-hero { margin-bottom: 12px; }
.mkt-coming-soon h1 {
  margin: 0 0 14px;
  font-family: var(--mkt-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--mkt-navy);
}
.mkt-coming-soon .mkt-hero-lead {
  margin: 0 auto 28px;
  max-width: 32rem;
}
.mkt-coming-soon .mkt-hero-ctas { justify-content: center; }

