:root {
  --ink: #172033;
  --muted: #657087;
  --paper: #f8f9fc;
  --white: #fff;
  --line: #dfe4ee;
  --blue: #3157e8;
  --blue-dark: #2342bd;
  --lime: #c8ff62;
  --night: #12192b;
  --orange: #f2994a;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(25, 37, 72, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .75rem 1rem; background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 70px; display: flex; align-items: center; gap: 2rem; padding: 0 max(20px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid rgba(223, 228, 238, .8); background: rgba(248, 249, 252, .92); backdrop-filter: blur(15px); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--white); background: var(--blue); border-radius: 10px 10px 3px 10px; }
nav { margin-left: auto; display: flex; gap: 1.5rem; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .72rem 1.1rem; border: 1px solid transparent; border-radius: 10px; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(49, 87, 232, .28); outline-offset: 2px; }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 10px 24px rgba(49, 87, 232, .22); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary, .button-quiet { color: var(--ink); border-color: var(--line); background: var(--white); }
.button-quiet { min-height: 38px; padding: .5rem .9rem; }
.hero { min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 6vw; padding-block: 5rem; }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: .45rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(49, 87, 232, .11); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 740px; margin: 0; font-size: clamp(3.1rem, 6vw, 6rem); line-height: .98; letter-spacing: -.065em; }
h1 em { color: var(--blue); font-style: normal; }
.lede { max-width: 660px; margin: 1.7rem 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.microcopy { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; }
.proof-card { position: relative; overflow: hidden; padding: 1.25rem; border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.proof-card::before { content: ""; position: absolute; width: 180px; height: 180px; top: -90px; right: -60px; border-radius: 50%; background: rgba(200, 255, 98, .45); filter: blur(2px); }
.card-toolbar, .score-line, .journey > div { position: relative; display: flex; align-items: center; justify-content: space-between; }
.card-toolbar { padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: .35rem; color: #326c39; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #4eb85b; }
.score-line { justify-content: flex-start; gap: 1rem; padding: 1.7rem 0; }
.score-ring { display: grid; place-content: center; width: 98px; height: 98px; border-radius: 50%; background: #edf1ff; box-shadow: inset 0 0 0 10px var(--white); text-align: center; }
.score-ring strong { font-size: 1rem; letter-spacing: -.02em; }
.score-ring span { color: var(--muted); font-size: .7rem; }
.score-line > div:last-child { display: grid; gap: .2rem; }
.score-line small, .score-line span { color: var(--muted); }
.score-line strong { font-size: 1.15rem; }
.journey { display: grid; gap: .6rem; }
.journey > div { justify-content: flex-start; gap: .65rem; padding: .8rem; border-radius: 11px; background: #f4f6fa; }
.journey span { display: grid; place-items: center; width: 26px; height: 26px; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; font-size: .68rem; }
.journey p { flex: 1; margin: 0; font-size: .84rem; font-weight: 700; }
.journey b { color: #326c39; font-size: .72rem; }
.journey .attention { background: #fff8ee; }
.journey .attention b { color: #a45a12; }
.sample-note { margin: 1rem 0 0; color: var(--muted); font-size: .8rem; text-align: center; }
.trust-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 3.5rem; padding: 1.3rem 20px; color: #536077; border-block: 1px solid var(--line); background: var(--white); font-size: .78rem; font-weight: 750; }
.trust-strip span::before { content: "✓"; margin-right: .45rem; color: var(--blue); }
.section { padding-block: 7rem; }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.03; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 1.25rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-grid article { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature-number { display: grid; place-items: center; width: 38px; height: 38px; color: var(--blue); border-radius: 10px; background: #edf1ff; font-size: .75rem; font-weight: 800; }
.feature-grid h3 { margin: 2rem 0 .75rem; font-size: 1.25rem; letter-spacing: -.025em; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.related-product { margin: 1.25rem 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
.related-product a { color: var(--blue-dark); font-weight: 750; }
.section-dark { color: var(--white); background: var(--night); }
.inverse .eyebrow { color: var(--lime); }
.inverse > p:last-child { color: #aeb8cc; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 1rem; }
.pricing-grid article { display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid #303a51; border-radius: var(--radius); background: #192238; }
.pricing-grid .featured-plan { color: var(--ink); background: var(--white); transform: translateY(-10px); }
.plan { margin: 0; font-weight: 800; }
.price { margin: 1.5rem 0 .4rem; font-size: 2.6rem; font-weight: 850; letter-spacing: -.06em; }
.price small { font-size: .8rem; letter-spacing: 0; }
.pricing-grid article > p:nth-child(3) { min-height: 46px; color: #aeb8cc; }
.featured-plan > p:nth-child(3) { color: var(--muted) !important; }
.pricing-grid ul { flex: 1; margin: 1.4rem 0 1.8rem; padding: 0; list-style: none; }
.pricing-grid li { margin: .8rem 0; font-size: .88rem; }
.pricing-grid li::before { content: "—"; margin-right: .5rem; color: var(--lime); }
.featured-plan li::before { color: var(--blue); }
.pricing-note { max-width: 78ch; margin: 1.25rem auto 0; color: #c4ccdc; font-size: .78rem; line-height: 1.55; text-align: center; }
.button-inverse { color: var(--white); border-color: #45506a; background: transparent; }
.pilot-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; align-items: start; }
.pilot-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 750; }
.field label span { color: #b23b3b; }
input, textarea, select { width: 100%; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
input, select { height: 46px; padding: 0 .8rem; }
textarea { padding: .8rem; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: .65rem; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.privacy-layer { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.privacy-layer a { color: var(--blue-dark); font-weight: 750; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-footer { display: flex; align-items: center; gap: 1rem; }
.form-status { margin: 0; color: var(--muted); font-size: .82rem; }
.form-status.error { color: #a42e2e; }
.form-status.success { color: #267334; }
.admin-shell { min-height: calc(100vh - 70px); padding: 2rem max(20px, calc((100vw - 1320px) / 2)); background: #eef1f7; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.admin-topbar h2 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.token-card { max-width: 560px; margin: 10vh auto; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.token-card label { font-weight: 800; }
.token-card > div { display: flex; gap: .6rem; margin: .8rem 0; }
.token-card > p { color: var(--muted); font-size: .8rem; }
.metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-bottom: 1rem; }
.metric-grid article { padding: 1rem; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.metric-grid span { display: block; color: var(--muted); font-size: .72rem; }
.metric-grid strong { display: block; margin-top: .35rem; font-size: 1.8rem; letter-spacing: -.04em; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-card { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.email-trust-admin-card, .acquisition-admin-card { grid-column: 1 / -1; }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.card-title h3 { margin: 0; }
.card-title span { color: var(--muted); font-size: .68rem; }
.text-button { padding: .35rem; color: var(--blue); border: 0; border-radius: 5px; background: none; font-size: .8rem; }
.text-button:focus-visible { outline: 3px solid rgba(49, 87, 232, .28); outline-offset: 2px; }
.monitor-form { display: grid; grid-template-columns: 1fr 1.3fr .8fr auto; gap: .5rem; margin: 1rem 0; }
.data-list { display: grid; gap: .55rem; max-height: 480px; overflow: auto; }
.email-trust-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; margin: 1rem 0 .55rem; }
.email-trust-metrics article { padding: .7rem; border: 1px solid #e7eaf1; border-radius: 9px; background: #fafbfc; }
.email-trust-metrics span { display: block; color: var(--muted); font-size: .68rem; }
.email-trust-metrics strong { display: block; margin-top: .25rem; font-size: 1.15rem; }
.email-trust-operations { margin: 0 0 .8rem; color: var(--muted); font-size: .72rem; }
.data-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; padding: .75rem; border: 1px solid #e7eaf1; border-radius: 10px; background: #fafbfc; }
.data-row p, .data-row small { margin: 0; overflow-wrap: anywhere; }
.data-row p { font-size: .82rem; font-weight: 700; }
.data-row small { display: block; margin-top: .25rem; color: var(--muted); font-size: .68rem; }
.data-row .request-message { margin-top: .45rem; color: var(--ink); line-height: 1.45; }
.row-actions { display: flex; align-items: flex-start; gap: .35rem; }
.verify-controls { max-width: 230px; flex-wrap: wrap; justify-content: flex-end; }
.verify-controls select { max-width: 100%; min-height: 34px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font: inherit; font-size: .72rem; }
.priority { align-self: start; padding: .25rem .45rem; color: var(--blue-dark); border-radius: 6px; background: #edf1ff; font-size: .68rem; font-weight: 850; }
.priority.priority-overdue { color: #8b2525; background: #fff0f0; }
.run-result { align-self: start; padding: .25rem .45rem; color: #267334; border-radius: 6px; background: #edf8ef; font-size: .68rem; font-weight: 850; }
.run-result.run-error { color: #a42e2e; background: #fff0f0; }
.empty { padding: 2rem; color: var(--muted); text-align: center; font-size: .82rem; }
.history-dialog { width: min(680px, calc(100% - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 1.2rem; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.history-dialog::backdrop { background: rgba(18, 25, 43, .58); }
.workflow-details { margin-top: .55rem; font-size: .84rem; }
.workflow-details summary { cursor: pointer; color: var(--primary-dark); font-weight: 750; }
.workflow-details p { margin: .4rem 0; max-width: 70ch; }
.workflow-controls { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.workflow-controls select { min-height: 36px; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.history-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.history-header .eyebrow { margin-bottom: .3rem; }
.history-header h3 { margin: 0; font-size: 1.35rem; }
.history-list { max-height: min(520px, calc(100vh - 220px)); margin-top: 1rem; }
.noscript { position: fixed; z-index: 200; right: 16px; bottom: 16px; left: 16px; padding: 16px; border-radius: 10px; color: var(--white); background: #8b2525; text-align: center; }
footer { padding-block: 2rem; color: #5b667b; border-top: 1px solid var(--line); background: var(--white); font-size: .78rem; }
footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
footer p { margin: .25rem 0 0; }

@media (max-width: 900px) {
  nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 4rem; }
  .proof-card { max-width: 560px; transform: none; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid .featured-plan { transform: none; }
  .pilot-section { grid-template-columns: 1fr; gap: 1rem; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .monitor-form { grid-template-columns: 1fr 1fr; }
  .email-trust-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-header { gap: 1rem; }
  .site-header .button { margin-left: auto; }
  h1 { font-size: 3.2rem; }
  .section { padding-block: 4.5rem; }
  .pilot-form { grid-template-columns: 1fr; }
  .field { grid-column: 1; }
  .form-footer, footer .shell { align-items: flex-start; flex-direction: column; }
  .metric-grid, .monitor-form { grid-template-columns: 1fr; }
  .email-trust-metrics { grid-template-columns: 1fr; }
  .token-card > div { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
