/*
  ASK FMIS marketing site. Same palette, type and icon geometry as the product, so the page
  and the screenshots read as one thing. No external fonts, no frameworks.
*/

:root {
  --indigo: #3d4fdb;
  --indigo-strong: #2f3fbb;
  --blue: #2b63c9;
  --teal: #12a594;
  --teal-strong: #0d8577;
  --ink-900: #0d1424;
  --ink-800: #16203a;
  --ink-700: #26324f;
  --ink-500: #57648a;
  --ink-400: #7c88ab;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --surface-3: #eceff7;
  --line: #dfe3ee;
  --line-strong: #c7cddf;
  --indigo-soft: #eceefd;
  --teal-soft: #e0f5f2;
  --danger: #c8372c;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-1: 0 1px 2px rgba(13, 20, 36, 0.06), 0 1px 3px rgba(13, 20, 36, 0.04);
  --shadow-2: 0 8px 24px rgba(13, 20, 36, 0.08), 0 2px 6px rgba(13, 20, 36, 0.05);
  --shadow-3: 0 24px 60px rgba(13, 20, 36, 0.16), 0 6px 16px rgba(13, 20, 36, 0.06);
  --gradient: linear-gradient(135deg, #3d4fdb 0%, #2b63c9 55%, #12a594 100%);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink-900: #f2f5fb;
    --ink-800: #e4e9f4;
    --ink-700: #ccd4e6;
    --ink-500: #9aa5c1;
    --ink-400: #7b87a6;
    --surface: #111827;
    --surface-2: #0b1120;
    --surface-3: #1b2436;
    --line: #26314a;
    --line-strong: #34405c;
    --indigo: #7483f0;
    --indigo-strong: #8b98f5;
    --indigo-soft: #1c2349;
    --teal: #34c2b0;
    --teal-soft: #0f2d2c;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-3: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-strong); }
h1, h2, h3 { color: var(--ink-900); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--ink-900);
  color: var(--surface);
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--indigo) 55%, transparent); outline-offset: 2px; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; }
.brand:hover { color: var(--ink-900); }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--ink-500); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--ink-900); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--indigo); color: #ffffff; box-shadow: 0 6px 18px color-mix(in srgb, var(--indigo) 32%, transparent); }
.btn-primary:hover { background: var(--indigo-strong); color: #ffffff; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink-900); }
.btn-ghost:hover { border-color: var(--ink-400); color: var(--ink-900); }
.btn-light { background: #ffffff; color: #2f3fbb; }
.btn-light:hover { background: #eef0ff; color: #2f3fbb; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 15px; }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 480px at 88% -10%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 70%),
    radial-gradient(760px 520px at -8% 20%, color-mix(in srgb, var(--indigo) 14%, transparent), transparent 70%),
    var(--surface-2);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 750; letter-spacing: -0.025em; }
.hero h1 .accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 20px; font-size: 19px; color: var(--ink-500); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-500); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--teal); }

.hero-visual { position: relative; padding-bottom: 36px; }

.frame {
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--surface-3); border-bottom: 1px solid var(--line); }
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.frame img { width: 100%; }

.phone {
  width: 190px;
  padding: 7px;
  border-radius: 30px;
  background: #0d1424;
  box-shadow: var(--shadow-3);
}
.phone img { border-radius: 24px; width: 100%; }

.hero-visual .phone { position: absolute; right: -14px; bottom: 0; }

/* ------------------------------------------------------------------ sections */

.section { padding: 96px 0; }
.section-alt { background: var(--surface-2); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 720; letter-spacing: -0.02em; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--ink-500); }
.kicker { display: block; margin-bottom: 10px; color: var(--teal); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Feature cards */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card h3 { margin-top: 18px; font-size: 18.5px; font-weight: 650; }
.card p { margin-top: 8px; font-size: 15.5px; color: var(--ink-500); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--indigo-soft);
  color: var(--indigo);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.teal { background: var(--teal-soft); color: var(--teal); }

/* The flow of a report */

.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: stap; }
.flow li { position: relative; padding-top: 62px; counter-increment: stap; }
.flow li::before {
  content: counter(stap);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--indigo);
  color: var(--indigo);
  font-weight: 700;
  z-index: 1;
}
.flow li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -10px; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--teal)); opacity: 0.35; }
.flow li:last-child::after { display: none; }
.flow li:last-child::before { border-color: var(--teal); color: var(--teal); }
.flow h3 { font-size: 18px; font-weight: 650; }
.flow-shot { max-width: 1000px; margin: 64px auto 0; }
.flow p { margin-top: 6px; font-size: 15.5px; color: var(--ink-500); }

/* Showcase rows: text on one side, the product on the other */

.showcase { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.showcase + .showcase { margin-top: 110px; }
.showcase.flip .showcase-text { order: 2; }
.showcase h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 720; letter-spacing: -0.02em; }
.showcase-text > p { margin-top: 14px; font-size: 18px; color: var(--ink-500); }

.ticks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks svg { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); }

.phones { display: flex; justify-content: center; gap: 28px; }
.phones .phone { width: 250px; }
.phones .phone:last-child { margin-top: 56px; }

/* Security grid */

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fact { padding: 22px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); }
.fact .icon-tile { width: 40px; height: 40px; border-radius: 11px; }
.fact .icon-tile svg { width: 21px; height: 21px; }
.fact h3 { margin-top: 14px; font-size: 16.5px; font-weight: 650; }
.fact p { margin-top: 6px; font-size: 15px; color: var(--ink-500); }

/* Price band */

.price {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 40px;
  align-items: center;
  padding: 52px 56px;
  border-radius: 28px;
  background: var(--gradient);
  color: #e8ecff;
}
.price::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, 0.08);
}
.price h2 { color: #ffffff; font-size: clamp(28px, 3.2vw, 38px); font-weight: 720; letter-spacing: -0.02em; }
.price p { margin-top: 12px; font-size: 18px; max-width: 36em; }
.price .kicker { color: #bff3eb; }
.price .actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.price .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #ffffff; background: transparent; }
.price .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* Contact */

.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.contact-text h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 720; letter-spacing: -0.02em; }
.contact-text > p { margin-top: 14px; font-size: 18px; color: var(--ink-500); }

.details { margin: 28px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15.5px; }
.details dt { color: var(--ink-400); }
.details dd { margin: 0; color: var(--ink-900); }

.form-card { padding: 32px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink-900); }
.field label .opt { font-weight: 400; color: var(--ink-400); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--ink-900);
  font: inherit;
  font-size: 16px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 22%, transparent); }
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: var(--danger); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.form-note { flex: 1 1 240px; font-size: 14px; color: var(--ink-400); }

.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--teal-soft); color: var(--ink-900); font-size: 15px; }
.form-status[hidden] { display: none; }
.form-status p + p { margin-top: 6px; }
.form-status .btn { margin-top: 10px; }

/* Hidden field that only bots fill in */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ footer */

.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-500); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer .brand { font-size: 16px; }
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--ink-500); }
.site-footer a:hover { color: var(--ink-900); }
.legal { flex-basis: 100%; font-size: 13.5px; color: var(--ink-400); }

/* ------------------------------------------------------------------ 404 */

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: 40px; }
.notfound p { margin: 12px 0 28px; color: var(--ink-500); }

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1060px) {
  .hero .wrap, .showcase, .contact { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .showcase.flip .showcase-text { order: 0; }
  .hero-visual { max-width: 720px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow li { padding: 0 0 30px 64px; min-height: 74px; }
  .flow li::after { top: 48px; bottom: 4px; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--indigo), var(--teal)); }
  .price { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }
  .price .actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-nav { display: none; }
  .site-header .wrap { gap: 12px; justify-content: space-between; }
  .hero { padding: 48px 0 64px; }
  .hero .lead { font-size: 17.5px; }
  .hero-visual { padding-bottom: 28px; }
  .hero-visual .phone { width: 128px; right: -4px; border-radius: 22px; padding: 5px; }
  .hero-visual .phone img { border-radius: 18px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
  .cards, .facts, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .showcase + .showcase { margin-top: 72px; }
  .phones { gap: 14px; }
  .phones .phone { width: min(46%, 220px); border-radius: 24px; padding: 5px; }
  .phones .phone img { border-radius: 20px; }
  .phones .phone:last-child { margin-top: 36px; }
  .form-card { padding: 22px; }
  .price { padding: 34px 22px; border-radius: 22px; }
}
