/* promptsecops.com / promptsecops.ai splash. Generated from the Necio app's
   frontend/src/components/landing/marketing.module.css — keep the two in step.
   The site CSP (Cloudflare) forbids inline styles, so every style lives here. */

.page {
  --bg: #f6f5f2;
  --card: #ffffff;
  --ink: #0f1a3a;
  --ink-soft: #5b6275;
  --accent: #1f3a8a;
  --accent-soft: #e6ebf7;
  --line: #e4e2dc;
  --pass: #1f8a4c;
  --fail: #c2412d;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}
.page *, .page *::before, .page *::after { box-sizing: border-box; }
.page h1, .page h2, .page h3, .page h4, .page p, .page ul, .page blockquote { margin: 0; padding: 0; }
.page a { color: var(--accent); }
.page img { max-width: 100%; height: auto; display: block; }

/* ---------- Nav + menu ---------- */
.header { position: sticky; top: 0; z-index: 30; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.nav { max-width: 1160px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-size: 28px; display: flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none; }
.logo img { border-radius: 8px; }
.navRight { display: flex; gap: 10px; align-items: center; }
.btnGhost { font-size: 14px; color: var(--ink) !important; text-decoration: none; padding: 10px 14px; }
.btnPill { font: 500 14px var(--sans); color: #fff !important; background: var(--accent); border: 0; border-radius: 999px; padding: 10px 18px; text-decoration: none; cursor: pointer; display: inline-block; }
.btnBig { font-size: 16px; padding: 14px 26px; }

.menu { position: fixed; inset: 0; z-index: 50; background: rgba(15,26,58,0.18); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.menuOpen { opacity: 1; pointer-events: auto; }
.menuCard { position: relative; background: var(--card); border-radius: 32px; width: min(460px, 100%);
  padding: 72px 24px 48px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: 0 30px 80px rgba(15,26,58,0.2); transform: translateY(12px); transition: transform .3s; }
.menuOpen .menuCard { transform: none; }
.menuCard a { font-family: var(--serif); font-size: 40px; line-height: 1.15; color: var(--ink); text-decoration: none; }
.menuCard a:hover, .menuCard a.current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menuCard a.menuSmall { font-family: var(--sans); font-size: 16px; margin-top: 18px; color: var(--accent); }
.menuClose { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--bg); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }

/* ---------- Home: hero ---------- */
.hero { text-align: center; padding: 56px 24px 0; }
.heroKicker { display: inline-block; font-size: 14px; font-weight: 500; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 8px 16px; margin-bottom: 26px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 10vw, 120px); line-height: 0.95; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.heroSub { margin: 22px auto 0 !important; max-width: 620px; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--ink-soft); }

.stage { position: relative; max-width: 1040px; margin: 48px auto 0; border-radius: 32px; overflow: hidden; min-height: 520px;
  background: radial-gradient(1200px 500px at 20% 0%, #dfe6fb 0%, transparent 60%), radial-gradient(900px 500px at 100% 100%, #e9e3f7 0%, transparent 55%), #eef0f6;
  border: 1px solid var(--line); }
.bubble { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; font-size: 14px; line-height: 1.4;
  max-width: 290px; text-align: left; box-shadow: 0 10px 30px rgba(15,26,58,0.06); animation: float 9s ease-in-out infinite; }
.bubble small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 4px; }
.grade { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pass { background: #e3f4ea; color: var(--pass); }
.fail { background: #fbe7e3; color: var(--fail); }
.b1 { top: 40px; left: 40px; }
.b2 { top: 70px; right: 44px; animation-delay: -3s; }
.b3 { bottom: 48px; left: 70px; animation-delay: -5s; }
.b4 { bottom: 70px; right: 60px; animation-delay: -1.5s; }
.score { font-family: var(--serif); font-size: 34px; line-height: 1; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ask { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, calc(100% - 32px));
  background: var(--card); border-radius: 22px; padding: 10px 10px 10px 24px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 30px 80px rgba(15,26,58,0.16), 0 0 0 1px var(--line); }
.ask p { flex: 1; font-size: 17px; color: var(--ink); text-align: left; line-height: 1.35; }
.ask a, .dock a { background: var(--accent); color: #fff !important; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ask a { border-radius: 16px; font-size: 15px; padding: 14px 20px; }
.askHint { position: absolute; left: 50%; top: calc(50% + 58px); transform: translateX(-50%); font-size: 13px; color: var(--ink-soft); white-space: nowrap; }

/* ---------- Home: blur reveal ---------- */
.reveal { position: relative; }
.revealInner { min-height: 80vh; display: grid; place-items: center; padding: 120px 24px; }
.revealText { max-width: 980px; text-align: center; font-family: var(--serif); font-size: clamp(40px, 6.4vw, 84px); line-height: 1.08; letter-spacing: -0.015em; }
.word { display: inline-block; filter: blur(12px); opacity: 0.12; transition: filter .7s ease, opacity .7s ease; will-change: filter, opacity; }
.revealed .word { filter: blur(0); opacity: 1; }
.wordAccent { color: var(--accent); font-style: italic; }
.revealMark { display: inline-block; width: 0.9em; height: 0.9em; border-radius: 50%; vertical-align: -0.1em; }
.revealPill { display: inline-grid; place-items: center; width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 0.5em; vertical-align: 0.15em; }

/* ---------- Home: explainer ---------- */
.explain { max-width: 1040px; margin: 0 auto; padding: 40px 24px 140px; }
.explain h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin-top: 12px; max-width: 760px; }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.chipsDark span { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.spark { margin-top: 18px; height: 46px; width: 100%; max-width: 240px; }
.realistic { margin-top: 20px; background: var(--ink); color: #fff; border-radius: 26px; padding: 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.realistic h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.realistic p { color: #c5cbe0; line-height: 1.6; font-size: 16px; }
.realisticQuote { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); text-align: center; }
.realisticQuote blockquote { margin: 0 auto; max-width: 820px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; color: #fff; }
.realisticQuote figcaption { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb3ff; }
.realisticQuote figcaption::before { content: "— "; }
.privacy { margin-top: 20px; border-radius: 26px; padding: 48px 32px; color: #fff; text-align: center;
  background: radial-gradient(1px 1px at 20% 30%, #fff8 50%, transparent 51%), radial-gradient(1px 1px at 70% 20%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 70%, #fff5 50%, transparent 51%), radial-gradient(1px 1px at 85% 60%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 80%, #fff5 50%, transparent 51%), linear-gradient(180deg, #0b1230 0%, #1f3a8a 100%); }
.lock { width: 76px; height: 76px; border-radius: 50%; background: #f1f1f4; display: grid; place-items: center; margin: 0 auto; }
.privacy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 48px); margin-top: 22px; }
.privacyCols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; text-align: left; }
.privacy h4 { font-size: 17px; font-weight: 600; }
.privacy p { margin-top: 8px; color: #c5cbe0; line-height: 1.6; font-size: 16px; }

.dock { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); width: min(560px, calc(100% - 32px));
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-radius: 18px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 16px 50px rgba(15,26,58,0.16), 0 0 0 1px var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1); z-index: 40; }
.dockShow { transform: translate(-50%, 0); }
.dock p { flex: 1; font-size: 15px; color: var(--ink); }
.dock a { border-radius: 12px; font-size: 14px; padding: 10px 16px; }

/* ---------- Inner pages ---------- */
.main { max-width: 1040px; margin: 0 auto; padding: 40px 24px 120px; }
.pageHead { text-align: center; padding: 40px 0 56px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.pageHead h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 96px); line-height: 1; letter-spacing: -0.02em; margin-top: 14px; }
.lead { margin: 22px auto 0 !important; max-width: 680px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--ink-soft); }
.section { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; margin: 88px 0 12px !important; }
.sectionLead { color: var(--ink-soft); font-size: 17px; line-height: 1.6; max-width: 720px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.card p { margin-top: 12px; color: var(--ink-soft); line-height: 1.6; font-size: 16px; }
.grid { display: grid; gap: 20px; margin-top: 32px; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.beta { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }

.dark { background: linear-gradient(180deg, #0b1230 0%, #1f3a8a 100%); color: #fff; border: 0; }
.dark h3 { color: #fff; font-size: 40px; margin-top: 10px; }
.dark p { color: #c5cbe0; }
.dark a { color: #fff; }
.dark .kicker { color: #9fb3ff; }

.shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.quote { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; text-align: center; max-width: 820px; margin: 80px auto 0 !important; }
.quoteTop { margin-top: 0 !important; }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--ink-soft); margin-top: 16px; }

.video { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-top: 24px; }
.videoThumb { position: relative; overflow: hidden; width: 100%; border: 0; padding: 0; cursor: pointer; aspect-ratio: 16/9; border-radius: 20px; background: radial-gradient(600px 300px at 30% 20%, #3b5bd0, #0b1230); display: grid; place-items: center; text-decoration: none; }
.videoFrame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--accent); font-size: 26px; padding-left: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }

.article { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; margin-top: 72px; scroll-margin-top: 104px; }
.articleFlip .articleCard { order: -1; }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.article h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; margin-top: 10px; }
.article p { margin-top: 14px; color: var(--ink-soft); line-height: 1.65; font-size: 16px; }
.note { font-size: 14px !important; font-style: italic; }
.readRow { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 14px; font-size: 16px; }
.share { display: flex; align-items: center; gap: 16px; }
.share a { display: inline-flex; width: 22px; height: 22px; color: var(--ink) !important; opacity: 0.85; transition: opacity 0.15s, color 0.15s; }
.share a:hover, .share a:focus-visible { opacity: 1; color: var(--accent) !important; }
.share svg { width: 100%; height: 100%; fill: currentColor; }
.share .shareKnock { fill: var(--bg); }
.articleCard { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink) !important; }
.articleCardBody { padding: 18px 20px 22px; }
.articleCard small { font-size: 12px; color: var(--ink-soft); }
.articleCard h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin-top: 6px; }

.priceCard { max-width: 680px; margin: 0 auto; }
.price { font-family: var(--serif); font-size: 96px !important; line-height: 1 !important; margin-top: 10px !important; color: var(--ink) !important; }
.price span { display: block; font-family: var(--sans); font-size: 15px; color: var(--ink-soft); margin-top: 8px; }
.priceList { list-style: none; margin: 28px 0 !important; display: grid; gap: 14px; }
.priceList li { padding-left: 30px; position: relative; line-height: 1.55; color: var(--ink-soft); }
.priceList li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.priceList strong { color: var(--ink); }
.fine { font-size: 14px !important; color: var(--ink-soft); line-height: 1.6; margin-top: 18px !important; }

.contact { max-width: 560px; margin: 0 auto; text-align: center; }
.contact form { display: grid; gap: 12px; margin-top: 18px; text-align: left; }
.contact input, .contact textarea { font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--card); color: var(--ink); }
.formMessage { margin-top: 12px !important; font-size: 14px; color: var(--ink-soft); }
.socials { display: flex; gap: 16px; justify-content: center; margin-top: 28px; }

.next { display: flex; justify-content: space-between; align-items: center; margin-top: 96px; padding: 28px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink) !important; }
.next small { font-size: 13px; color: var(--ink-soft); display: block; }
.next strong { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }

.footer { border-top: 1px solid var(--line); padding: 32px 24px 48px; text-align: center; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.footer a { color: var(--ink-soft); }

@media (max-width: 820px) {
  .grid3, .grid2, .video, .article, .realistic, .privacyCols { grid-template-columns: 1fr; }
  .articleFlip .articleCard { order: 0; }
  .nav { padding: 16px; }
  .btnGhost { padding: 10px 6px; }
  .logo { font-size: 24px; }
  .b2, .b4 { display: none; }
  .b1 { left: 16px; top: 20px; }
  .b3 { left: 16px; bottom: 20px; }
  .ask { flex-direction: column; align-items: stretch; text-align: center; padding: 18px 12px 12px; }
  .ask p { text-align: center; }
  .ask a { text-align: center; }
  .askHint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; }
  .word { filter: none; opacity: 1; transition: none; }
}

/* Splash-only: replacements for the app's inline style props (CSP forbids style attributes). */
body.page { margin: 0; }
.mt48 { margin-top: 48px; }
.mt28 { margin-top: 28px !important; }
.pt0 { padding-top: 0; }
a.videoThumb { text-decoration: none; }
.logo img { display: inline-block; }

/* Contact form result states. */
.page [hidden] { display: none !important; }
.formMessage { color: var(--fail) !important; font-weight: 500; background: #fbe7e3; border-radius: 12px; padding: 12px 14px; }
.formThanks { margin-top: 18px; padding: 28px 20px; border-radius: 20px; background: #e3f4ea; text-align: center; outline: none; }
.formThanksIcon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--pass); color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.formThanks h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--ink); }
.formThanks p { margin-top: 8px !important; color: var(--ink-soft); line-height: 1.55; }
.formAgain { margin-top: 16px; border: 0; background: none; color: var(--accent); font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Legal pages (privacy-policy, terms, acceptable-use). Text comes from the Necio app via sync_legal.py. */
.legal { max-width: 820px; margin: 0 auto; padding: 44px 48px; }
.legal section + section { margin-top: 44px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.15; margin-bottom: 14px; }
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--ink); margin: 24px 0 6px; }
.legal h2 + p, .legal h2 + h3, .legal h3 + p, .legal section > p:first-child { margin-top: 0; }
.legal ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.legal li { margin-top: 8px; color: var(--ink-soft); line-height: 1.6; font-size: 16px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal address { font-style: normal; margin-top: 12px; }
.legal address p { margin-top: 2px; }
.legal .legalWarn { color: #9a4a06; font-weight: 500; }
.legal .legalCaps { text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; }
.legalMeta { font-size: 15px !important; }
@media (max-width: 820px) {
  .legal { padding: 28px 20px; }
  .legal h2 { font-size: 28px; }
}
