/* Prompt Inspector website. Same palette and type as the extension: pine green is the brand,
   highlighter yellow is reserved for text that was restored, category colors mark what was hidden. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --paper: #f3f5f2; --surface: #ffffff; --surface-2: #f8faf7; --ink: #15201b; --muted: #56655d;
  --line: #dce3dd; --line-strong: #c3cdc5;
  --pine: #0e5a47; --pine-hover: #0a4838; --on-pine: #ffffff; --pine-soft: #e0eee8; --pine-ink: #0e5a47;
  --hl-bg: #ffe45c; --hl-ink: #15201b;
  --shadow: 0 1px 2px rgba(21, 32, 27, .06), 0 18px 48px -18px rgba(21, 32, 27, .22);
  --ring: 0 0 0 3px rgba(14, 90, 71, .35);

  --people-bg: #dce8ff;    --people-fg: #1d3e8a;
  --contact-bg: #d3f0e9;   --contact-fg: #0b5c4b;
  --addresses-bg: #e6e0fa; --addresses-fg: #4a2f9a;
  --ids-bg: #fbe3d2;       --ids-fg: #8a3b0c;
  --secrets-bg: #fad9dc;   --secrets-fg: #9b1c2b;
  --orgs-bg: #e0e6ef;      --orgs-fg: #2f3e55;
  --infra-bg: #d6edf8;     --infra-fg: #0d5575;
  --medical-bg: #dcefcf;   --medical-fg: #2f5f12;
  --money-bg: #fbefc2;     --money-fg: #6b4e00;
  --age-bg: #ecdcc9;       --age-fg: #5b3a17;
  --places-bg: #e5efc6;    --places-fg: #4c5e0a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1512; --surface: #161e1a; --surface-2: #1b2520; --ink: #e8efe9; --muted: #98a89f;
    --line: #26332c; --line-strong: #364439;
    --pine: #2f9e7e; --pine-hover: #3bb18f; --on-pine: #06231b; --pine-soft: #173128; --pine-ink: #6fd0b2;
    --hl-bg: #f2d24a; --hl-ink: #15201b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 48px -18px rgba(0, 0, 0, .6);
    --ring: 0 0 0 3px rgba(111, 208, 178, .45);
    --people-bg: #1f2f57; --people-fg: #b9ccff;
    --contact-bg: #12362f; --contact-fg: #9fe3d1;
    --addresses-bg: #2e2552; --addresses-fg: #cfc3fb;
    --ids-bg: #4a2a14; --ids-fg: #f7cba8;
    --secrets-bg: #4a1d24; --secrets-fg: #f9b9c0;
    --orgs-bg: #28303f; --orgs-fg: #c5d0e3;
    --infra-bg: #13384b; --infra-fg: #a6dcf2;
    --medical-bg: #243a16; --medical-fg: #bfe3a5;
    --money-bg: #4a3b0c; --money-fg: #f3dc8c;
    --age-bg: #3d2c18; --age-fg: #e6cdb0;
    --places-bg: #343f10; --places-fg: #d5e59b;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code, .mono { font-family: var(--mono); font-size: .9em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 11px; font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--pine); color: var(--on-pine); }
.btn.primary:hover { background: var(--pine-hover); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--surface); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14.5px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; gap: 48px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -.035em; }
.lede { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.lede strong { color: var(--ink); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 940px) { .hero { padding-top: 40px; } .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- live demo ---------- */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; margin: 12px 12px 0; background: color-mix(in srgb, var(--ink) 7%, transparent); border-radius: 12px; }
.demo-steps button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 500 14px/1 var(--font); padding: 11px 8px; border-radius: 8px; cursor: pointer; }
.demo-steps button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(21, 32, 27, .14); }
.demo-body { padding: 18px 20px 22px; min-height: 360px; }
.demo-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 12px; }
.demo-label .state { font-weight: 500; color: var(--pine-ink); }
.demo-text { font-size: 16px; line-height: 1.85; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface-2); overflow-wrap: anywhere; }
.demo-text + .demo-label { margin-top: 16px; }
.demo-reply { transition: opacity .3s, transform .3s; }
.demo-reply[hidden] { display: block; opacity: 0; transform: translateY(6px); pointer-events: none; visibility: hidden; height: 0; margin: 0; overflow: hidden; }
.pii { text-decoration: underline dotted var(--line-strong); text-underline-offset: 4px; transition: background .2s, color .2s; border-radius: 5px; }
.chip { font: 500 .78em/1 var(--mono); padding: 3px 6px 4px; margin: 0 1px; white-space: nowrap; text-decoration: none; }
.c-people { background: var(--people-bg); color: var(--people-fg); }
.c-contact { background: var(--contact-bg); color: var(--contact-fg); }
.c-addresses { background: var(--addresses-bg); color: var(--addresses-fg); }
.c-secrets { background: var(--secrets-bg); color: var(--secrets-fg); }
mark { background: var(--hl-bg); color: var(--hl-ink); padding: 1px 4px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.demo-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.sec-head { max-width: 40em; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.band { background: var(--surface); border-block: 1px solid var(--line); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pine-soft); color: var(--pine-ink); font: 600 14px/1 var(--font); margin-bottom: 14px; }
.steps h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.steps p { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature.flip .shot { order: 2; }
.feature h2 { font-size: clamp(28px, 3.2vw, 40px); }
.feature p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { padding-left: 26px; position: relative; font-size: 16.5px; }
.feature li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--pine); border-bottom: 2.5px solid var(--pine); transform: rotate(-45deg) translateY(-3px); }
.shot { justify-self: center; width: min(100%, 400px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); }
.shot img { width: 100%; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip .shot { order: 0; } .feature + .feature { margin-top: 64px; } }

.finds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.find { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.find h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.find p { font-size: 15px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips .chip { margin: 0; font-size: 12.5px; padding: 5px 8px 6px; border-radius: 6px; }
.tag { font: 600 11.5px/1 var(--font); padding: 4px 7px; border-radius: 99px; background: var(--pine-soft); color: var(--pine-ink); }
.tag.off { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--muted); }
.c-orgs { background: var(--orgs-bg); color: var(--orgs-fg); } .c-ids { background: var(--ids-bg); color: var(--ids-fg); }
.c-infra { background: var(--infra-bg); color: var(--infra-fg); } .c-medical { background: var(--medical-bg); color: var(--medical-fg); }
.c-money { background: var(--money-bg); color: var(--money-fg); } .c-age { background: var(--age-bg); color: var(--age-fg); } .c-places { background: var(--places-bg); color: var(--places-fg); }
@media (max-width: 760px) { .finds { grid-template-columns: 1fr; } }

.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proof div { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.proof h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.proof p { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.test-it { margin-top: 22px; padding: 16px 20px; border-radius: 12px; background: var(--pine-soft); color: var(--ink); font-size: 16px; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--pine); box-shadow: var(--shadow); }
.plan h3 { font-size: 20px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.price { margin: 14px 0 4px; font-size: 46px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.was { color: var(--muted); font-size: 15px; min-height: 1.5em; }
.was s { text-decoration-thickness: 1.5px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; font-size: 16px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--pine); border-bottom: 2.5px solid var(--pine); transform: rotate(-45deg) translateY(-3px); }
.plan .btn { margin-top: auto; }
.plan-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 880px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 28px 20px 0; font-size: 18px; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 22px; color: var(--muted); font-size: 16.5px; max-width: 42em; }
.faq .a p + p { margin-top: 10px; }

.closing { text-align: center; }
.closing h2 { font-size: clamp(32px, 4vw, 50px); }
.closing .cta { justify-content: center; }

/* ---------- footer ---------- */
.site-foot { padding: 44px 0 56px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.disclaimer { max-width: 60em; font-size: 13.5px; }

/* ---------- legal / support pages ---------- */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-size: 23px; margin: 36px 0 10px; letter-spacing: -.015em; }
.doc p, .doc li { font-size: 17px; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); }
.draft { margin: 0 0 26px; padding: 12px 16px; border-radius: 10px; background: #fff4d6; border: 1px solid #e6c15a; color: #5a4200; font-size: 15px; }
@media (prefers-color-scheme: dark) { .draft { background: #3a2f0c; border-color: #7a621d; color: #f3dc8c; } }

/* ---------- small screens ---------- */
.brand { white-space: nowrap; }
@media (max-width: 480px) { .nav a:not(.btn) { display: none; } .hero h1 { font-size: 38px; } }
.demo-label[hidden] { display: none; }
