:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8fafb;
  --surface-strong: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #475569;
  --accent: #0d9488;
  --accent-strong: #0b7d74;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  --max-width: 800px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(100%, calc(var(--max-width) + 2rem));
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

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

.site-brand a {
  font-weight: 700;
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
}

.hero {
  padding: 2rem 0 1rem;
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  color: white;
}

.hero-copy {
  max-width: 640px;
}

.hero h1,
.hero p {
  color: white;
}

.hero .eyebrow {
  color: rgba(255,255,255,0.85);
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.section {
  margin-top: 2rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.card-grid,
.product-grid,
.section-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card,
.card-link,
.info-card,
.contact-card,
.error-card,
.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
}

.card a,
.card-link {
  display: block;
  color: inherit;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.product-grid {
  grid-template-columns: minmax(250px, 1fr);
}

.product-card {
  display: grid;
  gap: 0.8rem;
}

.product-card img {
  border-radius: 16px;
}

.product-card .card-content {
  display: grid;
  gap: 0.5rem;
}

.product-card a {
  color: var(--accent);
  font-weight: 600;
}

.newsletter-card,
.contact-card,
.error-card {
  border-color: var(--border);
}

.newsletter-form,
.contact-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: var(--surface-strong);
  color: var(--text);
}

button,
.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
button.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.text-muted {
  color: var(--muted);
}

.footer-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.page-intro {
  padding: 1rem 0;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.product-page {
  display: grid;
  gap: 2rem;
}

.product-hero {
  display: grid;
  gap: 1.5rem;
}

.product-copy {
  display: grid;
  gap: 1rem;
}

.product-rating {
  display: flex;
  gap: 0.188rem;
  align-items: center;
}

.rating-star {
  color: #f59e0b;
}

.verdict-box {
  background: rgba(13, 148, 136, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  border-radius: 14px;
}

.disclosure {
  color: var(--muted);
  font-size: 0.95rem;
}

.product-media {
  position: relative;
}

.product-media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.pin-button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 0.95rem;
  font-weight: 600;
}

.article-copy,
.final-cta {
  background: var(--surface);
  border-radius: 22px;
  padding: 1.5rem;
}

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

.list-card {
  border-radius: 22px;
  padding: 1.3rem;
}

.list-card--good {
  border-left: 4px solid var(--success);
}

.list-card--bad {
  border-left: 4px solid var(--danger);
}

.list-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.list-card li {
  display: flex;
  gap: 0.75rem;
}

.list-card li::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  margin-top: 0.25rem;
}

.list-card--good li::before {
  background: var(--success);
}

.list-card--bad li::before {
  background: var(--danger);
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-strong);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.25rem;
}

.faq-answer.open {
  padding: 1rem 1.25rem 1.25rem;
  max-height: 400px;
}

.faq-toggle::after {
  content: "+";
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle::after {
  transform: rotate(45deg);
}

.final-text {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--border);
  padding: 0.9rem;
  text-align: left;
}

.table-scroll {
  overflow-x: auto;
}

.comparison-table th {
  background: var(--surface);
}

.product-dates {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1rem;
}

@media (min-width: 740px) {
  .product-hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

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

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

@media (min-width: 900px) {
  .section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

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

/* Utility classes */
.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;
}

.card-link {
  text-align: center;
  padding: 1.3rem;
}

.error-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
