/* 7caller.com - phone lookup site */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --background: oklch(0.99 0.002 250);
  --foreground: oklch(0.18 0.01 260);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.01 260);
  --primary: oklch(0.5 0.19 258);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.96 0.005 255);
  --secondary-foreground: oklch(0.24 0.02 260);
  --muted: oklch(0.965 0.004 255);
  --muted-foreground: oklch(0.52 0.012 260);
  --accent: oklch(0.95 0.02 258);
  --accent-foreground: oklch(0.4 0.16 258);
  --danger: oklch(0.58 0.22 25);
  --danger-foreground: oklch(0.99 0 0);
  --warning: oklch(0.72 0.16 65);
  --warning-foreground: oklch(0.25 0.05 65);
  --safe: oklch(0.62 0.15 155);
  --safe-foreground: oklch(0.99 0 0);
  --info: oklch(0.55 0.15 245);
  --info-foreground: oklch(0.99 0 0);
  --border: oklch(0.92 0.005 260);
  --radius: 0.75rem;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;
  --container: 72rem;
  --container-narrow: 56rem;
  --container-tight: 48rem;
}

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
}

[hidden] {
  display: none !important;
}

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p, dl, dd, dt {
  margin: 0;
}

/* Layout */
.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.page__main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--tight {
  max-width: var(--container-tight);
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section__header {
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

.section__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section__desc {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .section__title {
    font-size: 2.25rem;
  }
}

.page-hero {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.page-hero .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-hero__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-hero__desc {
  margin-top: 0.75rem;
  max-width: 42rem;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

@media (min-width: 640px) {
  .page-hero .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .page-hero__title {
    font-size: 3rem;
  }
}

/* Icons */
.icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm { width: 0.875rem; height: 0.875rem; }
.icon--md { width: 1rem; height: 1rem; }
.icon--lg { width: 1.25rem; height: 1.25rem; }
.icon--xl { width: 1.5rem; height: 1.5rem; }
.icon--2xl { width: 1.75rem; height: 1.75rem; }

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: color-mix(in oklch, var(--background) 90%, transparent);
}

.site-header--transparent {
  background: color-mix(in oklch, var(--background) 60%, transparent);
}

.site-header__inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.site-header__logo-icon {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.site-header__logo-text {
  font-size: 1.125rem;
}

.site-header__logo-muted {
  color: var(--muted-foreground);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background 0.15s, color 0.15s;
}

.site-nav__link:hover {
  background: var(--muted);
  color: var(--foreground);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__cta {
  display: none;
  border-radius: 0.5rem;
  background: var(--primary);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  transition: background 0.15s;
}

.site-header__cta:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.site-header__menu-btn {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.15s;
}

.site-header__menu-btn:hover {
  background: var(--muted);
}

.site-header__mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.site-header__mobile-nav.is-open {
  display: block;
}

.site-header__mobile-nav .site-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 1rem 0.75rem;
  max-width: var(--container);
  margin: 0 auto;
}

.site-header__mobile-nav .site-nav__link {
  padding: 0.625rem 0.75rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .site-header__cta {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  .site-header__menu-btn {
    display: none;
  }
  .site-nav--desktop {
    display: flex;
  }
}

/* Site footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
}

.site-footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer__brand p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.site-footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer__links {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}

.site-footer__links a:hover {
  color: var(--foreground);
}

.site-footer__bottom {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 50% at 50% 0%, color-mix(in oklch, var(--primary) 10%, transparent), transparent);
}

.hero .container--tight {
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero .container--tight {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--safe);
}

.hero__title {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__title-accent {
  color: var(--primary);
}

.hero__desc {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.hero__search {
  margin: 2rem auto 0;
  max-width: 42rem;
}

.hero__popular {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.hero__popular-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
}

.hero__popular-link {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: border-color 0.15s, color 0.15s;
}

.hero__popular-link:hover {
  border-color: color-mix(in oklch, var(--primary) 40%, transparent);
  color: var(--primary);
}

.hero__stats {
  margin: 3rem auto 0;
  display: grid;
  max-width: 42rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero__stat {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
}

.hero__stat .icon {
  margin: 0 auto;
  color: var(--primary);
}

.hero__stat-value {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero__stat-label {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 1.375;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
  }
  .hero__desc {
    font-size: 1.125rem;
  }
  .hero__stat-value {
    font-size: 1.5rem;
  }
}

/* Search box */
.search-box {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding-right: 0.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-box:focus-within {
  border-color: color-mix(in oklch, var(--primary) 60%, transparent);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 0 0 4px color-mix(in oklch, var(--primary) 10%, transparent);
}

.search-box--lg {
  height: 4rem;
  padding-left: 1.25rem;
}

.search-box--md {
  height: 3rem;
  padding-left: 1rem;
}

.search-box .icon {
  color: var(--muted-foreground);
}

.search-box--lg .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.search-box__input {
  width: 100%;
  border: none;
  background: transparent;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--foreground);
  outline: none;
}

.search-box__input::placeholder {
  color: var(--muted-foreground);
  font-weight: 400;
}

.search-box--lg .search-box__input {
  font-size: 1.125rem;
}

.search-box--md .search-box__input {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .search-box--lg .search-box__input {
    font-size: 1.25rem;
  }
}

.search-box__btn {
  flex-shrink: 0;
  border: none;
  border-radius: 0.75rem;
  background: var(--primary);
  font-weight: 600;
  color: var(--primary-foreground);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.search-box__btn:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.search-box__btn:active {
  transform: translateY(1px);
}

.search-box--lg .search-box__btn {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 1rem;
}

.search-box--md .search-box__btn {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

/* Tone utilities */
.tone-danger { --tone: var(--danger); --tone-fg: var(--danger-foreground); --tone-soft-bg: color-mix(in oklch, var(--danger) 10%, transparent); --tone-soft-text: var(--danger); }
.tone-warning { --tone: var(--warning); --tone-fg: var(--warning-foreground); --tone-soft-bg: color-mix(in oklch, var(--warning) 15%, transparent); --tone-soft-text: var(--warning-foreground); }
.tone-safe { --tone: var(--safe); --tone-fg: var(--safe-foreground); --tone-soft-bg: color-mix(in oklch, var(--safe) 10%, transparent); --tone-soft-text: var(--safe); }
.tone-info { --tone: var(--info); --tone-fg: var(--info-foreground); --tone-soft-bg: color-mix(in oklch, var(--info) 10%, transparent); --tone-soft-text: var(--info); }
.tone-neutral { --tone: var(--muted-foreground); --tone-fg: var(--muted-foreground); --tone-soft-bg: var(--muted); --tone-soft-text: var(--muted-foreground); }

/* Verdict badge */
.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  font-weight: 600;
  background: var(--tone-soft-bg);
  color: var(--tone-soft-text);
}

.verdict-badge--sm {
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
}

.verdict-badge--md {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

/* Category card */
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--primary) 40%, transparent);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.category-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card__icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--tone-soft-bg);
  color: var(--tone-soft-text);
}

.category-card__arrow {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  opacity: 0;
  transition: opacity 0.15s;
}

.category-card:hover .category-card__arrow {
  opacity: 1;
}

.category-card__title {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.category-card__desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.categories-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Review card */
.review-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.25rem;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--primary) 40%, transparent);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.review-card__quote {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.4;
  color: var(--tone-soft-text);
}

.review-card__text {
  margin-top: 1rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.625;
  text-wrap: pretty;
}

.review-card__footer {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.review-card__phone {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
}

.review-card__meta {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.reviews-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section--card-bg {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.section__header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.section__link:hover {
  text-decoration: underline;
}

/* Phone card / number row */
.phone-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.phone-card:hover {
  border-color: color-mix(in oklch, var(--primary) 40%, transparent);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.phone-card__bar {
  width: 0.375rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--tone);
}

.phone-card__body {
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.125rem;
  overflow: hidden;
}

.phone-card__number {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-card__meta {
  display: block;
  min-width: 0;
  max-width: 100%;
  margin-top: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--muted-foreground);
}

.phone-card__aside {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.phone-card__reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.phone-card__chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.15s, color 0.15s;
}

.phone-card:hover .phone-card__chevron {
  transform: translateX(2px);
  color: var(--foreground);
}

@media (min-width: 640px) {
  .phone-card__aside {
    display: flex;
  }
}

.phone-card--compact {
  padding: 0.75rem;
  gap: 0.5rem;
}

.phone-card--compact .phone-card__bar {
  height: 2.5rem;
  align-self: center;
}

.phone-card--compact .phone-card__body {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.phone-card--compact .phone-card__number {
  font-size: 0.8125rem;
  font-weight: 600;
}

.phone-card--compact .phone-card__meta {
  font-size: 0.75rem;
}

.phone-card--compact .phone-card__chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.number-sidebar .sidebar-card {
  overflow: hidden;
  min-width: 0;
}

.number-sidebar .phone-list {
  min-width: 0;
}

.number-sidebar .phone-card {
  max-width: 100%;
}

/* How it works */
.steps-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

.step-card__num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.step-card__icon {
  margin-top: 1rem;
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--accent-foreground);
}

.step-card__title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.step-card__text {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

/* FAQ */
.faq {
  margin-top: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.faq-section__title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .faq-section__title {
    font-size: 2.25rem;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.breadcrumbs a:hover {
  color: var(--foreground);
}

.breadcrumbs__current {
  font-weight: 500;
  color: var(--foreground);
}

/* Category page header */
.category-hero__row {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.category-hero__icon {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--tone-soft-bg);
  color: var(--tone-soft-text);
}

.category-hero__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.category-tags {
  margin-top: 2.5rem;
}

.category-tags__title {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.category-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: border-color 0.15s, color 0.15s;
}

.category-tag:hover {
  border-color: color-mix(in oklch, var(--primary) 40%, transparent);
  color: var(--foreground);
}

/* Number page */
.number-layout {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {
  .number-layout {
    grid-template-columns: 1fr 320px;
  }
}

.number-sidebar {
  display: grid;
  height: fit-content;
  gap: 1.5rem;
}

.sidebar-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
}

.sidebar-card__title {
  font-size: 0.875rem;
  font-weight: 600;
}

.sidebar-card__links {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.25rem;
}

.sidebar-card__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: background 0.15s, color 0.15s;
}

.sidebar-card__link:hover {
  background: var(--muted);
  color: var(--foreground);
}

/* Verdict panel */
.verdict-panel {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.verdict-panel__bar {
  height: 0.375rem;
  width: 100%;
  background: var(--tone);
}

.verdict-panel__body {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .verdict-panel__body {
    padding: 2rem;
  }
}

.verdict-panel__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .verdict-panel__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.verdict-panel__phone {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.verdict-panel__title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.verdict-panel__phone-num {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .verdict-panel__title {
    font-size: 1.25rem;
  }
  .verdict-panel__phone-num {
    display: inline;
    margin-top: 0;
    font-size: 1.125rem;
  }
  .verdict-panel__phone {
    font-size: 2.25rem;
  }
}

.verdict-panel__desc {
  margin-top: 0.5rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.verdict-panel__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline {
  display: inline-flex;
  height: 2.5rem;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-outline:hover {
  background: var(--muted);
}

.btn-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-icon:hover {
  background: var(--muted);
}

.danger-meter {
  margin-top: 1.5rem;
}

.danger-meter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.danger-meter__label {
  font-weight: 500;
  color: var(--muted-foreground);
}

.danger-meter__value {
  font-weight: 600;
}

.danger-meter__value--danger { color: var(--danger); }
.danger-meter__value--warning { color: var(--warning-foreground); }
.danger-meter__value--info { color: var(--info); }
.danger-meter__value--safe { color: var(--safe); }

.danger-meter__track {
  margin-top: 0.5rem;
  height: 0.625rem;
  width: 100%;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--muted);
}

.danger-meter__fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s;
}

.danger-meter__fill--danger { background: var(--danger); }
.danger-meter__fill--warning { background: var(--warning); }
.danger-meter__fill--info { background: var(--info); }
.danger-meter__fill--safe { background: var(--safe); }

.danger-meter--muted .danger-meter__track {
  height: 0.375rem;
}
.danger-meter--muted .danger-meter__value {
  font-size: 0.8125rem;
  font-weight: 500;
}
.danger-meter--muted .danger-meter__fill--danger {
  background: color-mix(in oklch, var(--danger) 65%, var(--muted));
}

.verdict-panel__stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .verdict-panel__stats {
    margin-top: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}

.stat-box {
  border-radius: 0.75rem;
  background: color-mix(in oklch, var(--muted) 60%, transparent);
  padding: 0.5rem 0.75rem;
}

@media (min-width: 640px) {
  .stat-box {
    border-radius: 1rem;
    padding: 0.875rem;
  }
}

.stat-box__label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .stat-box__label {
    font-size: 0.75rem;
  }
}

.stat-box__value {
  margin-top: 0.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .stat-box__value {
    margin-top: 0.25rem;
    font-size: inherit;
  }
}

@media (max-width: 639.98px) {
  .stat-box__value {
    white-space: normal;
    line-height: 1.35;
  }

  .stat-box__hint {
    font-size: 0.6875rem;
  }
}

.verdict-panel__warning {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklch, var(--warning) 30%, transparent);
  background: color-mix(in oklch, var(--warning) 10%, transparent);
  padding: 0.875rem;
  font-size: 0.875rem;
  color: var(--warning-foreground);
  text-wrap: pretty;
  line-height: 1.625;
}

/* Reviews section */
.reviews-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.reviews-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.reviews-section__count {
  color: var(--muted-foreground);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--primary);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.review-form {
  margin-top: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
}

.review-form.is-hidden {
  display: none;
}

.review-form__field {
  margin-bottom: 1rem;
}

.review-form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.review-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.chip:hover {
  color: var(--foreground);
}

.chip.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.chip--sm {
  border-radius: 0.5rem;
  padding: 0.5rem 0.625rem;
  font-size: 0.75rem;
}

.chip.is-active-accent {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--accent-foreground);
}

.review-form__textarea,
.review-form__input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.review-form__textarea {
  resize: none;
  min-height: 5rem;
}

.review-form__textarea:focus,
.review-form__input:focus {
  border-color: color-mix(in oklch, var(--primary) 60%, transparent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--primary) 10%, transparent);
}

.review-form__textarea::placeholder,
.review-form__input::placeholder {
  color: var(--muted-foreground);
}

.review-form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .review-form__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.review-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.review-item.is-hidden {
  display: none;
}

.review-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.review-pagination__info {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.review-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.review-pagination__btn:hover:not(:disabled) {
  background: var(--muted);
}

.review-pagination__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.review-pagination__btn.is-active {
  border-color: var(--primary);
  background: color-mix(in oklch, var(--primary) 12%, transparent);
  color: var(--primary);
}

.review-item {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
}

.review-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-item__author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-item__avatar {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--muted-foreground);
}

.review-item__author {
  font-weight: 600;
}

.review-item__meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.review-item__text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  text-wrap: pretty;
}

.vote-btn {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.vote-btn:hover {
  color: var(--foreground);
}

.vote-btn.is-voted {
  border-color: color-mix(in oklch, var(--primary) 40%, transparent);
  background: var(--accent);
  color: var(--accent-foreground);
}

/* Static page */
.static-content {
  max-width: 42rem;
}

.static-content h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.static-content p {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.static-content ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.static-content li {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* 404 page */
.error-page {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.error-page__code {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--primary);
}

.error-page__title {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.error-page__desc {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  color: var(--muted-foreground);
}

.error-page .search-box {
  margin: 2rem auto 0;
  max-width: 28rem;
}

/* Search results */
.search-results__info {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.search-results__info strong {
  color: var(--foreground);
}

.search-empty {
  border-radius: 1rem;
  border: 1px dashed var(--border);
  background: var(--card);
  padding: 2rem;
  text-align: center;
  color: var(--muted-foreground);
}

.page-hero--compact .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.subsection-title {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.phone-list {
  display: grid;
  gap: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reviews--pending .review-list::before {
  content: 'Ваш отзыв будет опубликован после проверки.';
  display: block;
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: color-mix(in oklch, var(--safe) 15%, transparent);
  font-weight: 600;
  color: var(--safe);
}

.ad-slot {
  margin: 1.5rem 0;
}

/* Add review / contact forms */
.add-form .step { margin-top: 1rem; display: none; }
.add-form .step.active { display: block; }
.add-form .radio input { display: none; }
.add-form .radio label,
.add-form .step .submit input {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin: 0 0.5rem 0.5rem 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--card);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.add-form .radio label:hover,
.add-form .radio label.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}
.add-form .step1 label { font-weight: 600; }
.add-form .step textarea {
  width: 100%;
  min-height: 6rem;
  resize: none;
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.75rem;
  font-size: 0.875rem;
}
.add-form .step .submit input {
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  margin-top: 1rem;
}
.add-form .switch { position: relative; display: inline-block; width: 2.5rem; height: 1.5rem; }
.add-form .switch::after {
  content: 'Говорил человек (не запись)';
  position: absolute;
  left: 3rem;
  top: 0.15rem;
  width: 16rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.add-form .switch input { opacity: 0; width: 0; height: 0; }
.add-form .slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--muted); transition: 0.2s; border-radius: 9999px;
}
.add-form .slider::before {
  content: ''; position: absolute; height: 1rem; width: 1rem;
  left: 0.25rem; bottom: 0.25rem; background: #fff; transition: 0.2s; border-radius: 50%;
}
.add-form input:checked + .slider { background: var(--primary); }
.add-form input:checked + .slider::before { transform: translateX(1rem); }

.contact-form div + div { margin-top: 1rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.875rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.75rem;
  font-size: 0.875rem;
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form .submit {
  border: none;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
}
.commentinfo {
  display: block;
  margin: 1rem 0;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
}
.commentinfo.good { background: color-mix(in oklch, var(--safe) 15%, transparent); color: var(--safe); }
.commentinfo.bad { background: color-mix(in oklch, var(--danger) 12%, transparent); color: var(--danger); }
.contact-form .error input,
.contact-form .error textarea { border-color: var(--danger); }

#more { display: none; margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
#more[hidden] { display: none !important; }
#more:not([hidden]) { display: block; }
.verdict-panel__more { margin-top: 1rem; }
.verdict-panel__more-body .phone-intro { margin-bottom: 0.75rem; }
.verdict-panel__more-body .phone-intro:last-child { margin-bottom: 0; }
.btn-more {
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.phone-intro {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin: 0 0 0.75rem;
}
.phone-intro strong { color: var(--foreground); font-weight: 600; }
.phone-faq {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}
.faq-section__title--compact {
  text-align: left;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .faq-section__title--compact {
    font-size: 1.375rem;
  }
}
.stat-box__hint {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted-foreground);
}
.search-empty--info {
  background: color-mix(in oklch, var(--info) 10%, transparent);
  border-color: color-mix(in oklch, var(--info) 25%, transparent);
}
a.verdict-badge { text-decoration: none; }
a.verdict-badge:hover { opacity: 0.9; }
.trust-block {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .trust-block { grid-template-columns: repeat(3, 1fr); }
}
.trust-block__item {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.trust-block__item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--foreground);
}
