/* Emosq. One stylesheet for the builder page, the partner page and the small print. */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #f5f3ec; --paper-2: #ece9df; --card: #fffefa; --ink: #14161f; --ink-2: #555a6b; --line: #dcd8cb;
  --stamp: #2a3bd1; --stamp-dark: #1f2ca6; --stamp-soft: #e6e8fb;
  --ok: #1c8556; --warn: #b87a0c; --bad: #c2412a;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --r: 16px; --shadow: 0 1px 2px rgba(20, 22, 31, .05), 0 12px 32px rgba(20, 22, 31, .08);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--stamp-dark); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h3 { font-size: 1.12rem; font-weight: 650; line-height: 1.3; }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; color: var(--stamp-dark); }
.lede { font-size: 1.16rem; color: var(--ink-2); max-width: 38em; }
.fine { font-size: .86rem; color: var(--ink-2); }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 243, 236, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.stuck { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 1.75rem; color: var(--ink); text-decoration: none; line-height: 1; }
.brand svg { width: 28px; height: 28px; flex: none; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.top nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.top nav a { white-space: nowrap; }
@media (max-width: 520px) { .top nav { gap: 14px; } .top nav .btn { display: none; } }
.top nav a:hover { color: var(--stamp-dark); }
.top nav a.quiet { display: none; }
@media (min-width: 860px) { .top nav a.quiet { display: inline; } }

/* ---------- buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 22px; border-radius: 12px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, transform .05s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--stamp); border-color: var(--stamp); color: #fff; box-shadow: 0 6px 18px rgba(42, 59, 209, .28); }
.btn.primary:hover { background: var(--stamp-dark); border-color: var(--stamp-dark); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.small { min-height: 42px; padding: 8px 16px; font-size: .93rem; border-radius: 10px; box-shadow: none; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; display: none; }
.btn.busy .spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #c9c4b4; border-radius: 12px; min-height: 50px; padding: 11px 14px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(42, 59, 209, .35); outline-offset: 2px; }
label { display: block; font-size: .9rem; font-weight: 600; }
label span { font-weight: 400; color: var(--ink-2); }
label input, label select, label textarea { display: block; margin-top: 6px; font-weight: 400; font-size: 1rem; }
.err { color: var(--bad); font-size: .92rem; font-weight: 550; min-height: 1.3em; margin-top: 8px; }
.err:empty { min-height: 0; margin: 0; }

/* the paste-a-link field */
.paste { display: grid; gap: 10px; margin-top: 28px; max-width: 560px; }
.paste .row { display: grid; gap: 10px; }
.paste input { min-height: 58px; font-size: 1.05rem; padding-left: 18px; border-color: var(--ink); box-shadow: var(--shadow); }
.paste .btn { min-height: 58px; font-size: 1.05rem; white-space: nowrap; }
@media (min-width: 560px) { .paste .row { grid-template-columns: 1fr auto; } }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks svg { width: 15px; height: 15px; color: var(--ok); }

/* ---------- hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero h1 em { color: var(--stamp); }
.hero .sub { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.1; margin-top: 12px; }
.hero .lede { margin-top: 20px; }
.hero .label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.hero .label i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(28, 133, 86, .18); }
@media (min-width: 980px) { .hero { padding: 72px 0 96px; } .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: 56px; } }

/* ---------- the report card (hero, sample, live result all share it) */
.report { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 26px; position: relative; }
.report-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.report-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; word-break: break-word; }
.report-head p { color: var(--ink-2); font-size: .94rem; margin-top: 4px; }
.tag { display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); border: 1px dashed #b9b4a3; border-radius: 6px; padding: 3px 8px; margin-bottom: 12px; }
.bars { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 4px 12px; align-items: center; font-size: .95rem; }
.bars b { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.bars .track { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--paper-2); overflow: hidden; }
.bars .track i { display: block; height: 100%; border-radius: 8px; background: var(--ok); width: 0; transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.bars .track i.mid { background: var(--warn); } .bars .track i.low { background: var(--bad); } .bars .track i.none { background: transparent; }
.report hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.report h4 { margin: 0 0 10px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; color: var(--ink-2); }
.notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .96rem; }
.notes li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.notes svg { width: 18px; height: 18px; margin-top: 3px; }
.notes .good svg { color: var(--ok); } .notes .weak svg { color: var(--warn); } .notes .bad svg { color: var(--bad); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts div { background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-size: .8rem; color: var(--ink-2); } .facts dd { margin: 2px 0 0; font-weight: 650; font-size: 1.02rem; }
dl { margin: 0; }

/* the stamp */
.seal { width: 118px; height: 118px; flex: none; color: var(--stamp); transform: rotate(-9deg); }
.seal text { font-family: var(--sans); font-weight: 700; fill: currentColor; }
.seal .num { font-family: var(--serif); font-weight: 400; }
.hero .report { transform: rotate(1.2deg); box-shadow: 14px 16px 0 var(--stamp-soft), var(--shadow); }
.report-head > div:first-child { min-width: 0; }
@media (max-width: 520px) { .seal { width: 92px; height: 92px; } .report { padding: 20px; } .report-head h3 { font-size: 1.6rem; } }

/* ---------- your score (the live result) */
.result { padding: 8px 0 72px; }
.result .report { max-width: 860px; margin: 0 auto; }
.ring { width: 132px; height: 132px; flex: none; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: var(--paper-2); }
.ring .fg { stroke: var(--ok); stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2, .7, .2, 1); }
.ring.close .fg { stroke: var(--warn); } .ring.early .fg { stroke: var(--bad); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 3.1rem; line-height: 1; }
@media (max-width: 520px) { .ring { width: 96px; height: 96px; } .ring span { font-size: 2.3rem; } }
.band { display: inline-block; margin-top: 10px; font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(28, 133, 86, .12); color: var(--ok); }
.band.close { background: rgba(184, 122, 12, .14); color: #8a5a05; } .band.early { background: rgba(194, 65, 42, .12); color: var(--bad); }
.lock { background: var(--ink); color: #fff; border-radius: 18px; padding: 24px; margin-top: 24px; }
.lock h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.lock p { color: #c9ccd8; margin-top: 8px; }
.lock form { display: grid; gap: 10px; margin-top: 18px; }
.lock input { border-color: transparent; }
.lock .fine, .lock .fine a { color: #b5b9c8; }
.lock .err { color: #ffb4a3; }
@media (min-width: 640px) { .lock form { grid-template-columns: 1fr 1.3fr auto; } .lock form .err, .lock form .fine { grid-column: 1 / -1; } }
.group { margin-top: 26px; }
.group h4 { display: flex; justify-content: space-between; gap: 12px; }
.finding { border-top: 1px solid var(--line); padding: 12px 0; display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.finding svg { width: 18px; height: 18px; margin-top: 3px; }
.finding.pass svg { color: var(--ok); } .finding.warn svg { color: var(--warn); } .finding.fail svg { color: var(--bad); }
.finding p { font-weight: 550; } .finding.pass p { font-weight: 400; color: var(--ink-2); }
.finding small { display: block; color: var(--ink-2); font-size: .93rem; margin-top: 3px; font-weight: 400; }
.next { margin-top: 28px; border: 2px solid var(--stamp); border-radius: 18px; padding: 24px; background: #fff; display: grid; gap: 18px; }
.next h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.08; }
.next .amount { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.next .amount small { font-family: var(--sans); font-size: .95rem; color: var(--ink-2); }
@media (min-width: 720px) { .next { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.done { display: flex; gap: 12px; align-items: flex-start; background: rgba(28, 133, 86, .1); border-radius: 14px; padding: 16px; }
.done svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }
.again { margin-top: 18px; text-align: center; }
.again button { background: none; border: 0; font: inherit; color: var(--stamp-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }

/* ---------- sections */
section.block { padding: 76px 0; }
section.tint { background: var(--paper-2); }
section.dark { background: var(--ink); color: #fff; }
section.dark .lede, section.dark .fine { color: #c2c6d4; } section.dark .label { color: #aab3ff; } section.dark a { color: #c5cbff; }
.head { display: grid; gap: 14px; margin-bottom: 40px; }
.head.center { text-align: center; justify-items: center; }

.stat .wrap { display: grid; gap: 28px; align-items: center; }
.stat .big { font-family: var(--serif); font-size: clamp(5rem, 17vw, 10.5rem); line-height: .86; color: #aab3ff; letter-spacing: -.03em; }
.stat h2 { margin-bottom: 14px; }
@media (min-width: 860px) { .stat .wrap { grid-template-columns: auto 1fr; gap: 64px; } }

.two { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .two { grid-template-columns: .9fr 1.1fr; gap: 64px; } .two .sticky { position: sticky; top: 100px; } }
.reads { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.reads li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.reads i { width: 34px; height: 34px; border-radius: 10px; background: var(--stamp-soft); color: var(--stamp-dark); display: grid; place-items: center; }
.reads svg { width: 18px; height: 18px; }
.reads p { color: var(--ink-2); font-size: .98rem; margin-top: 2px; }

.steps { display: grid; gap: 16px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--stamp); display: block; margin-bottom: 14px; }
.steps .when { display: inline-block; font-size: .78rem; font-weight: 650; color: var(--ink-2); background: var(--paper); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.steps p { color: var(--ink-2); margin-top: 8px; font-size: .98rem; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.ways { display: grid; gap: 16px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.way.us { border: 2px solid var(--stamp); box-shadow: var(--shadow); position: relative; }
.way h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.way dl { display: grid; gap: 14px; margin-top: 18px; }
.way dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: var(--ink-2); }
.way dd { margin: 3px 0 0; }
.way.us dd { font-weight: 600; }
@media (min-width: 900px) { .ways { grid-template-columns: 1fr 1fr 1.12fr; align-items: stretch; } }

.jobs { display: grid; gap: 16px; }
.job { border-top: 3px solid var(--ink); padding-top: 18px; }
.job .label { color: var(--ink-2); }
.job h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 6px 0 8px; }
.job p { color: var(--ink-2); }
@media (min-width: 820px) { .jobs { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.promises { display: grid; gap: 16px; }
.promise { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 24px; }
.promise h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.promise p { color: #c2c6d4; margin-top: 10px; font-size: .98rem; }
@media (min-width: 820px) { .promises { grid-template-columns: repeat(3, 1fr); } }

.price { display: grid; gap: 20px; align-items: stretch; }
.price .card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.price .amount { font-family: var(--serif); font-size: 4.6rem; line-height: 1; margin: 10px 0 4px; }
.price .amount small { font-family: var(--sans); font-size: 1rem; color: var(--ink-2); }
.price .card.plain { box-shadow: none; background: transparent; }
.list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.list svg { width: 18px; height: 18px; color: var(--ok); margin-top: 4px; }
@media (min-width: 860px) { .price { grid-template-columns: 1.1fr .9fr; } }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { color: var(--ink-2); padding: 0 0 22px; max-width: 46em; }

.close-cta { text-align: center; }
.close-cta .paste { margin-left: auto; margin-right: auto; }
.close-cta .ticks { justify-content: center; }

/* ---------- partner page */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 26px; display: grid; gap: 14px; }
.form-card h2 { font-size: 2rem; }
.form-card .pair { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-card .pair { grid-template-columns: 1fr 1fr; } }
.apps { display: grid; gap: 16px; }
@media (min-width: 900px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.app { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; align-content: start; }
.app .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.05; }
.app .who { color: var(--ink-2); font-size: .93rem; margin-top: 4px; }
.app .score { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--stamp); text-align: right; }
.app .score small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.app .pays { background: var(--stamp-soft); border-radius: 12px; padding: 12px 14px; font-weight: 650; color: var(--stamp-dark); }
.app .pays small { display: block; font-weight: 400; color: var(--ink-2); font-size: .86rem; }
.app .weak { font-size: .93rem; color: var(--ink-2); }
.app .weak b { color: var(--ink); font-weight: 600; }

/* ---------- small print and foot */
.prose { padding: 56px 0 80px; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 18px; }
.prose h2 { font-size: 1.9rem; margin: 36px 0 10px; }
.prose p, .prose li { color: #2f3340; margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: .92rem; color: var(--ink-2); }
footer .wrap { display: grid; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink); }
@media (min-width: 760px) { footer .wrap { grid-template-columns: 1fr auto; align-items: center; } }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
