/* ==========================================================================
   Smart Review — advertorial stylesheet
   Bootstrap 5 provides grid/reset; this file carries all art direction.
   ========================================================================== */

:root {
  --bg: #0a0c11;
  --bg-soft: #10131c;
  --bg-card: #151926;
  --bg-card-hover: #1a1f2e;
  --border: #242a3c;
  --border-soft: #1b2030;
  --text: #eef0f5;
  --text-dim: #aab1c2;
  --text-faint: #7b8296;
  --accent: #4d7dff;
  --accent-bright: #6f97ff;
  --accent-ink: #081026;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 40px -24px rgba(0, 0, 0, 0.65);
  --max-w: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 32px;
  }
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

/* ---------------------------------- Masthead ---------------------------- */

.masthead {
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  z-index: 20;
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
  color: var(--text);
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--accent-bright);
}

.brand__name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.masthead__label {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 8px;
}

.masthead__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.site-nav {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav__list a {
  display: block;
  padding: 10px 4px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--text);
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-nav__list {
    flex-direction: row;
    gap: 24px;
    padding: 12px 0;
  }
}

/* ---------------------------------- Hero --------------------------------- */

.hero {
  padding-block: 44px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(77, 125, 255, 0.18), transparent 60%),
    var(--bg);
}

@media (min-width: 768px) {
  .hero {
    padding-block: 72px 48px;
  }
}

.hero__title {
  font-size: clamp(1.75rem, 1.1rem + 3.2vw, 3.25rem);
  max-width: 20ch;
  margin-inline: auto;
}

.hero__title .accent {
  color: var(--accent-bright);
}

.hero__dek {
  color: var(--text-dim);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  max-width: 56ch;
  margin: 18px auto 0;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  list-style: none;
  padding: 0;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__media {
  margin: 32px auto 0;
  max-width: 720px;
}

.hero__intro {
  max-width: 62ch;
  margin: 28px auto 0;
  text-align: left;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* ---------------------------------- Media -------------------------------- */

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 16 / 10;
}

.media-caption {
  margin-top: 10px;
  color: var(--text-faint);
  font-size: 0.85rem;
  text-align: center;
}

.media-block {
  margin: 8px 0 32px;
}

.suits__media {
  margin-top: 32px;
}

/* ---------------------------------- Sections ----------------------------- */

.section {
  padding-block: 40px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 64px;
  }
}

.section--alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section__eyebrow {
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
  display: block;
}

.section__heading {
  font-size: clamp(1.4rem, 1.15rem + 1.2vw, 2rem);
  max-width: 26ch;
}

.section__lead {
  color: var(--text-dim);
  max-width: 62ch;
  margin-top: 12px;
  font-size: 1.02rem;
}

.article {
  max-width: 720px;
  margin-inline: auto;
}

.article p {
  color: var(--text-dim);
  font-size: 1.02rem;
}

/* ---------------------------------- Stats -------------------------------- */

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

@media (min-width: 640px) {
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
}

.stat-tile__value {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 800;
  color: var(--text);
}

.stat-tile__label {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-top: 6px;
}

/* ---------------------------------- Suit cards --------------------------- */

.suits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 640px) {
  .suits__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.suit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.suit-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.suit-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(77, 125, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.suit-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.suit-card__text {
  color: var(--text-dim);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------------------------------- CTA block ---------------------------- */

.cta-block {
  background: linear-gradient(160deg, rgba(77, 125, 255, 0.14), rgba(77, 125, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  margin: 36px auto 0;
  max-width: 720px;
}

.cta-block__title {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  margin-bottom: 8px;
}

.cta-block__text {
  color: var(--text-dim);
  max-width: 48ch;
  margin: 0 auto 20px;
  font-size: 0.97rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  min-height: 44px;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  background: var(--accent-bright);
  color: var(--accent-ink);
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-block--inline {
  margin-top: 28px;
}

/* ---------------------------------- Steps -------------------------------- */

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: center;
}

@media (min-width: 768px) {
  .steps__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  counter-increment: step;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

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

.step__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(77, 125, 255, 0.16);
  color: var(--accent-bright);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.step__body {
  color: var(--text-dim);
  font-size: 0.98rem;
  padding-top: 4px;
}

.step__body strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

/* ---------------------------------- FAQ ---------------------------------- */

.faq {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 20px;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

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

.faq__item summary::after {
  content: "+";
  color: var(--accent-bright);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  color: var(--text-dim);
  padding-bottom: 18px;
  font-size: 0.98rem;
  margin: 0;
}

.faq__media {
  margin: 20px 0 32px;
  max-width: 480px;
}

/* ---------------------------------- Footer ------------------------------- */

.foot {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding-block: 36px;
  margin-top: 8px;
}

.foot__publisher {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.7;
  white-space: pre-line;
}

.foot__meta-links {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.foot__meta-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 600;
}

.foot__meta-links a:hover,
.foot__meta-links a:focus-visible {
  color: var(--text);
}

.publisher-note {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 0.81rem;
  line-height: 1.6;
  max-width: 72ch;
}

/* ---------------------------------- Simple content pages ------------------ */

.page-header {
  padding-block: 40px 20px;
  text-align: left;
}

.page-header h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
}

.page-header p {
  color: var(--text-dim);
  margin-top: 10px;
  font-size: 1.02rem;
}

.content-block {
  padding-block: 8px 56px;
}

.content-block h2 {
  font-size: 1.25rem;
  margin-top: 34px;
  margin-bottom: 10px;
}

.content-block h2:first-of-type {
  margin-top: 8px;
}

.content-block p,
.content-block li {
  color: var(--text-dim);
  font-size: 0.98rem;
}

.content-block ul {
  padding-left: 1.2em;
}

.content-block a {
  color: var(--accent-bright);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.contact-list strong {
  color: var(--text);
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  color: var(--text-faint);
}

.not-found {
  text-align: center;
  padding-block: 80px;
}

.not-found h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
}
