:root {
  --ink: #132036;
  --muted: #5b6677;
  --line: rgba(19, 32, 54, 0.13);
  --panel: #ffffff;
  --soft: #f4f8f8;
  --deck: #2563eb;
  --stock: #0f8f72;
  --warm: #f59e0b;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfcfd 0%, #eef7f5 48%, #f8f3ea 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  min-height: 620px;
  padding: 54px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--stock);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #e8f4ff 44%, #f2f7ef 100%);
  box-shadow: 0 28px 70px rgba(19, 32, 54, 0.14);
}

.hero-mark {
  position: absolute;
  right: -70px;
  top: 54px;
  width: 390px;
  opacity: 0.22;
  filter: drop-shadow(0 28px 58px rgba(19, 32, 54, 0.28));
}

.workspace-card {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 32px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(19, 32, 54, 0.12);
  backdrop-filter: blur(14px);
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.workspace-header span,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e7f8f2;
  color: #08765f;
  font-size: 0.78rem;
  font-weight: 850;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.matrix span {
  height: 34px;
  border-radius: 7px;
}

.deck {
  background: var(--deck);
}

.stock {
  background: var(--stock);
}

.warm {
  background: var(--warm);
}

.quiet {
  background: #cbd5e1;
}

.mini-metrics {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 38px rgba(19, 32, 54, 0.11);
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.section {
  padding: 58px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading p {
  max-width: 560px;
  color: var(--muted);
}

.product-grid,
.feature-grid,
.trust-grid {
  display: grid;
  gap: 16px;
}

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

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

.feature-grid,
.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(19, 32, 54, 0.08);
}

.product-card {
  min-height: 295px;
  padding: 26px;
}

.product-card.deck-card {
  border-color: rgba(37, 99, 235, 0.24);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.72));
}

.product-card.stock-card {
  border-color: rgba(15, 143, 114, 0.24);
  background: linear-gradient(180deg, rgba(15, 143, 114, 0.09), rgba(255, 255, 255, 0.72));
}

.product-card.asset-card {
  border-color: rgba(245, 158, 11, 0.28);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.72));
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.product-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(19, 32, 54, 0.12);
}

.product-card p,
.feature-card p,
.trust-card p,
.policy p,
.policy li {
  color: var(--muted);
}

.feature-card,
.trust-card {
  padding: 22px;
}

.feature-card strong,
.trust-card strong {
  display: block;
  margin-bottom: 8px;
}

.flow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.flow-list {
  display: grid;
  gap: 10px;
}

.flow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.flow-item span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}

.contact-band p {
  margin-bottom: 0;
  color: #cbd5e1;
}

.contact-band a {
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.policy {
  max-width: 860px;
  padding: 52px 0 72px;
}

.policy h1 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
}

.policy h2 {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.45rem;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .section-heading,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .flow,
  .product-grid,
  .product-grid.three,
  .feature-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }
}
