:root {
  color-scheme: light;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ink: #101828;
  --muted: #5f6b7c;
  --navy: #101d35;
  --navy-2: #1c2b4a;
  --blue: #2a6ef5;
  --blue-soft: #eaf1ff;
  --line: #dfe5ee;
  --surface: #f5f7fa;
  --white: #ffffff;
  --green: #16865e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.marketing-header {
  min-height: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.marketing-brand img { border-radius: 10px; }
.marketing-header nav { display: flex; align-items: center; gap: 26px; }
.marketing-header nav a { color: #4d5a6c; font-size: 14px; font-weight: 650; text-decoration: none; }
.marketing-header nav a:hover { color: var(--blue); }
.marketing-header .header-login { padding: 10px 16px; border: 1px solid #cdd6e3; border-radius: 8px; color: var(--navy); }

.marketing-hero {
  min-height: min(760px, calc(100vh - 72px));
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 94px 0 126px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 12px 0 20px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: .94;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: #82adff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: #c4cedd;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  text-decoration: none;
}
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #1f5cd4; }
.button-secondary { color: #fff; border: 1px solid #53627a; background: #172741; }
.hero-note { margin: 18px 0 0; color: #8998ad; font-size: 12px; }

.hero-product-scene {
  position: absolute;
  right: max(-70px, calc((100vw - 1340px) / 2));
  bottom: -72px;
  width: min(47vw, 590px);
  height: 670px;
  border: 1px solid #35445c;
  border-radius: 28px 28px 0 0;
  background: #08111f;
  padding: 26px;
  transform: rotate(-2deg);
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
}

.scene-screen { height: 100%; border: 1px solid #2a3952; border-radius: 18px; background: #101b2d; padding: 22px; }
.scene-top { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 750; font-size: 13px; }
.scene-status { color: #75d3ad; font-size: 10px; }
.scene-heading { margin: 72px 0 18px; color: #8d9ab0; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.scene-event { margin: 10px 0; padding: 18px; border: 1px solid #2b3a52; border-radius: 8px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; background: #162238; }
.scene-event b { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: #2a6ef5; font-size: 11px; }
.scene-event span { color: #e8edf5; font-size: 12px; font-weight: 650; }
.scene-event strong { color: #ffb6b1; font-size: 9px; }
.scene-trend { margin-top: 20px; padding: 20px; border-left: 3px solid #70a0ff; background: #111d31; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.scene-trend span, .scene-trend small { color: #9ba9bc; font-size: 11px; }
.scene-trend b { grid-row: span 2; font-size: 40px; }

.product-proof, .security-section, .final-cta { max-width: 1180px; margin: 0 auto; padding: 104px 28px; }
.section-intro { max-width: 720px; margin-bottom: 46px; }
.section-intro h2, .security-copy h2, .workflow-band h2, .final-cta h2 { margin: 10px 0 0; color: var(--navy); font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { min-height: 260px; padding: 34px 34px 34px 0; }
.feature-grid article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.feature-number { color: var(--blue); font-size: 12px; font-weight: 800; }
.feature-grid h3 { margin: 48px 0 10px; font-size: 24px; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.workflow-band { padding: 96px max(28px, calc((100vw - 1124px) / 2)); background: var(--surface); display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.workflow-band ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid #ccd5e0; }
.workflow-band li { padding: 24px 0; border-bottom: 1px solid #ccd5e0; display: grid; grid-template-columns: 130px 1fr; gap: 24px; }
.workflow-band li b { color: var(--navy); }
.workflow-band li span { color: var(--muted); line-height: 1.55; }

.security-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.security-copy p:last-child { color: var(--muted); line-height: 1.7; }
.security-list { list-style: none; margin: 0; padding: 12px 0 0; }
.security-list li { padding: 20px 0 20px 34px; border-bottom: 1px solid var(--line); position: relative; color: #445166; line-height: 1.5; }
.security-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.final-cta { text-align: center; border-top: 1px solid var(--line); }
.final-cta h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.final-cta > p:not(.eyebrow) { margin: 20px auto 28px; color: var(--muted); }
.marketing-footer { padding: 34px max(28px, calc((100vw - 1124px) / 2)); background: var(--navy); color: #9dabbf; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; font-size: 12px; }
.footer-brand { color: #fff; }
.marketing-footer p { margin: 0; text-align: center; }
.marketing-footer div { display: flex; gap: 18px; }
.marketing-footer a { text-decoration: none; }

@media (max-width: 850px) {
  .marketing-header { padding: 12px 18px; }
  .marketing-header nav > a:not(.header-login) { display: none; }
  .marketing-hero { min-height: 820px; align-items: flex-start; }
  .hero-copy { width: calc(100% - 36px); padding: 70px 0 420px; }
  .hero-copy h1 { font-size: 56px; }
  .hero-lead { font-size: 17px; }
  .hero-product-scene { width: 92vw; height: 400px; right: -12vw; bottom: -10px; padding: 14px; }
  .scene-screen { padding: 14px; }
  .scene-heading { margin-top: 25px; }
  .scene-event { padding: 12px; grid-template-columns: 38px 1fr; }
  .scene-event b { width: 34px; height: 34px; }
  .scene-event strong { display: none; }
  .product-proof, .security-section, .final-cta { padding: 76px 20px; }
  .feature-grid, .security-section, .workflow-band { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { min-height: auto; padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .feature-grid h3 { margin-top: 24px; }
  .workflow-band { padding: 76px 20px; gap: 42px; }
  .workflow-band li { grid-template-columns: 90px 1fr; }
  .security-section { gap: 38px; }
  .marketing-footer { grid-template-columns: 1fr; text-align: center; }
  .marketing-footer .marketing-brand, .marketing-footer div { justify-content: center; }
}

@media (max-width: 620px) {
  .marketing-brand span { font-size: 14px; }
  .marketing-header nav { display: none; }
  .hero-copy h1 { font-size: 48px; }
  .hero-actions .button { width: 100%; }
}

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