/* saudidomainnames.com static site. Palette kept from the previous React build:
   deep emerald, warm stone, gold accent. Gold is only used on dark backgrounds for contrast. */
:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --paper: #fafaf9;
  --paper-2: #f2efe9;
  --line: #d6d3d1;
  --emerald: #022c22;
  --emerald-2: #064e3b;
  --link: #065f46;
  --gold: #eab308;
  --gold-soft: #fde68a;
  --flag: #fef3c7;
  --radius: 6px;
  --wrap: 72rem;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--emerald); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: none; }
.narrow .enquiry { max-width: 46rem; }
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
main { overflow-x: clip; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--emerald); overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.4rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Header */
.site-header { background: var(--emerald); color: #fff; position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; }
.brand-mark { font: 700 0.8rem/1 var(--sans); letter-spacing: 0.12em; border: 1.5px solid var(--gold); color: var(--gold); padding: 0.45rem 0.4rem; border-radius: 3px; }
.brand-name { font: 700 1.15rem/1 var(--serif); }
.nav-toggle { display: none; background: none; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); padding: 0.45rem 0.8rem; font: 600 0.95rem var(--sans); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; padding: 0; align-items: center; }
.site-nav a { color: #fff; text-decoration: none; font-size: 0.95rem; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: #fff; }
.site-nav .nav-cta { background: var(--gold); color: var(--ink); padding: 0.45rem 0.9rem; border-radius: var(--radius); border: 0; font-weight: 600; }
.site-nav .nav-cta:hover { background: var(--gold-soft); color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--emerald); padding: 0.5rem 1rem 1rem; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; }
}

/* Hero */
.hero { background: radial-gradient(120% 140% at 85% 0%, #0b3d2e 0%, var(--emerald) 55%, #011a14 100%); color: #f5f5f4; }
.hero-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero h1 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--gold-soft); margin: 0 0 0.75rem; }
.lead { font-size: 1.15rem; }
.hero .lead { color: #e7e5e4; }
.hero-buttons, .cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.btn { display: inline-block; padding: 0.8rem 1.4rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }

.answer { font-size: 1.15rem; border-left: 4px solid var(--emerald-2); padding-left: 1rem; }
.dates { font-size: 0.875rem; color: var(--ink-soft); }
.disclaimer { margin: 0; padding: 0.75rem 1rem; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.9rem; text-align: center; color: var(--ink-soft); }
.note, .muted { font-size: 0.9rem; color: var(--ink-soft); }
.text-link { font-weight: 600; }

/* Crumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 1rem 0 0; margin: 0; font-size: 0.875rem; }
.crumbs li + li::before { content: "/"; margin: 0 0.4rem; color: var(--ink-soft); }

/* Cards and grids */
.card-grid, .sector-grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.card h3 { margin: 0.2rem 0 0.4rem; font-family: var(--sans); font-size: 1.05rem; overflow-wrap: anywhere; }
.card p { margin: 0.3rem 0; font-size: 0.95rem; }
.card-kicker { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem !important; color: var(--ink-soft); }
.card-price { font-weight: 600; color: var(--emerald-2); }
.band { background: var(--paper-2); }
.sector-grid li { border-top: 3px solid var(--emerald-2); padding-top: 0.5rem; }
.sector-grid h3 { margin-top: 0.5rem; }
.steps { padding-left: 1.25rem; }
.steps li { margin-bottom: 0.6rem; }
.buyers { padding-left: 1.25rem; }
.buyers li { margin-bottom: 0.5rem; }
.related { padding-left: 1.25rem; }

/* Tables */
.table-scroll { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
table.data caption { text-align: left; font-weight: 600; padding: 0.75rem 0.9rem; color: var(--emerald); }
table.data th, table.data td { padding: 0.6rem 0.9rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th { background: var(--paper-2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
table.data tbody th { font-weight: 600; }
table.data tr.flagged { background: var(--flag); }
table.keyfacts tbody th { width: 38%; }
/* Inventory faceted search and sort (assets/inventory.js). Hidden without JS.
   Desktop: sticky toolbar with popovers. Mobile (<=760px): the same DOM as two bottom sheets. */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.inv [hidden], .inv-fab[hidden], .inv-backdrop[hidden], .inv-badge[hidden], .inv-sheet [hidden] { display: none !important; }
.inv { --ctl: 2.75rem; --pop-r: 12px; --tint: #eef5f1; --ease: cubic-bezier(.16, 1, .3, 1); font-variant-numeric: tabular-nums; }
.ic { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.inv-sentinel { height: 1px; margin-top: 1.75rem; }
/* Sticky across the whole table; when stuck, a full-bleed paper band (box-shadow, so no scroll overflow). */
.inv-tools { position: sticky; top: 4rem; z-index: 4; background: var(--paper); transition: box-shadow .2s var(--ease); }
.inv-tools.is-stuck { box-shadow: 0 0 0 100vmax var(--paper), 0 1px 0 100vmax var(--line), 0 12px 20px -14px 100vmax rgba(28, 25, 23, .3); clip-path: inset(0 -100vmax -2rem -100vmax); }
.inv-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.6rem 0; }

/* Search */
.inv-search { position: relative; flex: 1 1 12rem; display: flex; align-items: center; min-width: 0; }
.inv-search > .ic { position: absolute; left: 0.85rem; color: var(--ink-soft); pointer-events: none; }
.inv-search input { width: 100%; height: var(--ctl); padding: 0 2.6rem 0 2.5rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 0.97rem; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.inv-search input::placeholder { color: #78716c; }
.inv-search input:hover { border-color: #a8a29e; }
.inv-search input:focus { outline: none; border-color: var(--emerald-2); box-shadow: 0 0 0 4px rgba(6, 78, 59, .12); }
.inv-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.inv-kbd { position: absolute; right: 0.75rem; min-width: 1.4rem; padding: 0.05rem 0.35rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--paper); color: var(--ink-soft); font: 600 0.75rem/1.3 var(--sans); text-align: center; }
.inv-search input:focus ~ .inv-kbd, .inv-search input:not(:placeholder-shown) ~ .inv-kbd { opacity: 0; }

/* Facet buttons */
.inv-sheet { display: contents; }
.sheet-head, .sheet-foot { display: none; }
.sheet-body { display: contents; }
.inv-sortwrap .facet { margin-left: auto; }
.facet { position: relative; }
.facet-btn { display: inline-flex; align-items: center; gap: 0.4rem; height: var(--ctl); padding: 0 0.85rem 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 0.93rem var(--sans); cursor: pointer; white-space: nowrap; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.facet-btn:hover { border-color: #a8a29e; }
.facet-btn[aria-expanded="true"] { border-color: var(--emerald-2); box-shadow: 0 0 0 4px rgba(6, 78, 59, .1); }
.facet-val { color: var(--emerald-2); font-weight: 600; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; }
.facet-val:empty { display: none; }
.facet.is-set > .facet-btn { background: var(--tint); border-color: var(--emerald-2); }
.facet.is-set .facet-name::after { content: ":"; }
.facet--sort .facet-name::after { content: ":"; }
.ic-chev { width: 0.95rem; height: 0.95rem; color: var(--ink-soft); transition: transform .2s var(--ease); }
.facet-btn[aria-expanded="true"] .ic-chev { transform: rotate(180deg); }

/* Popovers */
.facet-pop { position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 6; width: 20rem; max-width: calc(100vw - 2rem); padding: 1rem 1.1rem 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--pop-r); box-shadow: 0 18px 40px -12px rgba(28, 25, 23, .28), 0 3px 8px -2px rgba(28, 25, 23, .08); opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.985); transform-origin: top left; transition: opacity .16s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
.facet.align-right .facet-pop, .facet--sort .facet-pop { left: auto; right: 0; transform-origin: top right; }
.facet.is-open .facet-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .16s var(--ease), transform .2s var(--ease), visibility 0s; }
.facet-pop--range { width: 22rem; }
.facet-pop--sort { width: 27rem; }
.facet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.65rem; }
.facet-head--sub { display: block; margin: 1rem 0 0.5rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.facet-title { margin: 0; font: 600 0.95rem var(--sans); color: var(--ink); }
.facet-sub, .facet-hint { margin: 0.15rem 0 0; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; }
.facet-hint { margin-top: 0.7rem; }
.facet-foot { display: flex; justify-content: flex-end; margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.link-btn { padding: 0.35rem 0.2rem; border: 0; background: none; color: var(--link); font: 600 0.88rem var(--sans); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-btn:hover { color: var(--emerald); }

/* Option lists */
.opt-search { position: relative; display: flex; align-items: center; margin-bottom: 0.5rem; }
.opt-search .ic { position: absolute; left: 0.65rem; color: var(--ink-soft); }
.opt-search input { width: 100%; height: 2.4rem; padding: 0 0.75rem 0 2.1rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 0.9rem; }
.opt-search input:focus { outline: none; border-color: var(--emerald-2); box-shadow: 0 0 0 3px rgba(6, 78, 59, .12); }
.opt-list { list-style: none; margin: 0 -0.4rem; padding: 0; max-height: 17rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.opt { position: relative; display: flex; align-items: center; gap: 0.65rem; min-height: 2.5rem; padding: 0.3rem 0.4rem; border-radius: 8px; cursor: pointer; font-size: 0.94rem; }
.opt:hover { background: var(--paper); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-box { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border: 1.5px solid #a8a29e; border-radius: 5px; background: #fff; transition: background-color .12s, border-color .12s; }
.opt-box .ic { width: 0.8rem; height: 0.8rem; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .12s, transform .18s var(--ease); }
.opt input:checked + .opt-box { background: var(--emerald-2); border-color: var(--emerald-2); }
.opt input:checked + .opt-box .ic { opacity: 1; transform: none; }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt-label { flex: 1; }
.opt-n { min-width: 1.6rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); font-size: 0.78rem; text-align: center; }
.opt.is-zero { color: #a8a29e; }
.opt.is-zero .opt-n { background: transparent; }

/* Range: histogram above a dual-thumb slider */
.range-readout { margin: 0; font-weight: 600; font-size: 0.9rem; color: var(--emerald-2); }
.histo { display: flex; align-items: flex-end; gap: 2px; height: 3.25rem; padding: 0 0.6rem; }
.histo span { --h: 0; flex: 1; height: 100%; border-radius: 2px 2px 0 0; background: var(--line); transform: scaleY(var(--h)); transform-origin: bottom; transition: transform .25s var(--ease), background-color .15s; }
.histo span.is-in { background: var(--emerald-2); }
.dual { --a: 0%; --b: 100%; position: relative; height: 1.5rem; margin: 0 0.6rem; }
.dual::before, .dual::after { content: ""; position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; }
.dual::before { left: 0; right: 0; background: var(--line); }
.dual::after { left: var(--a); right: calc(100% - var(--b)); background: var(--emerald-2); }
.dual input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 1; }
.dual input::-webkit-slider-runnable-track { background: none; height: 100%; }
.dual input::-moz-range-track { background: none; }
.dual input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 1.5rem; height: 1.5rem; margin-top: 0; border: 2px solid var(--emerald-2); border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(28, 25, 23, .25); cursor: grab; transition: transform .15s var(--ease); }
.dual input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; border: 2px solid var(--emerald-2); border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(28, 25, 23, .25); cursor: grab; }
.dual input:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.dual input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--gold); outline-offset: 2px; }
.dual input:focus-visible::-moz-range-thumb { outline: 3px solid var(--gold); outline-offset: 2px; }
.dual input:focus { outline: none; }
.range-ends { display: flex; justify-content: space-between; margin: 0.35rem 0.1rem 0; font-size: 0.78rem; color: var(--ink-soft); }

/* Sort */
.sort-presets { display: grid; gap: 0.15rem; margin: 0 -0.4rem; }
.preset { display: flex; align-items: center; gap: 0.65rem; min-height: 2.4rem; padding: 0.3rem 0.4rem; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 400 0.94rem var(--sans); text-align: left; cursor: pointer; }
.preset:hover { background: var(--paper); }
.preset-dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #a8a29e; transition: box-shadow .15s var(--ease); }
.preset[aria-checked="true"] { font-weight: 600; }
.preset[aria-checked="true"] .preset-dot { box-shadow: inset 0 0 0 5px var(--emerald-2); }
.sort-list { list-style: none; margin: 0 0 0.6rem; padding: 0; display: grid; gap: 0.5rem; counter-reset: lvl; }
.sort-level { display: grid; grid-template-columns: 2.6rem 1fr auto; grid-template-areas: "rank key tools" ". dir dir"; align-items: center; gap: 0.4rem 0.5rem; padding: 0.55rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.sort-rank { grid-area: rank; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.select-wrap { grid-area: key; position: relative; display: flex; align-items: center; }
.select-wrap select { width: 100%; height: 2.4rem; padding: 0 2rem 0 0.7rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: 500 0.92rem var(--sans); -webkit-appearance: none; appearance: none; cursor: pointer; }
.select-wrap select:focus { outline: none; border-color: var(--emerald-2); box-shadow: 0 0 0 3px rgba(6, 78, 59, .12); }
.select-wrap .ic-chev { position: absolute; right: 0.6rem; pointer-events: none; }
.seg { grid-area: dir; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 9px; background: var(--paper-2); }
.seg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; height: 2.1rem; padding: 0 0.6rem; border: 0; border-radius: 7px; background: none; color: var(--ink-soft); font: 500 0.85rem var(--sans); cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.seg-btn .ic { width: 0.9rem; height: 0.9rem; }
.seg-btn[aria-pressed="true"] { background: #fff; color: var(--emerald); font-weight: 600; box-shadow: 0 1px 3px rgba(28, 25, 23, .14); }
.level-tools { grid-area: tools; display: flex; gap: 0.15rem; }
.icon-btn { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn:disabled { color: #d6d3d1; cursor: default; background: none; }
.icon-btn--sm { width: 2.1rem; height: 2.1rem; }
.sort-add { display: inline-flex; align-items: center; gap: 0.45rem; height: 2.5rem; padding: 0 0.9rem 0 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--emerald); font: 600 0.88rem var(--sans); cursor: pointer; }
.sort-add:hover { border-color: var(--emerald-2); background: var(--tint); }

/* Summary line and active tokens */
.inv-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0.5rem 0 0.25rem; min-height: 2.25rem; }
.inv-status { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }
.inv-status strong { color: var(--ink); font-weight: 700; }
.inv-active { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0; padding: 0; }
.token { display: inline-flex; align-items: center; gap: 0.35rem; height: 2rem; padding: 0 0.55rem 0 0.8rem; border: 1px solid var(--emerald-2); border-radius: 999px; background: var(--tint); color: var(--emerald); font: 500 0.85rem var(--sans); cursor: pointer; }
.token .ic { width: 0.85rem; height: 0.85rem; stroke-width: 2.4; }
.token:hover { background: #dcebe3; }
.inv-badge { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 0.35rem; margin-left: 0.15rem; border-radius: 999px; background: var(--emerald-2); color: #fff; font-size: 0.75rem; font-weight: 700; }

/* Sortable column headers */
.th-sort { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; font-weight: 700; cursor: pointer; }
.th-sort:hover { color: var(--link); }
.th-ic { width: 0.85rem; height: 0.85rem; opacity: 0; transition: opacity .15s, transform .2s var(--ease); }
.th-sort:hover .th-ic { opacity: .45; }
.th-sort.is-sorted .th-ic { opacity: 1; color: var(--emerald-2); }
.th-sort.is-desc .th-ic { transform: rotate(180deg); }
.th-rank { font-size: 0.68rem; color: var(--emerald-2); }

/* Empty state */
.inv-empty { display: grid; justify-items: center; gap: 0.35rem; margin: 1rem 0; padding: 2.5rem 1.25rem; border: 1px dashed #a8a29e; border-radius: var(--pop-r); background: #fff; text-align: center; }
.ic-empty { width: 2rem; height: 2rem; color: var(--ink-soft); stroke-width: 1.5; }
.inv-empty-t { margin: 0.4rem 0 0; font-weight: 600; font-size: 1.05rem; }
.inv-empty-s { margin: 0 0 0.75rem; color: var(--ink-soft); font-size: 0.93rem; }
.inv-clear-btn { border-color: var(--emerald-2); color: var(--emerald); background: #fff; }

/* Mobile pieces, hidden on desktop */
.inv-mobile-actions, .inv-fab, .inv-backdrop { display: none; }
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; height: var(--ctl); padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 0.93rem var(--sans); cursor: pointer; white-space: nowrap; }
.pill-sub { margin-left: -0.3rem; font-weight: 500; color: var(--emerald-2); max-width: 7rem; overflow: hidden; text-overflow: ellipsis; }
.pill-sub:not(:empty)::before { content: ": "; color: var(--ink); }
.inv-fab .pill-sub:not(:empty)::before { color: #fff; }
@media (min-width: 1000px) { .inv-toolbar { flex-wrap: nowrap; } }

@media (prefers-reduced-motion: reduce) {
  .inv *, .inv-sheet, .inv-backdrop, .facet-pop { transition: none !important; }
}

@media (max-width: 760px) {
  .inv-tools { position: static; }
  .inv-tools.is-stuck { box-shadow: none; clip-path: none; }
  .inv-toolbar { padding: 0; }
  .inv-search { flex-basis: 100%; }
  .inv-kbd { display: none; }
  .inv-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; flex: 1 1 100%; }
  .inv-sheet { display: none; }
  .inv-summary { margin-top: 0.75rem; }

  /* Bottom sheets (moved to <body> while open) */
  .inv-sheet.is-open, body > .inv-sheet { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-height: 90vh; max-height: 90dvh; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(28, 25, 23, .25); transform: translateY(100%); transition: transform .28s var(--ease); font-variant-numeric: tabular-nums; --ctl: 2.75rem; --tint: #eef5f1; --ease: cubic-bezier(.16, 1, .3, 1); --pop-r: 12px; }
  body > .inv-sheet.is-open { transform: none; }
  .inv-sheet .sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 0.4rem 0.5rem 0.4rem 1.1rem; border-bottom: 1px solid var(--line); }
  .inv-sheet .sheet-head::before { content: ""; position: absolute; top: 0.45rem; left: 50%; width: 2.5rem; height: 4px; margin-left: -1.25rem; border-radius: 4px; background: var(--line); }
  .sheet-title { margin: 0.4rem 0 0; font: 700 1.15rem var(--serif); color: var(--emerald); }
  .inv-sheet .sheet-body { display: block; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.1rem; }
  .inv-sheet .sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.1rem calc(0.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .sheet-show { flex: 1; max-width: 15rem; border: 0; text-align: center; }
  .inv-sheet .facet { position: static; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .inv-sheet .facet:last-child { border-bottom: 0; }
  .inv-sheet .facet-btn { display: none; }
  .inv-sheet .facet-pop { position: static; width: auto; max-width: none; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .inv-sheet .facet-foot { display: none; }
  .inv-sheet .facet-title { font-size: 1.02rem; }
  /* Options become tappable chips in the sheet */
  .inv-sheet .opt-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; max-height: none; overflow: visible; }
  .inv-sheet .opt { min-height: 2.75rem; padding: 0 0.95rem; border: 1px solid var(--line); border-radius: 999px; gap: 0.4rem; }
  .inv-sheet .opt-box { display: none; }
  .inv-sheet .opt:has(input:checked) { background: var(--emerald-2); border-color: var(--emerald-2); color: #fff; }
  .inv-sheet .opt:has(input:checked) .opt-n { background: rgba(255, 255, 255, .18); color: #fff; }
  .inv-sheet .opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
  .inv-sheet .opt.is-zero { display: none; }
  .inv-sheet .opt-search { display: none; }
  .inv-sheet .dual input::-webkit-slider-thumb { width: 1.85rem; height: 1.85rem; }
  .inv-sheet .facet-pop--sort { padding-bottom: 0.5rem; }
  .inv-sheet .sort-level { grid-template-columns: 3.2rem 1fr auto; }

  .inv-backdrop { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(12, 10, 9, .45); opacity: 0; transition: opacity .25s; }
  .inv-backdrop.is-on { opacity: 1; }
  .inv-fab { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 20; width: min(20rem, calc(100% - 2rem)); transform: translateX(-50%); padding: 0.3rem; gap: 0.3rem; border-radius: 999px; background: var(--emerald); box-shadow: 0 10px 28px -6px rgba(2, 44, 34, .55); }
  .inv-fab .pill-btn { height: 2.6rem; border: 0; background: transparent; color: #fff; }
  .inv-fab .pill-btn + .pill-btn { border-left: 1px solid rgba(255, 255, 255, .2); border-radius: 0 999px 999px 0; }
  .inv-fab .pill-sub { color: var(--gold-soft); }
  .inv-fab .inv-badge { background: var(--gold); color: var(--ink); }
  .inv-fab .ic { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; width: 1.05rem; height: 1.05rem; }

  /* Inventory table becomes a card list: no sideways scrolling on phones. */
  .inv-scroll { overflow: visible; border: 0; background: none; }
  .inv-table caption { display: block; padding: 0 0 0.5rem; }
  .inv-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .inv-table, .inv-table tbody { display: block; }
  .inv-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 0.75rem; margin-bottom: 0.75rem; padding: 0.85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
  .inv-table tbody tr.flagged { background: var(--flag); }
  .inv-table tbody th, .inv-table tbody td { display: block; padding: 0; border: 0; }
  .inv-table tbody th { grid-column: 1 / -1; font-size: 1.05rem; margin-bottom: 0.3rem; overflow-wrap: anywhere; }
  .inv-table tbody td::before { content: attr(data-label); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
  .inv-table tbody td[data-label="Suggested use"], .inv-table tbody td[data-label="Guide price"] { grid-column: 1 / -1; margin-top: 0.35rem; }
}

.context-note { font-size: 0.92rem; background: #fff; border-left: 4px solid var(--gold); padding: 0.6rem 0.9rem; }

/* FAQ */
.faq { padding-bottom: 2rem; }
.faq-item { border-top: 1px solid var(--line); padding: 0.4rem 0 0.6rem; }
.faq-item h3 { font-family: var(--sans); font-size: 1.05rem; color: var(--ink); }
.faq-item p { margin: 0.25rem 0; }

/* CTA */
.cta-band { background: var(--emerald); color: #e7e5e4; padding: 2.5rem 0; }
.cta-band h2 { color: #fff; margin-top: 0; }

/* Sources */
.sources { padding-top: 1.5rem; padding-bottom: 2rem; font-size: 0.92rem; }
.sources h2 { font-size: 1.2rem; }

/* Form */
.enquiry { display: grid; gap: 0.45rem; margin-top: 1.5rem; }
.enquiry label { font-weight: 600; margin-top: 0.6rem; }
.enquiry input[type=text], .enquiry input[type=email], .enquiry select, .enquiry textarea {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid #a8a29e; border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink);
}
.enquiry fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem 0.9rem 0.8rem; }
.enquiry legend { font-weight: 600; padding: 0 0.3rem; }
.enquiry .radio, .enquiry .check { font-weight: 400; display: flex; gap: 0.5rem; align-items: flex-start; }
.enquiry .radio input, .enquiry .check input { margin-top: 0.35rem; }
.enquiry button { justify-self: start; margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: #0c0a09; color: #d6d3d1; font-size: 0.92rem; padding-top: 2.5rem; }
.site-footer a { color: #fde68a; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: 2fr 1fr 1fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0.3rem 0; }
.footer-brand { font: 700 1.2rem var(--serif); color: #fff; margin-top: 0; }
.footer-h { font-weight: 600; color: #fff; margin-top: 0; }
.footer-base { border-top: 1px solid #292524; margin-top: 2rem; padding-top: 1rem; padding-bottom: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.footer-base p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Buttons used on light backgrounds */
.btn-emerald { background: var(--emerald-2); color: #fff; }
.btn-emerald:hover { background: var(--emerald); color: #fff; }
.btn-outline { border-color: var(--emerald-2); color: var(--emerald); background: transparent; }
.btn-outline:hover { background: #eef5f1; color: var(--emerald); }

/* Home hero with a framed concept image */
.hero-grid { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero-figure { margin: 0; }
.hero-figure img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); }
.hero-figure figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: #d6d3d1; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Sector page lead with illustration */
.sector-lead { display: grid; gap: 1.5rem; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); }
.sector-figure { margin: 0; }
.sector-figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
.sector-figure figcaption, .frame figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 760px) { .sector-lead { grid-template-columns: 1fr; } }

/* Browser frame around a live screenshot or a concept illustration */
.frame { margin: 0; }
.frame-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.75rem; background: #e7e5e4; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; }
.frame-dots { display: inline-flex; gap: 0.35rem; }
.frame-dots i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #a8a29e; }
.frame-url { flex: 1; display: inline-flex; align-items: center; gap: 0.4rem; min-width: 0; padding: 0.25rem 0.7rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-lock { width: 0.8rem; height: 0.8rem; flex: none; fill: none; stroke: var(--emerald-2); stroke-width: 2; stroke-linecap: round; }
.frame-view { border: 1px solid var(--line); border-radius: 0 0 10px 10px; overflow: hidden; background: #fff; box-shadow: 0 22px 40px -24px rgba(28, 25, 23, .45); }
.frame-view img { display: block; width: 100%; height: auto; }
.frame--live .frame-dots i:first-child { background: #16a34a; }

/* Preview section on detail pages */
.preview { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin: 2.5rem 0 1rem; padding: 1.75rem; background: var(--paper-2); border-radius: 14px; }
.preview-text h2 { margin-top: 0; }
.preview-ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.highlights { display: grid; gap: 0.6rem; margin: 1rem 0 0; }
.highlights div { padding: 0.6rem 0.8rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.highlights dt { font-weight: 600; color: var(--emerald); }
.highlights dd { margin: 0.15rem 0 0; font-size: 0.93rem; }
@media (max-width: 860px) { .preview { grid-template-columns: 1fr; padding: 1.1rem; } }

/* Row actions in the inventory table */
.price { display: block; font-weight: 600; white-space: nowrap; }
.row-ctas { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin-top: 0.3rem; font-size: 0.88rem; }
.row-buy { font-weight: 700; }
.row-live { color: var(--ink-soft); }

/* Contact form: multi-domain picker with an offer field per picked domain */
.legend-sub { display: block; font-weight: 400; font-size: 0.88rem; color: var(--ink-soft); }
.picker-search input { width: 100%; height: 2.75rem; margin-top: 0.4rem; padding: 0 0.9rem; border: 1px solid #a8a29e; border-radius: var(--radius); font: inherit; background: #fff; }
.picker-sum { margin: 0.6rem 0 0.4rem; font-size: 0.92rem; font-weight: 600; color: var(--emerald); }
.picker-list { list-style: none; margin: 0; padding: 0; max-height: 22rem; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.picker-list li { border-top: 1px solid var(--line); }
.picker-list li:first-child { border-top: 0; }
.picker-list li.is-picked, .picker-list li:has(input:checked) { background: #eef5f1; }
.pick { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.7rem; min-height: 2.9rem; margin: 0 !important; padding: 0.4rem 0.8rem; font-weight: 500 !important; cursor: pointer; }
.pick input { width: 1.15rem; height: 1.15rem; accent-color: var(--emerald-2); }
.pick-name { overflow-wrap: anywhere; }
.pick-price { font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pick-offer { display: none; padding: 0 0.8rem 0.75rem 2.65rem; }
.pick-offer label { display: block; margin: 0 0 0.25rem !important; font-size: 0.85rem; font-weight: 600; }
.enquiry:has(input[value="Offer"]:checked) .picker-list li:has(input[type="checkbox"]:checked) .pick-offer { display: block; }
@media (max-width: 480px) { .pick { grid-template-columns: auto 1fr; } .pick-price { grid-column: 2; } .pick-offer { padding-left: 0.8rem; } }
.src-ref { margin-left: 0.15rem; font-size: 0.7rem; }
.src-ref a { text-decoration: none; }
.more-link { display: inline-block; margin-top: 0.2rem; font-size: 0.85rem; font-weight: 600; }

/* Home: sector cards directly under the hero, each opening the filtered inventory */
.sector-pick { padding: 2.5rem 0 2.75rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.sector-pick h2 { margin-top: 0; }
.sector-pick-lead { margin: 0 0 1.25rem; color: var(--ink-soft); }
.sector-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.sector-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s, box-shadow .2s cubic-bezier(.16, 1, .3, 1), transform .2s cubic-bezier(.16, 1, .3, 1); }
.sector-card:hover, .sector-card:focus-within { border-color: var(--emerald-2); box-shadow: 0 14px 30px -18px rgba(2, 44, 34, .45); transform: translateY(-2px); }
.sector-card-link { flex: 1; display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.85rem; color: var(--ink); text-decoration: none; }
.sector-card-link:hover { color: var(--ink); }
.sector-card-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 14px; }
.sector-card-media { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--emerald); }
.sector-card-media img { width: 100%; height: 100%; object-fit: contain; }
.sector-card-word { padding: 0.5rem; color: var(--gold-soft); font: 700 0.95rem/1.2 var(--serif); text-align: center; overflow-wrap: anywhere; }
.sector-card-body { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.sector-card-name { margin: 0; font: 700 1.12rem/1.25 var(--serif); color: var(--emerald); }
.sector-card-meta { font-size: 0.85rem; font-weight: 600; color: var(--emerald-2); font-variant-numeric: tabular-nums; }
.sector-card-examples { font-size: 0.88rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.sector-card-cta { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; padding-top: 0.35rem; font-weight: 700; font-size: 0.92rem; color: var(--link); }
.sector-card-cta .ic { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.sector-card:hover .sector-card-cta .ic { transform: translateX(3px); }
.sector-card-more { display: block; padding: 0.55rem 0.85rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 420px) { .sector-card-link { grid-template-columns: 6.5rem 1fr; gap: 0.75rem; } }
@media (prefers-reduced-motion: reduce) { .sector-card, .sector-card-cta .ic { transition: none; } .sector-card:hover { transform: none; } }
.sector-card-examples { display: grid; overflow-wrap: normal; }
.sector-card-examples span { overflow-wrap: normal; }
.sector-card-word { font-size: 1.15rem; overflow-wrap: normal; }

/* Text runs to the full width of its column on every page (owner request 2026-10-07).
   Clean breaks instead of a fixed measure: no lone last word, balanced headings, and real
   hyphenation on phones where lines are short. Needs <html lang="en">. */
p, li, dd, dt, figcaption, td, th, legend, label { text-wrap: pretty; overflow-wrap: break-word; }
h1, h2, h3, .sector-card-name { text-wrap: balance; }
@media (max-width: 600px) {
  p, li, dd, figcaption { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
}

/* Sector pages: buyer cards with use case, need and earning model */
.buyer-cards { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); }
.buyer-card { display: flex; flex-direction: column; padding: 1.25rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.buyer-card h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.buyer-use { margin: 0 0 0.75rem; }
.buyer-use a, .buyer-use strong { font-weight: 700; }
.buyer-dl { display: grid; gap: 0.6rem; margin: 0 0 1rem; }
.buyer-dl div { padding: 0.65rem 0.85rem; border-radius: 10px; background: var(--paper); }
.buyer-dl dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--emerald-2); }
.buyer-dl dd { margin: 0.2rem 0 0; font-size: 0.95rem; }
.buyer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: auto 0 0; }
.buyer-price { font-size: 0.88rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.facet[hidden] { display: none; }
/* Grade pills (Platinum, Gold, Silver, Bronze) */
.grade { display: inline-block; padding: 0.12rem 0.6rem; border-radius: 999px; border: 1px solid transparent; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.grade--platinum { background: #e8edf3; color: #1e293b; border-color: #b8c4d3; }
.grade--gold { background: #fbefc9; color: #6b4a05; border-color: #e2c26a; }
.grade--silver { background: #ebeae9; color: #292524; border-color: #c4c1bd; }
.grade--bronze { background: #f3dfcf; color: #6b3510; border-color: #d3a47d; }
/* Domain shown as words, with the raw domain on the line below */
.dn { display: block; line-height: 1.25; }
.dn-words { display: block; font-weight: 700; overflow-wrap: break-word; }
.dn-raw { display: block; margin-top: 0.1rem; font-size: 0.8em; font-weight: 400; letter-spacing: 0.01em; color: var(--ink-soft); overflow-wrap: anywhere; }
.dn-h1 { display: block; }
.dn-h1 .dn-words { display: block; }
.dn-h1 .dn-raw { font-family: var(--sans); font-size: 0.45em; font-weight: 500; margin-top: 0.35rem; }
.buyer-domain { margin: 0 0 0.35rem; font-size: 1.05rem; }
.buyer-domain a { text-decoration: none; }
.pick-name .dn-words { font-weight: 600; }
.sector-card-examples .dn { margin-bottom: 0.3rem; }
.sector-card-examples .dn-words { font-weight: 600; color: var(--ink); }

/* Inventory table: keep every word of a domain whole inside the first column */
.inv-table tbody th .dn-words, .inv-table tbody th .dn-raw { overflow-wrap: normal; word-break: keep-all; hyphens: manual; }
table.data.inv-table thead th { white-space: normal; }
