html, body { background: #fff; }

@font-face {
  font-family: "Leckerli One";
  src: url("fonts/leckerli-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Readex";
  src: url("fonts/readex-pro-arabic-wght-normal.woff2") format("woff2-variations");
  font-weight: 160 700; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Readex";
  src: url("fonts/readex-pro-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 160 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212;
}

:root {
  /* zeka identity, taken from the logo */
  --paper: #fff;
  --ink: #141414;        /* cat black */
  --brand: #6A2BD9;      /* zeka purple */
  --deep: #2B0F5E;       /* night purple */
  --lilac: #C7B0FF;      /* ear lilac */
  --tint: #F4EFFF;       /* lilac at ~25% for quiet panels */
  --smoke: #F4EFFF;
  --rule: #E3DAF7;
  --graphite: #5F5873;
  --script: "Leckerli One", "Readex", cursive;
  --font: "Readex", "Segoe UI", Tahoma, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.muted { color: var(--graphite); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
bdi.url, .url { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.wordmark { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; direction: ltr; }
.wordmark svg { width: 22px; height: 22px; }
.nav .links { margin-inline-start: auto; display: flex; gap: 6px; align-items: center; }
.nav .links a, .nav .links button {
  white-space: nowrap; text-decoration: none; background: none; border: 0; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 15px;
}
.nav .links a:hover, .nav .links button:hover { background: var(--smoke); }
.nav .links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav .lang { border: 1px solid var(--rule) !important; }

/* ---------- hero ---------- */
.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: 24px 64px; }
.hero h1 {
  font-weight: 600; font-size: clamp(42px, 6vw, 92px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 24px; max-width: 14ch; text-wrap: balance;
}
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.12; max-width: 10ch; }
.hero .sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--graphite); max-width: 40ch; margin: 0 0 40px; line-height: 1.8; }
.analyze-form { max-width: 640px; }
.field-label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.field {
  display: flex; align-items: center; gap: 8px; padding: 8px; padding-inline-start: 26px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--paper);
  box-shadow: 0 0 0 6px var(--smoke); transition: box-shadow .2s var(--ease);
}
.field:focus-within { box-shadow: 0 0 0 6px var(--rule); }
.field input {
  flex: 1; min-width: 0; border: 0; outline: none; background: none; padding: 10px 0;
  font-size: clamp(20px, 2vw, 26px); font-weight: 500; direction: ltr; text-align: left;
}
[dir="rtl"] .field input:placeholder-shown { text-align: right; }
.field input::placeholder { color: #8c8c8c; font-weight: 400; }
.field .btn { padding: 15px 28px; flex: none; }
.form-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; font-size: 14px; }
.form-row label { color: var(--graphite); }
.select { appearance: none; border: 1px solid var(--rule); background: var(--paper); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: 14px; }
.chip { display: inline-block; font-weight: 600; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 12px; line-height: 1.55; direction: ltr; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 13px 26px; font-size: 16px; font-weight: 500; cursor: pointer; text-decoration: none; transition: transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: .4; cursor: default; }
.form-error { margin-top: 16px; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 10px; font-size: 15px; }
.form-error[hidden] { display: none; }

/* ---------- lens specimen ---------- */
.specimen { position: relative; aspect-ratio: 5 / 6; width: 100%; max-width: 560px; justify-self: end; user-select: none; touch-action: pan-y; }
[dir="rtl"] .specimen { justify-self: start; }
.layer { position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--paper); direction: ltr; }
.layer.code { background: var(--ink); color: var(--paper); border-color: var(--ink); clip-path: circle(var(--r, 110px) at var(--x, 60%) var(--y, 42%)); }
.wf { position: absolute; inset: 0; padding: 22px; display: grid; grid-template-rows: auto auto minmax(60px, 0.5fr) 1fr auto; gap: 18px; }
.wf .bar { display: flex; gap: 6px; align-items: center; padding-bottom: 14px; border-bottom: 2px solid currentColor; }
.wf .bar i { width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; }
.wf .bar b { flex: 1; height: 22px; border: 2px solid currentColor; border-radius: 999px; margin-inline-start: 10px; }
.wf .top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.wf .img { aspect-ratio: 1; border: 2px solid currentColor; border-radius: 10px; position: relative; }
.layer.page .wf .img::before, .layer.page .wf .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), currentColor 50%, transparent calc(50% + 1px)); }
.layer.page .wf .img::after { transform: scaleX(-1); }
.wf .lines { display: grid; gap: 10px; align-content: start; }
.wf .ln { height: 12px; background: currentColor; border-radius: 3px; }
.layer.page .wf .ln { background: var(--ink); }
.layer.page .wf .ln.soft { background: var(--rule); }
.wf .ln.h { height: 26px; }
.wf .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: stretch; }
.wf .card { border: 2px solid currentColor; border-radius: 10px; height: 100%; }
.wf .lines.body { gap: 9px; }
.wf .foot { height: 34px; border-top: 2px solid currentColor; }
.layer.code .wf { color: #fff; }
.tag { position: absolute; font-family: var(--mono); font-size: 12.5px; line-height: 1.35; white-space: nowrap; background: #fff; color: #000; padding: 3px 8px; border-radius: 6px; }
.tag.alt { background: transparent; color: #fff; border: 1.5px dashed #fff; }
.lens-ring { position: absolute; width: calc(var(--r, 110px) * 2); height: calc(var(--r, 110px) * 2); border: 2px solid var(--ink); border-radius: 50%; left: var(--x, 60%); top: var(--y, 42%); transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--ink); }
.lens-hint { position: absolute; inset-inline-start: 0; bottom: -34px; font-size: 13px; color: var(--graphite); }

/* ---------- progress ---------- */
.progress { min-height: calc(100svh - 76px); display: grid; align-content: center; gap: 36px; padding-block: 40px 80px; }
.progress .domain { font-size: clamp(34px, 5vw, 72px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0; direction: ltr; text-align: start; }
[dir="rtl"] .progress .domain { text-align: right; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-width: 640px; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 18px; color: #a6a6a6; padding: 6px 0; }
.steps li .dot { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; flex: none; }
.steps li.active { color: var(--ink); }
.steps li.active .dot { border-color: var(--ink); border-top-color: transparent; animation: spin .9s linear infinite; }
.steps li.done { color: var(--ink); }
.steps li.done .dot { background: var(--ink); border-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.ticker { font-size: 14px; color: var(--graphite); min-height: 1.6em; direction: ltr; text-align: start; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 640px; }
[dir="rtl"] .ticker { text-align: right; }

/* ---------- ruler ---------- */
.ruler { display: grid; grid-template-columns: repeat(50, 1fr); gap: 2px; height: 14px; width: 100%; }
.ruler i { background: var(--rule); border-radius: 1px; }
.ruler i.on { background: var(--ink); }
.ruler.big { height: 22px; gap: 3px; }
.ruler.na i { background: repeating-linear-gradient(45deg, var(--rule) 0 2px, transparent 2px 4px); }

/* ---------- glyphs ---------- */
.g { width: 14px; height: 14px; flex: none; display: inline-block; vertical-align: -2px; }
.g.critical { background: var(--ink); border-radius: 2px; }
.g.warning { border: 2px solid var(--ink); border-radius: 2px; background: linear-gradient(to top, var(--ink) 50%, transparent 50%); }
.g.notice { border: 2px solid var(--ink); border-radius: 50%; }

/* ---------- report ---------- */
.report-head { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-block: 40px 28px; }
.report-head h1 { margin: 0; font-size: clamp(30px, 4vw, 54px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; direction: ltr; }
.report-head .meta { color: var(--graphite); font-size: 15px; }
.report-head .actions { margin-inline-start: auto; display: flex; gap: 10px; position: relative; flex-wrap: wrap; }
.menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--ink); border-radius: 14px; padding: 6px; min-width: 200px; z-index: 20; display: grid; }
.menu[hidden] { display: none; }
.menu button { text-align: start; background: none; border: 0; padding: 10px 14px; border-radius: 9px; cursor: pointer; }
.menu button:hover { background: var(--smoke); }

.overview { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); padding-block: 44px 56px; }
.big-score { display: flex; align-items: baseline; gap: 10px; direction: ltr; justify-content: flex-start; }
[dir="rtl"] .big-score { justify-content: flex-end; }
.big-score b { font-size: clamp(120px, 15vw, 210px); font-weight: 200; line-height: .85; letter-spacing: -0.06em; }
.big-score span { font-size: 22px; color: var(--graphite); }
.overall-label { font-size: 15px; color: var(--graphite); margin: 0 0 18px; }
.sev-counts { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.sev-counts div { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sev-counts b { font-weight: 600; font-size: 20px; }
.index { list-style: none; margin: 0; padding: 0; display: grid; }
.index a { display: grid; grid-template-columns: minmax(110px, 170px) 44px 1fr; align-items: center; gap: 18px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--smoke); }
.index a:hover .name { text-decoration: underline; text-underline-offset: 4px; }
.index .score { font-weight: 500; font-size: 18px; text-align: end; }

.section { padding-block: 64px; scroll-margin-top: 16px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: end; margin-bottom: 28px; }
.sec-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.sec-head p { margin: 6px 0 0; color: var(--graphite); }
.sec-score { display: flex; align-items: baseline; gap: 6px; direction: ltr; }
.sec-score b { font-size: clamp(56px, 6vw, 84px); font-weight: 200; line-height: .9; letter-spacing: -0.04em; }
.sec-score span { color: var(--graphite); }
.sec-head .ruler { grid-column: 1 / -1; margin-top: 14px; }
.sec-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.sec-body.full { grid-template-columns: 1fr; }

.issues { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.issue { border-bottom: 1px solid var(--rule); }
.issue > button { width: 100%; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 18px; gap: 14px; align-items: center; text-align: start; background: none; border: 0; padding: 16px 0; cursor: pointer; }
.issue .title { font-weight: 500; }
.issue .count { color: var(--graphite); font-size: 14px; white-space: nowrap; unicode-bidi: plaintext; }
.issue .chev { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.issue[aria-expanded="true"] .chev { transform: rotate(180deg); }
.issue .detail { padding: 0 28px 20px; }
[dir="rtl"] .issue .detail { padding: 0 28px 20px 0; }
.issue .detail[hidden] { display: none; }
.issue .fix { margin: 0 0 12px; max-width: 70ch; }
.issue .fix b { font-weight: 600; }
.urls { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; max-height: 340px; overflow: auto; }
.urls li { display: grid; grid-template-columns: minmax(0, 1fr); padding: 6px 10px; background: var(--smoke); border-radius: 6px; }
.urls li .note { color: var(--graphite); font-size: 13px; overflow-wrap: anywhere; }
.urls a { text-decoration: none; }
.urls a:hover { text-decoration: underline; }
.empty-ok { padding: 18px 0; border-top: 1px solid var(--ink); }
details.passed { margin-top: 18px; }
details.passed summary { cursor: pointer; color: var(--graphite); font-size: 15px; }
details.passed ul { margin: 10px 0 0; padding-inline-start: 18px; color: var(--graphite); font-size: 14px; }

.panel { background: var(--smoke); border-radius: 16px; padding: 22px; display: grid; gap: 16px; font-size: 15px; }
.panel h3 { margin: 0; font-size: 15px; font-weight: 600; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--graphite); }
.kv dd { margin: 0; font-weight: 500; text-align: end; unicode-bidi: plaintext; }
.mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.mini th, .mini td { text-align: start; padding: 7px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.mini th { font-weight: 500; color: var(--graphite); }
.mini td.r, .mini th.r { text-align: end; }

/* keywords */
.kw-table-wrap { margin-top: 36px; overflow-x: auto; }
.kw-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.kw-table th, .kw-table td { padding: 10px 8px; border-bottom: 1px solid var(--rule); text-align: start; vertical-align: top; }
.kw-table th { font-weight: 500; color: var(--graphite); font-size: 13px; }
.kw-table .kw { font-weight: 600; }
.kw-table .sec2 { color: var(--graphite); font-size: 13px; }
.kw-table td.c { text-align: center; }
.mark { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.mark.on { background: var(--ink); }
.dupe-groups { display: grid; gap: 14px; }
.dupe { border: 1px solid var(--ink); border-radius: 12px; padding: 14px 16px; }
.dupe b { font-size: 17px; }
.dupe ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; display: grid; gap: 2px; }
.pill { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 1px 10px; font-size: 12px; }

/* mobile + speed */
.phones { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.phone { width: 230px; flex: none; }
.phone .frame { border: 10px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink); aspect-ratio: 9 / 19; position: relative; }
.phone .frame::before { content: ""; position: absolute; top: 8px; left: 50%; width: 56px; height: 14px; background: var(--ink); border-radius: 999px; transform: translateX(-50%); z-index: 2; }
.phone .screen { width: 100%; height: 100%; overflow-y: auto; background: #fff; scrollbar-width: none; }
.phone .screen::-webkit-scrollbar { display: none; }
.phone img { width: 100%; display: block; }
.phone figcaption { font-size: 14px; margin-top: 10px; }
.phone figcaption small { display: block; color: var(--graphite); font-size: 12.5px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.metric { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.metric .k { font-size: 13px; color: var(--graphite); }
.metric .v { font-size: 26px; font-weight: 300; direction: ltr; text-align: start; }
[dir="rtl"] .metric .v { text-align: right; }
.metric .v small { font-size: 13px; margin-inline-start: 6px; }
.lh-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lh-scores div { text-align: center; }
.lh-scores b { display: block; font-size: 30px; font-weight: 300; }
.lh-scores span { font-size: 12.5px; color: var(--graphite); }
.speed-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.speed-cols h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }

/* history */
.page-title { padding-block: 48px 24px; }
.page-title h1 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.03em; }
.page-title p { color: var(--graphite); margin: 8px 0 0; }
.hist { width: 100%; border-collapse: collapse; margin-bottom: 80px; }
.hist th, .hist td { text-align: start; padding: 16px 10px; border-bottom: 1px solid var(--rule); }
.hist th { font-weight: 500; color: var(--graphite); font-size: 14px; border-bottom-color: var(--ink); }
.hist .d { font-weight: 600; font-size: 18px; direction: ltr; }
.hist .s { font-size: 26px; font-weight: 300; }
.hist .acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.recent { padding-block: 8px 80px; }
.recent h2 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.empty { color: var(--graphite); padding: 24px 0; }
.foot { padding-block: 32px; color: var(--graphite); font-size: 14px; border-top: 1px solid var(--rule); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 12px; }
  .specimen { max-width: 440px; justify-self: center !important; margin-bottom: 30px; }
  .overview, .sec-body, .speed-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav { gap: 10px; }
  .nav .links a, .nav .links button { padding: 8px 10px; font-size: 14px; }
  .wordmark { font-size: 17px; }
  .nav .links a.hide-sm { display: none; }
  .index a { grid-template-columns: 110px 36px 1fr; gap: 10px; }
  .issue > button { grid-template-columns: 14px minmax(0, 1fr) 18px; }
  .issue .count { grid-column: 2; grid-row: 2; }
  .phone { width: calc(50% - 14px); }
  .lh-scores { grid-template-columns: repeat(2, 1fr); }
  .hist .hide-sm { display: none; }
  .tag { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- print / PDF ---------- */
@media print {
  @page { margin: 14mm; }
  .nav, .actions, .no-print, .lens-hint, details.passed summary::marker { display: none !important; }
  .issue .detail[hidden] { display: block !important; }
  .issue .chev { display: none; }
  .urls { max-height: none; overflow: visible; }
  .urls li { background: none; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .section { break-inside: auto; padding-block: 28px; }
  .sec-head { break-after: avoid; }
  .issue { break-inside: avoid; }
  .phone .screen { overflow: hidden; }
  .phone.full { display: none; }
  .panel { background: none; border: 1px solid var(--rule); }
  .print-head { display: block !important; }
  .overview { padding-block: 24px; }
  body { font-size: 12px; }
}
.print-head { display: none; font-size: 13px; color: var(--graphite); padding-top: 12px; }

/* hairline under blocks, aligned with the content column rather than the padded box */
.report-head, .overview, .section { background: linear-gradient(var(--rule), var(--rule)) bottom center / calc(100% - 2 * var(--pad)) 1px no-repeat; }

@media (max-width: 600px) {
  .field { padding-inline-start: 18px; }
  .field .btn { padding: 13px 18px; font-size: 15px; }
}


/* ================= zeka identity layer ================= */
:focus-visible { outline-color: var(--brand); }
::selection { background: var(--lilac); color: var(--deep); }

/* logo lockup: official logo + product name */
.wordmark { gap: 14px; }
.wordmark svg { width: auto; height: 50px; }
.wordmark .product { font-family: var(--script); font-weight: 400; font-size: 20px; color: var(--deep); padding-inline-start: 14px; border-inline-start: 1.5px solid var(--rule); line-height: 1.3; }
.nav .links a[aria-current="page"] { background: var(--deep); }
.nav .links a:hover, .nav .links button:hover { background: var(--tint); }

/* hero */
.hero h1 { color: var(--ink); }
.chip { color: var(--brand); border-color: var(--brand); background: var(--tint); font-family: var(--script); font-weight: 400; padding: 0 14px 2px; }
.field { border-color: var(--brand); box-shadow: 0 0 0 7px var(--tint); }
.field:focus-within { box-shadow: 0 0 0 7px var(--lilac); }
.field-label { color: var(--deep); }
.btn { background: var(--brand); border-color: var(--brand); }
.btn:hover { background: var(--deep); border-color: var(--deep); }
.btn.ghost { background: var(--paper); color: var(--brand); border-color: var(--brand); }
.btn.ghost:hover { background: var(--tint); }
.select:hover { border-color: var(--brand); }

/* lens: page in ink, Google's view in night purple */
.layer.page { border-color: var(--ink); }
.layer.page .wf .ln.h, .layer.page .wf .ln[style*="border-radius:999px"] { background: var(--brand); }
.layer.code { background: var(--deep); }
.tag { color: var(--deep); }
.tag.alt { color: var(--lilac); border-color: var(--lilac); }
.lens-ring { border-color: var(--brand); box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--brand); }

/* scores */
.ruler i { background: var(--rule); }
.ruler i.on { background: var(--brand); }
.big-score b, .sec-score b { font-family: var(--script); font-weight: 400; color: var(--deep); letter-spacing: 0; }
.big-score b { font-size: clamp(110px, 13vw, 180px); line-height: 1; }
.sec-score b { font-size: clamp(54px, 5.4vw, 76px); line-height: 1; }
.index .score { font-family: var(--script); font-weight: 400; color: var(--deep); font-size: 20px; }
.lh-scores b, .hist .s { font-family: var(--script); font-weight: 400; color: var(--deep); }
.report-head h1, .progress .domain { font-family: var(--script); font-weight: 400; color: var(--deep); letter-spacing: 0; }

/* severity glyphs */
.g.critical { background: var(--brand); }
.g.warning { border-color: var(--brand); background: linear-gradient(to top, var(--brand) 50%, transparent 50%); }
.g.notice { border-color: var(--brand); }

/* lists, panels, tables */
.issues { border-top-color: var(--deep); }
.issue .title { color: var(--ink); }
.issue > button:hover .title { color: var(--brand); }
.urls li { background: var(--tint); }
.urls a:hover, a:hover { color: var(--brand); }
.panel { background: var(--tint); }
.dupe { border-color: var(--brand); }
.pill { border-color: var(--brand); color: var(--brand); }
.mark { border-color: var(--brand); }
.mark.on { background: var(--brand); }
.metrics { border-top-color: var(--deep); }
.steps li.active, .steps li.done { color: var(--deep); }
.steps li.active .dot { border-color: var(--brand); border-top-color: transparent; }
.steps li.done .dot { background: var(--brand); border-color: var(--brand); }
.menu { border-color: var(--brand); }
.menu button:hover { background: var(--tint); }
.form-error { border-color: var(--brand); background: var(--tint); }
.phone .frame { border-color: var(--ink); }

[lang="en"] .hero h1 { font-family: var(--script); font-weight: 400; letter-spacing: 0; line-height: 1.12; color: var(--deep); }

@media (max-width: 600px) {
  .wordmark svg { height: 34px; }
  .wordmark .product { font-size: 16px; padding-inline-start: 10px; }
}
@media print {
  .big-score b, .sec-score b, .report-head h1 { color: var(--deep); }
}
