/* Space Grotesk + DM Sans — tech-neutral pair fitting a data-driven deal discovery tool */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

/* reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* tokens */
:root {
  /* colors */
  --c-bg:         #ffffff;
  --c-surface:    #f8f8f6;
  --c-border:     #e8e8e4;
  --c-text:       #0D1B2A;
  --c-muted:      #6b7280;
  --c-accent:     #FF5733;
  --c-accent-dk:  #d94420;
  --c-signal:     #FFD166;
  --c-signal-bg:  #fffbef;
  --c-navy:       #0D1B2A;
  --c-navy-mid:   #1e3044;
  --c-score-a:    #22c55e;
  --c-score-b:    #eab308;
  --c-score-c:    #f97316;

  /* typography */
  --f-head: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'DM Sans', system-ui, sans-serif;

  /* scale */
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   1.125rem;
  --t-xl:   1.25rem;
  --t-2xl:  1.5rem;
  --t-3xl:  2rem;
  --t-4xl:  2.75rem;
  --t-5xl:  3.75rem;

  /* spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* radius */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 1px 3px rgba(13,27,42,0.08);
  --sh-md: 0 4px 12px rgba(13,27,42,0.10);
  --sh-lg: 0 8px 24px rgba(13,27,42,0.12);

  /* transitions */
  --tr-fast:   150ms ease;
  --tr-base:   250ms ease;
  --tr-slow:   400ms ease;

  /* z-index */
  --z-base:        1;
  --z-header:      100;
  --z-mobile:      200;
  --z-cookie:      300;
  --z-back-to-top: 150;

  /* layout */
  --header-h:   64px;
  --max-w:      1200px;
  --content-w:  720px;

  /* logo */
  --logo-w: 148px;
  --logo-h: 36px;
}

/* base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--t-4xl); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-2xl); }
h4 { font-size: var(--t-xl); }
p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* layout */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container--narrow {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
main { padding-top: var(--header-h); }
.section { padding: var(--sp-20) 0; }
.section--sm { padding: var(--sp-12) 0; }
.section--lg { padding: var(--sp-24) 0; }
.section--alt { background: var(--c-surface); }
.section--navy { background: var(--c-navy); color: #fff; }

/* header */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  z-index: var(--z-header);
  overflow: hidden;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: var(--sp-8);
  overflow: hidden;
}
.6q666-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.6q666-logo img {
  max-width: var(--logo-w);
  max-height: var(--logo-h);
  width: auto;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex: 1;
}
.nav-links a {
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--c-muted);
  transition: color var(--tr-fast);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-accent); }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--c-text);
  border-radius: var(--r-pill);
  transition: transform var(--tr-base), opacity var(--tr-base);
}

/* deal score badge — unique signature component */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}
.score-badge--a { background: var(--c-score-a); color: #fff; }
.score-badge--b { background: var(--c-signal); color: var(--c-navy); }
.score-badge--c { background: var(--c-score-c); color: #fff; }

/* mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  gap: var(--sp-2);
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--c-bg);
  z-index: var(--z-mobile);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--tr-base), transform var(--tr-base), visibility 0s linear var(--tr-base);
  overflow-y: auto;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity var(--tr-base), transform var(--tr-base), visibility 0s linear 0s;
}
.mobile-menu a {
  font-family: var(--f-head);
  font-size: var(--t-xl);
  font-weight: 600;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  display: block;
}
.mobile-menu a:hover { color: var(--c-accent); }

/* deal card */
.deal-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-bg);
  transition: box-shadow var(--tr-base), transform var(--tr-base);
}
.deal-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
}
.deal-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.deal-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.deal-card:hover .deal-card__img img { transform: scale(1.04); }
.deal-card__body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.deal-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.deal-card__tag {
  font-size: var(--t-xs);
  font-weight: 600;
  font-family: var(--f-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-accent);
}
.deal-card__title {
  font-family: var(--f-head);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--sp-3);
  color: var(--c-text);
}
.deal-card__excerpt {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-4);
}
.deal-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.deal-card__author { font-size: var(--t-xs); color: var(--c-muted); }

/* cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* text-only card */
.text-card {
  display: block;
  padding: var(--sp-5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-bg);
  transition: box-shadow var(--tr-base), border-color var(--tr-base);
}
.text-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--c-accent);
}
.text-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}
.text-card__tag {
  font-size: var(--t-xs);
  font-weight: 600;
  font-family: var(--f-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-accent);
}
.text-card__title {
  font-family: var(--f-head);
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}
.text-card__snippet { font-size: var(--t-sm); color: var(--c-muted); }

/* unique component — signal board on homepage */
.signal-board {
  background: var(--c-navy);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  color: #fff;
}
.signal-board__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.signal-board__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-score-a);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.3);
  animation: 6q666-pulse 2s infinite;
}
.signal-board__label {
  font-family: var(--f-head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.signal-board__rows { display: flex; flex-direction: column; gap: var(--sp-3); }
.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background var(--tr-fast);
  text-decoration: none;
  color: #fff;
}
.signal-row:hover { background: rgba(255,255,255,0.08); }
.signal-row__left { display: flex; align-items: center; gap: var(--sp-3); }
.signal-row__icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.signal-row__icon svg { width: 16px; height: 16px; }
.signal-row__title {
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 600;
}
.signal-row__sub { font-size: var(--t-xs); color: rgba(255,255,255,0.45); }
.signal-row__right { display: flex; align-items: center; gap: var(--sp-3); }

/* hero typographic */
.hero-typo {
  padding: var(--sp-20) 0 var(--sp-16);
  background: var(--c-signal-bg);
  border-bottom: 1px solid var(--c-border);
}
.hero-typo__eyebrow {
  font-family: var(--f-head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-5);
}
.hero-typo__headline {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 720px;
  margin-bottom: var(--sp-6);
}
.hero-typo__headline em {
  font-style: normal;
  color: var(--c-accent);
}
.hero-typo__sub {
  font-size: var(--t-lg);
  color: var(--c-muted);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}
.hero-typo__stats {
  display: flex;
  gap: var(--sp-10);
}
.hero-stat__num {
  font-family: var(--f-head);
  font-size: var(--t-3xl);
  font-weight: 700;
  color: var(--c-text);
  display: block;
}
.hero-stat__label {
  font-size: var(--t-sm);
  color: var(--c-muted);
}

/* page-specific styles — article */
.article-hero {
  aspect-ratio: 21/8;
  overflow: hidden;
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-8);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body h2 { font-size: var(--t-2xl); margin: var(--sp-8) 0 var(--sp-4); }
.article-body h3 { font-size: var(--t-xl); margin: var(--sp-6) 0 var(--sp-3); }
.article-body p { color: var(--c-text); line-height: 1.75; }
.article-body ul, .article-body ol {
  margin: 0 0 var(--sp-4) var(--sp-6);
  line-height: 1.75;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: var(--sp-2); }
.article-body a { color: var(--c-accent); text-decoration: underline; }
.article-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-6) 0;
  background: var(--c-surface);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--c-navy-mid);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-8);
}
.article-meta__author { font-weight: 600; font-size: var(--t-sm); }
.article-meta__date { font-size: var(--t-sm); color: var(--c-muted); }
.article-meta__read { font-size: var(--t-sm); color: var(--c-muted); }

/* reading progress */
#reading-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  height: 3px;
  background: var(--c-accent);
  width: 0%;
  z-index: var(--z-header);
  transition: width 0.1s linear;
}

/* breadcrumb */
.breadcrumb {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-8);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb a { font-size: var(--t-sm); color: var(--c-muted); transition: color var(--tr-fast); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb li:not(:last-child)::after {
  content: '›';
  color: var(--c-border);
  font-size: var(--t-sm);
}
.breadcrumb li:last-child { font-size: var(--t-sm); color: var(--c-text); font-weight: 500; }

/* section hub index */
.hub-header {
  padding: var(--sp-12) 0 var(--sp-8);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-10);
}
.hub-header__tag {
  font-family: var(--f-head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}
.hub-header__title { font-size: var(--t-3xl); margin-bottom: var(--sp-3); }
.hub-header__desc { font-size: var(--t-lg); color: var(--c-muted); }

/* cta newsletter block */
.cta-newsletter {
  margin: var(--sp-12) 0;
  padding: var(--sp-8);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}
.cta-newsletter__label {
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}
.cta-newsletter__desc { font-size: var(--t-sm); color: var(--c-muted); margin-bottom: var(--sp-5); }
.cta-newsletter__form { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.cta-newsletter__form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg);
  font-size: var(--t-sm);
  transition: border-color var(--tr-fast);
}
.cta-newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--c-accent);
}
.cta-newsletter__success {
  font-size: var(--t-sm);
  color: var(--c-score-a);
  margin-top: var(--sp-3);
  display: none;
}
.cta-newsletter__success.shown { display: block; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 600;
  border-radius: var(--r-md);
  transition: background var(--tr-fast), transform var(--tr-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-accent);
  color: #fff;
}
.btn--primary:hover { background: var(--c-accent-dk); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--t-xs); }

/* contact form */
.form-group { margin-bottom: var(--sp-5); }
.form-label {
  display: block;
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}
.form-input, .form-textarea, .form-select {
  display: block;
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg);
  font-size: var(--t-base);
  color: var(--c-text);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(255,87,51,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-captcha {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.form-captcha .form-label { margin-bottom: 0; white-space: nowrap; }
.form-captcha .form-input { max-width: 120px; }
.form-error { font-size: var(--t-sm); color: var(--c-accent); margin-top: var(--sp-2); display: none; }
.form-error.shown { display: block; }
.form-success {
  padding: var(--sp-5);
  background: #f0fdf4;
  border: 1px solid var(--c-score-a);
  border-radius: var(--r-md);
  color: #166534;
  font-size: var(--t-sm);
  font-weight: 500;
  display: none;
}
.form-success.shown { display: block; }

/* related posts */
.related-section {
  margin-top: var(--sp-12);
  padding-top: var(--sp-12);
  border-top: 1px solid var(--c-border);
}
.related-section__title {
  font-size: var(--t-xl);
  margin-bottom: var(--sp-6);
}

/* authors section */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
.author-card {
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}
.author-card__name {
  font-family: var(--f-head);
  font-size: var(--t-lg);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}
.author-card__role { font-size: var(--t-sm); color: var(--c-accent); margin-bottom: var(--sp-4); font-weight: 500; }
.author-card__bio { font-size: var(--t-sm); color: var(--c-muted); line-height: 1.65; margin-bottom: var(--sp-4); }
.author-card__link { font-size: var(--t-sm); color: var(--c-accent); font-weight: 500; text-decoration: underline; }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-trigger {
  width: 100%;
  text-align: left;
  padding: var(--sp-5) 0;
  font-family: var(--f-head);
  font-size: var(--t-base);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  color: var(--c-text);
  transition: color var(--tr-fast);
}
.faq-trigger:hover { color: var(--c-accent); }
.faq-trigger svg {
  width: 20px; height: 20px;
  transition: transform var(--tr-base);
  flex-shrink: 0;
  color: var(--c-muted);
}
.faq-item.open .faq-trigger svg { transform: rotate(180deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow);
}
.faq-body p {
  padding-bottom: var(--sp-5);
  color: var(--c-muted);
  font-size: var(--t-base);
  line-height: 1.7;
}

/* counter stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.stat-item { text-align: center; }
.stat-item__num {
  font-family: var(--f-head);
  font-size: var(--t-4xl);
  font-weight: 700;
  color: var(--c-accent);
  display: block;
  line-height: 1;
}
.stat-item__label {
  font-size: var(--t-sm);
  color: var(--c-muted);
  margin-top: var(--sp-2);
}

/* tabs */
.tabs-nav {
  display: flex;
  gap: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}
.tab-btn {
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 600;
  padding: var(--sp-3) var(--sp-5);
  color: var(--c-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}
.tab-btn:hover { color: var(--c-text); }
.tab-btn.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* section labels */
.section-label {
  font-family: var(--f-head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}
.section-title {
  font-size: var(--t-3xl);
  margin-bottom: var(--sp-3);
}
.section-desc {
  font-size: var(--t-lg);
  color: var(--c-muted);
  max-width: 560px;
  margin-bottom: var(--sp-10);
}

/* services list */
.service-card {
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}
.service-card__icon {
  width: 44px; height: 44px;
  background: rgba(255,87,51,0.1);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.service-card__icon svg { width: 22px; height: 22px; color: var(--c-accent); }
.service-card__title { font-family: var(--f-head); font-size: var(--t-lg); font-weight: 700; margin-bottom: var(--sp-3); }
.service-card__desc { font-size: var(--t-sm); color: var(--c-muted); line-height: 1.65; }

/* legal page */
.legal-body h2 { font-size: var(--t-2xl); margin: var(--sp-8) 0 var(--sp-4); }
.legal-body h3 { font-size: var(--t-xl); margin: var(--sp-5) 0 var(--sp-3); }
.legal-body p { color: var(--c-muted); margin-bottom: var(--sp-4); }
.legal-body ul { margin: 0 0 var(--sp-4) var(--sp-6); list-style: disc; }
.legal-body ul li { color: var(--c-muted); margin-bottom: var(--sp-2); }
.legal-body a { color: var(--c-accent); }
.legal-date { font-size: var(--t-sm); color: var(--c-muted); margin-bottom: var(--sp-6); }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--tr-slow), transform var(--tr-slow);
}
.reveal.visible { opacity: 1; transform: none; }

/* footer */
footer {
  background: var(--c-navy);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-brand__tagline {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.45);
  margin-top: var(--sp-4);
  line-height: 1.6;
  max-width: 220px;
}
.footer-col__title {
  font-family: var(--f-head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-4);
}
.footer-col__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col__links a {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.7);
  transition: color var(--tr-fast);
}
.footer-col__links a:hover { color: var(--c-accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-bottom__copy {
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.3);
}
.footer-bottom__links {
  display: flex;
  gap: var(--sp-5);
}
.footer-bottom__links a {
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--tr-fast);
}
.footer-bottom__links a:hover { color: rgba(255,255,255,0.7); }

/* cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--c-navy);
  color: #fff;
  padding: var(--sp-5) var(--sp-6);
  z-index: var(--z-cookie);
  transform: translateY(100%);
  transition: transform var(--tr-slow);
  border-top: 2px solid var(--c-accent);
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.cookie-text { font-size: var(--t-sm); color: rgba(255,255,255,0.8); flex: 1; min-width: 200px; line-height: 1.55; }
.cookie-text a { color: var(--c-signal); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }
.cookie-btn {
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 600;
  transition: background var(--tr-fast);
  white-space: nowrap;
}
#cookie-accept { background: var(--c-accent); color: #fff; }
#cookie-accept:hover { background: var(--c-accent-dk); }
#cookie-decline { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
#cookie-decline:hover { background: rgba(255,255,255,0.15); }

/* back to top */
#back-to-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-6);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-back-to-top);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--tr-base), transform var(--tr-base);
  border: none;
  cursor: pointer;
}
#back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
#back-to-top svg { width: 18px; height: 18px; }

/* animations */
@keyframes 6q666-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
@keyframes 6q666-counter-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: var(--t-3xl); }
  h2 { font-size: var(--t-2xl); }
  .hero-typo__stats { flex-direction: column; gap: var(--sp-5); }
  .stats-row { grid-template-columns: 1fr; gap: var(--sp-5); }
  .authors-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid--2 { grid-template-columns: 1fr; }
  .article-hero { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-newsletter__form { flex-direction: column; }
  .container, .container--narrow { padding: 0 var(--sp-4); }
}
@media (max-width: 480px) {
  :root { --header-h: 56px; }
  .section { padding: var(--sp-12) 0; }
  .section--lg { padding: var(--sp-16) 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* method page */
.method-hero { padding: var(--sp-16) 0 var(--sp-10); }
.method-hero__label { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-accent); margin-bottom: var(--sp-4); }
.method-hero__title { font-family: var(--f-head); font-size: var(--t-4xl); color: var(--clr-navy); margin-bottom: var(--sp-5); }
.method-hero__lead { font-size: var(--t-lg); line-height: 1.65; max-width: 680px; color: var(--clr-muted); }
.method-section { margin-bottom: var(--sp-16); }
.method-intro { max-width: 680px; font-size: var(--t-base); line-height: 1.75; color: var(--clr-navy); margin-bottom: var(--sp-12); }
.method-intro p + p { margin-top: var(--sp-4); }
.method-factors__heading { font-family: var(--f-head); font-size: var(--t-2xl); color: var(--clr-navy); margin-bottom: var(--sp-8); }
.method-factors { display: flex; flex-direction: column; gap: var(--sp-10); }
.method-factor { display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-6); }
.method-factor__number { font-family: var(--f-head); font-size: var(--t-4xl); color: var(--clr-accent); opacity: 0.3; line-height: 1; }
.method-factor__content h3 { font-family: var(--f-head); font-size: var(--t-xl); color: var(--clr-navy); margin-bottom: var(--sp-3); }
.method-factor__content p + p { margin-top: var(--sp-3); }
.method-factor__content p { line-height: 1.7; color: var(--clr-navy); font-size: var(--t-base); }
.method-scores { margin-bottom: var(--sp-16); }
.method-scores h2 { font-family: var(--f-head); font-size: var(--t-2xl); color: var(--clr-navy); margin-bottom: var(--sp-4); }
.method-scores__intro { color: var(--clr-muted); margin-bottom: var(--sp-8); max-width: 600px; }
.method-score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.method-score-item { display: flex; gap: var(--sp-4); align-items: flex-start; background: var(--clr-surface); border-radius: var(--r-lg); padding: var(--sp-5); }
.method-score-item strong { display: block; color: var(--clr-navy); margin-bottom: var(--sp-1); font-family: var(--f-head); }
.method-score-item p { font-size: var(--t-sm); color: var(--clr-muted); line-height: 1.6; margin: 0; }
.method-faq { margin-bottom: var(--sp-16); }
.method-faq h2 { font-family: var(--f-head); font-size: var(--t-2xl); color: var(--clr-navy); margin-bottom: var(--sp-6); }
.post-deal-score.score-a-plus { background: var(--clr-score-a); color: #fff; }

/* about page */
.about-hero { padding: var(--sp-16) 0 var(--sp-10); }
.about-hero__title { font-family: var(--f-head); font-size: var(--t-4xl); color: var(--clr-navy); margin-bottom: var(--sp-5); }
.about-hero__lead { font-size: var(--t-lg); line-height: 1.65; max-width: 680px; color: var(--clr-muted); }
.about-section { margin-bottom: var(--sp-12); }
.about-section h2 { font-family: var(--f-head); font-size: var(--t-2xl); color: var(--clr-navy); margin-bottom: var(--sp-4); }
.about-section p + p { margin-top: var(--sp-3); }
.about-section p { line-height: 1.75; color: var(--clr-navy); }
.about-authors { margin-bottom: var(--sp-12); }
.about-authors h2 { font-family: var(--f-head); font-size: var(--t-2xl); color: var(--clr-navy); margin-bottom: var(--sp-8); }
.author-card { background: var(--clr-surface); border-radius: var(--r-xl); padding: var(--sp-7); margin-bottom: var(--sp-5); }
.author-card__name { font-family: var(--f-head); font-size: var(--t-xl); color: var(--clr-navy); font-weight: 700; }
.author-card__role { font-size: var(--t-sm); color: var(--clr-accent); font-weight: 600; margin: var(--sp-1) 0 var(--sp-3); }
.author-card__bio { line-height: 1.75; color: var(--clr-navy); margin-bottom: var(--sp-2); }
.author-card__covers { font-size: var(--t-sm); color: var(--clr-muted); margin-bottom: var(--sp-4); }
.author-card__linkedin { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--t-sm); color: var(--clr-accent); font-weight: 600; text-decoration: none; }
.author-card__linkedin:hover { text-decoration: underline; }

/* contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); padding: var(--sp-16) 0; }
.contact-info__title { font-family: var(--f-head); font-size: var(--t-4xl); color: var(--clr-navy); margin-bottom: var(--sp-5); }
.contact-info__lead { font-size: var(--t-lg); line-height: 1.65; color: var(--clr-muted); margin-bottom: var(--sp-8); }
.contact-details { display: flex; flex-direction: column; gap: var(--sp-5); margin-bottom: var(--sp-8); }
.contact-detail-item__label { font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--clr-muted); margin-bottom: var(--sp-1); }
.contact-detail-item__value { color: var(--clr-navy); line-height: 1.6; }
.contact-detail-item__value a { color: var(--clr-accent); text-decoration: none; }
.contact-reasons__title { font-family: var(--f-head); font-size: var(--t-base); font-weight: 700; color: var(--clr-navy); margin-bottom: var(--sp-3); }
.contact-reasons__list { list-style: none; padding: 0; }
.contact-reasons__list li { padding: var(--sp-2) 0; color: var(--clr-navy); font-size: var(--t-sm); border-bottom: 1px solid var(--clr-border); }
.contact-reasons__list li:last-child { border-bottom: none; }
.contact-form-wrap { padding-top: var(--sp-2); }
.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-group label { font-size: var(--t-sm); font-weight: 600; color: var(--clr-navy); }
.form-group input, .form-group select, .form-group textarea { font-family: var(--f-body); font-size: var(--t-base); padding: var(--sp-3) var(--sp-4); border: 1.5px solid var(--clr-border); border-radius: var(--r-md); background: var(--clr-white); color: var(--clr-navy); transition: border-color var(--tr-base); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--clr-accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.captcha-error { font-size: var(--t-sm); color: #e53e3e; min-height: 1.4em; margin-top: var(--sp-1); }
.contact-success { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-8); background: var(--clr-surface); border-radius: var(--r-xl); }
.contact-success svg { color: var(--clr-score-a); }
.contact-success h2 { font-family: var(--f-head); font-size: var(--t-2xl); color: var(--clr-navy); }
.contact-success p { color: var(--clr-muted); }

/* legal pages */
.legal-page { max-width: 720px; padding: var(--sp-12) 0 var(--sp-16); }
.legal-page h1 { font-family: var(--f-head); font-size: var(--t-4xl); color: var(--clr-navy); margin-bottom: var(--sp-3); }
.legal-meta { font-size: var(--t-sm); color: var(--clr-muted); margin-bottom: var(--sp-8); }
.legal-page h2 { font-family: var(--f-head); font-size: var(--t-xl); color: var(--clr-navy); margin: var(--sp-8) 0 var(--sp-3); }
.legal-page h3 { font-family: var(--f-head); font-size: var(--t-base); color: var(--clr-navy); margin: var(--sp-5) 0 var(--sp-2); font-weight: 700; }
.legal-page p { line-height: 1.75; color: var(--clr-navy); margin-bottom: var(--sp-4); }
.legal-page a { color: var(--clr-accent); }
.legal-list { padding-left: var(--sp-6); margin-bottom: var(--sp-4); }
.legal-list li { line-height: 1.7; margin-bottom: var(--sp-2); color: var(--clr-navy); }
.cookie-table-wrap { overflow-x: auto; margin: var(--sp-4) 0; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.cookie-table th { background: var(--clr-navy); color: #fff; padding: var(--sp-3) var(--sp-4); text-align: left; font-family: var(--f-head); }
.cookie-table td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--clr-border); }
.cookie-table code { font-family: monospace; background: var(--clr-surface); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* responsive method/contact/about */
@media (max-width: 768px) {
  .method-score-grid { grid-template-columns: 1fr; }
  .method-factor { grid-template-columns: 48px 1fr; gap: var(--sp-4); }
  .contact-layout { grid-template-columns: 1fr; gap: var(--sp-8); padding: var(--sp-8) 0; }
}
