:root {
  color-scheme: light;
  --ink: #071c38;
  --ink-soft: #183250;
  --muted: #5a6c84;
  --coral: #ff5156;
  --coral-deep: #ee3f45;
  --blue: #147de1;
  --cyan: #2eb8df;
  --green: #13966a;
  --line: #dfe7f0;
  --line-soft: #edf2f7;
  --surface: #ffffff;
  --surface-soft: #f6f9fc;
  --shadow: 0 24px 60px rgba(13, 31, 53, 0.16), 0 4px 14px rgba(13, 31, 53, 0.1);
  --radius: 14px;
  --font: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(20, 125, 225, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 14px clamp(24px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand__logo-crop {
  position: relative;
  display: block;
  width: 190px;
  height: 36px;
  overflow: hidden;
}

.brand__logo-crop img {
  position: absolute;
  top: -101px;
  left: -20px;
  width: 230px;
  height: 230px;
  max-width: none;
}

.site-nav { display: flex; align-items: center; gap: clamp(28px, 4vw, 54px); }
.site-nav a { color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--coral-deep); }

.header-cta { justify-self: end; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.button--dark { background: var(--ink); color: white; box-shadow: 0 10px 22px rgba(7, 28, 56, 0.16); }
.button--dark:hover { background: #102c4f; box-shadow: 0 13px 28px rgba(7, 28, 56, 0.2); }
.button--outline { border-color: var(--ink); background: white; color: var(--ink); }
.button--outline:hover { border-color: var(--coral); background: #fff8f8; }
.button--large { min-height: 60px; padding: 0 24px; font-size: 16px; }
.button__arrow { margin-left: auto; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(590px, 1.1fr);
  align-items: center;
  gap: clamp(26px, 2.8vw, 54px);
  min-height: 660px;
  padding: clamp(54px, 7vh, 84px) clamp(24px, 4vw, 72px) 38px;
  overflow: hidden;
}

.hero__copy { position: relative; z-index: 8; max-width: 590px; }

.product-name { display: flex; flex-direction: column; gap: 5px; margin-bottom: 26px; color: #526983; }
.product-name span { color: var(--ink); font-size: 14px; font-weight: 850; letter-spacing: 0.13em; }
.product-name strong { font-size: clamp(20px, 1.7vw, 27px); font-weight: 660; }

h1 {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(52px, 5.1vw, 79px);
  font-weight: 840;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 span { color: var(--coral); }

.hero__lead {
  max-width: 610px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.55;
}

.hero__actions { display: flex; gap: 14px; }
.hero__actions .button:first-child { min-width: 280px; }
.hero__actions .button:nth-child(2) { min-width: 240px; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.hero__trust svg { width: 32px; min-width: 32px; fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.hero__visual { position: relative; z-index: 2; min-width: 0; height: 570px; }

.audit-path {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -18%;
  width: 102%;
  height: 215px;
  overflow: visible;
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-width: 7;
}

.path-check {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 9.5%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 10px 26px rgba(255, 81, 86, 0.28);
}

.path-check svg { width: 30px; fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.path-note { position: absolute; z-index: 3; top: 28px; right: -2%; color: var(--ink); font-size: 12px; font-style: italic; font-weight: 800; letter-spacing: 0.04em; line-height: 1.25; transform: rotate(-7deg); }

.laptop { position: absolute; z-index: 2; top: 104px; left: 0; width: 90%; filter: drop-shadow(0 24px 26px rgba(8, 29, 50, 0.13)); }
.laptop::after { content: ""; position: absolute; right: 5%; bottom: -15px; left: 5%; height: 14px; border-radius: 50%; background: rgba(16, 37, 58, 0.16); filter: blur(10px); }
.laptop__screen { display: grid; grid-template-columns: 126px 1fr; height: 420px; overflow: hidden; border: 12px solid #1d2733; border-radius: 18px 18px 8px 8px; background: white; box-shadow: inset 0 0 0 1px #475361; }
.laptop__camera { position: absolute; z-index: 2; top: 5px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: #707a84; }
.laptop__base { position: relative; left: -5%; width: 110%; height: 18px; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #dce2e7, #788490); clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%); }

.app-sidebar { display: flex; flex-direction: column; padding: 18px 10px 14px; border-right: 1px solid var(--line); background: #fbfdff; }
.app-brand { display: flex; align-items: center; gap: 7px; margin: 0 7px 20px; font-size: 12px; font-weight: 850; letter-spacing: 0.03em; }
.app-brand svg { width: 24px; fill: var(--coral); }
.app-sidebar nav { display: grid; gap: 4px; }
.side-link { display: flex; align-items: center; gap: 8px; min-height: 33px; border: 0; border-radius: 5px; padding: 0 9px; background: transparent; color: #334861; cursor: pointer; font-size: 9.5px; text-align: left; }
.side-link:hover, .side-link.is-active { background: #e7f3ff; color: #066bc9; }
.side-link svg, .app-settings svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.side-link:first-child svg { fill: currentColor; stroke: none; }
.app-settings { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 0 9px; color: #43556b; font-size: 9.5px; }

.app-content { min-width: 0; padding: 17px 18px; background: white; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; }
.app-topbar h2 { margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.app-user { display: flex; align-items: center; gap: 7px; color: #304157; font-size: 8px; }
.app-user span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #0d6eb6; color: white; font-size: 8px; }
.app-filters { display: grid; grid-template-columns: 1fr 124px; gap: 11px; margin-top: 11px; }
.search-field { display: flex; min-width: 0; height: 30px; align-items: center; gap: 7px; border: 1px solid #d9e2ed; border-radius: 5px; padding: 0 10px; }
.search-field svg { width: 13px; fill: none; stroke: #60758d; stroke-width: 1.5; }
.search-field input { width: 100%; border: 0; outline: 0; color: #425268; font-size: 8px; }
.app-filters > button { display: flex; align-items: center; justify-content: space-between; border: 1px solid #d9e2ed; border-radius: 5px; background: white; color: #3e5066; font-size: 8px; }
.app-tabs { display: flex; gap: 22px; margin-top: 9px; border-bottom: 1px solid var(--line); }
.app-tabs button { height: 30px; border: 0; border-bottom: 2px solid transparent; background: none; color: #43566f; cursor: pointer; font-size: 8px; }
.app-tabs button.is-active { border-bottom-color: var(--blue); color: var(--blue); font-weight: 700; }
.audit-table { overflow: hidden; margin-top: 8px; border: 1px solid #e1e8f0; border-radius: 6px; }
.table-row { display: grid; grid-template-columns: 1.4fr 1.15fr 1fr 1.15fr 0.9fr; width: 100%; min-height: 35px; align-items: center; gap: 5px; border: 0; border-bottom: 1px solid #edf2f6; padding: 0 11px; background: white; color: #33475e; font-size: 7.6px; text-align: left; }
button.table-row { cursor: pointer; }
button.table-row:hover, .table-row.is-selected { background: #f4faff; box-shadow: inset 2px 0 var(--blue); }
.table-row:last-child { border-bottom: 0; }
.table-head { min-height: 27px; color: #718096; font-weight: 600; }
.table-row strong { color: #253a52; font-weight: 650; }
.status { display: inline-block; border-radius: 10px; padding: 3px 5px; font-size: 6.5px; font-style: normal; white-space: nowrap; }
.status--blue { background: #dff1ff; color: #0475ce; }
.status--green { background: #dff6ed; color: #078159; }
.status--coral { background: #ffe7e7; color: #d8393f; }
.progress { display: inline-block; width: 41px; height: 4px; margin-right: 4px; overflow: hidden; border-radius: 9px; background: #e0e8f0; vertical-align: middle; }
.progress b { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.app-summary { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 10px; margin-top: 11px; }
.app-summary > div { min-height: 83px; border: 1px solid #e1e8f0; border-radius: 6px; padding: 9px; }
.summary-title { display: block; margin-bottom: 7px; color: #30445c; font-size: 8px; font-weight: 700; }
.evidence__thumb { display: flex; gap: 8px; }
.evidence__thumb svg { width: 72px; height: 47px; border-radius: 3px; }
.evidence__thumb p { display: grid; margin: 0; align-content: start; gap: 3px; color: #66778b; font-size: 7px; }
.evidence__thumb strong { color: #263c54; font-size: 8px; }
.evidence__thumb small { font-size: 6px; }
.next-step { background: #f7fbff; }
.next-step p { display: flex; gap: 7px; margin: 0 0 5px; color: #66778b; font-size: 7px; line-height: 1.35; }
.next-step i { display: grid; min-width: 23px; height: 23px; place-items: center; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); font-style: normal; }
.next-step a { color: var(--blue); font-size: 7px; font-weight: 700; text-decoration: none; }

.phone { position: absolute; z-index: 5; top: 210px; right: 0; width: 190px; height: 375px; border: 8px solid #202a34; border-radius: 33px; background: #202a34; box-shadow: 0 18px 36px rgba(5, 20, 38, 0.28); }
.phone__screen { height: 100%; overflow: hidden; border-radius: 24px; background: white; }
.phone__speaker { position: absolute; z-index: 2; top: 6px; left: 50%; width: 48px; height: 5px; border-radius: 5px; background: #10161d; transform: translateX(-50%); }
.phone__status { display: flex; height: 24px; align-items: center; justify-content: space-between; padding: 7px 12px 0; font-size: 6.5px; font-weight: 800; }
.phone__title { display: grid; grid-template-columns: 14px 1fr 14px; align-items: start; padding: 11px 9px 7px; font-size: 11px; }
.phone__title p { display: grid; gap: 3px; margin: 0; font-size: 7.5px; font-weight: 750; text-align: center; }
.phone__title small { color: #7d8b9d; font-size: 6px; font-weight: 500; }
.phone__progress { height: 3px; margin: 0 13px; border-radius: 3px; background: #e4ebf3; }
.phone__progress span { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.phone__meta { display: flex; justify-content: space-between; padding: 4px 13px 7px; font-size: 6px; }
.phone__tabs { display: flex; justify-content: space-around; border-block: 1px solid #e6ecf2; color: #6a7787; font-size: 6px; }
.phone__tabs > * { padding: 7px 1px; }
.phone__tabs b { border-bottom: 2px solid var(--blue); color: var(--blue); }
.checklist { display: grid; gap: 0; margin: 0; padding: 3px 10px; list-style: none; }
.checklist li { display: flex; min-height: 39px; align-items: center; gap: 8px; border-bottom: 1px solid #edf1f5; font-size: 6px; }
.checklist i { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #b8c6d4; border-radius: 50%; color: white; font-size: 8px; font-style: normal; }
.checklist li.done i { border-color: var(--green); background: var(--green); }
.checklist li.active i { border-color: #6ba6e0; background: #6ba6e0; }
.checklist span { display: grid; gap: 3px; }
.checklist b { color: #23384e; font-size: 6.5px; }
.checklist small { width: max-content; border-radius: 7px; padding: 1px 4px; background: #f0f3f6; color: #8190a0; font-size: 5px; }
.checklist .done small { background: #e4f6ef; color: var(--green); }
.checklist .active small { background: #e5f2ff; color: var(--blue); }
.phone__screen > button { display: flex; width: calc(100% - 20px); height: 36px; align-items: center; justify-content: center; gap: 6px; margin: 3px 10px 0; border: 0; border-radius: 6px; background: var(--ink); color: white; font-size: 6.5px; font-weight: 700; }
.phone__screen > button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; }

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(24px, 4vw, 72px);
  border-top: 1px solid var(--line);
}

.workflow article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; min-height: 155px; align-items: center; padding: 26px clamp(20px, 3vw, 42px); }
.workflow article + article { border-left: 1px solid var(--line); }
.workflow svg { width: 42px; height: 42px; fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.workflow h2 { margin: 0 0 7px; font-size: 23px; letter-spacing: -0.03em; }
.workflow p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.access-dialog {
  width: min(430px, calc(100% - 32px));
  border: 0;
  border-radius: 18px;
  padding: 40px;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(5, 20, 40, 0.28);
  text-align: center;
}

.access-dialog::backdrop { background: rgba(5, 20, 40, 0.58); backdrop-filter: blur(4px); }
.access-dialog h2 { margin: 16px 0 10px; font-size: 25px; }
.access-dialog p { margin: 0 0 24px; color: var(--muted); line-height: 1.55; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.dialog-close:hover { background: var(--surface-soft); }
.dialog-close svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.dialog-icon { width: 54px; fill: none; stroke: var(--coral); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.dialog-confirm { width: 100%; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1240px) {
  .hero { grid-template-columns: minmax(350px, 0.78fr) minmax(550px, 1.22fr); }
  .hero__actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .hero__actions .button { width: 100%; min-width: 0 !important; }
  .hero__visual { transform: scale(0.91); transform-origin: left center; width: 110%; }
  .phone { right: 2%; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 18px; }
  .hero { grid-template-columns: 1fr; padding-top: 58px; overflow: hidden; }
  .hero__copy { max-width: 690px; }
  .hero__actions { flex-direction: row; max-width: none; }
  .hero__actions .button { width: auto; }
  .hero__visual { width: 100%; height: 570px; transform: none; }
  .laptop { width: 88%; }
  .workflow { grid-template-columns: 1fr; }
  .workflow article + article { border-top: 1px solid var(--line); border-left: 0; }
  .workflow article { min-height: 120px; }
}

@media (max-width: 700px) {
  .site-header { min-height: 72px; grid-template-columns: 1fr auto; padding-inline: 20px; }
  .brand__logo-crop { width: 145px; height: 29px; }
  .brand__logo-crop img { top: -80px; left: -16px; width: 182px; height: 182px; }
  .site-nav { display: none; }
  .header-cta { min-height: 44px; padding: 0 15px; }
  .header-cta svg { display: none; }
  .hero { gap: 12px; padding: 42px 20px 26px; }
  .product-name { margin-bottom: 20px; }
  h1 { font-size: clamp(43px, 13.5vw, 61px); }
  .hero__lead { margin: 22px 0 25px; font-size: 18px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__trust { align-items: flex-start; }
  .hero__visual { height: 430px; margin-top: 14px; }
  .audit-path { left: 18%; top: -36px; width: 88%; height: 155px; }
  .path-check { top: -16px; right: 13%; width: 48px; height: 48px; }
  .path-note { display: none; }
  .laptop { top: 75px; left: 0; width: 102%; }
  .laptop__screen { grid-template-columns: 88px 1fr; height: 300px; border-width: 8px; }
  .app-sidebar { padding: 12px 6px 9px; }
  .app-brand { margin: 0 4px 12px; font-size: 8px; }
  .app-brand svg { width: 17px; }
  .side-link { min-height: 25px; gap: 5px; padding-inline: 6px; font-size: 6.5px; }
  .side-link svg, .app-settings svg { width: 10px; }
  .app-settings { gap: 5px; padding-inline: 6px; font-size: 6px; }
  .app-content { padding: 11px 10px; }
  .app-topbar h2 { font-size: 12px; }
  .app-user { font-size: 5px; }
  .app-user span { width: 16px; height: 16px; font-size: 5px; }
  .app-filters { grid-template-columns: 1fr 82px; gap: 6px; margin-top: 7px; }
  .search-field { height: 22px; padding-inline: 6px; }
  .search-field input, .app-filters > button { font-size: 5px; }
  .app-tabs { gap: 8px; margin-top: 5px; }
  .app-tabs button { height: 22px; font-size: 5px; }
  .audit-table { margin-top: 5px; }
  .table-row { min-height: 25px; padding-inline: 6px; font-size: 5px; }
  .status { padding: 2px 3px; font-size: 4px; }
  .progress { width: 25px; height: 3px; }
  .app-summary { margin-top: 6px; gap: 5px; }
  .app-summary > div { min-height: 57px; padding: 5px; }
  .summary-title { margin-bottom: 3px; font-size: 5px; }
  .evidence__thumb svg { width: 42px; height: 30px; }
  .evidence__thumb p, .evidence__thumb strong, .next-step p, .next-step a { font-size: 4.5px; }
  .evidence__thumb small { font-size: 4px; }
  .next-step i { min-width: 14px; height: 14px; }
  .phone { top: 156px; right: -5px; width: 127px; height: 250px; border-width: 5px; border-radius: 23px; }
  .phone__screen { border-radius: 17px; }
  .phone__status { height: 17px; padding: 5px 8px 0; font-size: 4px; }
  .phone__title { padding: 7px 6px 4px; font-size: 7px; }
  .phone__title p { font-size: 5px; }
  .phone__title small, .phone__tabs, .phone__meta { font-size: 4px; }
  .checklist { padding-inline: 6px; }
  .checklist li { min-height: 26px; gap: 5px; }
  .checklist i { width: 11px; height: 11px; font-size: 5px; }
  .checklist b { font-size: 4.3px; }
  .checklist small { font-size: 3.5px; }
  .phone__screen > button { height: 24px; margin-inline: 7px; width: calc(100% - 14px); font-size: 4px; }
  .workflow { margin-inline: 20px; }
  .workflow article { grid-template-columns: 44px 1fr; gap: 15px; padding: 25px 4px; }
  .workflow article + article { border-top: 1px solid var(--line); }
  .workflow svg { width: 36px; }
  .workflow h2 { font-size: 20px; }
  .access-dialog { padding: 36px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
