﻿:root {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --surface-alt: #fff6ef;
  --text: #17212f;
  --muted: #526071;
  --line: #e5e7eb;
  --line-strong: #d0d5dd;
  --brand: #f97316;
  --brand-dark: #d65d10;
  --ink: #101828;
  --shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.08), transparent 28%),
    linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

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

img,
.post-card img,
.product-card img,
.listing-card img,
.hero-visual img,
.rounded-media {
  opacity: 0;
  transform: translateY(10px);
  animation: imageFadeIn 0.7s ease forwards;
}

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

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(208, 213, 221, 0.72);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
}

.logo img {
  width: 170px;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.main-nav a,
.nav-menu-button {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font: inherit;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-menu-button:not(.active) {
  background: transparent !important;
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a.active,
.nav-menu-button:hover,
.nav-menu-button.active {
  background: var(--surface);
  color: var(--ink);
}

.nav-menu-button:focus-visible,
.main-nav a:focus-visible {
  outline: 2px solid rgba(249, 115, 22, 0.28);
  outline-offset: 2px;
}

.brand-menu-panel {
  padding: 0 0 1rem;
}

.brand-menu-shell {
  padding: 1.4rem 1.5rem 1.6rem;
  background: #152129;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 22px 48px rgba(7, 12, 16, 0.28);
}

.brand-menu-head {
  margin-bottom: 1.4rem;
}

.brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

.brand-tab {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0.25rem 0;
  position: relative;
}

.brand-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.brand-tab.active,
.brand-tab:hover {
  color: #f5b560;
}

.brand-tab.active::after,
.brand-tab:hover::after {
  background: #f5b560;
}

.brand-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.brand-badge {
  min-width: 188px;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.08em;
  border-radius: 10px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
}

.model-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.45rem 0.6rem 0.75rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.05rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.model-link:hover {
  color: #f5b560;
  border-color: #f5b560;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.listing-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(208, 213, 221, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.listing-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.listing-card-content {
  padding: 1rem 1rem 1.2rem;
}

.listing-card-content h3 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.hero {
  padding: 4rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: none;
}

.hero h1,
.page-hero h1,
.article-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.article-hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.22);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
}

.button.secondary:hover {
  background: #fff1e6;
}

.hero-visual img,
.rounded-media {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

@keyframes imageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 2rem 0 4.2rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2,
.section-head h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 55ch;
}

.category-grid,
.card-grid,
.mini-grid,
.product-grid,
.stats-grid,
.footer-grid,
.two-col,
.article-grid {
  display: grid;
  gap: 1.25rem;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col,
.article-grid {
  grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
}

.category-card,
.post-card,
.product-card,
.stat-card,
.sidebar-card,
.note-card,
.info-card {
  background: var(--surface);
  border: 1px solid rgba(208, 213, 221, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.category-card,
.stat-card,
.sidebar-card,
.info-card,
.note-card {
  padding: 1.4rem;
}

.category-card h3,
.post-card h3,
.stat-card h3,
.sidebar-card h3,
.info-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.category-card p,
.post-card p,
.stat-card p,
.sidebar-card p,
.info-card p,
.note-card p,
.post-card time,
.meta-list,
.bullet-list li {
  color: var(--muted);
}

.post-card {
  overflow: hidden;
}

.post-card img,
.product-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card {
  overflow: hidden;
}

.product-card-visual {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.2), transparent 32%),
    linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
}

.product-card-visual strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.post-card-content {
  padding: 1.2rem 1.2rem 1.35rem;
}

.product-card-content {
  padding: 1rem 1rem 1.2rem;
}

.selector-panel {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid rgba(208, 213, 221, 0.75);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
}

.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.field select:focus {
  outline: 2px solid rgba(249, 115, 22, 0.2);
  border-color: var(--brand);
}

.helper-note {
  margin-top: 0.9rem;
  color: #667085;
  font-size: 0.94rem;
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.3rem 0 1rem;
}

.results-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.results-count {
  color: #667085;
  font-size: 0.95rem;
  white-space: nowrap;
}

.empty-state {
  padding: 1.5rem;
  background: #fff7ed;
  border: 1px dashed #fdba74;
  border-radius: 20px;
  color: #9a3412;
}

.product-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.35;
}

.product-card p {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.product-card .button {
  width: 100%;
  padding-block: 0.8rem;
}

.source-note {
  margin-top: 1rem;
  color: #667085;
  font-size: 0.92rem;
}

.tag-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.meta-row {
  margin-top: 1rem;
}

.meta-pill {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: #f2f4f7;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475467;
}

.article-hero,
.page-hero {
  padding: 3.2rem 0 2rem;
}

.breadcrumb {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  color: #667085;
  font-size: 0.94rem;
}

.article-body,
.sidebar-stack {
  display: grid;
  gap: 1.1rem;
}

.article-shell article {
  background: var(--surface);
  border: 1px solid rgba(208, 213, 221, 0.75);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.article-shell h2 {
  margin: 1.8rem 0 0.8rem;
  font-size: 1.55rem;
}

.article-shell h3 {
  margin: 1.2rem 0 0.6rem;
  font-size: 1.1rem;
}

.article-shell table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  overflow: hidden;
  border-radius: 16px;
}

.article-shell th,
.article-shell td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.article-shell th {
  background: #f9fafb;
}

.article-shell blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brand);
  background: #fff7ed;
  color: #7c2d12;
  border-radius: 0 16px 16px 0;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--brand);
}

.cta-band {
  padding: 2rem;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.cta-band p {
  color: #d0d5dd;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #111827;
  color: #fff;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: start;
}

.site-footer p,
.site-footer a {
  color: #d0d5dd;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #98a2b3;
  font-size: 0.94rem;
}

@media (max-width: 1024px) {
  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .header-inner {
    align-items: flex-start;
  }

  .main-nav {
    gap: 0.65rem;
  }

  .main-nav a,
  .nav-menu-button {
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
  }

  .hero-grid,
  .two-col,
  .article-grid,
  .category-grid,
  .product-grid,
  .filter-row,
  .card-grid,
  .mini-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .listing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-badge {
    min-width: 160px;
    padding: 1.5rem 1.8rem;
    font-size: 1.6rem;
  }

  .hero-grid > :first-child,
  .footer-grid > :first-child,
  .two-col > :first-child,
  .article-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 1rem));
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 0;
  }

  .logo {
    justify-content: center;
  }

  .logo img {
    width: 150px;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a,
  .nav-menu-button {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.93rem;
    padding: 0.65rem 0.85rem;
  }

  .brand-menu-panel {
    padding-bottom: 0.75rem;
  }

  .brand-menu-shell {
    padding: 1rem 0.9rem 1.1rem;
    border-radius: 0 0 22px 22px;
  }

  .brand-menu-head {
    margin-bottom: 1rem;
  }

  .brand-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .brand-tabs::-webkit-scrollbar {
    display: none;
  }

  .brand-tab {
    flex: 0 0 auto;
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .brand-hero {
    margin-bottom: 1rem;
  }

  .brand-badge {
    width: 100%;
    min-width: 0;
    padding: 1rem 1.2rem;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
  }

  .hero,
  .page-hero,
  .article-hero {
    padding-top: 2.1rem;
  }

  .hero-grid,
  .two-col,
  .article-grid,
  .category-grid,
  .product-grid,
  .filter-row,
  .card-grid,
  .mini-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .model-link {
    min-height: 50px;
    padding: 0.35rem 0.4rem 0.65rem;
    font-size: 0.95rem;
  }

  .hero h1,
  .page-hero h1,
  .article-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    line-height: 1.12;
  }

  .hero p,
  .page-hero p,
  .article-hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .article-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .article-links .button,
  .product-card .button,
  .listing-card .button {
    width: 100%;
  }

  .section-head,
  .results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding-bottom: 3rem;
  }

  .article-shell article,
  .cta-band {
    padding: 1.35rem;
  }

  .article-shell h2 {
    font-size: 1.35rem;
  }

  .article-shell table,
  .article-shell tbody,
  .article-shell tr,
  .article-shell td,
  .article-shell th {
    display: block;
    width: 100%;
  }

  .article-shell thead {
    display: none;
  }

  .article-shell tr {
    margin-bottom: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .article-shell td {
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 0.9rem;
  }

  .article-shell td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 0.75rem;
  }

  .logo img {
    width: 138px;
  }

  .post-card-content,
  .product-card-content,
  .listing-card-content,
  .category-card,
  .sidebar-card,
  .info-card,
  .note-card,
  .stat-card {
    padding: 1rem;
  }

  .meta-row,
  .tag-row {
    gap: 0.45rem;
  }

  .article-shell article {
    padding: 1rem;
  }

  .model-grid {
    grid-template-columns: 1fr 1fr;
  }

  .model-link {
    font-size: 0.9rem;
  }
}
