/*
Theme Name: Smart Dev Desk
Theme URI: https://smartdevdesk.com
Author: OpenCode
Description: Editorial landing page theme for a tech product review website.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: smart-dev-desk
*/

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

:root {
  --bg: #090914;
  --bg-soft: #101027;
  --surface: rgba(18, 18, 44, 0.74);
  --surface-strong: #171739;
  --surface-dark: #0b0b21;
  --surface-dark-2: #17173e;
  --text: #e9ecff;
  --muted: #a7afd8;
  --line: rgba(124, 58, 237, 0.34);
  --line-strong: rgba(0, 255, 255, 0.48);
  --primary: #7c3aed;
  --primary-deep: #bf00ff;
  --primary-soft: rgba(124, 58, 237, 0.2);
  --accent: #f43f5e;
  --accent-soft: rgba(244, 63, 94, 0.2);
  --success: #39ff14;
  --gold: #00ffff;
  --text-on-dark: #f4f7ff;
  --shadow-lg: 0 30px 78px rgba(6, 6, 20, 0.6);
  --shadow-md: 0 18px 42px rgba(6, 6, 20, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 2%, rgba(191, 0, 255, 0.28), transparent 26%),
    radial-gradient(circle at 90% 4%, rgba(0, 255, 255, 0.2), transparent 25%),
    radial-gradient(circle at 70% 78%, rgba(244, 63, 94, 0.2), transparent 30%),
    linear-gradient(180deg, #070712 0%, #0a0a1c 50%, #090914 100%);
  font-family: 'Exo 2', sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

a,
button,
input[type='submit'] {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input[type='submit']:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.32);
  outline-offset: 3px;
}

.site-shell {
  position: relative;
  overflow: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-shell::before,
.site-shell::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(8px);
}

.site-shell::before {
  top: 120px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: rgba(0, 255, 255, 0.22);
}

.site-shell::after {
  top: 720px;
  left: -140px;
  width: 320px;
  height: 320px;
  background: rgba(191, 0, 255, 0.22);
}

.container {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.surface-card,
.feature-card,
.review-card,
.method-card,
.page-content,
.info-card,
.explorer,
.page-hero,
.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.surface-card::before,
.hero-panel--featured::before,
.product-card::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto;
  height: 180px;
  background: linear-gradient(100deg, rgba(0, 255, 255, 0), rgba(0, 255, 255, 0.2), rgba(244, 63, 94, 0.18), rgba(0, 255, 255, 0));
  transform: translateX(-115%) rotate(7deg);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: neon-sweep 9s ease-in-out infinite;
}

.product-card::before {
  animation-duration: 11s;
}

.hero-panel--featured::before {
  animation-duration: 7s;
}

.skip-link:focus {
  top: 18px;
  left: 18px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  white-space: normal;
  background: #fff;
  border-radius: 10px;
  z-index: 999;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding-top: 14px;
  transition: top 0.22s ease, padding-top 0.22s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(124, 58, 237, 0.42);
  border-radius: 24px;
  background: rgba(10, 10, 32, 0.78);
  box-shadow: 0 22px 44px rgba(3, 3, 12, 0.5);
  backdrop-filter: blur(18px);
  transition: padding 0.22s ease, border-radius 0.22s ease, gap 0.22s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #00ffff, #7c3aed);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.3), 0 0 26px rgba(124, 58, 237, 0.58);
}

.brand__logo {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.22);
}

.brand__text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__text small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 16, 40, 0.92);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle__line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-deep);
}

.site-nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav__list,
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list li {
  margin: 0;
}

.site-nav__list a,
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #c5c9eb;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(0, 255, 255, 0.2));
}

.button,
button,
input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.button:hover,
button:hover,
input[type='submit']:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #f43f5e, #7c3aed 52%, #00ffff);
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.3), 0 0 22px rgba(124, 58, 237, 0.5);
}

.button--secondary {
  color: #d7dcff;
  background: rgba(16, 16, 40, 0.88);
  border-color: rgba(0, 255, 255, 0.3);
}

.hero {
  padding: 38px 0 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.hero__copy {
  padding: 36px;
}

.eyebrow,
.section-label,
.hero-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 13, 35, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.28);
  color: #dbe1ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.hero h3,
.section-heading h2,
.feature-card h3,
.review-card h3,
.method-card h3,
.page-hero h1,
.page-content h1,
.page-content h2,
.page-content h3,
.info-card h2,
.cta h2,
.explorer h3 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.hero h1 {
  max-width: 10ch;
  margin-top: 18px;
  font-size: clamp(3rem, 6vw, 5.9rem);
}

.hero__lede,
.section-heading p,
.feature-card p,
.review-card p,
.method-card p,
.page-content p,
.page-content li,
.info-card p,
.hero-panel p,
.cta p,
.explorer p {
  color: var(--muted);
}

.hero__lede {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.hero__actions,
.hero__stats,
.cta__actions,
.review-card__footer,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__actions,
.hero__stats {
  margin-top: 28px;
}

.metric-card {
  min-width: 160px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76));
}

.metric-card strong {
  display: block;
  font-size: 1.35rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-showcase {
  position: relative;
  display: grid;
  gap: 18px;
}

.hero-panel {
  padding: 24px;
}

.hero-panel--featured {
  background: radial-gradient(circle at top right, rgba(0, 255, 255, 0.26), transparent 34%), radial-gradient(circle at top left, rgba(244, 63, 94, 0.2), transparent 30%), linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: var(--text-on-dark);
}

.hero-panel--featured p,
.hero-panel--featured .mini-review span,
.hero-panel--featured .hero-panel__eyebrow {
  color: rgba(244, 249, 253, 0.78);
}

.hero-panel--floating {
  max-width: 280px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.92);
}

.hero-panel__top,
.mini-review,
.explorer__panel,
.site-footer__inner,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.score-badge {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, #f43f5e, #7c3aed);
  color: #fff;
  font-size: 1.65rem;
  font-weight: 700;
}

.score-stars {
  display: inline-flex;
  gap: 6px;
  margin-top: 18px;
}

.score-stars span {
  width: 18px;
  height: 18px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.score-stars .is-muted {
  opacity: 0.34;
}

.hero-panel__list {
  margin-top: 16px;
}

.mini-review {
  padding: 14px 0;
  border-top: 1px solid rgba(244, 249, 253, 0.12);
}

.logo-strip {
  padding: 12px 0 10px;
}

.logo-strip__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
}

.logo-strip__label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
}

.logo-strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.logo-pill {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 14, 36, 0.82);
  color: rgba(233, 236, 255, 0.85);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 32px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.section-heading p {
  max-width: 500px;
  margin: 0;
}

.feature-grid,
.reviews-grid,
.method-grid,
.about-grid,
.product-grid {
  display: grid;
  gap: 20px;
}

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

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

.about-grid,
.product-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.feature-card,
.review-card,
.method-card,
.page-content,
.info-card,
.page-hero,
.cta,
.explorer {
  padding: 24px;
}

.feature-card__icon,
.method-card__number,
.explorer-card__score {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-weight: 700;
}

.feature-card__icon,
.method-card__number {
  margin-bottom: 18px;
}

.feature-card__icon {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.method-card__number,
.explorer-card__score {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
}

.explorer {
  overflow: hidden;
}

.explorer__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.explorer__tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.explorer__tab.is-active,
.explorer__tab:hover,
.explorer__tab:focus-visible {
  color: var(--primary-deep);
  border-color: rgba(14, 165, 233, 0.22);
  background: rgba(14, 165, 233, 0.08);
}

.explorer__panels {
  position: relative;
}

.explorer__panel {
  align-items: stretch;
}

.explorer__panel h3 {
  font-size: 2rem;
}

.signal-list {
  padding-left: 18px;
  margin: 18px 0 0;
  color: var(--muted);
}

.signal-list li + li {
  margin-top: 8px;
}

.signal-list--ordered {
  list-style: decimal;
}

.home-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-card,
.home-cta {
  padding: 24px;
}

.home-card h2,
.home-cta h2 {
  font-size: 2rem;
}

.home-card p,
.home-cta p {
  color: var(--muted);
}

.home-cta {
  margin-top: 20px;
}

.explorer-card {
  min-width: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 20, 48, 0.94), rgba(12, 12, 30, 0.94));
  box-shadow: var(--shadow-md);
}

.explorer-card__score {
  margin-bottom: 16px;
}

.tag,
.rating-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.tag {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.rating-chip {
  background: rgba(15, 118, 110, 0.1);
  color: var(--success);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-card__footer {
  margin-top: auto;
  padding-top: 8px;
  align-items: center;
  justify-content: space-between;
}

.method-card {
  min-height: 100%;
}

.cta {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.24), transparent 28%), linear-gradient(135deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: var(--text-on-dark);
}

.cta p {
  color: rgba(244, 249, 253, 0.78);
}

.cta h2 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.cta__actions {
  margin-top: 24px;
}

.page-wrap {
  position: relative;
  overflow: hidden;
  padding: 40px 0 54px;
}

.page-wrap::before {
  content: '';
  position: absolute;
  left: -18%;
  right: -18%;
  top: -120px;
  height: 220px;
  background: linear-gradient(100deg, rgba(0, 255, 255, 0), rgba(0, 255, 255, 0.14), rgba(244, 63, 94, 0.16), rgba(124, 58, 237, 0.22), rgba(0, 255, 255, 0));
  transform: translateX(-110%) rotate(6deg);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: neon-sweep 10s ease-in-out infinite;
}

.page-wrap > .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  margin-bottom: 20px;
}

.page-hero h1,
.page-content h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.page-content {
  max-width: none;
}

.page-content h2,
.page-content h3 {
  margin: 28px 0 14px;
}

.page-content ul {
  padding-left: 20px;
}

.info-card {
  align-self: start;
}

.product-catalog {
  margin-top: 24px;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 20, 48, 0.94), rgba(11, 11, 28, 0.94));
  box-shadow: var(--shadow-md);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 42px rgba(9, 34, 56, 0.14);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__media {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-card__image,
.product-single__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.94), rgba(124, 58, 237, 0.88) 52%, rgba(0, 255, 255, 0.8));
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  letter-spacing: 0.03em;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 20px;
}

.product-card__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.28);
  color: #d9ddff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__body h3 {
  font-size: 1.72rem;
}

.product-card__body p {
  margin: 0;
  color: var(--muted);
}

.product-card__cta {
  margin-top: auto;
  font-weight: 700;
  color: #00ffff;
}

.product-pagination {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.product-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 0 4px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 15, 36, 0.88);
  color: #cfd5ff;
  font-weight: 700;
}

.product-pagination .page-numbers.current,
.product-pagination .page-numbers:hover,
.product-pagination .page-numbers:focus-visible {
  color: var(--primary-deep);
  border-color: rgba(14, 165, 233, 0.24);
  background: rgba(14, 165, 233, 0.08);
}

.product-empty {
  padding: 26px;
  border-radius: 22px;
  text-align: center;
}

.product-single {
  padding: 26px;
  border-radius: 24px;
}

.product-single__back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8dcff;
  background: rgba(15, 15, 36, 0.88);
}

.product-single__media {
  margin: 16px 0 22px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  max-height: 420px;
}

.product-single__excerpt {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--muted);
}

.product-single__content {
  margin-top: 20px;
}

.site-footer {
  background: #070712;
  margin-top: auto;
}

.site-footer,
.site-footer a,
.site-footer p {
  color: rgba(244, 249, 253, 0.78);
}

.site-footer__inner {
  padding: 30px 0 16px;
}

.footer-grid {
  align-items: start;
  padding: 10px 0 42px;
}

.footer-links a {
  padding: 8px 0;
}

.footer-lang {
  padding: 0 0 34px;
}

.footer-lang .gtranslate_wrapper,
.footer-lang .gt_switcher,
.footer-lang .gt_switcher_wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-lang .gt_float_switcher,
.footer-lang .gtranslate_float,
.footer-lang #gt_float_wrapper,
.footer-lang .gt_float_wrapper,
.footer-lang .gtranslate_wrapper,
.footer-lang .gt_switcher,
.footer-lang .gt_switcher_wrapper {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.site-header .gtranslate_wrapper,
.site-header .gt_switcher,
.site-header .gt_switcher_wrapper {
  display: none !important;
}

.gt_float_switcher,
.gtranslate_float,
#gt_float_wrapper,
.gt_float_wrapper {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes neon-sweep {
  0%,
  20% {
    transform: translateX(-115%) rotate(7deg);
    opacity: 0;
  }

  30%,
  62% {
    transform: translateX(15%) rotate(7deg);
    opacity: 1;
  }

  100% {
    transform: translateX(120%) rotate(7deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .feature-grid,
  .reviews-grid,
  .method-grid,
  .about-grid,
  .product-grid,
  .footer-grid,
  .logo-strip__inner,
  .explorer__panel {
    grid-template-columns: 1fr;
  }

  .logo-strip__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel--floating {
    max-width: none;
  }

  .home-sections {
    grid-template-columns: 1fr;
  }

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

  .explorer__panel,
  .site-footer__inner,
  .footer-grid {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-header.is-scrolled {
    top: 6px;
    padding-top: 6px;
  }

  .site-header.is-scrolled .site-header__inner {
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    justify-content: flex-end;
  }

  .site-header.is-scrolled .brand {
    opacity: 0;
    transform: translateY(-8px);
    position: absolute;
    pointer-events: none;
  }

  .site-header.is-scrolled .menu-toggle {
    margin-left: auto;
  }

  .site-nav-wrap {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
  }

  .site-nav-wrap.is-open {
    display: flex;
  }

  .site-nav__list,
  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__list a,
  .site-nav a,
  .site-nav__cta {
    width: 100%;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .hero__copy {
    padding: 28px;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 20px), var(--content));
  }

  .site-header {
    top: 8px;
    padding-top: 8px;
  }

  .site-header__inner,
  .hero__copy,
  .feature-card,
  .review-card,
  .method-card,
  .page-content,
  .info-card,
  .page-hero,
  .cta,
  .explorer,
  .hero-panel {
    padding: 20px;
  }

  .hero__actions,
  .hero__stats,
  .cta__actions,
  .review-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  button,
  input[type='submit'] {
    width: 100%;
  }

  .logo-strip__list {
    grid-template-columns: 1fr;
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

  .score-badge {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    font-size: 1.4rem;
  }

  .hero-panel__top,
  .mini-review {
    align-items: start;
    flex-direction: column;
  }

  .brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}
