/* Boost.ae front-end mockup — design tokens and components
   Palette from the existing logo: crimson wordmark + sky-blue rocket.
   One typeface family (Bricolage Grotesque) with its width axis doing the display work. */

:root {
  --ink: #161b33;
  --ink-60: rgba(22, 27, 51, 0.62);
  --ink-30: rgba(22, 27, 51, 0.30);
  --ink-12: rgba(22, 27, 51, 0.12);
  --ink-06: rgba(22, 27, 51, 0.06);
  --ink-20: rgba(22, 27, 51, 0.22);
  --paper: #ffffff;      /* surfaces: header, tiles, panels, hero */
  --bg: #e9edf3;         /* page background, so white blocks stand off it */
  --panel: #f3f5f9;
  --red: #e1243b;
  --red-deep: #b8172c;
  --sky: #2ea8dc;
  --sky-soft: #e4f4fb;

  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --radius: 6px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  font-variation-settings: "wdth" 100, "opsz" 14;
  font-feature-settings: "tnum" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type scale (Elements of Typographic Style ratios, 17px base) ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(38px, 6vw, 68px); font-variation-settings: "wdth" 96, "opsz" 96; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-variation-settings: "wdth" 96, "opsz" 48; }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: 20px; line-height: 1.45; max-width: var(--measure); color: var(--ink-60); }
.small { font-size: 14px; color: var(--ink-60); }
.name { font-weight: 800; letter-spacing: -0.035em; font-variation-settings: "wdth" 112, "opsz" 96; }
.name .tld { font-weight: 500; color: var(--ink-30); letter-spacing: -0.01em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-20);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; font-size: 26px; letter-spacing: -0.04em; color: var(--red); font-variation-settings: "wdth" 110, "opsz" 48; }
.logo .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sky); margin: 10px 2px 0; }
.logo .ae { color: var(--red); }
.nav { display: flex; gap: 24px; margin-left: auto; font-weight: 500; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.header-tools .menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #0d1024; }
.btn-outline { background: transparent; border-color: var(--ink-30); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-whatsapp { background: #eaf8ef; color: #0f6b3a; border-color: #bfe5cc; }
.btn-whatsapp:hover { background: #d9f2e2; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 20px; }
.hero-facts { display: grid; gap: 18px; padding: 8px 0 8px 28px; border-left: 2px solid var(--red); align-self: start; margin-top: 12px; }
.hero-facts p { font-size: 17px; }
.hero-facts strong { display: block; font-weight: 700; }

.search { margin-top: 32px; display: flex; gap: 8px; max-width: 640px; }
.search input {
  flex: 1; min-width: 0; height: 56px; padding: 0 18px; font: inherit; font-size: 18px;
  border: 1.5px solid var(--ink-30); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.search input::placeholder { color: var(--ink-30); }
.search input:focus { border-color: var(--ink); outline: none; }
.search .btn { height: 56px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 1px solid var(--ink-20); border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .count { color: inherit; opacity: .5; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 6vw, 72px) 0; }
.section-white { background: var(--paper); border-top: 1px solid var(--ink-20); border-bottom: 1px solid var(--ink-20); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head p { max-width: 48ch; color: var(--ink-60); margin-top: 8px; }
.section-head a.more { font-weight: 600; white-space: nowrap; border-bottom: 2px solid var(--red); }

/* ---------- domain tiles ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  min-height: 168px; padding: 20px 22px; background: var(--paper);
  border: 1px solid var(--ink-20); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(22, 27, 51, 0.06);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tile:hover, .tile:focus-visible { border-color: var(--ink); box-shadow: 0 4px 14px rgba(22, 27, 51, 0.12); }
.tile .name { font-size: 30px; line-height: 1; }
.tile.large .name { font-size: clamp(34px, 3.4vw, 44px); }
.tile-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.tile-foot .cat { font-size: 14px; color: var(--ink-60); }
.tile-foot .price { font-weight: 700; font-size: 17px; white-space: nowrap; }
.tile-foot .price .was { display: block; font-weight: 500; font-size: 13px; color: var(--ink-60); text-align: right; }

/* ---------- categories block ---------- */
.cat-list { columns: 3; column-gap: 32px; }
.cat-list a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--ink-20); break-inside: avoid; font-weight: 500; }
.cat-list a span { color: var(--ink-30); font-variant-numeric: tabular-nums; }
.cat-list a:hover { color: var(--red); }

/* ---------- how it works (a real sequence, so numbering is earned) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { padding: 22px 24px 26px; background: var(--paper); border: 1px solid var(--ink-20); border-top: 3px solid var(--ink); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); display: block; font-size: 15px; font-weight: 700; color: var(--red); margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-60); max-width: 36ch; }

/* ---------- trust band ---------- */
.band { background: var(--ink); color: #fff; }
.band .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 80px); }
.band h2 { color: #fff; max-width: 16ch; }
.band p { color: rgba(255,255,255,0.72); max-width: 44ch; }
.band .btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.band .btn-outline:hover { border-color: #fff; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink-20); padding: 40px 0; font-size: 14px; color: var(--ink-60); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ink); }

/* ---------- listing page ---------- */
.listing { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 40px 0 80px; }
.wrap.listing { max-width: none; width: calc(100% - 2 * var(--gutter)); } /* full-width listing so the grid fills wide screens */
.filters { position: sticky; top: 92px; align-self: start; display: grid; gap: 28px; padding: 22px; background: var(--paper); border: 1px solid var(--ink-20); border-radius: var(--radius); }
.filters fieldset { border: 0; padding: 0; margin: 0; }
.filters legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.filters label span.count { margin-left: auto; color: var(--ink-30); font-variant-numeric: tabular-nums; }
.filters input[type="checkbox"], .filters input[type="radio"] { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; }
.filters .search { margin: 0; }
.filters .search input { height: 46px; font-size: 16px; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.results-head h1 { font-size: 30px; }
.results-head select { font: inherit; font-size: 15px; height: 40px; padding: 0 12px; border: 1px solid var(--ink-30); border-radius: var(--radius); background: var(--paper); }
.empty { padding: 48px; border: 1px dashed var(--ink-30); border-radius: var(--radius); text-align: center; color: var(--ink-60); }
.filter-toggle { display: none; }

/* ---------- detail page ---------- */
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--ink-60); padding: 24px 0 0; }
.crumbs a:hover { color: var(--ink); }
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: 32px; padding: 24px 0 80px; align-items: start; }
.detail article { padding: clamp(24px, 4vw, 48px); background: var(--paper); border: 1px solid var(--ink-20); border-radius: var(--radius); container-type: inline-size; }
/* Size the name to its length so long names (thehouseofheroes.com) shrink instead of splitting the extension; --chars is set by domain.html */
.detail-name { font-size: min(clamp(56px, 10vw, 136px), calc(150cqw / var(--chars, 10))); line-height: .95; overflow-wrap: anywhere; }
.detail-name .tld { display: inline-block; }
.facts { display: flex; flex-wrap: wrap; gap: 0 32px; margin: 28px 0 0; padding: 20px 0; border-top: 1px solid var(--ink-20); border-bottom: 1px solid var(--ink-20); }
.facts div { padding: 6px 0; }
.facts dt { font-size: 13px; color: var(--ink-60); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.detail-body { margin-top: 32px; display: grid; gap: 28px; max-width: var(--measure); }
.detail-body h2 { font-size: 24px; }
.detail-body p { color: var(--ink-60); margin-top: 8px; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.buy-card { position: sticky; top: 92px; padding: 26px; border: 1px solid var(--ink-20); border-radius: var(--radius); background: var(--paper); box-shadow: 0 6px 24px rgba(22, 27, 51, 0.10); }
.buy-card .price-big { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.buy-card .price-sub { margin-top: 6px; color: var(--ink-60); font-size: 15px; }
.buy-card .price-sub:empty { display: none; }
.buy-actions { display: grid; gap: 10px; margin-top: 22px; }
.buy-note { margin-top: 18px; font-size: 14px; color: var(--ink-60); }
.buy-note strong { color: var(--ink); font-weight: 600; }

.offer { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ink-20); display: none; }
.offer.is-open { display: grid; gap: 12px; }
.offer label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.offer input, .offer textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--ink-30); border-radius: var(--radius); background: #fff; }
.offer textarea { min-height: 80px; resize: vertical; }
.offer .sent { padding: 14px; background: var(--sky-soft); border-radius: var(--radius); font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-facts { border-left: 0; border-top: 2px solid var(--red); padding: 20px 0 0; margin-top: 0; grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .band .wrap { grid-template-columns: 1fr; }
  .cat-list { columns: 2; }
  .listing { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; display: none; }
  .filters.is-open { display: grid; }
  .filter-toggle { display: inline-flex; }
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .buy-card { position: static; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--ink-20); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; }
  .header-tools .menu-btn { display: inline-flex; margin-left: auto; }
  .header-tools .btn-whatsapp { display: none; }
  .site-header .wrap { gap: 16px; }
  .hero-facts { grid-template-columns: 1fr; }
  .search { flex-direction: column; }
  .search .btn { width: 100%; }
  .cat-list { columns: 1; }
  .section-head { flex-direction: column; align-items: start; }
  .grid, .grid-3 { grid-template-columns: 1fr; }
  .tile { min-height: 0; gap: 18px; }
  .tile .name { font-size: 28px; }
  .results-head { flex-wrap: wrap; }
  .results-head h1 { width: 100%; }
}

/* ---------- content pages (how it works, FAQ, sell, contact, legal) ---------- */
.page { padding: clamp(40px, 6vw, 72px) 0 80px; }
.page-head { max-width: var(--measure); margin-bottom: 40px; }
.page-head .lede { margin-top: 16px; }
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: 32px; align-items: start; }
.panel { padding: clamp(24px, 4vw, 40px); background: var(--paper); border: 1px solid var(--ink-20); border-radius: var(--radius); }
.panel h2 { font-size: 24px; margin-bottom: 12px; }
.panel + .panel { margin-top: 20px; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-60); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.aside-card { position: sticky; top: 92px; padding: 26px; background: var(--paper); border: 1px solid var(--ink-20); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(22, 27, 51, 0.10); }
.aside-card h2 { font-size: 20px; margin-bottom: 8px; }
.aside-card p { color: var(--ink-60); font-size: 15px; }
.aside-card .buy-actions { margin-top: 18px; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--ink-30); border-radius: var(--radius); background: #fff; }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form textarea { min-height: 110px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { justify-self: start; }
.form-status { font-size: 14px; color: var(--ink-60); min-height: 1.4em; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red-deep); }
.sent { padding: 16px; background: var(--sky-soft); border-radius: var(--radius); font-size: 16px; }

.faq details { border-top: 1px solid var(--ink-20); }
.faq details:last-child { border-bottom: 1px solid var(--ink-20); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-weight: 500; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-60); max-width: var(--measure); }
.faq details p + p { padding-top: 0; }

.method { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--ink-20); }
.method:last-child { border-bottom: 1px solid var(--ink-20); }
.method strong { font-weight: 700; }
.method p { color: var(--ink-60); }

.notfound { text-align: center; padding: clamp(64px, 12vw, 140px) 0; }
.notfound h1 { max-width: none; }
.notfound p { margin: 16px auto 28px; color: var(--ink-60); }

@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .method { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .form .row { grid-template-columns: 1fr; }
}

/* struck-through regular price: red line, grey figure */
.was, .price-sub s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }