:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-2: #eef2eb;
  --ink: #101513;
  --muted: #59645f;
  --line: #d9dfd6;
  --brand: #12392f;
  --brand-2: #1f6a55;
  --accent: #b99a4a;
  --danger: #9d2f38;
  --success: #1d6b4f;
  --shadow: 0 18px 60px rgba(16, 21, 19, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--brand-2);
}

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 0.95rem;
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

label span {
  display: inline-block;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 5.3rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

p,
a,
h1,
h2,
h3,
dd,
pre {
  overflow-wrap: anywhere;
}

pre {
  white-space: pre-wrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.top-notice {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 0.48rem 1rem;
  font-size: 0.88rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(247, 248, 244, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16, 21, 19, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-footer .brand-logo-wide {
  width: min(100%, 18rem);
  height: auto;
  border-radius: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.site-nav a {
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.94rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
}

.language-link {
  border: 1px solid var(--line);
  background: var(--surface);
}

.menu-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.62rem;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(790px, calc(100vh - 7rem));
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 21, 19, 0.92), rgba(16, 21, 19, 0.62) 44%, rgba(16, 21, 19, 0.08)),
    linear-gradient(0deg, rgba(16, 21, 19, 0.34), rgba(16, 21, 19, 0.1));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  align-self: center;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.hero-content > * {
  max-width: 740px;
}

.hero-copy,
.page-hero p,
.section-heading p,
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: inherit;
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button-row.compact {
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.76rem 1rem;
  cursor: pointer;
  font-weight: 900;
  text-align: center;
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.button-primary:hover {
  background: #c8ac5f;
  color: var(--ink);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost-dark {
  color: var(--brand);
  border-color: var(--line);
  background: var(--surface);
}

.button-muted {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface-2);
}

.button-danger {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

.button-danger:hover {
  color: #fff;
  background: #7f252d;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.stat-row div {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
}

.stat-row dt {
  color: rgba(255, 255, 255, 0.78);
}

.stat-row dd {
  margin: 0.15rem 0 0;
  font-weight: 950;
  font-size: 1.4rem;
}

.section,
.page-hero,
.deal-detail,
.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.section-muted {
  width: 100%;
  max-width: none;
  background: var(--surface-2);
}

.section-muted > * {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.section-muted > .section-heading {
  max-width: var(--max);
}

.compact-hero {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}

.compact-hero p {
  max-width: 820px;
  color: var(--muted);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 2rem;
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.text-link {
  color: var(--brand-2);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.feature-grid,
.trend-grid,
.deal-grid,
.shop-grid,
.community-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

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

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

.platform-card {
  display: flex;
  min-width: 0;
  min-height: 17rem;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem;
}

.platform-card p:not(.eyebrow) {
  color: var(--muted);
}

.platform-card > .text-link,
.platform-card > .inline-links {
  margin-top: auto;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

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

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

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

.community-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.benchmark-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.benchmark-panel,
.recommendation-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem;
  min-width: 0;
}

.benchmark-panel {
  position: sticky;
  top: 6rem;
}

.benchmark-selects,
.criteria-sliders,
.score-bars {
  display: grid;
  gap: 0.85rem;
}

.benchmark-selects {
  margin: 1rem 0;
}

.range-label span {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.range-label input {
  accent-color: var(--brand-2);
}

.benchmark-results {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.benchmark-device-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  min-width: 0;
}

.benchmark-device-strip-head {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
}

.benchmark-device-strip-head p {
  margin: 0;
}

.benchmark-device-card {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--surface-2));
  padding: 0.75rem;
  box-shadow: 0 12px 36px rgba(16, 21, 19, 0.07);
}

.benchmark-device-image {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.benchmark-device-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.device-placeholder-mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--brand);
  font-weight: 950;
  letter-spacing: 0;
  background: radial-gradient(circle at 30% 24%, rgba(185, 154, 74, 0.22), transparent 42%), var(--surface-2);
}

.benchmark-device-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.benchmark-device-copy strong,
.benchmark-device-copy span,
.benchmark-device-copy a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.benchmark-device-copy strong {
  line-height: 1.25;
}

.benchmark-device-copy span {
  color: var(--muted);
  font-size: 0.88rem;
}

.device-source {
  color: var(--brand-2);
  font-size: 0.82rem;
  font-weight: 850;
}

.device-source.is-muted {
  color: var(--muted);
  font-weight: 750;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(80px, 140px);
  gap: 0.75rem;
  align-items: center;
}

.score-row strong {
  font-size: 0.95rem;
}

.score-meter {
  display: block;
  width: 100%;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  border: 0;
}

.score-meter::-webkit-meter-bar {
  background: var(--surface-2);
  border-radius: 999px;
  border: 0;
}

.score-meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  border-radius: 999px;
}

.score-meter::-moz-meter-bar {
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  border-radius: 999px;
}

.compare-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table caption {
  text-align: left;
  padding: 1rem;
  font-weight: 950;
  color: var(--ink);
}

.compare-table th,
.compare-table td {
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  width: 180px;
  color: var(--muted);
  background: var(--surface-2);
}

.compare-table td {
  min-width: 170px;
}

.recommendation-card h2 {
  margin-bottom: 0.55rem;
}

.recommendation-card p:not(.eyebrow) {
  color: var(--muted);
}

.footer-grid {
  grid-template-columns: 1.25fr 1fr 0.7fr;
  align-items: start;
}

.feature-card,
.trend-card,
.deal-card,
.shop-card,
.form-card,
.comment-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem;
}

.feature-card h3,
.trend-card h3,
.shop-card h2 {
  margin-bottom: 0.65rem;
}

.trend-card p,
.feature-card p,
.shop-card p,
.deal-card p,
.form-card p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag-row span,
.pill,
.mini-code,
.voucher {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand);
  padding: 0.3rem 0.55rem;
  font-weight: 900;
  font-size: 0.82rem;
}

.deal-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  min-height: 100%;
}

.deal-heat,
.heat {
  display: inline-grid;
  place-items: center;
  min-width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

.deal-kicker,
.article-meta {
  color: var(--accent);
  font-weight: 900;
  font-size: 0.86rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.price-row strong {
  font-size: 1.35rem;
}

.price-row span {
  color: var(--muted);
  text-decoration: line-through;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.shop-filter {
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto auto;
}

.empty-state,
.notice,
.form-note {
  border-left: 4px solid var(--accent);
  background: rgba(185, 154, 74, 0.12);
  color: var(--ink);
  padding: 1rem;
  border-radius: var(--radius);
}

.article-list {
  display: grid;
  gap: 1rem;
}

.guide-article {
  border-bottom: 1px solid var(--line);
  padding: 0 0 2rem;
}

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

.guide-article p {
  max-width: 860px;
  color: var(--muted);
}

.result-count {
  color: var(--muted);
  font-weight: 900;
}

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

.article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  overflow: hidden;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 1.2rem;
}

.article-card-body p {
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pagination a {
  display: inline-grid;
  min-width: 2.6rem;
  min-height: 2.6rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  font-weight: 950;
  padding: 0.45rem 0.75rem;
}

.pagination a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.article-detail-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 4.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.article-detail-copy {
  min-width: 0;
}

.article-detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-detail {
  padding-top: 2rem;
}

.article-prose {
  max-width: 860px;
  margin: 0 auto;
}

.article-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.article-section:first-child {
  padding-top: 0;
}

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

.article-section p {
  color: var(--muted);
}

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

.check-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-2);
  font-weight: 950;
}

.faq-section {
  display: grid;
  gap: 1.25rem;
}

.faq-section .section-heading {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
}

.faq-heading p:not(.eyebrow) {
  max-width: 820px;
}

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

.faq-list details {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(16, 21, 19, 0.06);
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4rem;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.25;
  list-style: none;
  padding: 1rem 3rem 1rem 1.1rem;
  overflow-wrap: anywhere;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand);
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
  background: var(--brand);
  color: #fff;
}

.faq-list p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

.deal-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.25rem;
  align-items: start;
}

.deal-detail-main,
.deal-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.5rem;
}

.deal-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.article-body {
  color: var(--muted);
}

.vote-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.vote-box button {
  min-height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  cursor: pointer;
  font-weight: 950;
}

.vote-up {
  color: var(--success);
}

.vote-down {
  color: var(--danger);
}

.comments-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 1rem;
  align-items: start;
}

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

.comment-card time {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.account-auth-grid,
.account-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.account-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.account-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem;
}

.profile-card {
  position: sticky;
  top: 6rem;
}

.avatar-wrap {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--brand);
  color: #fff;
  flex: 0 0 auto;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 950;
}

.badge-grid {
  display: grid;
  gap: 0.75rem;
}

.badge-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.badge-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.badge-card p {
  color: var(--muted);
}

.badge-card time {
  color: var(--muted);
  font-size: 0.88rem;
}

.badge-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

.contribution-section {
  margin-top: 1.4rem;
}

.contribution-list {
  display: grid;
  gap: 0.6rem;
}

.contribution-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.contribution-card p {
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.danger-card {
  border-color: rgba(157, 47, 56, 0.32);
}

.login-required-card {
  align-self: stretch;
}

.stack-form {
  display: grid;
  gap: 0.85rem;
}

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

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkbox input {
  width: auto;
}

.hp-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.shop-card dl {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
}

.shop-card dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.shop-card dd {
  margin: 0;
}

.flash {
  width: min(calc(100% - 2rem), var(--max));
  margin: 1rem auto 0;
  border-radius: var(--radius);
  padding: 1rem;
  font-weight: 800;
}

.flash-success {
  background: rgba(29, 107, 79, 0.12);
  color: var(--success);
  border: 1px solid rgba(29, 107, 79, 0.24);
}

.flash-error {
  background: rgba(157, 47, 56, 0.1);
  color: var(--danger);
  border: 1px solid rgba(157, 47, 56, 0.24);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer h2 {
  font-size: 1rem;
  color: var(--ink);
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.clean-list {
  display: grid;
  gap: 0.45rem;
}

.copyright {
  border-top: 1px solid var(--line);
  margin: 2rem 0 0;
  padding-top: 1rem;
  font-size: 0.9rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(16, 21, 19, 0.78);
  backdrop-filter: blur(12px);
}

.age-gate[hidden] {
  display: none;
}

.age-card {
  width: min(100%, 460px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.age-card p {
  color: var(--muted);
}

.legal-page {
  min-height: 50vh;
}

/* Premium refinements for account, article pagination, footer and deal cards. */
.brand-footer .brand-logo-wide,
.brand-logo-wide {
  width: min(100%, 18rem);
  height: auto;
  border-radius: 0;
}

.brand-footer-logo {
  display: inline-flex;
  width: fit-content;
}

.footer-brand-block {
  display: grid;
  gap: 0.9rem;
  max-width: 520px;
}

.footer-tagline {
  color: var(--ink);
  font-weight: 900;
}

.article-card[hidden] {
  display: none;
}

.deal-card {
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.deal-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.deal-media img,
.deal-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-media img {
  transition: transform 180ms ease;
}

.deal-card:hover .deal-media img {
  transform: scale(1.035);
}

.deal-card-body {
  padding: 1.15rem;
}

.pulse-badge,
.pulse-pill {
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

.pulse-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  min-width: 3.4rem;
  height: 3.4rem;
  box-shadow: 0 12px 30px rgba(16, 21, 19, 0.26);
}

.pulse-pill {
  min-height: 2.3rem;
  padding: 0.45rem 0.7rem;
}

.pulse-mini,
.pulse-panel {
  display: grid;
  gap: 0.55rem;
}

.pulse-mini {
  margin: 1rem 0;
}

.pulse-mini span,
.pulse-panel span {
  color: var(--muted);
  font-weight: 900;
  font-size: 0.9rem;
}

.pulse-meter {
  display: block;
  width: 100%;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  border: 0;
}

.pulse-meter::-webkit-meter-bar {
  background: var(--surface-2);
  border-radius: 999px;
  border: 0;
}

.pulse-meter::-webkit-meter-optimum-value {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
}

.pulse-meter::-moz-meter-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
}

.deal-detail-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  margin-bottom: 1.4rem;
  background: var(--surface-2);
}

.pulse-panel {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.pulse-panel strong {
  font-size: 2.4rem;
  line-height: 1;
}

.vote-box {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.vote-login-note {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.vote-login-note p {
  color: var(--muted);
}

.account-dashboard {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 1rem;
  align-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 57, 47, 0.96), rgba(31, 106, 85, 0.9)),
    var(--brand);
  color: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.account-dashboard p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
}

.account-dashboard h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.account-stat-grid div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  padding: 0.9rem;
}

.account-stat-grid dt {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 900;
}

.account-stat-grid dd {
  margin: 0.2rem 0 0;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 950;
}

.account-card h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.account-auth-grid .account-card:first-child,
.profile-card {
  background:
    linear-gradient(180deg, rgba(238, 242, 235, 0.74), rgba(255, 255, 255, 0.96)),
    var(--surface);
  box-shadow: 0 18px 55px rgba(16, 21, 19, 0.08);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.5rem;
  }

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

  .site-nav a {
    border-radius: var(--radius);
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(16, 21, 19, 0.94), rgba(16, 21, 19, 0.66));
  }

  .hero-content {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .feature-grid,
  .trend-grid,
  .deal-grid,
  .shop-grid,
  .article-card-grid,
  .article-detail-hero,
  .benchmark-layout,
  .benchmark-device-strip,
  .deal-detail,
  .comments-layout,
  .form-panel,
  .account-auth-grid,
  .account-layout,
  .account-dashboard,
  .account-split,
  .community-grid,
  .faq-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benchmark-panel,
  .profile-card {
    position: static;
  }

  .filter-bar,
  .shop-filter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.3rem;
  }

  .top-notice {
    font-size: 0.78rem;
  }

  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 2.65rem;
    height: 2.65rem;
  }

  .benchmark-device-card {
    grid-template-columns: 4.75rem minmax(0, 1fr);
  }

  .benchmark-device-image {
    width: 4.75rem;
    height: 4.75rem;
  }

  .hero-content,
  .section,
  .page-hero,
  .article-detail-hero,
  .deal-detail,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .stat-row,
  .form-grid,
  .account-stat-grid {
    grid-template-columns: 1fr;
  }

  .deal-card {
    grid-template-columns: 1fr;
  }

  .deal-heat {
    width: max-content;
    min-width: 4rem;
  }

  .inline-heading {
    display: block;
  }

  .button,
  .button-row > * {
    width: 100%;
  }

  .button-row.compact > * {
    width: auto;
  }

  .compare-table {
    min-width: 620px;
  }

  .score-row {
    grid-template-columns: 1fr;
  }

  .article-detail-hero {
    gap: 1rem;
  }

  .avatar-wrap,
  .badge-card,
  .contribution-card {
    grid-template-columns: 1fr;
  }

  .avatar-wrap {
    display: grid;
    align-items: start;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(185, 154, 74, 0.75);
  outline-offset: 3px;
}

.nav-overlay[hidden] {
  display: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: min(100%, var(--max));
  margin: 1rem auto 0;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--brand-2);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.38rem 0.7rem;
  font-weight: 900;
  font-size: 0.86rem;
}

.section-use-cases {
  padding-top: 2rem;
}

.use-case-grid,
.popular-grid,
.about-grid,
.legal-content {
  display: grid;
  gap: 1rem;
}

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

.use-case-card,
.popular-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.1rem;
}

.use-case-card p {
  color: var(--muted);
}

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

.popular-card {
  display: flex;
  align-items: center;
  min-height: 4.2rem;
  color: var(--brand);
  font-weight: 950;
  box-shadow: 0 12px 34px rgba(16, 21, 19, 0.06);
}

.popular-card:hover,
.popular-card:focus-visible {
  color: var(--ink);
  border-color: rgba(31, 106, 85, 0.45);
  transform: translateY(-1px);
}

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

.trust-compliance-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.faq-teaser {
  display: grid;
  gap: 0.7rem;
}

.faq-teaser details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.9rem 1rem;
}

.faq-teaser summary {
  cursor: pointer;
  font-weight: 900;
}

.scenario-buttons {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.scenario-buttons > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.scenario-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand);
  cursor: pointer;
  padding: 0.45rem 0.65rem;
  font-weight: 900;
}

.scenario-button.is-active,
.scenario-button:hover {
  background: var(--brand);
  color: #fff;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.article-side-panel {
  position: sticky;
  top: 6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
}

.article-side-panel dl {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.article-side-panel dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.article-side-panel dd {
  margin: 0.1rem 0 0;
  font-weight: 850;
}

.article-toc {
  display: grid;
  gap: 0.45rem;
}

.article-toc a {
  color: var(--brand-2);
  font-weight: 850;
}

.article-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem;
}

.article-compare-wrap .compare-table {
  min-width: 0;
}

.article-faq-list {
  grid-template-columns: 1fr;
}

.comment-card-rich {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem;
}

.comment-avatar {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 950;
  overflow: hidden;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-content {
  min-width: 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.comment-header strong,
.comment-header span {
  display: block;
}

.comment-header span,
.comment-login-note {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.85rem;
}

.comment-score {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand);
  padding: 0.35rem 0.6rem;
  font-weight: 900;
}

.comment-score span {
  color: var(--muted);
  font-size: 0.8rem;
}

.comment-vote {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

.comment-vote button,
.report-button {
  display: inline-grid;
  place-items: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  cursor: pointer;
  font-weight: 950;
}

.report-button {
  min-width: auto;
  padding: 0.35rem 0.6rem;
  color: var(--muted);
  cursor: not-allowed;
}

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

.legal-content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 2rem;
}

.footer-grid {
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(150px, 1fr));
}

.footer-small {
  font-size: 0.84rem;
}

.compact-note {
  margin: -0.25rem 0 0;
  padding: 0.75rem;
  font-size: 0.9rem;
}

.shop-note,
.deal-expiry {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.result-count + .empty-state,
.result-count + .shop-grid {
  margin-top: 1rem;
}

.compare-table th {
  position: sticky;
  left: 0;
  z-index: 1;
}

body.nav-is-open,
body.age-gate-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: nowrap;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 61;
    display: flex;
    width: min(88vw, 22rem);
    height: 100vh;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: -24px 0 60px rgba(16, 21, 19, 0.22);
    padding: 5rem 1rem 1rem;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 3rem;
    display: flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    white-space: normal;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(16, 21, 19, 0.48);
  }

  .menu-toggle {
    position: relative;
    z-index: 62;
  }

  .use-case-grid,
  .popular-grid,
  .trust-compliance-card,
  .article-detail-layout,
  .about-grid,
  .legal-content {
    grid-template-columns: 1fr;
  }

  .article-side-panel {
    position: static;
  }

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

@media (max-width: 640px) {
  .hero-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .trust-strip li {
    font-size: 0.78rem;
  }

  .comment-card-rich,
  .comment-header {
    grid-template-columns: 1fr;
  }

  .comment-header {
    display: grid;
  }

  .comment-avatar {
    width: 3rem;
    height: 3rem;
  }

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

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

  .platform-card {
    min-height: 0;
  }
}

/* Editorial launch refinements */
.featured-article-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.featured-article-card > img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.featured-article-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.featured-article-card .button {
  margin-top: 0.5rem;
}

.article-detail-hero picture,
.article-detail-hero picture img {
  width: 100%;
  height: 100%;
}

.article-detail-hero picture img {
  object-fit: cover;
}

.article-prose {
  min-width: 0;
  max-width: 52rem;
}

.article-intro {
  font-size: 1.08rem;
}

.article-subsection {
  margin-top: 1.75rem;
}

.article-figure {
  margin: 1.75rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-figure img {
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.source-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.25rem;
}

.source-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.source-list a {
  color: var(--brand-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.age-risk-note {
  padding: 0.8rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-2);
  color: var(--ink) !important;
  font-size: 0.92rem;
}

.age-error[hidden],
.nav-overlay[hidden] {
  display: none;
}

.age-card .button-row,
.age-card .button {
  width: 100%;
}

.button,
.menu-toggle,
summary,
.pagination a {
  min-height: 44px;
}

.site-footer .footer-grid {
  grid-template-columns: minmax(230px, 1.35fr) repeat(auto-fit, minmax(145px, 1fr));
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .featured-article-card {
    grid-template-columns: 1fr;
  }

  .featured-article-card > img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .article-detail-hero picture img {
    aspect-ratio: 16 / 9;
  }

  .article-compare-wrap {
    margin-inline: -1rem;
    padding-inline: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .article-compare-wrap .compare-table {
    min-width: 42rem;
  }

  .age-card {
    padding: 1.15rem;
  }

  .age-card .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .top-notice,
  .site-header,
  .site-footer,
  .age-gate,
  .article-side-panel,
  .button-row {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .article-detail-layout,
  .article-detail-hero {
    display: block;
  }

  .article-detail-hero picture {
    max-width: 7in;
  }

  .article-prose {
    max-width: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
