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

:root {
  /* Brand tokens, from Actually Useful Tech Brand Guide v1.1 */
  --midnight: #071A2A;
  --midnight-hover: #0B2A42;
  --midnight-active: #04111C;
  --powder: #A9D8EA;
  --yellow: #F4D40B;
  --yellow-hover: #E4C400;
  --yellow-active: #CDB000;
  --yellow-disabled: #E9E2AF;
  --ice: #F3F8FA;
  --slate: #526575;
  --white: #FFFFFF;
  --border: #C7D7DE;
  --success: #2B8A66;

  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(7, 26, 42, .10);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--midnight);
  background: var(--ice);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-display); }

a { color: var(--midnight); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 34px; width: auto; display: block; }
nav.main-nav a {
  color: var(--midnight);
  font-weight: 600;
  font-size: 15px;
  margin-left: 26px;
}
nav.main-nav a:hover { color: var(--midnight-hover); text-decoration: none; }

/* Disclosure strip */
.disclosure-strip {
  background: var(--midnight);
  color: var(--powder);
  font-size: 13px;
  text-align: center;
  padding: 8px 12px;
}
.disclosure-strip a { color: var(--white); text-decoration: underline; font-weight: 600; }

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  max-width: 760px;
  color: var(--midnight);
}
.hero p.lead {
  font-size: 19px;
  color: var(--slate);
  max-width: 620px;
  margin: 0;
}

/* Category cards on homepage */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 64px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.cat-card .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--midnight);
  margin-bottom: 8px;
}
.cat-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 10px; color: var(--midnight); }
.cat-card p { color: var(--slate); font-size: 15px; margin: 0 0 16px; }
.cat-card a.cat-link { font-weight: 700; }

/* Product list (category page) */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  margin: 8px 0 6px;
  letter-spacing: -0.01em;
  color: var(--midnight);
}
.section-sub { color: var(--slate); font-size: 16px; max-width: 640px; margin: 0 0 36px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.product-card .product-photo {
  display: block;
  background: var(--ice);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  margin: -22px -22px 16px;
}
.product-card .product-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 14px;
}
.product-card .price-tag {
  display: inline-block;
  font-family: var(--font-mono);
  background: var(--powder);
  color: var(--midnight);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.product-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 8px; color: var(--midnight); }
.product-card p { color: var(--slate); font-size: 14.5px; margin: 0 0 14px; }
.product-card a.read-link { font-weight: 700; font-size: 14px; }

/* Review article */
.article-head { padding: 48px 0 20px; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 13px; color: var(--slate); margin-bottom: 14px; }
.breadcrumb a { color: var(--slate); font-weight: 500; }
.article-head h1 { font-family: var(--font-display); font-weight: 700; font-size: 36px; margin: 0 0 12px; letter-spacing: -0.01em; color: var(--midnight); }
.article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.price-badge {
  font-family: var(--font-mono);
  background: var(--midnight);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.verdict-badge {
  font-family: var(--font-mono);
  background: var(--powder);
  color: var(--midnight);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.product-hero {
  max-width: 420px;
  margin: 32px auto 0;
  padding: 0 24px;
}
.product-hero img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 20px;
  font-size: 17px;
}
.article-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 23px; margin: 40px 0 12px; letter-spacing: -0.01em; color: var(--midnight); }
.article-body p { margin: 0 0 18px; color: #263140; }
.article-body ul { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; color: #263140; }

.cta-box {
  max-width: 720px;
  margin: 8px auto 60px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-box .cta-copy h3 { font-family: var(--font-display); margin: 0 0 4px; font-size: 18px; color: var(--midnight); }
.cta-box .cta-copy p { margin: 0; color: var(--slate); font-size: 14px; }

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--midnight) !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--yellow-hover); text-decoration: none; }
.btn:active { background: var(--yellow-active); }

.btn-secondary {
  display: inline-block;
  background: var(--midnight);
  color: var(--white) !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--midnight-hover); text-decoration: none; }
.btn-secondary:active { background: var(--midnight-active); }

.inline-disclosure {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 13.5px;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

/* Simple pages (about, privacy, disclosure, contact) */
.simple-page { max-width: 720px; margin: 0 auto; padding: 56px 0 80px; }
.simple-page h1 { font-family: var(--font-display); font-weight: 700; font-size: 34px; margin: 0 0 20px; color: var(--midnight); }
.simple-page h2 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 32px 0 10px; color: var(--midnight); }
.simple-page p { font-size: 16.5px; color: #263140; margin: 0 0 16px; }

/* Footer */
footer.site-footer {
  background: var(--midnight);
  padding: 40px 0;
  margin-top: 40px;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer .foot-links a {
  color: var(--powder);
  font-size: 14px;
  margin-right: 20px;
  font-weight: 600;
}
footer.site-footer .foot-links a:hover { color: var(--white); }
footer.site-footer .copy { color: #6E8496; font-size: 13px; }

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  nav.main-nav { display: none; }
}
