/* ==========================================================================
   TickClip Theme – main.css
   Modern SaaS design system. No build step required; this is the
   production-ready compiled stylesheet.
   ========================================================================== */

/* ── 1. CUSTOM PROPERTIES ───────────────────────────────────────────────── */

:root {
  /* Brand */
  --clr-primary:        #3b82f6;   /* blue-500  */
  --clr-primary-dark:   #1d4ed8;   /* blue-700  */
  --clr-primary-light:  #dbeafe;   /* blue-100  */

  /* Verdicts */
  --clr-tick:           #059669;   /* emerald-600 */
  --clr-tick-bg:        #d1fae5;   /* emerald-100 */
  --clr-clip:           #d97706;   /* amber-600  */
  --clr-clip-bg:        #fef3c7;   /* amber-100  */
  --clr-skip:           #dc2626;   /* red-600    */
  --clr-skip-bg:        #fee2e2;   /* red-100    */

  /* Neutrals */
  --clr-bg:             #f8fafc;
  --clr-surface:        #ffffff;
  --clr-border:         #e2e8f0;
  --clr-text-primary:   #0f172a;
  --clr-text-secondary: #64748b;
  --clr-text-muted:     #94a3b8;

  /* Typography */
  --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  --leading-tight:  1.25;
  --leading-normal: 1.5;
  --leading-relaxed:1.625;

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

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;

  /* Layout */
  --container-max:  1100px;
  --container-pad:  var(--space-6);
  --header-height:  64px;
}


/* ── 2. RESET / BASE ────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--clr-text-primary);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--clr-primary-dark);
  text-decoration: underline;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Screen-reader utility */
.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;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}


/* ── 3. LAYOUT UTILITIES ────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-2) var(--space-4);
  background: var(--clr-primary);
  color: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}


/* ── 4. HEADER ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  height: 100%;
  gap: var(--space-4);
}

/* ── Logo (header + footer shared) ──────────────────────────────────── */

.tc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.tc-logo:hover {
  opacity: 0.82;
  text-decoration: none;
}

.tc-logo__icon {
  display: block;
  flex-shrink: 0;
  height: 36px;
  width: auto;
}

.tc-logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tc-logo__name {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--clr-text-primary);
  line-height: 1.15;
}

.tc-logo__tm {
  font-size: 8px;
  font-weight: 700;
  color: var(--clr-primary);
  vertical-align: super;
  line-height: 0;
}

.tc-logo__tagline {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Footer variant – light text on dark bg */
.tc-logo--light .tc-logo__name    { color: #ffffff; }
.tc-logo--light .tc-logo__tm      { color: #60a5fa; }
.tc-logo--light .tc-logo__tagline { color: #94a3b8; }

/* Primary nav — centred in the grid */
.site-nav {
  justify-self: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: inline-block;
  padding: 6px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text-secondary);
  border-radius: var(--radius-full, 999px);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.site-nav__list a:hover {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  text-decoration: none;
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current-page-ancestor > a {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  font-weight: 600;
}

/* Mobile-only account block (inside drawer) — hidden on desktop */
.site-nav__mobile-account {
  display: none;
}

/* Desktop account actions — right side of grid */
.site-nav__account {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-nav__account-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-full, 999px);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.site-nav__account-link:hover {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
}

.site-nav__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}

.site-nav__login {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-full, 999px);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.site-nav__login:hover {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
}

.site-nav__register {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: var(--radius-full, 999px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.3);
}

.site-nav__register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--clr-text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  position: absolute;
}

.nav-toggle {
  position: relative;
}

.nav-toggle__bar:nth-child(1) { transform: translateY(-6px); }
.nav-toggle__bar:nth-child(2) { transform: translateY(0); }
.nav-toggle__bar:nth-child(3) { transform: translateY(6px); }

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg);
}


/* ── 5. HOMEPAGE SECTIONS ───────────────────────────────────────────────── */

/* ── 5a. Hero — The Decision Engine ─── */

.hp-hero {
  padding: var(--space-24) 0 var(--space-16);
  background: linear-gradient(160deg, #f0f7ff 0%, var(--clr-bg) 50%, #fafbff 100%);
  border-bottom: 1px solid var(--clr-border);
}

.hp-hero__inner {
  display: grid;
  gap: var(--space-8);
  justify-items: center;
  text-align: center;
}

.hp-hero__copy { max-width: 720px; }

.hp-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--clr-text-primary);
  margin-bottom: var(--space-4);
}

.hp-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin-inline: auto;
}

.hp-hero__engine {
  width: 100%;
  max-width: 700px;
}

.hp-hero__examples {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.hp-hero__try-label {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  font-weight: 500;
}

.hp-hero__example {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--clr-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.hp-hero__example:hover {
  background: var(--clr-primary-light);
  border-color: var(--clr-primary);
  transform: translateY(-1px);
}

/* Rotating placeholder fade */
.tc-input--fading::placeholder { opacity: 0; transition: opacity 0.2s ease; }
.tc-input::placeholder { transition: opacity 0.2s ease; }


/* ── 5b. Instant Trust — Buy / Clip / Skip ─── */

.hp-trust {
  padding: var(--space-16) 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.hp-trust__inner { text-align: center; }

.hp-trust__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
}

.hp-trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  max-width: 900px;
  margin-inline: auto;
}

.hp-trust__card {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hp-trust__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hp-trust__card--tick { background: linear-gradient(180deg, #ecfdf5 0%, var(--clr-surface) 100%); border-color: #a7f3d0; }
.hp-trust__card--clip { background: linear-gradient(180deg, #fffbeb 0%, var(--clr-surface) 100%); border-color: #fde68a; }
.hp-trust__card--skip { background: linear-gradient(180deg, #fef2f2 0%, var(--clr-surface) 100%); border-color: #fecaca; }

.hp-trust__icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.hp-trust__card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.hp-trust__card--tick .hp-trust__card-title { color: var(--clr-tick); }
.hp-trust__card--clip .hp-trust__card-title { color: var(--clr-clip); }
.hp-trust__card--skip .hp-trust__card-title { color: var(--clr-skip); }

.hp-trust__card-text {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
}

.hp-trust__note {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-inline: auto;
}


/* ── 5c. How It Works ─── */

.hp-how {
  padding: var(--space-16) 0;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.hp-how__inner { text-align: center; }

.hp-how__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
}

.hp-how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin-inline: auto;
}

.hp-how__step {
  flex: 1;
  max-width: 220px;
  padding: 0 var(--space-3);
}

.hp-how__step-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--clr-primary);
  color: white;
  font-size: var(--text-lg);
  font-weight: 700;
}

.hp-how__step-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.hp-how__step-text {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
}

.hp-how__connector {
  width: 40px;
  height: 2px;
  background: var(--clr-border);
  flex-shrink: 0;
  margin-top: 24px;
}

.hp-how__summary {
  margin-top: var(--space-10);
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .hp-how__steps { flex-direction: column; align-items: center; gap: var(--space-6); }
  .hp-how__connector { width: 2px; height: 24px; }
}


/* ── 5d. Fake Discount Detector ─── */

.hp-fake {
  padding: var(--space-16) 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.hp-fake__inner { text-align: center; }

.hp-fake__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
}

.hp-fake__demo {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin-inline: auto;
}

.hp-fake__card {
  flex: 0 0 280px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: left;
}

.hp-fake__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--clr-border);
}

.hp-fake__label {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
}

.hp-fake__value {
  font-size: var(--text-2xl);
  font-weight: 800;
}

.hp-fake__value--fake {
  color: var(--clr-skip);
  text-decoration: line-through;
  opacity: 0.6;
}

.hp-fake__value--real {
  color: var(--clr-text-primary);
}

.hp-fake__alert {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-clip);
}

.hp-fake__explain {
  text-align: left;
  max-width: 320px;
}

.hp-fake__explain p {
  font-size: var(--text-base);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

@media (max-width: 640px) {
  .hp-fake__demo { flex-direction: column; }
  .hp-fake__explain { text-align: center; }
}


/* ── 5e. ISO — In Search Of ─── */

.hp-iso {
  padding: var(--space-16) 0;
  background: linear-gradient(160deg, #eff6ff 0%, var(--clr-bg) 100%);
  border-bottom: 1px solid var(--clr-border);
}

.hp-iso__inner { text-align: center; }

.hp-iso__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.hp-iso__sub {
  font-size: var(--text-base);
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-8);
}

.hp-iso__cards {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.hp-iso__card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-sm);
  font-weight: 500;
}

.hp-iso__emoji { font-size: var(--text-2xl); }

.hp-iso__explain {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--space-6);
}


/* ── 5f. Price Intelligence (PriceDam) ─── */

.hp-intel {
  padding: var(--space-16) 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.hp-intel__inner { text-align: center; }

.hp-intel__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
}

.hp-intel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto var(--space-8);
}

.hp-intel__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text-primary);
}

.hp-intel__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary-light);
  border-radius: var(--radius-lg);
}

.hp-intel__insight {
  max-width: 400px;
  margin-inline: auto;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.hp-intel__insight-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.hp-intel__insight-text {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--clr-text-primary);
  font-style: italic;
}


/* ── 5g. Verified Deals ─── */

.hp-deals {
  padding: var(--space-16) 0;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.hp-deals__inner { text-align: center; }

.hp-deals__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-8);
}

.hp-deals__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-5);
  max-width: 960px;
  margin-inline: auto;
  text-align: left;
}

.hp-deals__card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hp-deals__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hp-deals__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  flex-shrink: 0;
}

.hp-deals__body { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }

.hp-deals__title {
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-tight);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hp-deals__price { display: flex; align-items: center; gap: var(--space-2); }
.hp-deals__current { font-size: var(--text-base); font-weight: 700; color: var(--clr-text-primary); }
.hp-deals__original { font-size: var(--text-sm); color: var(--clr-text-muted); text-decoration: line-through; }

.hp-deals__verdict {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  width: fit-content;
}

.hp-deals__verdict--tick { background: var(--clr-tick-bg); color: var(--clr-tick); }
.hp-deals__verdict--clip { background: var(--clr-clip-bg); color: var(--clr-clip); }
.hp-deals__verdict--skip { background: var(--clr-skip-bg); color: var(--clr-skip); }

.hp-deals__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
  padding: var(--space-8);
}


/* ── 5h. What Makes TickClip Different ─── */

.hp-diff {
  padding: var(--space-16) 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.hp-diff__inner { text-align: center; }

.hp-diff__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
}

.hp-diff__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: 700px;
  margin-inline: auto;
  text-align: left;
}

.hp-diff__col {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border);
}

.hp-diff__col--them { background: #fef2f2; border-color: #fecaca; }
.hp-diff__col--us   { background: #ecfdf5; border-color: #a7f3d0; }

.hp-diff__col-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.hp-diff__col--them .hp-diff__col-title { color: var(--clr-skip); }
.hp-diff__col--us .hp-diff__col-title   { color: var(--clr-tick); }

.hp-diff__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hp-diff__list li {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  padding-left: var(--space-5);
  position: relative;
  line-height: var(--leading-relaxed);
}

.hp-diff__col--them .hp-diff__list li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: var(--clr-skip);
  font-weight: 700;
}

.hp-diff__col--us .hp-diff__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--clr-tick);
  font-weight: 700;
}

@media (max-width: 540px) {
  .hp-diff__compare { grid-template-columns: 1fr; }
}


/* ── 5i. The Mission ─── */

.hp-mission {
  padding: var(--space-16) 0;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.hp-mission__inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.hp-mission__heading {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hp-mission__text {
  font-size: var(--text-base);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.hp-mission__tagline {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--clr-text-primary);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--clr-primary-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--clr-primary);
  text-align: left;
}


/* ── 5j. Final CTA ─── */

.hp-final {
  padding: var(--space-20) 0 var(--space-16);
  background: linear-gradient(180deg, var(--clr-surface) 0%, #f0f7ff 100%);
}

.hp-final__inner { text-align: center; }

.hp-final__heading {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-8);
}

.hp-final__engine {
  max-width: 700px;
  margin-inline: auto;
}


/* ── Shared CTA buttons ─── */

.hp-cta {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hp-cta--primary {
  background: var(--clr-primary);
  color: white;
}

.hp-cta--primary:hover {
  background: var(--clr-primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hp-cta--outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

.hp-cta--outline:hover {
  background: var(--clr-primary-light);
  transform: translateY(-1px);
}


/* ══════════════════════════════════════════════════════════════════════════
   PRICEDAM PAGE (page-pricedam.php)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── PriceDam Hero ─── */

.pd-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: var(--space-16) 0 var(--space-12);
  text-align: center;
}

.pd-hero__badge {
  display: inline-block;
  background: var(--clr-primary);
  color: white;
  padding: var(--space-1) var(--space-4);
  border-radius: 9999px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.pd-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  max-width: 700px;
  margin-inline: auto;
}

.pd-hero__subtitle {
  font-size: var(--text-lg);
  color: #94a3b8;
  max-width: 600px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

/* ── What Is PriceDam ─── */

.pd-what {
  padding: var(--space-16) 0;
  background: var(--clr-bg);
}

.pd-what__heading {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.pd-what__text {
  text-align: center;
  max-width: 650px;
  margin-inline: auto;
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
}

.pd-what__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pd-what__pillar {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.pd-what__icon {
  margin-bottom: var(--space-3);
}

.pd-what__pillar h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pd-what__pillar p {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
}

@media (max-width: 640px) {
  .pd-what__pillars { grid-template-columns: 1fr; }
}

/* ── How PriceDam Works ─── */

.pd-how {
  padding: var(--space-16) 0;
  background: var(--clr-surface);
}

.pd-how__heading {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-10);
}

.pd-how__steps {
  max-width: 650px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.pd-how__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-4);
}

.pd-how__num {
  grid-row: 1 / -1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary);
  color: white;
  font-size: var(--text-lg);
  font-weight: 800;
  border-radius: var(--radius-md);
}

.pd-how__step h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.pd-how__step p {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── Signals Grid ─── */

.pd-signals {
  padding: var(--space-16) 0;
  background: var(--clr-bg);
}

.pd-signals__heading {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-10);
}

.pd-signals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.pd-signals__card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.pd-signals__card h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.pd-signals__card p {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
}

@media (max-width: 640px) {
  .pd-signals__grid { grid-template-columns: 1fr; }
}

/* ── Fake Discount Example ─── */

.pd-fake {
  padding: var(--space-16) 0;
  background: var(--clr-surface);
}

.pd-fake__heading {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.pd-fake__sub {
  text-align: center;
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-10);
}

.pd-fake__example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: 700px;
  margin-inline: auto;
}

.pd-fake__before,
.pd-fake__after {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.pd-fake__before {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pd-fake__after {
  background: #fefce8;
  border: 1px solid #fde68a;
}

.pd-fake__before h3,
.pd-fake__after h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--clr-text-primary);
}

.pd-fake__price-display {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pd-fake__was {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  text-decoration: line-through;
}

.pd-fake__now {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--clr-skip);
}

.pd-fake__detail {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
}

.pd-fake__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  width: fit-content;
  margin-top: var(--space-2);
}

.pd-fake__badge--danger {
  background: var(--clr-skip);
  color: white;
}

.pd-fake__badge--clip {
  background: var(--clr-clip);
  color: white;
}

@media (max-width: 640px) {
  .pd-fake__example { grid-template-columns: 1fr; }
}

/* ── PriceDam CTA ─── */

.pd-cta {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  text-align: center;
}

.pd-cta__heading {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.pd-cta__text {
  color: #94a3b8;
  margin-bottom: var(--space-8);
  max-width: 500px;
  margin-inline: auto;
}

.pd-cta__engine {
  max-width: 700px;
  margin-inline: auto;
}


/* ── 7. DISCLAIMER ──────────────────────────────────────────────────────── */

.disclaimer {
  padding-block: var(--space-8);
  text-align: center;
}

.disclaimer__text {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  max-width: 520px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}


/* ── 8. POSTS GRID (index.php) ──────────────────────────────────────────── */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  padding-block: var(--space-8);
}

.post-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-tight);
}

.post-card__title a {
  color: var(--clr-text-primary);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--clr-primary);
}

.post-card__date {
  display: block;
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  margin-top: var(--space-1);
}

.post-card__excerpt {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: var(--leading-relaxed);
}

.post-card__footer {
  margin-top: auto;
}


/* ── 9. BUTTONS ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast),
              color var(--transition-fast), box-shadow var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: none;
  box-shadow: none;
}

.btn--primary {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.btn--primary:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-primary-dark);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn--secondary:hover {
  background: var(--clr-primary-light);
  color: var(--clr-primary-dark);
}


/* ── 10. PAGINATION ─────────────────────────────────────────────────────── */

.pagination {
  padding-block: var(--space-8);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.nav-links .page-numbers {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}


/* ── 11. FOOTER ─────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--clr-text-primary);
  color: #e2e8f0;
  padding-block: var(--space-12) var(--space-8);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--space-8);
}

/* (footer logo handled by .tc-logo--light above) */

/* Footer nav */
.site-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.site-footer__nav-list a {
  font-size: var(--text-sm);
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__nav-list a:hover {
  color: #fff;
  text-decoration: none;
}

/* Footer legal */
.site-footer__legal {
  text-align: right;
}

.site-footer__disclaimer {
  font-size: var(--text-xs);
  color: #64748b;
  line-height: var(--leading-relaxed);
  max-width: 320px;
  margin-left: auto;
  margin-bottom: var(--space-2);
}

.site-footer__copy {
  font-size: var(--text-xs);
  color: #64748b;
}

.site-footer__copy a {
  color: #94a3b8;
  text-decoration: none;
}

.site-footer__copy a:hover {
  color: #fff;
}

/* No-results */
.no-results {
  padding-block: var(--space-16);
  text-align: center;
}

.no-results h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.page-header {
  padding-block: var(--space-8);
}

.page-title {
  font-size: var(--text-3xl);
  font-weight: 800;
}

.site-main.container {
  padding-block: var(--space-8);
}


/* ── 12. RESPONSIVE ─────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --container-pad: var(--space-4);
  }

  /* Header — mobile */
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hide desktop account actions on mobile */
  .site-nav__account {
    display: none;
  }

  /* Nav drawer — slides down from header */
  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: var(--space-4) var(--space-5);
    display: none;
    z-index: 99;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__list a {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-md);
  }

  .site-nav__list a:hover {
    background: var(--clr-primary-light);
  }

  /* Show mobile account section inside drawer */
  .site-nav__mobile-account {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--clr-border);
  }

  .site-nav__login--mobile {
    display: block;
    text-align: center;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
  }

  .site-nav__register--mobile {
    display: block;
    text-align: center;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    text-decoration: none;
    border-radius: var(--radius-md);
  }

  /* Hero */
  .hero {
    padding-block: var(--space-12) var(--space-10);
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  /* Trust signals */
  .trust-signals__list {
    flex-direction: column;
    align-items: center;
  }

  .trust-signal {
    min-width: 0;
    width: 100%;
    max-width: 400px;
  }

  /* Footer */
  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__legal {
    text-align: center;
  }

  .site-footer__disclaimer,
  .site-footer__copy {
    margin-inline: auto;
  }

  .site-footer__nav-list {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-2xl);
  }
}

/* ==========================================================================
   PILLAR POST / SINGLE POST LAYOUT
   ========================================================================== */

.pillar-post {
  max-width: 860px;
  padding-block: var(--space-12) var(--space-20);
}

.pillar-post__header {
  margin-bottom: var(--space-12);
  text-align: center;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--clr-border);
}

.pillar-post__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.pillar-post__meta {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
}

.pillar-post__updated {
  color: var(--clr-text-muted);
  font-style: italic;
}

/* ── Content prose ────────────────────────────────────────────────────── */

.pillar-post__content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--clr-text-primary);
}

.pillar-post__content h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-top: 4rem;
  margin-bottom: var(--space-5);
  color: var(--clr-text-primary);
  padding-top: var(--space-8);
  border-top: 3px solid var(--clr-primary);
  letter-spacing: -0.01em;
}

.pillar-post__content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--clr-text-primary);
  padding-left: var(--space-4);
  border-left: 4px solid var(--clr-primary-light);
}

.pillar-post__content p {
  margin-bottom: 1.5em;
}

.pillar-post__content ul,
.pillar-post__content ol {
  margin-bottom: 1.5em;
  padding-left: var(--space-6);
}

.pillar-post__content li {
  margin-bottom: var(--space-3);
  line-height: 1.7;
}

.pillar-post__content li::marker {
  color: var(--clr-primary);
}

.pillar-post__content a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(59, 130, 246, 0.3);
  transition: text-decoration-color 0.15s;
}

.pillar-post__content a:hover {
  color: var(--clr-primary-dark);
  text-decoration-color: var(--clr-primary);
}

.pillar-post__content strong {
  font-weight: 700;
  color: var(--clr-text-primary);
}

.pillar-post__content blockquote {
  border-left: 4px solid var(--clr-primary);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-10) 0;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  color: var(--clr-text-secondary);
  font-size: 1.05rem;
}

.pillar-post__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

/* ── CTA footer ───────────────────────────────────────────────────────── */

.pillar-post__footer {
  margin-top: 4rem;
}

.pillar-post__cta {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: none;
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.pillar-post__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-tick), var(--clr-primary), var(--clr-clip));
}

.pillar-post__cta h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  color: #fff;
}

.pillar-post__cta p {
  color: #94a3b8;
  margin-bottom: var(--space-8);
  font-size: 1.05rem;
}

.pillar-post__cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff !important;
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  cursor: pointer;
}

.pillar-post__cta-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
  text-decoration: none !important;
}

/* ── Pillar post images ───────────────────────────────────────────────── */

.pillar-hero-img {
  width: 100%;
  max-width: 860px;
  height: auto;
  border-radius: 16px;
  margin: 0 auto 2.5rem;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

.pillar-section-img {
  width: 100%;
  max-width: 860px;
  height: auto;
  border-radius: 14px;
  margin: 2.5rem auto;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

/* ── Pillar lead paragraph ─────────────────────────────────────────────── */

.pillar-lead {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.8;
  color: var(--clr-text-secondary);
  max-width: 680px;
  margin: 0 auto var(--space-6);
}

/* ── Mid-article CTA banner ──────────────────────────────────────────── */

.pillar-mid-cta {
  display: block;
  margin: 3rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
  cursor: pointer;
}

.pillar-mid-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  text-decoration: none !important;
}

.pillar-mid-cta img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

/* ── Product example cards ───────────────────────────────────────────── */

.pillar-product-examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin: 2.5rem 0;
}

.pillar-product-examples img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 0;
}

/* ── Highlight box (inline callout) ──────────────────────────────────── */

.pillar-highlight {
  padding: var(--space-6) var(--space-8);
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  border-left: 5px solid;
}

.pillar-highlight--blue {
  background: #eff6ff;
  border-color: #3b82f6;
}

.pillar-highlight--green {
  background: #f0fdf4;
  border-color: #059669;
}

.pillar-highlight--amber {
  background: #fffbeb;
  border-color: #d97706;
}

.pillar-highlight p {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--text-base);
  line-height: 1.6;
}

.pillar-highlight p:last-child {
  margin-bottom: 0;
}

.pillar-highlight strong {
  color: var(--clr-text-primary);
}

/* ── Section number badge ────────────────────────────────────────────── */

.pillar-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--clr-primary);
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
  border-radius: 50%;
  margin-right: var(--space-3);
  vertical-align: middle;
}

/* ── Infographic containers ───────────────────────────────────────────── */

.tc-infographic {
  margin: var(--space-8) 0;
  padding: var(--space-6) var(--space-8);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.tc-infographic__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 var(--space-4) 0;
  color: var(--clr-text-primary);
}

.tc-infographic__chart {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto var(--space-4);
  display: block;
}

.tc-infographic__caption {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  margin: var(--space-3) 0 0 0;
  line-height: 1.5;
}

/* ── Infographic grid (4-card layout) ─────────────────────────────────── */

.tc-infographic__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.tc-infographic__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
}

.tc-infographic__card strong {
  font-size: var(--text-base);
  color: var(--clr-text-primary);
}

.tc-infographic__card span {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.5;
}

.tc-infographic__icon {
  margin-bottom: var(--space-1);
}

/* ── Steps (numbered) ─────────────────────────────────────────────────── */

.tc-step {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--clr-border);
}

.tc-step:last-child {
  border-bottom: none;
}

.tc-step__number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: 50%;
}

.tc-step__body strong {
  display: block;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.tc-step__body p {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.tc-step__body a {
  color: var(--clr-primary);
}

/* ── Pipeline (3-phase) ───────────────────────────────────────────────── */

.tc-pipeline {
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
}

.tc-pipeline__stage {
  flex: 1;
  padding: var(--space-4);
  border-radius: 10px;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg);
}

.tc-pipeline__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-primary);
  margin-bottom: var(--space-1);
}

.tc-pipeline__stage strong {
  display: block;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.tc-pipeline__stage span {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.4;
}

.tc-pipeline__arrow {
  display: flex;
  align-items: center;
  font-size: var(--text-xl);
  color: var(--clr-text-muted);
  flex-shrink: 0;
}

/* ── Verdict explainer cards ──────────────────────────────────────────── */

.tc-verdict-explain {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: 10px;
  margin-bottom: var(--space-3);
  border: 1px solid var(--clr-border);
}

.tc-verdict-explain:last-child {
  margin-bottom: 0;
}

.tc-verdict-explain__badge {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}

.tc-verdict-explain--tick { background: #f0fdf4; }
.tc-verdict-explain--tick .tc-verdict-explain__badge { background: var(--clr-tick-bg); color: var(--clr-tick); }
.tc-verdict-explain--clip { background: #fffbeb; }
.tc-verdict-explain--clip .tc-verdict-explain__badge { background: var(--clr-clip-bg); color: var(--clr-clip); }
.tc-verdict-explain--skip { background: #fef2f2; }
.tc-verdict-explain--skip .tc-verdict-explain__badge { background: var(--clr-skip-bg); color: var(--clr-skip); }

.tc-verdict-explain__body strong {
  display: block;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.tc-verdict-explain__body p {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.5;
  margin: 0 0 var(--space-2) 0;
}

.tc-verdict-explain__when {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  font-style: italic;
}

/* ── Calendar (seasonal) ──────────────────────────────────────────────── */

.tc-calendar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tc-calendar__item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: 8px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  align-items: baseline;
}

.tc-calendar__month {
  flex-shrink: 0;
  width: 70px;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--clr-primary);
}

.tc-calendar__cats {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.5;
}

/* ── Pillar divider ──────────────────────────────────────────────────── */

.pillar-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-border), var(--clr-primary-light), var(--clr-border), transparent);
  margin: 3.5rem 0;
}

/* ── Pillar big question ─────────────────────────────────────────────── */

.pillar-big-question {
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  font-weight: 800 !important;
  text-align: center;
  color: var(--clr-primary-dark) !important;
  margin: var(--space-8) 0 !important;
  padding: var(--space-8) var(--space-6);
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border-radius: var(--radius-xl);
  border: 2px solid var(--clr-primary-light);
  border-top: none !important;
}

/* ── Resource grid (card layout) ─────────────────────────────────────── */

.pillar-resource-heading {
  margin-top: 2.5rem !important;
  margin-bottom: var(--space-3) !important;
  padding-bottom: var(--space-3);
  border-bottom: none;
  border-left: none !important;
  padding-left: 0 !important;
}

.pillar-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin: var(--space-6) 0 var(--space-10);
}

.pillar-resource-card {
  display: flex;
  flex-direction: column;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none !important;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pillar-resource-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  text-decoration: none !important;
}

.pillar-resource-card__header {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
}

.pillar-resource-card__header strong {
  color: #fff;
}

.pillar-resource-card__header--green  { background: #059669; }
.pillar-resource-card__header--blue   { background: #3b82f6; }
.pillar-resource-card__header--amber  { background: #d97706; }
.pillar-resource-card__header--red    { background: #dc2626; }
.pillar-resource-card__header--purple { background: #8b5cf6; }
.pillar-resource-card__header--slate  { background: #475569; }

.pillar-resource-card p {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.pillar-resource-card__tag {
  display: block;
  padding: var(--space-2) var(--space-4) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-primary);
}

/* ── TickClip callout box ────────────────────────────────────────────── */

.pillar-tickclip-callout {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-10);
  margin: 2.5rem 0;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.pillar-tickclip-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-tick), var(--clr-primary), var(--clr-clip));
}

.pillar-tickclip-callout__badge {
  flex-shrink: 0;
  padding-top: var(--space-1);
}

.pillar-tickclip-callout__body h4 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-text-primary);
  margin: 0 0 var(--space-3) 0;
}

.pillar-tickclip-callout__body p {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-3) 0;
}

.pillar-tickclip-callout__body ul {
  margin: 0 0 var(--space-4) 0;
  padding-left: var(--space-5);
}

.pillar-tickclip-callout__body li {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-1);
}

.pillar-tickclip-callout__btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff !important;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.15s;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  cursor: pointer;
}

.pillar-tickclip-callout__btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* ── Pipeline steps ──────────────────────────────────────────────────── */

.pillar-pipeline {
  margin: var(--space-8) 0;
}

.pillar-pipeline__step {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-3);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pillar-pipeline__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-lg);
  border-radius: 50%;
}

.pillar-pipeline__content strong {
  display: block;
  font-size: var(--text-base);
  color: var(--clr-text-primary);
  margin-bottom: var(--space-1);
}

.pillar-pipeline__content p {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.verdict-tick { color: var(--clr-tick); font-weight: 700; }
.verdict-clip { color: var(--clr-clip); font-weight: 700; }
.verdict-skip { color: var(--clr-skip); font-weight: 700; }

/* ── Algorithm factor bars ───────────────────────────────────────────── */

.pillar-algo {
  margin: var(--space-6) 0 var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pillar-algo__factor {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar-algo__bar {
  height: 6px;
}

.pillar-algo__bar--blue   { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.pillar-algo__bar--green  { background: linear-gradient(90deg, #059669, #34d399); }
.pillar-algo__bar--amber  { background: linear-gradient(90deg, #d97706, #fbbf24); }
.pillar-algo__bar--purple { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.pillar-algo__bar--red    { background: linear-gradient(90deg, #dc2626, #f87171); }

.pillar-algo__label {
  padding: var(--space-3) var(--space-5) var(--space-4);
}

.pillar-algo__label strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--clr-text-primary);
  margin-bottom: var(--space-1);
}

.pillar-algo__label span {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.55;
}

/* ── Verdict thresholds ──────────────────────────────────────────────── */

.pillar-verdict-thresholds {
  display: flex;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.pillar-verdict-thresholds__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-lg);
  border: 2px solid;
}

.pillar-verdict-thresholds__item--tick {
  background: #f0fdf4;
  border-color: #86efac;
}

.pillar-verdict-thresholds__item--clip {
  background: #fffbeb;
  border-color: #fde68a;
}

.pillar-verdict-thresholds__item--skip {
  background: #fef2f2;
  border-color: #fca5a5;
}

.pillar-verdict-thresholds__score {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.pillar-verdict-thresholds__item--tick .pillar-verdict-thresholds__score { color: var(--clr-tick); }
.pillar-verdict-thresholds__item--clip .pillar-verdict-thresholds__score { color: var(--clr-clip); }
.pillar-verdict-thresholds__item--skip .pillar-verdict-thresholds__score { color: var(--clr-skip); }

.pillar-verdict-thresholds__label {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.pillar-verdict-thresholds__item--tick .pillar-verdict-thresholds__label { color: var(--clr-tick); }
.pillar-verdict-thresholds__item--clip .pillar-verdict-thresholds__label { color: var(--clr-clip); }
.pillar-verdict-thresholds__item--skip .pillar-verdict-thresholds__label { color: var(--clr-skip); }

.pillar-verdict-thresholds__desc {
  font-size: var(--text-xs);
  color: var(--clr-text-secondary);
  line-height: 1.4;
}

/* ── FAQ accordion ───────────────────────────────────────────────────── */

.pillar-faq {
  margin: var(--space-6) 0;
}

.pillar-faq__item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  background: var(--clr-surface);
  transition: box-shadow var(--transition-normal);
}

.pillar-faq__item[open] {
  box-shadow: var(--shadow-sm);
}

.pillar-faq__question {
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--clr-text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-faq__question::-webkit-details-marker {
  display: none;
}

.pillar-faq__question::after {
  content: '+';
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--clr-text-muted);
  flex-shrink: 0;
  margin-left: var(--space-4);
  transition: transform var(--transition-fast);
}

.pillar-faq__item[open] .pillar-faq__question::after {
  content: '\2212';
}

.pillar-faq__answer {
  padding: 0 var(--space-5) var(--space-4);
}

.pillar-faq__answer p {
  font-size: var(--text-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── Final CTA ───────────────────────────────────────────────────────── */

.pillar-final-cta {
  text-align: center;
  margin: 3rem 0 var(--space-4) 0;
  padding: var(--space-10) var(--space-8);
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pillar-final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-tick), var(--clr-primary), var(--clr-clip));
}

.pillar-final-cta__text {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
  color: #fff;
}

.pillar-final-cta__text strong {
  color: #fff;
}

.pillar-final-cta__sub {
  font-size: var(--text-base);
  color: #94a3b8;
  margin-bottom: var(--space-8);
}

.pillar-final-cta__btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  cursor: pointer;
}

.pillar-final-cta__btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
  text-decoration: none !important;
}

/* ── Pillar post responsive ───────────────────────────────────────────── */

@media (max-width: 640px) {
  .pillar-post__content {
    font-size: 1rem;
  }
  .pillar-post__content h2 {
    margin-top: 2.5rem;
    padding-top: var(--space-6);
  }
  .pillar-post__content h3 {
    margin-top: var(--space-6);
  }
  .pillar-post__cta {
    padding: var(--space-8) var(--space-5);
  }

  .pillar-resource-grid {
    grid-template-columns: 1fr;
  }

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

  .pillar-tickclip-callout {
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
  }

  .pillar-pipeline__step {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .pillar-pipeline__num {
    width: 36px;
    height: 36px;
    font-size: var(--text-base);
  }

  .pillar-verdict-thresholds {
    flex-direction: column;
  }

  .pillar-highlight {
    padding: var(--space-4) var(--space-5);
  }

  .tc-infographic {
    padding: var(--space-4);
  }
  .tc-infographic__grid {
    grid-template-columns: 1fr;
  }
  .tc-pipeline {
    flex-direction: column;
  }
  .tc-pipeline__arrow {
    transform: rotate(90deg);
    justify-content: center;
  }
  .tc-verdict-explain {
    flex-direction: column;
    gap: var(--space-3);
  }
  .tc-verdict-explain__badge {
    width: 48px;
    height: 48px;
    font-size: var(--text-xs);
  }
  .tc-calendar__item {
    flex-direction: column;
    gap: var(--space-1);
  }
  .tc-calendar__month {
    width: auto;
  }
}
