@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Rethink+Sans:wght@500;600;700;750;800&display=swap');

:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --ink: #191827;
  --muted: #555365;
  --accent: #5d43ba;
  --line: #e2dfea;
  --display: 'Rethink Sans', 'DM Sans', system-ui, sans-serif;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid #926bf8; outline-offset: 5px; }
[id] { scroll-margin-top: 28px; }
.wrap { width: min(1260px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 9; padding: 12px 20px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.top { border-bottom: 1px solid var(--line); }
.top-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 28px/1 var(--display); letter-spacing: -1.8px; white-space: nowrap; }
.brand-dot { color: var(--accent); }
.brand-mark { display: grid; grid-template: repeat(2, 8px) / repeat(2, 8px); gap: 3px; padding: 5px; transform: rotate(-10deg); }
.brand-mark i { background: var(--accent); border-radius: 2.5px; }
.brand-mark i:nth-child(2) { background: #a085ed; transform: translate(2px, -2px); }
.nav, .footer nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav a, .footer nav a { color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.nav a:hover, .footer nav a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; width: fit-content; min-height: 49px; padding: 13px 19px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 750; white-space: nowrap; transition: background .18s, color .18s; }
.button span { font-size: 17px; line-height: 1; }
.button-outline { color: var(--accent); border-color: #c8bced; min-height: 42px; }
.button-outline:hover { background: #ece6fb; }
.button-primary { color: white; background: #593eb7; }
.button-primary:hover { background: #432a98; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 15px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { min-height: 581px; padding-block: 64px 70px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 70px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 11px; line-height: 1.6; font-weight: 750; letter-spacing: .135em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #7559da; box-shadow: 0 0 0 3px #e9e0fb; }
h1, h2, h3 { font-family: var(--display); }
h1 { font-size: clamp(46px, 5.05vw, 78px); line-height: .995; font-weight: 800; letter-spacing: -.058em; word-spacing: .02em; margin-block: 24px; }
h1 em { color: var(--accent); font-style: normal; }
.hero-text { max-width: 490px; font-size: clamp(17px, 1.42vw, 21px); color: var(--muted); line-height: 1.55; }
.actions { display: flex; gap: 21px; align-items: center; flex-wrap: wrap; margin-top: 29px; }
.hero-visual { height: clamp(390px, 37vw, 505px); border-radius: 18px; overflow: hidden; position: relative; isolation: isolate; background: #19182f; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.hero-visual::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, #0b10258c, transparent 39%), linear-gradient(0deg, #0e0d22dc, transparent 46%); pointer-events: none; }
.viewfinder { z-index: 1; position: absolute; inset: 12px; background: linear-gradient(#e5dafe7a, #e5dafe7a) left top / 14px 1px, linear-gradient(#e5dafe7a, #e5dafe7a) left top / 1px 14px, linear-gradient(#e5dafe7a, #e5dafe7a) right bottom / 14px 1px, linear-gradient(#e5dafe7a, #e5dafe7a) right bottom / 1px 14px; background-repeat: no-repeat; }
.visual-top { position: absolute; z-index: 2; left: 27px; top: 26px; padding: 9px 11px; display: flex; align-items: center; gap: 8px; border-radius: 5px; background: #14132bbf; border: 1px solid #b7a0fc64; color: #f0eaff; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.visual-top > span, .example-title > i { width: 7px; height: 7px; border-radius: 50%; background: #b9a0ff; box-shadow: 0 0 10px #a589f7; }
.scene-grid { position: absolute; z-index: 1; inset: auto 0 0; height: 42%; background: repeating-linear-gradient(0deg, #c7b2ff18 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, #c7b2ff18 0 1px, transparent 1px 28px); mask-image: linear-gradient(transparent, #000); }
.scene-path { position: absolute; z-index: 2; display: flex; align-items: center; width: 41%; left: 29%; top: 62%; transform: rotate(-24deg); }
.scene-path b { display: block; flex: 0 0 9px; height: 9px; border-radius: 50%; border: 1px solid #f1eaff; background: #9872f8; box-shadow: 0 0 0 4px #a68aeb60, 0 0 15px #9063ff; }
.scene-path i { flex: 1; border-top: 1px dashed #d1bcff; }
.visual-label { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 27px; display: flex; justify-content: space-between; gap: 6px; align-items: center; color: #f7f3ff; font-size: 15px; font-weight: 700; }
.visual-label small { color: #e5d8ff; font-size: 11px; font-weight: 500; }

.services { background: #efecf7; padding-block: 74px 84px; border-block: 1px solid #e8e3f3; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 13px 0 29px; }
.section-heading p, .workflow-copy > p:not(.eyebrow), .closing p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 390px; }
h2 { font-size: clamp(35px, 4.2vw, 57px); font-weight: 800; line-height: 1.035; letter-spacing: -.052em; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card { overflow: hidden; background: #fcfbfd; border: 1px solid #e1daee; border-radius: 15px; }
.service-body { padding: 26px 28px 30px; }
.service-body h3 { font-size: clamp(23px, 2.2vw, 32px); letter-spacing: -.048em; margin-bottom: 9px; }
.service-body p { color: var(--muted); font-size: 16px; line-height: 1.62; max-width: 430px; margin-bottom: 19px; }
.service-graphic { position: relative; height: 133px; overflow: hidden; display: grid; place-items: center; }
.forensic-graphic { background: radial-gradient(ellipse at 45% 110%, #594198, #262341 70%); }
.filmstrip { display: flex; gap: 8px; transform: rotate(-7deg) scale(1.12); width: 80%; opacity: .95; }
.filmstrip i { height: 52px; flex: 1; border: 1px solid #a391de91; border-radius: 4px; background: linear-gradient(132deg, #7970a799, #312950), url('./hero.webp') center 48% / cover; }
.filmstrip i:nth-child(3) { border: 2px solid #dccfff; background: linear-gradient(140deg, #9584c345, #21203675), url('./hero.webp') 64% 54% / cover; }
.playhead { position: absolute; top: 19%; bottom: 19%; left: 50%; border-left: 1px solid #e5d7ff; }
.playhead::before { content: ''; position: absolute; left: -4px; top: -3px; width: 7px; height: 7px; border-radius: 2px; background: #efdcff; }
.tracking-graphic { background: radial-gradient(ellipse at 52% 62%, #d7caf4, #eeebf9 74%); }
.track-grid { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #8876b926 0 1px, transparent 1px 26px), repeating-linear-gradient(0deg, #8876b926 0 1px, transparent 1px 26px); mask-image: linear-gradient(90deg, transparent, #000 35% 62%, transparent); }
.track-route { position: relative; width: 58%; height: 45px; border: solid #7752d0; border-width: 0 2px 2px 0; transform: skewX(-33deg) rotate(-9deg); }
.track-route i { position: absolute; left: -4px; bottom: -6px; width: 9px; height: 9px; border-radius: 50%; background: #7752d0; box-shadow: 0 0 0 5px #b9a2ea75; transform: skewX(33deg); }
.track-route i:nth-child(2) { left: 52%; }
.track-route i:nth-child(3) { left: auto; right: -5px; top: -4px; }

.workflow { padding-block: 92px; }
.workflow-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(27px, 6vw, 94px); }
.workflow h2, .closing h2 { margin-block: 12px 15px; }
.steps { padding: 0; margin: 25px 0 0; list-style: none; counter-reset: process; }
.steps li { position: relative; padding: 8px 0 11px 38px; counter-increment: process; }
.steps li::before { content: counter(process); position: absolute; left: 0; top: 8px; width: 25px; height: 25px; display: grid; place-items: center; background: #ebe4f9; color: var(--accent); border-radius: 50%; font-size: 12px; font-weight: 700; }
.steps li strong, .steps li span { display: block; }
.steps li span { margin-top: 3px; color: var(--muted); font-size: 14px; }
.example { color: #f1eefb; background: #211d35; border: 1px solid #322951; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 45px #2c1b581a; }
.example-top { min-height: 57px; padding: 14px 20px; border-bottom: 1px solid #423b59; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.example-title { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.sample { color: #d8c9f6; background: #3c3157; padding: 5px 8px; border-radius: 5px; font-size: 10px; white-space: nowrap; }
.switcher { display: flex; gap: 7px; padding: 15px 20px 0; }
.switcher button { appearance: none; cursor: pointer; color: #ded6ef; background: #2d2742; border: 1px solid #4d4366; border-radius: 6px; padding: 7px 11px; font-size: 12px; font-weight: 700; }
.switcher button[aria-pressed="true"] { color: #fff; background: #564179; border-color: #8b6bbb; }
.switcher button:hover { border-color: #ad91e6; }
.example-content { padding: 15px 20px; }
.example-meta { display: flex; gap: 27px; border-bottom: 1px solid #423b59; padding-bottom: 15px; }
.example-meta > div { display: grid; gap: 4px; }
.example-meta span, .timeline li div span { color: #cbc1dd; font-size: 12px; }
.example-meta strong, .timeline li div strong { font-size: 14px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { min-height: 55px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 7px; border-bottom: 1px solid #423b59; }
.timeline time { font-size: 12px; font-variant-numeric: tabular-nums; color: #d9c7ff; }
.timeline li div { display: grid; gap: 3px; }
.status { background: #413357; color: #eadcff; padding: 4px 7px; border-radius: 4px; font-size: 10px; white-space: nowrap; }
.example-foot { padding: 0 20px 20px; font-size: 12px; color: #cbc1dd; }

.closing { padding-bottom: 46px; }
.closing-panel { position: relative; isolation: isolate; overflow: hidden; padding: 48px 50px; border-radius: 17px; border: 1px solid #e2d7fa; background: #ece5fa; }
.closing-copy { position: relative; z-index: 1; }
.closing p:not(.eyebrow) { max-width: 540px; }
.closing .actions { margin-top: 22px; }
.closing-pattern { position: absolute; z-index: 0; width: 46%; height: 155%; top: -29%; right: -12%; transform: rotate(-22deg); }
.closing-pattern i { position: absolute; inset: 0; border: 1px solid #a187d66e; border-radius: 24%; }
.closing-pattern i:nth-child(2) { inset: 7%; }
.closing-pattern i:nth-child(3) { inset: 14%; }
.closing-pattern i:nth-child(4) { inset: 21%; }
.footer { min-height: 88px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer p { color: var(--muted); font-size: 13px; }
.footer nav { gap: clamp(10px, 2vw, 24px); }

@media (max-width: 1040px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: auto; }
  .hero-visual { height: 390px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 42px); }
  .top-inner { min-height: 67px; flex-wrap: wrap; gap: 0; padding-top: 8px; }
  .top-inner .brand { font-size: 25px; }
  .header-cta { min-height: 35px; padding: 6px 9px; gap: 6px; font-size: 12px; }
  .nav { order: 3; width: 100%; justify-content: space-between; min-height: 38px; margin-top: 7px; border-top: 1px solid var(--line); }
  .nav a { padding-block: 8px; font-size: 13px; }
  .hero { display: block; padding-block: 42px 45px; }
  .hero-visual { height: clamp(263px, 62vw, 420px); margin-top: 34px; border-radius: 13px; }
  h1 { font-size: clamp(43px, 9vw, 68px); margin-block: 15px 16px; }
  .hero-text { font-size: 17px; }
  .services, .workflow { padding-block: 48px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .service-grid, .workflow-grid { grid-template-columns: 1fr; }
  .service-body { padding: 20px 20px 22px; }
  .closing-panel { padding: 29px 22px; }
  .closing-pattern { opacity: .55; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 23px; gap: 12px; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 38px; }
  .actions { gap: 13px; }
  .actions .button { padding-inline: 11px; }
  .actions .text-link { font-size: 13px; }
  .example-meta { gap: 16px; }
  .example-content, .example-top, .switcher, .example-foot { padding-inline: 13px; }
}

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