/* KP style (commercial proposal v4): navy and light sheets, solid blue accent, thin borders. */
:root {
  --navy: #0a0f1c;
  --navy-card: #111a2e;
  --navy-line: #222b3f;
  --light: #f4f5f7;
  --light-line: #e3e6eb;
  --white: #ffffff;
  --blue: #1f6be0;
  --blue-light: #3b8bef;
  --blue-hover: #1859bd;
  --muted-on-dark: #b4bccd;
  --muted-on-light: #4a5264;
  --error: #b42318;
  --radius: 8px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--navy); font: 17px/1.6 var(--font); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; }
h1 { font-size: clamp(34px, 7.4vw, 76px); line-height: 1.06; letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.nowrap { white-space: nowrap; }
.accent { color: var(--blue-light); }
.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }
.narrow { max-width: 920px; }
.dark { background: var(--navy); color: var(--white); }
.light { background: var(--light); color: var(--navy); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.intro { margin-top: 16px; font-size: 18px; color: var(--muted-on-light); }
.dark .intro { color: var(--muted-on-dark); }

.skip { position: absolute; left: 12px; top: -100px; z-index: 10; padding: 12px 16px; background: var(--white); color: var(--navy); }
.skip:focus { top: 12px; }

.header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; border-bottom: 1px solid var(--navy-line); }
.brand { font-size: 20px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.product-tag { font: 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); white-space: nowrap; }
.product-tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--blue-light); vertical-align: 1px; }

.hero { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 88px); }
.lead { max-width: 720px; margin-top: 20px; text-wrap: pretty; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--muted-on-dark); }
.video { position: relative; margin-top: 32px; overflow: hidden; border: 1px solid var(--navy-line); border-radius: var(--radius); background: #232222; aspect-ratio: 16 / 9; }
.video img, .video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video img { object-fit: cover; object-position: 50% 9%; }
.video.has-video { aspect-ratio: 16 / 9; }
.video figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px; background: rgb(10 15 28 / .92); border-top: 1px solid var(--navy-line); font-size: 16px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 28px; }
.quiet-link { display: inline-block; padding-block: 8px; color: var(--white); font-weight: 600; text-decoration: underline; }
.quiet-link:hover { color: var(--blue-light); }

.button { display: inline-block; min-height: 56px; padding: 15px 28px; border: 1px solid var(--blue); border-radius: var(--radius); background: var(--blue); color: var(--white); font: 600 18px/1.3 var(--font); text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button:disabled { cursor: wait; opacity: .65; }
.button.secondary { background: var(--white); color: var(--blue); }
.button.secondary:hover { background: var(--light); }

.criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.criteria > div { padding: 28px; background: var(--white); border: 1px solid var(--light-line); border-radius: var(--radius); }
.criteria dt { font: 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.criteria dd { margin-top: 16px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.note { margin-top: 16px; padding: 16px 20px; border: 1px dashed #9fb8dd; border-radius: var(--radius); }
.note a { color: var(--blue); font-weight: 600; }

.call { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; margin-top: 32px; align-items: start; }
.points { border-top: 1px solid var(--navy-line); }
.points > div { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 8px 24px; padding-block: 24px; border-bottom: 1px solid var(--navy-line); }
.points dt { font-weight: 700; line-height: 1.4; }
.points dd { color: var(--muted-on-dark); }
.platform { padding: 28px; background: var(--navy-card); border: 1px solid var(--blue); border-radius: var(--radius); }
.platform p { margin-top: 16px; color: var(--muted-on-dark); }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; align-items: start; }
.card { padding: clamp(20px, 3.4vw, 40px); background: var(--white); border: 1px solid var(--light-line); border-radius: 12px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field { min-width: 0; margin-bottom: 18px; }
.field.wide { grid-column: 1 / -1; }
.field > label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #8f97a8; border-radius: var(--radius); background: var(--white); color: var(--navy); font: 16px/1.4 var(--font); }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #626a7c; }
[aria-invalid="true"] { border-color: var(--error); outline: 1px solid var(--error); }
.field-error { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--error); }
.consent { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.consent input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--blue); }
.consent label { font-size: 15px; line-height: 1.45; }
.consent a { color: var(--blue); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-failure { margin-bottom: 16px; padding: 16px; border: 1px solid var(--error); border-radius: var(--radius); }
.form-failure p { margin-bottom: 12px; color: var(--error); font-size: 15px; }
.submit { width: 100%; }
.script-fallback { margin-top: 12px; font-size: 14px; text-align: center; }
.script-fallback a { color: var(--blue); }
.done:focus { outline: none; }
.done p { margin-block: 12px 24px; color: var(--muted-on-light); }
.noscript { margin-bottom: 20px; font-weight: 600; }

footer { border-top: 1px solid var(--navy-line); }
.footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 44px; align-items: start; font-size: 14px; }
.footer p { color: var(--muted-on-dark); }
.footer nav { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer nav a { padding-block: 6px; }
.footer nav > span { margin-top: 12px; font-size: 13px; color: var(--muted-on-dark); }

/* Wide screens: the hero is one centred column (headline, offer, video, buttons). */
@media (min-width: 861px) {
  .hero .narrow { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .video { text-align: left; }
  .actions { justify-content: center; }
}

@media (max-width: 860px) {
  .call, .form-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header { min-height: 68px; }
  .brand { font-size: 17px; }
  .product-tag { font-size: 10px; letter-spacing: .08em; }
  .video { aspect-ratio: 4 / 5; }
  .video img { object-position: 50% 0; }
  .actions { flex-direction: column; align-items: stretch; }
  .quiet-link { text-align: center; }
  .button { padding-inline: 18px; font-size: 17px; }
  .criteria, .grid, .footer { grid-template-columns: minmax(0, 1fr); }
  .points > div { grid-template-columns: minmax(0, 1fr); }
  .footer nav { align-items: flex-start; text-align: left; }
}

/* iOS 14 and older have no aspect-ratio: keep the slot from collapsing. */
@supports not (aspect-ratio: 1 / 1) {
  .video::before { content: ""; display: block; padding-top: 56.25%; }
  @media (max-width: 600px) {
    .video::before { padding-top: 125%; }
    .video.has-video::before { padding-top: 56.25%; }
  }
}

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