:root {
  --page-bg: #f5efe6;
  --page-bg-deep: #efe4d4;
  --surface: rgba(255, 252, 247, 0.88);
  --surface-solid: #fffaf4;
  --surface-strong: #ffffff;
  --ink: #15304d;
  --muted: #5f6f7f;
  --line: rgba(21, 48, 77, 0.12);
  --shadow: 0 28px 70px rgba(18, 31, 52, 0.12);
  --accent: #1473e6;
  --accent-deep: #0a4faa;
  --accent-soft: #e6f1ff;
  --amber: #f69b2d;
  --amber-soft: #fff0dd;
  --mint: #1f9d79;
  --mint-soft: #e1f6ee;
  --plum: #8e4ff5;
  --plum-soft: #f0e7ff;
  --rose: #ea5c6c;
  --rose-soft: #ffe3e7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.public-page {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255, 210, 170, 0.45), transparent 24%),
    linear-gradient(180deg, var(--page-bg) 0%, #f8f3eb 42%, #fbf7f1 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.public-shell {
  min-height: 100vh;
}

.marketing-site {
  position: relative;
  overflow: clip;
}

.marketing-site::before,
.marketing-site::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  z-index: 0;
}

.marketing-site::before {
  width: 320px;
  height: 320px;
  top: 120px;
  right: -120px;
  background: rgba(20, 115, 230, 0.08);
}

.marketing-site::after {
  width: 280px;
  height: 280px;
  left: -120px;
  top: 760px;
  background: rgba(246, 155, 45, 0.08);
}

.promo-bar,
.site-header,
.hero,
.signal-strip,
.section,
.cta-panel,
.site-footer {
  position: relative;
  z-index: 1;
}

.promo-bar {
  background: linear-gradient(90deg, #0b305d 0%, #0e5fc0 72%, #1795ff 100%);
  color: #fff;
}

.promo-bar__inner,
.site-header,
.hero,
.signal-strip,
.section,
.cta-panel,
.site-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.promo-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.95rem;
}

.promo-bar__eyebrow {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-bar__message {
  color: rgba(255, 255, 255, 0.86);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(145deg, #0d4ca1 0%, #1485ff 58%, #f69b2d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand__mark span {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.brand__title {
  font-size: 1.05rem;
  line-height: 1;
}

.brand__subtitle {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #1190ff 100%);
  box-shadow: 0 16px 30px rgba(20, 115, 230, 0.28);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.btn-ghost {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 24px 0 56px;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(21, 48, 77, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(246, 155, 45, 0.12);
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.15rem);
  line-height: 0.94;
  max-width: 12ch;
}

.hero-summary,
.section-heading p,
.cta-panel p,
.story-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.proof-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 48, 77, 0.08);
  box-shadow: 0 14px 32px rgba(18, 31, 52, 0.06);
}

.proof-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
}

.proof-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-stage {
  position: relative;
}

.stage-window {
  position: relative;
  padding: 28px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 255, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(23, 149, 255, 0.18), transparent 30%),
    linear-gradient(140deg, transparent 0%, rgba(246, 155, 45, 0.08) 100%);
  pointer-events: none;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 79, 170, 0.08);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.stage-main {
  position: relative;
  margin-top: 18px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(140deg, #103f7f 0%, #1166ca 62%, #118fff 100%);
  color: #fff;
}

.stage-main h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
}

.stage-main p {
  margin: 12px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.stage-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.stage-stat {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stage-stat strong {
  display: block;
  font-size: 1.05rem;
}

.stage-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
}

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

.stage-tile,
.floating-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.stage-tile {
  min-height: 184px;
  padding: 18px;
  background: var(--surface-solid);
  border: 1px solid rgba(21, 48, 77, 0.08);
}

.stage-tile__tone {
  position: absolute;
  inset: auto -20% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  opacity: 0.9;
}

.stage-tile--amber .stage-tile__tone {
  background: radial-gradient(circle, rgba(246, 155, 45, 0.38) 0%, rgba(246, 155, 45, 0) 70%);
}

.stage-tile--mint .stage-tile__tone {
  background: radial-gradient(circle, rgba(31, 157, 121, 0.34) 0%, rgba(31, 157, 121, 0) 70%);
}

.stage-tile--plum .stage-tile__tone {
  background: radial-gradient(circle, rgba(142, 79, 245, 0.32) 0%, rgba(142, 79, 245, 0) 70%);
}

.stage-tile--rose .stage-tile__tone {
  background: radial-gradient(circle, rgba(234, 92, 108, 0.3) 0%, rgba(234, 92, 108, 0) 70%);
}

.stage-tile__eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 48, 77, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stage-tile h3,
.solution-card h3,
.catalog-card h3,
.story-card h3,
.workflow-card h3 {
  margin: 14px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
}

.stage-tile p,
.solution-card p,
.catalog-card p,
.story-card p,
.workflow-card p,
.footer-note {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.floating-card {
  position: absolute;
  right: -12px;
  bottom: 26px;
  width: min(250px, 46%);
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 48, 77, 0.08);
  box-shadow: 0 20px 40px rgba(18, 31, 52, 0.14);
  backdrop-filter: blur(12px);
}

.floating-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.floating-card__pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 0.74rem;
}

.floating-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(21, 48, 77, 0.08);
  font-size: 0.85rem;
}

.floating-card__row strong {
  font-size: 1rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 26px;
}

.signal-item {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 48, 77, 0.08);
  box-shadow: 0 12px 24px rgba(18, 31, 52, 0.05);
}

.signal-item strong {
  display: block;
  font-size: 0.95rem;
}

.signal-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 56px 0;
}

.section-heading {
  max-width: 660px;
}

.catalog-grid,
.solutions-grid,
.workflow-grid,
.stories-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.catalog-card,
.solution-card,
.workflow-card,
.story-card {
  position: relative;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(21, 48, 77, 0.08);
  box-shadow: 0 18px 36px rgba(18, 31, 52, 0.06);
  overflow: hidden;
}

.catalog-card::after,
.solution-card::after,
.story-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  opacity: 0.86;
}

.catalog-card--sky::after,
.solution-card--sky::after,
.story-card--sky::after {
  background: radial-gradient(circle, rgba(20, 115, 230, 0.22) 0%, rgba(20, 115, 230, 0) 68%);
}

.catalog-card--amber::after,
.solution-card--amber::after,
.story-card--amber::after {
  background: radial-gradient(circle, rgba(246, 155, 45, 0.2) 0%, rgba(246, 155, 45, 0) 68%);
}

.catalog-card--mint::after,
.solution-card--mint::after,
.story-card--mint::after {
  background: radial-gradient(circle, rgba(31, 157, 121, 0.2) 0%, rgba(31, 157, 121, 0) 68%);
}

.catalog-card--plum::after,
.solution-card--plum::after,
.story-card--plum::after {
  background: radial-gradient(circle, rgba(142, 79, 245, 0.18) 0%, rgba(142, 79, 245, 0) 68%);
}

.catalog-card--rose::after {
  background: radial-gradient(circle, rgba(234, 92, 108, 0.18) 0%, rgba(234, 92, 108, 0) 68%);
}

.catalog-card--ink::after {
  background: radial-gradient(circle, rgba(21, 48, 77, 0.14) 0%, rgba(21, 48, 77, 0) 68%);
}

.catalog-icon,
.solution-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 48, 77, 0.08);
}

.catalog-meta,
.story-metric {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(21, 48, 77, 0.06);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.section-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 48, 77, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.solutions-wrap {
  padding: 32px;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(14, 39, 71, 0.98) 0%, rgba(16, 61, 111, 0.98) 100%);
  box-shadow: var(--shadow);
}

.solutions-wrap .section-heading h2,
.solutions-wrap .section-heading p {
  color: #fff;
}

.solutions-wrap .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.solution-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.solution-card h3,
.solution-card p,
.solution-card .story-metric {
  color: #fff;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.72);
}

.solution-card .story-metric {
  background: rgba(255, 255, 255, 0.12);
}

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

.workflow-card {
  min-height: 100%;
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 28px;
}

.story-copy,
.story-stack {
  min-width: 0;
}

.story-copy {
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 248, 240, 0.92) 100%);
  border: 1px solid rgba(21, 48, 77, 0.08);
  box-shadow: 0 18px 36px rgba(18, 31, 52, 0.06);
}

.story-copy blockquote {
  margin: 26px 0 0;
  padding: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  line-height: 1.35;
  border: 0;
}

.story-copy cite {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

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

.story-card:nth-child(2) {
  transform: translateY(28px);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 32px;
  padding: 36px;
  border-radius: 40px;
  background: linear-gradient(135deg, #15304d 0%, #0c6dda 68%, #1892ff 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-panel .btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cta-side {
  padding: 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.cta-side h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-point {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-point strong {
  display: block;
  font-size: 0.95rem;
}

.contact-point span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.site-footer {
  padding: 10px 0 42px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.reveal-rise {
  animation: reveal-rise 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

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

@media (max-width: 1120px) {
  .hero,
  .story-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .signal-strip,
  .catalog-grid,
  .solutions-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stories-grid {
    margin-top: 20px;
  }

  .story-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 820px) {
  .promo-bar__inner,
  .site-header,
  .hero,
  .signal-strip,
  .section,
  .cta-panel,
  .site-footer__inner {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav,
  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 8px;
  }

  .hero-proof,
  .signal-strip,
  .catalog-grid,
  .solutions-grid,
  .workflow-grid,
  .stories-grid,
  .stage-stats,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .stage-window,
  .solutions-wrap,
  .cta-panel {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .promo-bar__inner {
    padding: 10px 0;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .section {
    padding: 42px 0;
  }

  .hero-summary,
  .section-heading p,
  .story-copy p,
  .cta-panel p {
    font-size: 0.96rem;
  }

  .proof-card,
  .catalog-card,
  .solution-card,
  .workflow-card,
  .story-card {
    padding: 20px;
  }
}
