.names-page { max-width: 1120px; width: calc(100% - 40px); margin: 0 auto; padding: 45px 0 70px; }
.names-back { color: var(--muted); font-size: 14px; }
.names-intro { display: grid; grid-template-columns: minmax(0,1fr) 236px; gap: 60px; align-items: center; padding: 35px 0; }
.names-intro h1 { max-width: 680px; margin: 0 0 22px; font-size: clamp(36px,5vw,60px); line-height: 1.08; letter-spacing: -.035em; }
.names-intro p { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.names-keypad { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.names-keypad span { display: grid; gap: 5px; justify-items: center; padding: 10px 4px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 11px; letter-spacing: .045em; }
.names-keypad strong { color: var(--text); font-size: 23px; letter-spacing: 0; }
.names-keypad span:nth-last-child(-n+2) { transform: translateX(50%); }
.names-form { margin: 0 0 38px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.names-word-field { display: grid; gap: 9px; font-weight: 700; }
.names-input-row { display: flex; gap: 10px; }
.names-input-row input { flex: 1; min-width: 0; }
.names-form input, .names-controls select, .names-more-row select { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--bg); font: inherit; }
.names-form input[aria-invalid="true"] { outline: 2px solid var(--strong-line); outline-offset: 2px; }
.names-form button, .names-more-row button { min-height: 46px; padding: 10px 18px; border: 1px solid var(--strong-line); border-radius: 8px; color: var(--text); background: var(--surface-raised); font: inherit; font-weight: 700; cursor: pointer; }
.names-input-row button { color: #f4f1f7; background: #655570; }
.names-help { margin: 12px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.names-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.names-grid[data-kind="names"] .name-word-label, .names-grid[data-kind="names"] .name-other-words, .names-quick-words[data-kind="names"] button { text-transform: capitalize; }
.names-language { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 3px; border: 1px solid var(--line); border-radius: 11px; }
.names-form .names-language button { min-height: 40px; padding: 7px 14px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 600; }
.names-form .names-language button[aria-pressed="true"] { background: var(--surface-raised); font-weight: 750; box-shadow: inset 0 0 0 1px var(--strong-line); }
.names-quick-words { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 22px; }
.names-quick-words button { min-height: 36px; padding: 6px 12px; border-color: var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; background: transparent; }
.names-quick-words button[aria-pressed="true"] { border-color: var(--strong-line); background: var(--surface-raised); font-weight: 750; }
.names-controls { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr auto; gap: 12px; align-items: end; }
.names-controls > label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.names-controls select { min-width: 0; width: 100%; }
.names-controls .price-filter { justify-self: start; }
.names-controls .price-filter summary { min-height: 46px; }
.names-controls .price-filter button { min-height: 40px; font-size: 13px; }
.names-results h2 { margin: 0 0 12px; font-size: 23px; }
.names-status { margin: 0 0 20px; min-height: 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.names-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.names-grid .browse-card { display: flex; flex-direction: column; gap: 11px; min-width: 0; min-height: 185px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); text-decoration: none; }
.names-grid .browse-card[data-price-tier] { background: var(--tier-bg); border-color: var(--tier-border); }
.names-grid .name-word-label { color: var(--text); font-family: inherit; font-size: 26px; font-weight: 750; line-height: 1.15; }
.names-grid .name-phone { font-family: Unbounded, sans-serif; font-size: clamp(12px,1.5vw,16px); font-weight: 550; letter-spacing: -.025em; }
.name-word-digits { color: var(--muted); font-size: 12px; }
.name-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: auto; color: var(--muted); font-size: 11px; }
.name-price { margin-left: auto; color: var(--text); font-size: 14px; font-weight: 700; }
.name-other-words { color: var(--muted); font-size: 11px; line-height: 1.5; }
.names-more-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 24px 0; }
.names-more-row label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.names-more-row select { min-height: 40px; font-size: 12px; }
.names-form button:disabled, .names-more-row button:disabled { cursor: progress; opacity: .6; }
.names-page :is(a,button,input,select,summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.names-explanation { max-width: 760px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.names-explanation h2 { margin: 0 0 12px; font-size: 21px; }
.names-explanation p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.names-explanation a { color: var(--accent); }
.names-sources { margin-top: 18px; }
.names-sources summary { min-height: 44px; padding: 12px 0; color: var(--text); font-size: 14px; font-weight: 700; cursor: pointer; }
@media (max-width: 850px) { .names-intro { gap: 28px; grid-template-columns: minmax(0,1fr) 190px; } .names-controls { grid-template-columns: repeat(2,minmax(0,1fr)); } .names-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .names-grid .name-phone { font-size: 14px; } }
@media (max-width: 560px) { .names-page { width: calc(100% - 24px); padding-top: 24px; } .names-intro { grid-template-columns: minmax(0,1fr); gap: 22px; padding-top: 26px; } .names-intro p { font-size: 16px; } .names-keypad { width: 234px; grid-template-columns: repeat(4,1fr); } .names-keypad span:nth-last-child(-n+2) { transform: none; } .names-keypad span { padding: 8px 3px; } .names-form { padding: 17px; } .names-input-row { flex-wrap: wrap; } .names-input-row input { flex-basis: 100%; } .names-input-row button { width: 100%; } .names-controls { gap: 13px 9px; } .names-controls > label:first-child { grid-column: 1 / -1; } .names-controls .price-filter { grid-column: 1 / -1; width: 100%; } .names-controls .price-filter-panel { position: static; margin-top: 8px; width: 100%; box-shadow: none; } .names-grid { grid-template-columns: minmax(0,1fr); } .names-grid .name-phone { font-size: 18px; } .names-grid .browse-card { min-height: 170px; } }

@media (max-width: 640px) {
  .names-quick-words button, .names-controls .price-filter button, .names-more-row select { min-height: 44px; }
  .names-form input, .names-controls select, .names-more-row select { font-size: 16px; }
  .names-back { display: inline-flex; align-items: center; min-height: 44px; }
  .names-grid .name-word-label { padding-right: 40px; }
}
