:root {
  --bg: #f5f7fb;
  --ink: #17202a;
  --muted: #5f6c7d;
  --line: #d9e0ea;
  --panel: #ffffff;
  --navy: #182944;
  --blue: #2257a7;
  --cyan: #0f8fa8;
  --green: #2f9e55;
  --yellow: #d59a00;
  --red: #d94848;
  --shadow: 0 16px 38px rgba(25, 36, 52, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(217, 224, 234, .88);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 14px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

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

.header-action,
.primary-action,
.secondary-action,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.secondary-action,
.secondary {
  color: var(--navy);
  background: #e7ecf4;
}

.header-action { min-height: 38px; }

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(360px, .82fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(36px, 6vw, 84px) clamp(18px, 4vw, 54px) 42px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(24, 41, 68, .97), rgba(24, 41, 68, .80)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Crect width='1200' height='800' fill='%23182944'/%3E%3Cg fill='none' stroke='%234a82c9' stroke-opacity='.28' stroke-width='2'%3E%3Cpath d='M70 170h250v150H70zM410 95h310v190H410zM820 160h260v150H820zM190 455h330v185H190zM650 420h380v220H650z'/%3E%3Cpath d='M320 240h90M720 205h100M520 520h130'/%3E%3C/g%3E%3Cg fill='%230f8fa8' fill-opacity='.32'%3E%3Ccircle cx='320' cy='240' r='8'/%3E%3Ccircle cx='720' cy='205' r='8'/%3E%3Ccircle cx='650' cy='520' r='8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: inherit;
  opacity: .75;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1, h2, h3 { margin: 0; letter-spacing: 0; }

h1 {
  max-width: 820px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
}

h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.06;
}

h3 { font-size: 17px; }

.lead {
  max-width: 680px;
  margin: 22px 0;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.disclaimer {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.45;
}

.product-visual {
  display: grid;
  gap: 14px;
  align-self: stretch;
  align-content: center;
  min-height: 440px;
}

.image-visual {
  min-height: 0;
}

.image-visual img,
.module-image img {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 24px 54px rgba(0,0,0,.22);
}

.platform-band {
  width: min(1180px, calc(100% - 28px));
  margin: -32px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.platform-band article {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.platform-band p {
  color: var(--muted);
  line-height: 1.45;
}

.legacy-preview {
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto 0;
  display: none;
}

.image-module-section {
  align-items: center;
}

.module-image img {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.mail-list,
.risk-preview {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 54px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}

.mail-list { padding: 14px; }

.mail-row {
  display: block;
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, .12);
  font-weight: 800;
}

.mail-row:last-child { margin-bottom: 0; }
.safe { border-left: 5px solid var(--green); }
.warning { border-left: 5px solid var(--yellow); }
.danger { border-left: 5px solid var(--red); }

.risk-preview {
  padding: 18px;
}

.risk-preview strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 28px;
}

.risk-preview p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.82);
  line-height: 1.45;
}

.trust-strip {
  width: min(1180px, calc(100% - 28px));
  margin: -24px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip span {
  padding: 18px;
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 72px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 34px;
}

.section p,
.split-section p {
  color: var(--muted);
  line-height: 1.6;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading .eyebrow,
.split-section .eyebrow,
.download-section .eyebrow {
  color: var(--blue);
  opacity: 1;
}

.feature-grid,
.offer-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
}

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

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

article,
.download-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

article {
  padding: 18px;
}

article strong {
  display: block;
  font-size: 19px;
}

article p { margin: 10px 0 0; }

.price,
.pricing-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 900;
}

.demo-section {
  width: 100%;
  padding: 76px clamp(14px, 4vw, 54px) 0;
}

.scan-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 18px;
  align-items: start;
}

.scan-form,
.result-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.scan-form {
  padding: 22px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  color: #253247;
  font-weight: 800;
  font-size: 14px;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid #bfc8d6;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea { resize: vertical; min-height: 180px; }
textarea:focus, input:focus, select:focus {
  outline: 3px solid rgba(34, 87, 167, .18);
  border-color: var(--blue);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.result-panel {
  padding: 22px;
  position: sticky;
  top: 86px;
}

.traffic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  height: 22px;
  margin-bottom: 18px;
}

.traffic span {
  border-radius: 999px;
  background: #d4d9e2;
}

.traffic-green span:first-child { background: var(--green); }
.traffic-yellow span:nth-child(2) { background: var(--yellow); }
.traffic-red span:last-child { background: var(--red); }

.result-label {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.result-summary {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.score-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
}

.score-box span { color: var(--muted); font-weight: 800; }
.score-box strong { font-size: 32px; }

.result-block {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}

.result-block h3 { margin-bottom: 10px; }

ul {
  padding-left: 20px;
  margin: 0;
}

li { margin: 8px 0; line-height: 1.45; }

#recommendation {
  margin: 0;
  line-height: 1.5;
}

.report-button {
  width: 100%;
  margin-top: 18px;
  background: #26394f;
}

.download-section,
.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  margin-top: 72px;
}

.download-section p {
  max-width: 660px;
  margin: 10px 0 0;
}

.contact-section {
  align-items: flex-start;
}

.contact-section > div {
  max-width: 430px;
}

.contact-form {
  flex: 1;
  min-width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.checkline input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  color: var(--muted);
  align-self: center;
}

.legal-page {
  width: min(920px, calc(100% - 28px));
  margin: 34px auto 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 38px);
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
}

.legal-page h2 {
  margin-top: 28px;
  font-size: 24px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-note {
  border-left: 4px solid var(--yellow);
  padding: 12px;
  background: #fff8e6;
}

footer {
  width: min(1180px, calc(100% - 28px));
  margin: 46px auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

footer strong { color: var(--ink); }

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav { display: none; }

  .hero,
  .split-section,
  .scan-panel,
  .feature-grid,
  .offer-grid,
  .pricing-grid,
  .field-row,
  .trust-strip,
  .platform-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-visual {
    min-height: 0;
  }

  .result-panel { position: static; }
  .download-section,
  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .header-action { display: none; }
  .hero-actions a { width: 100%; }
}

@media print {
  body { background: #fff; }
  .site-header, .hero, .trust-strip, .section:not(.demo-section), footer, .scan-form, .report-button { display: none; }
  .demo-section { padding: 0; }
  .scan-panel { display: block; }
  .result-panel { box-shadow: none; border: 0; }
}
