/*
  Focused product landing page (templates/products/landing.html).
  The Automation Readiness Scorecard design: one offer, one form, nothing
  else to click. Standalone on purpose - it does not load the site's
  Tailwind bundle, so it stays small for people arriving from Instagram on
  a phone. Fonts are self-hosted (the site's CSP allows no font CDNs).
*/
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
  --navy: #050b19;
  --surface: rgba(124, 196, 248, .07);
  --border: rgba(124, 196, 248, .16);
  --text: #f2f6ff;
  --dim: #9fb0d0;
  --muted: #7b8aa8;
  --blue: #4a8bf8;
  --blue-l: #7cc4f8;
  --orange: #ff8a3d;
  --grad: linear-gradient(90deg, #4a8bf8, #7cc4f8);
  --maxw: 560px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--navy); color: var(--text);
  font-family: Manrope, system-ui, -apple-system, sans-serif;
  line-height: 1.5; overflow-x: hidden; min-height: 100vh;
}
a { color: inherit; }

.orb { position: fixed; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.orb.a { width: 520px; height: 520px; left: -180px; top: -120px; background: radial-gradient(circle, rgba(24, 72, 184, .40), transparent 68%); }
.orb.b { width: 420px; height: 420px; right: -160px; bottom: -140px; background: radial-gradient(circle, rgba(74, 139, 248, .22), transparent 70%); }

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 40px 20px 56px; }
.brand { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 700; text-decoration: none; }
h1 { font-size: clamp(31px, 8.4vw, 44px); font-weight: 800; letter-spacing: -.042em; line-height: 1.04; margin-top: 14px;
     text-wrap: balance; }  /* no lone word left on a line at phone widths */
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(15px, 4vw, 17px); color: var(--dim); margin-top: 16px; font-weight: 500; text-wrap: pretty; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 22px 54px rgba(3, 7, 18, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
  padding: 24px 20px; margin-top: 28px;
}
.points { list-style: none; margin-top: 4px; }
.points li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 15px; font-weight: 500; }
.points li + li { border-top: 1px solid rgba(124, 196, 248, .10); }
.points li svg { flex: none; margin-top: 3px; }
.points b { font-weight: 800; }

form { margin-top: 10px; }
.points + form { margin-top: 18px; }
.label { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.field + .field { margin-top: 10px; }
.field input {
  width: 100%; padding: 15px 16px; font-size: 16px; font-family: inherit; font-weight: 500;
  color: var(--text); background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border); border-radius: 12px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #64748b; }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(74, 139, 248, .16); }
.field input[aria-invalid="true"] { border-color: var(--orange); }
.field-error { color: var(--orange); font-size: 13px; font-weight: 600; margin-top: 6px; }

.cta {
  width: 100%; margin-top: 14px; padding: 16px; font-family: inherit; font-size: 16px; font-weight: 800;
  letter-spacing: -.01em; color: #fff; background: var(--grad); border: 0; border-radius: 12px; cursor: pointer;
  transition: transform .12s, filter .15s;
}
.cta:hover { filter: brightness(1.07); }
.cta:active { transform: scale(.985); }
.cta:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 3px; }

.fine { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; font-weight: 500; }
.fine a { color: var(--dim); }
.alert {
  color: var(--orange); font-size: 13.5px; font-weight: 600; text-align: center;
  background: rgba(255, 138, 61, .08); border: 1px solid rgba(255, 138, 61, .25);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 16px;
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.cover {
  margin-top: 28px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 22px 54px rgba(3, 7, 18, .5);
}
.cover img { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; }

.sig { display: flex; align-items: center; gap: 13px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(124, 196, 248, .12); }
.sig .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); flex: none; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 16px; }
.sig .n { font-size: 14.5px; font-weight: 800; }
.sig .r { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sig .r a { text-decoration: none; }
.sig .r a:hover { color: var(--dim); }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.ok { text-align: center; padding: 12px 0 4px; }
.ok .tick { width: 58px; height: 58px; border-radius: 50%; background: rgba(74, 139, 248, .16); margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.ok h2 { font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.ok p { color: var(--dim); margin-top: 10px; font-size: 15px; font-weight: 500; }
.ok .again { display: inline-block; margin-top: 18px; font-size: 13.5px; color: var(--muted); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .card, h1, .lede { animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
  .lede { animation-delay: .05s; }
  .card { animation-delay: .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
}
