/* xfix.ai site. One face for every language: IBM Plex Sans Arabic. Tokens come from tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--space-32); }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* Darker "text" shade per tool: 4.5:1 on paper for links, lines and small marks. Bright tool colour stays for fills with ink text. */
:root { --search-text: #7D6C00; --shop-text: #D60067; --gov-text: #50781B; }
[data-tool="master"] { --tool: var(--ink); --tool-tint: var(--chip); --on-tool: var(--card); --tool-text: var(--ink); }
[data-tool="search"] { --tool: var(--search); --tool-tint: var(--search-tint); --on-tool: var(--ink); --tool-text: var(--search-text); }
[data-tool="shop"] { --tool: var(--shop); --tool-tint: var(--shop-tint); --on-tool: var(--ink); --tool-text: var(--shop-text); }
[data-tool="gov"] { --tool: var(--gov); --tool-tint: var(--gov-tint); --on-tool: var(--ink); --tool-text: var(--gov-text); }

/* Type */
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
[dir="rtl"] .kicker { letter-spacing: 0; text-transform: none; font-size: 13px; }
.display { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.04;
  --x: 1; }
body[data-tool]:not([data-tool="master"]) .display { font-size: clamp(36px, 5.2vw, 72px); font-weight: 700; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.section-title { font-size: clamp(34px, 5vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin: 0; text-wrap: pretty; }
.caption { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0; }
[dir="rtl"] .display, [dir="rtl"] .section-title, [dir="rtl"] .h3 { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .lede, [dir="rtl"] body { line-height: 1.86; }
mark { --hl: var(--search); color: var(--ink); padding: 0 .1em; border-radius: 0; background: linear-gradient(transparent 16%, var(--hl) 16%, var(--hl) 94%, transparent 94%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
[data-tool="shop"] mark, [data-tool="gov"] mark { --hl: var(--tool); }

/* Tool tabs: one thin ink bar above everything. Every tool is a tab; the active one sits on the page ground.
   Its end holds the language switch and the account (2026-10-01), the same in shop and gov. Above the sticky header
   (z-index), so their menus open over it. The tabs scroll on their own if they ever run out of room; the end never does,
   and never clips its menus. */
.tool-tabs { position: relative; z-index: 30; background: var(--ink); color: var(--card); }
.tool-tabs .wrap { display: flex; align-items: stretch; gap: 8px; height: 40px; }
.tool-tabs .tabs { flex: 1 1 auto; min-width: 0; display: flex; align-items: flex-end; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tool-tabs .tabs::-webkit-scrollbar { display: none; }
.tool-tabs .tab { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: var(--radius-10) var(--radius-10) 0 0; font-size: 13px; font-weight: 700; line-height: 1; color: var(--on-dark-soft); white-space: nowrap; transition: background-color 200ms, color 200ms; }
.tool-tabs .tab:hover { color: var(--card); background: var(--graphite); }
.tool-tabs .tab[aria-current="page"] { background: var(--paper); color: var(--ink); height: 36px; }
.tool-tabs .tab:focus-visible { outline: 3px solid var(--card); outline-offset: -3px; }
.tool-tabs .tab .xf-mark { width: 18px; height: 18px; }
.tool-tabs .tab-home { margin-inline-end: 10px; }
.tb-end { flex: none; display: flex; align-items: center; gap: 2px; }
.tb-end .lang-switch > summary, .xf-signin, .xf-acct-btn { height: 30px; padding: 0 10px; gap: 7px; border-radius: var(--radius-pill); color: var(--on-dark-soft); font-size: 13px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; white-space: nowrap; transition: background-color 200ms, color 200ms; }
.tb-end .lang-switch > summary:hover, .tb-end .lang-switch[open] > summary, .xf-signin:hover, .xf-acct-btn:hover, .xf-acct[open] > .xf-acct-btn { background: var(--graphite); color: var(--card); }
.tb-end .lang-switch > summary:focus-visible, .xf-signin:focus-visible, .xf-acct-btn:focus-visible { outline: 2px solid var(--card); outline-offset: 1px; }
.tb-end .lang-switch > summary svg { width: 16px; height: 16px; }
.tb-end .lang-menu, .xf-acct-menu { top: calc(100% + 5px); }
/* The account: hidden until site.js knows who is signed in (a noscript rule shows it without JavaScript). */
.xf-acct { position: relative; display: inline-flex; flex: none; visibility: hidden; }
.xf-acct[data-ready] { visibility: visible; }
.xf-signin svg { flex: none; }
.xf-acct-btn { list-style: none; cursor: pointer; user-select: none; padding: 0 8px 0 3px; }
.xf-acct-btn::-webkit-details-marker { display: none; }
.xf-avatar { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1; }
.xf-acct-menu { position: absolute; inset-inline-end: 0; width: 248px; background: var(--card); color: var(--ink); border: 1px solid var(--hairline); border-radius: 14px; box-shadow: 0 16px 40px rgba(10, 14, 26, .14); padding: 6px; z-index: 30; }
.xf-acct-me { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--hairline); border-radius: 10px 10px 0 0; min-width: 0; }
.xf-acct-me .xf-avatar { width: 32px; height: 32px; font-size: 14px; background: var(--ink); color: var(--card); }
.xf-acct-me span:last-child { min-width: 0; display: flex; flex-direction: column; }
.xf-acct-me b, .xf-acct-me small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xf-acct-me b { font-size: 14px; font-weight: 700; }
.xf-acct-me small { font-size: 12.5px; color: var(--ink-2); }
.xf-acct-item { display: block; width: 100%; text-align: start; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.xf-acct-item:hover, .xf-acct-me:hover { background: var(--paper); }
.xf-acct-out { color: var(--critical-text); }
/* Phones: the tabs other than the current one show only their mark (the name stays for screen readers), and so does
   "Sign in", so the bar's end fits beside all five tabs. */
@media (max-width: 480px) {
  .tool-tabs .wrap { gap: 4px; }
  .tool-tabs .tab { padding: 0 9px; font-size: 12px; gap: 6px; }
  .tool-tabs .tab-home { margin-inline-end: 4px; }
  .tool-tabs .tab:not([aria-current]) .tb-label, .tool-tabs .tab-home .tb-label, .xf-signin .tb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tool-tabs .tab:not([aria-current]) { padding: 0 8px; gap: 0; }
  .tb-end .lang-switch > summary, .xf-signin { padding: 0 8px; gap: 6px; }
  .xf-acct-btn { padding: 0 3px; gap: 0; }
  .xf-acct-btn .xf-chev { display: none; }
}
@media (max-width: 360px) {
  .tool-tabs .wrap { gap: 2px; }
  .tool-tabs .tab:not([aria-current]) { padding: 0 6px; }
  .tb-end .lang-switch > summary, .xf-signin { padding: 0 6px; }
}

/* Header: one bar, the lockup links to the tool's own page */
/* The glass sits on ::before: a backdrop-filter on the header itself would make it the containing block of
   the fixed phone menu, which then opens inside the 68px header instead of over the page. */
.site-header { position: sticky; top: 0; z-index: 20; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--header-glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; min-width: 0; }
.lockup-link { display: inline-flex; align-items: center; padding: 6px 10px 6px 6px; border-radius: var(--radius-pill); color: var(--ink); min-width: 0; }
.lockup-link:hover { background: var(--card); }
.header-right { flex: none; }
@media (max-width: 480px) { .header-right .btn { display: none; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav .nav-m { display: none; }
.nav a, .nav .menu-btn { padding: 8px 12px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav a:hover, .nav .menu-btn:hover { background: var(--card); }
.nav .has-menu { position: relative; }
.nav .dropdown { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 240px; background: var(--card); border-radius: 18px; padding: 8px; display: none; flex-direction: column; box-shadow: 0 12px 40px rgba(23, 21, 9, .12); }
.nav .has-menu.open .dropdown { display: flex; }
.nav .dropdown a { font-weight: 500; padding: 9px 12px; border-radius: 12px; }
.nav .dropdown a:hover { background: var(--paper); }
.nav > a[aria-current="page"] { background: var(--card); }
/* xfix.ai's own pages: nothing on the right but the phone menu button, so the menu takes the header's end. */
.co-header .nav { margin-inline-start: auto; }
.co-header .wrap { justify-content: flex-start; }
/* A product's own header (search, gov): the menu right after the lockup and the action at the far edge, as in
   xfix shop (owner, 2026-10-03: "fix the nav menu to be like the shop nav menu, to the left, not centered"). */
.site-header:not(.co-header) .nav { margin-inline-start: clamp(4px, 1.6vw, 24px); margin-inline-end: auto; }
/* Products menu on xfix.ai's own pages: each tool with its one line. Opens toward the page, since the menu sits at the header's end. */
.nav .dropdown-tools { inset-inline-start: auto; inset-inline-end: 0; width: 380px; }
.nav .dropdown .dd-tool { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px; }
.nav .dropdown .dd-tool small { font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.header-right { display: flex; align-items: center; gap: 6px; }
.lang { font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-pill); }
.lang:hover { background: var(--card); }
/* The language switch (build.py lang_switch): a globe and the current language's code, opening a small menu. The same on
   every xfix.ai page and in every product (shop's LanguageMenu sizes). In the black bar since 2026-10-01 (.tb-end). */
.lang-switch { position: relative; display: inline-flex; flex: none; }
.lang-switch > summary { list-style: none; cursor: pointer; user-select: none; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary svg { display: block; flex: none; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: 176px; background: var(--card); color: var(--ink); border: 1px solid var(--hairline); border-radius: 12px; box-shadow: 0 16px 40px rgba(10, 14, 26, .14); padding: 6px; z-index: 30; }
.lang-head { display: block; padding: 8px 11px 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
[dir="rtl"] .lang-head { letter-spacing: 0; }
.lang-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; border-radius: 8px; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
a.lang-item:hover { background: var(--paper); color: var(--ink); }
.lang-item[aria-current] { font-weight: 800; color: var(--ink); }
.hamburger { display: none; width: 44px; height: 44px; border: 0; background: var(--card); border-radius: var(--radius-pill); cursor: pointer; place-items: center; }
@media (max-width: 1000px) {
  .nav, .header-right .lang, .header-right .signin { display: none; }
  .hamburger { display: grid; }
  body.menu-open .nav { display: flex; flex-direction: column; align-items: stretch; position: fixed; inset: 68px 0 0 0; background: var(--paper); padding: 16px 20px; gap: 4px; overflow: auto; z-index: 19; }
  body.menu-open .nav a, body.menu-open .nav .menu-btn { font-size: 18px; padding: 14px 16px; }
  body.menu-open .nav .dropdown { position: static; box-shadow: none; background: var(--card); margin: 4px 0 8px; }
  body.menu-open .nav .nav-m { display: flex; }
  body.menu-open .nav .nav-m-first { margin-top: 12px; border-top: 1px solid rgba(23,21,9,.12); border-radius: 0; }
  body.menu-open .nav .nav-m-lang { font-size: 16px; }
  body.menu-open .nav .dropdown-tools { width: auto; }
  .co-header .header-right { margin-inline-start: auto; }
  .co-header .header-right .lang { display: inline-flex; }
  body.menu-open .nav .dropdown .dd-tool { padding: 12px 14px; font-size: 16px; }
}

/* Company pages (About, Contact) */
.co-hero .lp-head { margin-bottom: 0; }
.lp-doors.co-doors { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.co-card { gap: 24px; align-items: flex-start; }
.co-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px 32px; margin: 0; width: 100%; }
.co-facts div { border-top: 1px solid var(--hairline); padding-top: 14px; }
.co-facts dt { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.co-facts dd { margin: 0; font-size: 18px; font-weight: 600; }
.co-mail-wrap { padding-top: var(--space-48); }
.co-mail { gap: 18px; }
.co-mail-link { font-size: clamp(28px, 5vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; }
.co-mail-link:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.co-route { color: var(--ink); transition: transform 280ms cubic-bezier(.2, 1.4, .4, 1); }
.co-route:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .co-route { transition: none; } .co-route:hover { transform: none; } }
.co-route-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.co-status { margin-top: 20px; }
.co-prose { display: flex; flex-direction: column; gap: 20px; max-width: 70ch; }
.co-prose p { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; color: var(--ink); }
.co-prose p:first-child { font-weight: 600; }
.co-cta-btn { align-self: flex-start; }
/* A tool's How it works page (xfix search, 2026-10-03): numbered steps, page-type pills, the score's parts and grades. */
.hw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.hw-steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: var(--radius-22); padding: 24px; }
.hw-steps .h3 { margin: 0 0 6px; }
.hw-num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--tool); color: var(--on-tool); font-weight: 800; font-size: 15px; }
.hw-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hw-pills li { padding: 8px 14px; border-radius: var(--radius-pill); background: var(--card); font-size: 14px; font-weight: 600; }
.hw-note { margin-top: 20px; max-width: 70ch; }
.hw-pen .check-list li { font-size: 15px; }
.hw-score { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .hw-score { grid-template-columns: 1fr; } }
.hw-parts dd { font-size: 16px; font-weight: 400; line-height: 1.55; }
.hw-grades ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hw-grades li { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.hw-grades b { width: 32px; height: 32px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--tool-tint); font-weight: 800; flex: none; }
.co-believe { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .co-believe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .co-believe { grid-template-columns: 1fr; } }

/* Homepage: one section per tool, in the tool's colour. The copy and the product window swap sides each time. */
.home-tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.home-tool-grid.is-flip .home-tool-copy { order: 2; }
.home-tool-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.home-tool-copy .lp-head { margin-bottom: 0; gap: 14px; }
.home-tool-copy .lp-title { font-size: clamp(32px, 3.8vw, 54px); }
.home-tool-name { align-self: flex-start; display: inline-flex; padding: 8px 14px 8px 8px; border-radius: var(--radius-pill); background: var(--tool-tint); color: var(--ink); }
[dir="rtl"] .home-tool-name { padding: 8px 8px 8px 14px; }
.home-tool .check-list li b { font-weight: 700; }
.home-tool-act { display: flex; flex-direction: column; gap: 12px; }
.home-tool-act > .btn { align-self: flex-start; }
.home-tool-act .scan { max-width: 560px; }
.home-tool .hero-note { gap: 8px 18px; }
.home-tool .hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.home-tool .hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tool); }
.home-tool-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; }
[dir="rtl"] .home-tool-more .xf-ui-icon, [dir="rtl"] .co-route-go .xf-ui-icon { transform: scaleX(-1); }
/* gov: one door per country's standard (Saudi DGA, UAE Design System). */
.home-std-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.home-std { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 10px; row-gap: 2px; align-items: center; padding: 14px 16px; border-radius: var(--radius-14); background: var(--tool-tint); color: var(--ink); text-decoration: none; }
.home-std:hover { background: color-mix(in srgb, var(--tool) 40%, var(--tool-tint)); }
.home-std:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.home-std-where { grid-column: 1; font-size: 13px; color: var(--ink-3); }
.home-std-name { grid-column: 1; font-weight: 700; line-height: 1.3; }
.home-std-count { grid-column: 1; font-size: 14px; color: var(--ink-2); }
.home-std .xf-ui-icon { grid-column: 2; grid-row: 1 / span 3; }
[dir="rtl"] .home-std .xf-ui-icon { transform: scaleX(-1); }
.home-tool .lp-stage { min-height: 460px; }
@media (max-width: 1000px) {
  .home-tool-grid { grid-template-columns: 1fr; }
  .home-tool-grid.is-flip .home-tool-copy { order: 0; }
  .home-tool .lp-stage { min-height: 0; }
}
@media (max-width: 560px) {
  .home-tool .scan { border-radius: var(--radius-22); flex-direction: column; align-items: stretch; }
  .home-tool .scan input { min-width: 0; width: 100%; }
  .home-tool .scan .btn { width: 100%; }
  .home-std-list { grid-template-columns: minmax(0, 1fr); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform 280ms cubic-bezier(.2, 1.4, .4, 1), background-color 200ms; }
.btn-primary { background: var(--tool); color: var(--on-tool); }
.btn-primary:hover { transform: scale(1.04); }
.btn-dark { background: var(--ink); color: var(--card); }
.btn-dark:hover { background: var(--ink-hover); }
.btn-secondary { background: var(--chip); color: var(--ink); }
.btn-secondary:hover { background: var(--chip-hover); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.link { font-weight: 700; color: var(--tool-text); }
.link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0 0; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: var(--space-48); }
.grid { display: grid; gap: var(--space-16); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--card); border-radius: var(--radius-22); padding: var(--space-32); display: flex; flex-direction: column; gap: 14px; }
.card.on-ink { background: var(--ink); color: var(--card); }
.card.on-ink .caption { color: var(--on-dark-soft); }
.card.on-ink .kicker { color: var(--on-dark-muted); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-art { display: flex; justify-content: center; }
.hero-art .xf-illus { width: min(440px, 100%) !important; }
.hero-grid { overflow: hidden; }
.scan { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--card); border-radius: var(--radius-pill); max-width: 620px; }
.scan input { flex: 1; min-width: 200px; height: 44px; padding: 0 18px; border: 0; background: transparent; color: var(--ink); outline: none; border-radius: var(--radius-pill); font-size: 15px; }
.scan input::placeholder { color: var(--ink-2); }
.scan:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.scan .btn { height: 44px; }
.hero-note { font-size: 14px; color: var(--ink-2); display: flex; gap: 14px; flex-wrap: wrap; }
.drop { border: 2px dashed var(--ink-3); border-radius: var(--radius-22); padding: 28px; text-align: center; color: var(--ink-2); background: var(--card); }
.drop b { color: var(--ink); }

/* Tool doors */
.door { position: relative; overflow: hidden; background: var(--card); border-radius: var(--radius-22); padding: 0; display: flex; flex-direction: column; min-height: 100%; }
.door-top { background: var(--tool-tint); aspect-ratio: 1.6; display: grid; place-items: center; }
.door-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.door-body .h3 { font-size: 22px; }
.door .who { font-size: 13px; font-weight: 700; color: var(--tool-text); }
.door .btn { align-self: flex-start; margin-top: auto; }
.door:hover .door-top { background: var(--tool); }
.door:hover .door-top .xf-mark { transform: scale(1.06); transition: transform 280ms cubic-bezier(.2, 1.4, .4, 1); }

/* Steps */
.step { display: flex; flex-direction: column; gap: 12px; }
.step .num { font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.step .stage { height: 124px; }

/* Rankings and proof */
.rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rank-list li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.card.on-ink .rank-list li { border-color: rgba(255, 255, 255, .14); }
.rank-list .score { font-weight: 300; font-size: 28px; letter-spacing: -.03em; color: var(--tool-text); }
.card.on-ink .rank-list .score { color: var(--tool); }
.rank-list .pos { color: var(--ink-3); font-weight: 700; font-size: 12px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .big { font-size: clamp(56px, 8vw, 96px); font-weight: 300; line-height: .9; letter-spacing: -.05em; }
.stat .big small { font-size: .3em; color: var(--ink-3); letter-spacing: 0; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.check-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 15px; align-items: flex-start; }
.check-list li .xf-ui-icon { flex: none; margin-top: 2px; color: var(--tool-text); }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Voice */
.voice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--space-16); }
.voice .col { border-radius: var(--radius-22); padding: 8px 28px 12px; display: flex; flex-direction: column; }
.voice .col.write { background: var(--card); }
.voice .col.avoid { background: var(--chip); color: var(--ink-2); }
.voice .col span { padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 16px; }
.voice .col .kicker { border: 0; padding: 18px 0 10px; }
.voice .write .kicker { color: var(--pass); }
.voice .avoid .kicker { color: var(--critical-text); }

/* CTA band */
.cta { --tool-text: var(--tool); background: var(--ink); color: var(--card); border-radius: var(--radius-32); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta .section-title { color: var(--card); }
.cta .lede { color: var(--on-dark-soft); }
.cta .scan { background: var(--graphite); }
.cta .scan input { color: var(--card); }
.cta .scan input::placeholder { color: var(--on-dark-muted); }
.cta .scan:focus-within { box-shadow: 0 0 0 3px var(--card); }
.cta-mark { position: absolute; inset-inline-end: -6%; top: -18%; width: 34%; aspect-ratio: 1; opacity: .95; pointer-events: none; }
@media (max-width: 800px) { .cta-mark { display: none; } }

/* Footer */
.site-footer { margin-top: clamp(64px, 9vw, 120px); background: var(--ink); color: var(--card); }
.site-footer .xf-wordmark, .cta .xf-wordmark { color: var(--card); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.footer-cols b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 12px; }
[dir="rtl"] .footer-cols b { letter-spacing: 0; text-transform: none; }
.footer-cols a { display: block; font-size: 14px; padding: 5px 0; color: var(--on-dark-soft); }
.footer-cols a:hover { color: var(--card); }
/* Footer columns are <details> (2026-10-29): always open on wider screens, accordions on a phone (site.js closes them). */
.fcol > summary { list-style: none; pointer-events: none; }
.fcol > summary::-webkit-details-marker { display: none; }
@media (max-width: 720px) {
  .footer-cols { display: block; }
  .fcol { border-top: 1px solid rgba(255, 255, 255, .14); }
  .fcol > summary { pointer-events: auto; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; }
  .fcol > summary b { margin: 0; color: var(--on-dark-soft); }
  .fcol > summary::after { content: "+"; font-size: 20px; color: var(--on-dark-muted); }
  .fcol[open] > summary::after { content: "2"; }
  .fcol > summary:focus-visible { outline: 2px solid var(--card); outline-offset: 2px; }
  .fcol-links { padding-bottom: 12px; }
  .fcol-links a { padding: 10px 0; font-size: 15px; }
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--on-dark-muted); border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 24px; }
.footer-tools { display: flex; gap: 8px; flex-wrap: wrap; }
/* A product's own footer (search, the gov chooser) leads with the product's lockup and its one line, as shop's does. */
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--on-dark-soft); }
.footer-lockup { display: inline-flex; color: var(--card); }
.footer-tools a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--radius-pill); background: var(--graphite); font-size: 13px; font-weight: 700; color: var(--card); }

/* Motion */
.rise { animation: xf-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.rise-2 { animation-delay: 60ms; }
.rise-3 { animation-delay: 120ms; }
.rise-4 { animation-delay: 180ms; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } .btn-primary:hover { transform: none; } }

/* Coming soon */
.waitlist { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--card); border-radius: var(--radius-pill); max-width: 520px; }
.waitlist input { flex: 1; min-width: 200px; height: 44px; padding: 0 18px; border: 0; background: transparent; outline: none; font-size: 15px; }
.waitlist:focus-within { box-shadow: 0 0 0 3px var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* xfix gov: the country chooser at /gov/ (2026-09-30). One card per country; the button's link
   covers the whole card, so the card is one target with one accessible name. */
.lp-section.gov-hero { padding-top: clamp(40px, 5vw, 64px); }
.gov-hero .lp-display { font-size: clamp(34px, 4.4vw, 60px); }
[dir="rtl"] .gov-hero .lp-display { font-size: clamp(32px, 4vw, 56px); }
.lp-section.gov-pick-wrap { padding-top: clamp(32px, 4vw, 48px); }
.gov-picks { align-items: stretch; }
.gov-pick { position: relative; gap: 16px; transition: transform 280ms cubic-bezier(.2, 1.4, .4, 1), box-shadow 280ms; }
.gov-pick:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(23, 21, 9, .10); }
.gov-pick:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.gov-pick-top { display: flex; align-items: center; gap: 12px; }
.gov-flag { display: block; width: 48px; height: 36px; border-radius: 6px; box-shadow: 0 0 0 1px var(--hairline); object-fit: cover; flex: none; }
.gov-pick-where { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.gov-pick-by { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0; border-block: 1px solid var(--hairline); }
.gov-authority { display: block; max-width: 100%; height: auto; }
.gov-pick .h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.gov-pick-local { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.gov-pick-count { margin: 0; font-size: 15px; font-weight: 700; }
.gov-pick-count::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--gov); margin-inline-end: 8px; vertical-align: 1px; }
.gov-pick-go { margin-top: auto; align-self: flex-start; }
.gov-pick-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* The whole card is the link (owner, 2026-10-13: the hand showed over the card but only the button clicked). The
   button's hover zoom made the button a transformed box, which shrank this ::after back to the button's own size the
   moment the pointer reached it. So the button never transforms here; the card lifts instead, and shows the pointer. */
.gov-pick-go:hover, .gov-pick:hover .gov-pick-go { transform: none; }
.gov-pick { cursor: pointer; }
.gov-pick-go:focus-visible { outline: none; }
[dir="rtl"] .gov-pick-go .xf-ui-icon { transform: scaleX(-1); }
.gov-pick-note { margin-top: 24px; max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .gov-pick { transition: none; } .gov-pick:hover { transform: none; } }

/* xfix gov homepage, /gov/ and /gov/ar/ (the Home board, design-export/spec/Home.dc.html, 2026-10-13). gh- classes,
   gov_home() in build.py. Lime (--gov) is a fill only: under ink text, or as text on the ink surfaces. Country colours are
   the --c of each card, from tokens.css. No negative letter-spacing anywhere on these pages. */
body.gov-home .wrap { max-width: 1200px; }
body.gov-home .site-header { border-bottom: 1px solid var(--hairline); }
body.gov-home .site-footer { margin-top: 0; border-top: 1px solid var(--hairline-dark); }
body.gov-home main section[id] { scroll-margin-top: 84px; }
.footer-note { max-width: 760px; line-height: 1.7; }
.gh-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; direction: ltr; unicode-bidi: isolate; letter-spacing: 0; }
.gh-kicker { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.gh-h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.3; font-weight: 700; letter-spacing: 0; text-wrap: balance; }
.gh-h1 mark { background: var(--gov); padding: 0 10px; }
.gh-h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.3; font-weight: 700; letter-spacing: 0; text-wrap: balance; }
.gh-lede { margin: 0; font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.gh-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.gh-card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius-22); box-shadow: 0 1px 2px rgba(23, 21, 9, .04), 0 4px 12px rgba(23, 21, 9, .05); }
.gh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius-pill); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }

.gh-hero { padding: 80px 0 72px; }
.gh-hero .wrap { display: flex; flex-direction: column; gap: 44px; }
.gh-intro { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.gh-intro .gh-lede { font-size: 19px; max-width: 680px; }
.gh-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
/* The whole card is the link: the button's ::after covers it, and nothing on the button transforms (see .gov-pick-go). */
.gh-pick { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-top: 6px solid var(--c); cursor: pointer; transition: box-shadow 200ms; }
.gh-pick:hover { box-shadow: 0 12px 32px rgba(23, 21, 9, .12); }
.gh-pick:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.gh-pick-top { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.gh-flag { width: 48px; height: 36px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(23, 21, 9, .1); object-fit: cover; flex: none; }
.gh-pick-by { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: 64px; }
.gh-pick-by span { font-size: 13px; color: var(--ink-2); }
.gh-logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.gh-pick h2 { margin: 0; font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.gh-count { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.gh-count .gh-mono { font-size: 34px; font-weight: 500; color: var(--c); }
.gh-count span + span { font-size: 15px; color: var(--ink-2); }
.gh-desc { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.gh-go { background: var(--c); color: var(--card); margin-top: auto; align-self: flex-start; }
.gh-go::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-22); }
.gh-go:focus-visible { outline: none; }
.gh-other { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.gh-other a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gh-ticks { display: flex; gap: 18px; flex-wrap: wrap; }

.gh-stats { padding: 0 0 80px; }
.gh-stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.gh-stat { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.gh-stat .gh-mono { font-size: 44px; font-weight: 500; line-height: 1.3; }
.gh-stat span + span { font-size: 14px; color: var(--ink-2); }

.gh-how { padding: 80px 0; background: var(--card); border-block: 1px solid var(--hairline); }
.gh-how .wrap, .gh-pricing .wrap { display: flex; flex-direction: column; gap: 40px; }
.gh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.gh-step { padding: 28px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); box-shadow: none; }
.gh-step .gh-mono { font-size: 14px; color: var(--ink-2); }
.gh-step h3 { margin: 0; font-size: 22px; letter-spacing: 0; }
.gh-step p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }

.gh-pricing { padding: 80px 0; }
.gh-pricing .wrap { gap: 36px; }
.gh-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.gh-price { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.gh-price-head { display: flex; flex-direction: column; gap: 6px; }
.gh-price-head h3 { margin: 0; font-size: 22px; letter-spacing: 0; }
.gh-price-head div { font-size: 14px; color: var(--ink-2); }
.gh-amt { font-size: 44px; font-weight: 500; line-height: 1.3; }
.gh-from { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.gh-from span:not(.gh-mono) { font-size: 14px; color: var(--ink-2); }
.gh-quote { font-size: 26px; font-weight: 700; }
.gh-list { margin: 0; padding: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.gh-price .gh-btn { margin-top: auto; align-self: flex-start; }
.gh-price-dark { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-22); }
.gh-price-dark .gh-price-head div { color: var(--on-dark-2); }
.gh-price-dark .gh-amt { color: var(--gov); }
.gh-price-dark .gh-list { color: var(--on-dark); }
.gh-price-line { border: 2px solid var(--ink); }
.gh-btn-lime { background: var(--gov); color: var(--ink); }
.gh-btn-ink { background: var(--ink); color: var(--card); }
.gh-btn-line { background: var(--card); color: var(--ink); border: 1px solid var(--mark-bar); }

.gh-controls { padding: 72px 0; background: var(--card); border-top: 1px solid var(--hairline); }
.gh-controls .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.gh-controls .gh-head { flex: 1 1 300px; }
.gh-controls .gh-h2 { font-size: 30px; }
.gh-controls .gh-lede { font-size: 15px; }
.gh-rules { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px 40px; font-size: 15px; line-height: 1.7; }
.gh-rules li { display: flex; gap: 10px; }
.gh-rules li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--gov); margin-top: 10px; flex: none; }

.gh-band { padding: 64px 0; background: var(--ink); color: var(--on-dark); }
.gh-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.gh-band-copy { display: flex; flex-direction: column; gap: 8px; }
.gh-band-copy h2 { margin: 0; font-size: 30px; line-height: 1.4; font-weight: 700; letter-spacing: 0; }
.gh-band-copy p { margin: 0; font-size: 15px; color: var(--on-dark-2); }
.gh-band-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.gh-band-ksa { background: var(--gov-ksa); color: var(--card); }
.gh-band-uae { background: var(--gov-uae-fill); color: var(--ink); }
.gh-band-jor { background: var(--gov-jor); color: var(--card); }
.gh-band-omn { background: var(--gov-omn); color: var(--card); }
.gh-band-bhr { background: var(--gov-bhr); color: var(--card); }
.gh-band-qtr { background: var(--gov-qtr); color: var(--card); }
.gh-band-uk { background: var(--gov-uk); color: var(--card); }
.gh-band :focus-visible, .gh-price-dark :focus-visible { outline-color: var(--on-dark); }
@media (max-width: 640px) { .gh-hero { padding: 48px 0 56px; } .gh-how, .gh-pricing { padding: 56px 0; } .gh-controls { padding: 56px 0; } .gh-band { padding: 48px 0; } .gh-band-copy h2 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .gh-pick { transition: none; } }

/* About: the registered company as small print, and "Who builds xfix" (round 1, 2026-10-06). */
.co-smallprint { margin-top: 20px; max-width: 68ch; font-size: 13px; color: var(--ink-3); }
.co-founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.co-founder { flex-direction: row; align-items: flex-start; gap: 20px; }
.co-founder-photo { width: 96px; height: 96px; border-radius: 20px; flex: none; object-fit: cover; background: var(--chip); }
.co-founder-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.co-founder-copy .h3 { margin: 0; }
.co-founder-copy .caption { margin: 0; }
.co-founder-role { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.co-founder-li { align-self: flex-start; font-weight: 700; }
@media (max-width: 480px) { .co-founder { flex-direction: column; } }

/* One header grid for every product (owner, 2026-10-18): the lockup in a fixed slot and the same spacing as the shop
   app's header (SiteHeader / SearchChrome: gap clamp(10px, 3vw, 22px), lockup .xf-lockup-slot 172px), so the menu
   starts at the same place on search and shop, static or app. */
.site-header:not(.co-header) .wrap { gap: clamp(10px, 3vw, 22px); }
.site-header:not(.co-header) .nav { margin-inline-start: 0; }
@media (min-width: 901px) { .site-header .lockup-link { min-width: 172px; box-sizing: border-box; } }
.nav .menu-btn[aria-current] { background: var(--card); }
.nav .dropdown a[aria-current="page"] { background: var(--paper); }
.nav .dropdown-search { width: 340px; }

/* Tap targets (audit 2026-10-20): the footer language links were 19px tall. */
.footer-bottom a { display: inline-block; padding-block: 4px; }

/* Header menus shared by every xfix.ai site (2026-11-01): group titles in Free tools, the Apps menu's "Coming soon". */
.nav .dropdown .dd-group { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 12px 14px 4px; }
.nav .dropdown .dd-group:not(:first-child) { margin-top: 6px; border-top: 1px solid rgba(23, 21, 9, .1); }
.nav .dropdown .dd-soon { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; vertical-align: 1px; }
/* Anchored to the menu bar, not its button, so the 640px panel stays on screen wherever the button sits. */
.site-header .nav { position: relative; }
.nav .has-menu:has(.dropdown-wide) { position: static; }
.nav .dropdown-wide { width: 640px; max-width: calc(100vw - 32px); inset-inline-start: auto; inset-inline-end: 0; flex-direction: row; gap: 4px; }
.nav .has-menu.open .dropdown-wide { display: flex; }
.nav .dropdown .dd-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.nav .dropdown .dd-col .dd-group { border-top: 0; margin-top: 0; }
@media (max-width: 1000px) {
  body.menu-open .nav .dropdown-wide, body.menu-open .nav .dropdown-search { width: auto; max-width: none; flex-direction: column; }
  body.menu-open .nav .dropdown .dd-col + .dd-col .dd-group { margin-top: 6px; border-top: 1px solid rgba(23, 21, 9, .1); }
}

/* ---------- search pages in xfix ux's style (owner, 2026-11-01: "h1 is different, the eyebrow, the whole style is
   different ... for website URL field, they should be the same, cards same"). The values are xfix ux's own
   (apps/web components/ux/UxTypeStyles.tsx: .uxd-h1, .uxd-eyebrow, .uxd-sub, .uxd-form, .uxd-input, .uxd-btn, .uxd-h2,
   .uxd-kicker, .uxd-card); search keeps its yellow where ux has its pink. Fonts: build.py SEARCH_FONT_HEAD. ---------- */
body[data-tool="search"] { font-family: "Mulish", -apple-system, "Segoe UI", sans-serif; font-weight: 600; }
body[data-tool="search"] :is(input, button, textarea, select) { font-family: inherit; }
[lang="ar"] body[data-tool="search"] { font-family: "IBM Plex Sans Arabic", "Mulish", sans-serif; }
[lang="ar"] body[data-tool="search"] :is(h1, h2, h3) { font-family: "Alexandria", "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
/* Hero: the headline, the eyebrow pill and the line under it. */
body[data-tool="search"] .lp-display { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; font-weight: 900; letter-spacing: -.025em; }
[lang="ar"] body[data-tool="search"] .lp-display { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.5; }
body[data-tool="search"] .lp-display mark { background: none; padding: 0; }
body[data-tool="search"] .lp-hero .kicker { align-self: flex-start; display: inline-block; width: auto; padding: 8px 14px; border-radius: 999px; background: #FFF4B8; color: #5A4A00; font-size: 13px; line-height: 1.4; font-weight: 800; letter-spacing: 0; text-transform: none; }
body[data-tool="search"] .lp-hero-copy { display: flex; flex-direction: column; align-items: stretch; }
body[data-tool="search"] .lp-hero .lede { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; font-weight: 600; color: var(--ink-2); max-width: 60ch; }
/* The address field: a white card with the field and the button inside, as xfix ux's. */
body[data-tool="search"] .scan { max-width: 640px; width: 100%; padding: 14px; gap: 10px; border-radius: 24px; background: var(--card); box-shadow: 0 1px 0 #E8E3D2, 0 12px 32px rgba(26, 23, 18, .06); }
body[data-tool="search"] .scan:focus-within { box-shadow: 0 1px 0 #E8E3D2, 0 12px 32px rgba(26, 23, 18, .06); }
body[data-tool="search"] .scan input { flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 22px; border: 1px solid #E8E3D2; border-radius: 999px; background: var(--paper); font-size: 17px; font-weight: 600; }
body[data-tool="search"] .scan input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
body[data-tool="search"] .scan .btn { height: 56px; padding: 0 24px; font-size: 16px; font-weight: 900; }
body[data-tool="search"] .hero-note { font-size: 14px; font-weight: 600; color: var(--ink-2); }
/* Sections: the kicker, the heading, the line under it. */
body[data-tool="search"] .kicker { font-weight: 800; letter-spacing: .14em; color: #75705F; }
body[data-tool="search"] :is(.lp-title, .section-title) { font-size: clamp(24px, 3vw, 36px); line-height: 1.12; font-weight: 900; letter-spacing: -.02em; }
[lang="ar"] body[data-tool="search"] :is(.lp-title, .section-title) { line-height: 1.6; }
body[data-tool="search"] .lp-head .lede, body[data-tool="search"] .section-head .lede { font-size: 15px; line-height: 1.7; font-weight: 600; color: var(--ink-2); max-width: 68ch; }
/* Cards. */
body[data-tool="search"] .card { border-radius: 22px; padding: clamp(18px, 2.4vw, 24px); }
body[data-tool="search"] .card .h3 { font-size: 17px; line-height: 1.5; font-weight: 900; letter-spacing: 0; }
body[data-tool="search"] .card .caption { font-size: 15px; line-height: 1.7; font-weight: 600; color: var(--ink-2); }
/* Phones: the field over the button, both full width (the narrow rules stack .scan as a column). */
@media (max-width: 640px) {
  body[data-tool="search"] .scan { flex-direction: column; align-items: stretch; }
  body[data-tool="search"] .scan input, body[data-tool="search"] .scan .btn { flex: 0 0 auto; width: 100%; height: 56px; }
}
/* Step numbers: xfix ux's filled circle (.uxd-steps b), in search's yellow. */
body[data-tool="search"] .step .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--search); color: var(--ink); font-family: inherit; font-size: 15px; line-height: 1; font-weight: 900; letter-spacing: 0; }
