/* searchyt.com - overrides on top of Bootstrap 5.3.3 (CDN).
   Mobile-first: base rules target a 360px screen, wider layouts layer on at 480 / 768 / 1024. */

:root {
  color-scheme: only light;
  --ink: #0d0b2a;
  --text: #1d1c38;
  --soft: #33324f;
  --muted: #585c74;
  --blue: #1d4ed8;
  --blue-dark: #1639a8;
  --link: #0b3aa8;
  --tint: #f2f5fc;
  --tint-2: #e5ebfa;
  --line: #e2e6f0;
  --white: #ffffff;
  --font-head: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-btn: 12px;
  --r-box: 10px;
}

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

html {
  background-color: #ffffff;
  color: #1d1c38;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #ffffff;
  color: #1d1c38;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

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

a {
  color: var(--link);
}

a:hover {
  color: var(--blue-dark);
}

a:focus-visible,
.btn-cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background-color: #0d0b2a;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  color: #ffffff;
}

/* ---------- Layout container ---------- */

.container-article.container {
  width: 100%;
  max-width: 900px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Reading progress (decorative) ---------- */

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 3px;
  background-color: transparent;
  pointer-events: none;
}

.read-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background-color: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

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

.masthead {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 18px -10px rgba(13, 11, 42, 0.22);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 -0.3em 0 rgba(29, 78, 216, 0.16);
  transition: box-shadow 0.2s ease, color 0.2s ease;
}

.brand:hover {
  color: var(--ink);
  box-shadow: inset 0 -0.55em 0 rgba(29, 78, 216, 0.22);
}

.ad-label {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background-color: var(--tint-2);
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Article head ---------- */

.article-page {
  background-color: #ffffff;
  color: var(--text);
  padding-top: 1.25rem;
}

.article-head {
  padding-bottom: 0.25rem;
}

.kicker {
  margin: 0.5rem 0 0.4rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.article-title {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.2rem + 2.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
}

.article-dek {
  margin: 0 0 1.5rem;
  color: var(--soft);
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.55;
}

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

.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #dfe5f2;
  aspect-ratio: 16 / 10;
}

.media-frame > img,
.media-frame > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

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

.media-frame--photo {
  aspect-ratio: 4 / 3;
}

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

.media-frame--portrait {
  aspect-ratio: 9 / 16;
}

.media-figure {
  margin: 2rem 0;
}

.media-figure.media-figure--flush {
  max-width: 250px;
  margin: 0.5rem auto 0;
}

.media-caption {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ---------- Byline row ---------- */

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.byline,
.byline-date {
  margin: 0;
}

.byline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.byline strong {
  color: var(--ink);
  font-weight: 700;
}

.byline-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--tint-2);
  color: var(--blue-dark);
}

.byline-mark svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- Article body ---------- */

.article-body {
  margin-top: 2.25rem;
  background-color: #ffffff;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.7;
}

.article-body p {
  margin: 0 0 1.15em;
}

.article-body strong {
  color: var(--ink);
  font-weight: 700;
}

.takeaway {
  margin: 2rem 0 0;
  padding: 1.15rem 1.15rem 1.15rem 1.35rem;
  background-color: var(--tint);
  color: var(--text);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-box) var(--r-box) 0;
}

.article-body p.takeaway-title {
  margin: 0 0 0.4rem;
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.takeaway ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.takeaway li {
  margin: 0.4rem 0;
  padding-left: 0.15rem;
}

.takeaway li::marker {
  color: var(--blue);
}

.article-section {
  margin-top: 2.75rem;
}

.section-title {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 1.3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.section-num {
  color: var(--blue);
  margin-right: 0.15em;
}

/* Steps */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 0 0 1.15rem 3.35rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--blue);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.0625rem;
  top: 2.6rem;
  bottom: 0.3rem;
  width: 2px;
  background-color: var(--line);
}

/* Checklist */

.needs-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}

.needs-list li {
  position: relative;
  margin: 0 0 1rem;
  padding-left: 2.2rem;
}

.needs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background-color: var(--tint-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.4' fill='none' stroke='%231d4ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
}

/* Plain honest-limits list */

.limits-list {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.3rem;
}

.limits-list li {
  margin: 0 0 0.85rem;
  padding-left: 0.3rem;
}

.limits-list li::marker {
  color: var(--blue);
  font-weight: 800;
}

/* ---------- Call to action (button + redirect note) ---------- */

.cta-block {
  margin: 2.25rem 0 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-cta {
  display: block;
  width: 100%;
  min-height: 3.75rem;
  padding: 1.2rem 1.25rem;
  background-color: var(--blue);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border-radius: var(--r-btn);
  box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.6);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  background-color: var(--blue-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -10px rgba(22, 57, 168, 0.7);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta-tail {
  white-space: nowrap;
}

.btn-cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-cta:hover .btn-cta-arrow,
.btn-cta:focus-visible .btn-cta-arrow {
  transform: translateX(4px);
}

.article-body p.exit-note,
.closing p.exit-note,
p.exit-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* ---------- Closing section ---------- */

.closing {
  margin-top: 3.25rem;
  padding: 2.75rem 0 3rem;
  background-color: var(--tint);
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.7;
}

.closing p {
  margin: 0 0 1.15em;
}

.closing .section-title {
  margin-bottom: 1rem;
}

/* ---------- Footer (publisher imprint) ---------- */

.base {
  background-color: #ffffff;
  color: var(--muted);
  padding: 2.75rem 0 3rem;
  font-size: 0.8125rem;
  line-height: 1.65;
}

.base .owner {
  margin: 0 0 1.25rem;
  color: #3f4259;
}

.base .owner p {
  margin: 0;
}

.base .nav_legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0 0 1.1rem;
}

.base .nav_legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #1b3a9c;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.base .nav_legal a:hover {
  color: var(--ink);
}

.base .credit_line {
  margin: 0;
  color: var(--muted);
}

/* ---------- Legal / about pages ---------- */

.legal-page {
  background-color: #ffffff;
  color: var(--text);
  padding: 2rem 0 3rem;
}

.legal-page .article-title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
}

.legal-page .article-title + .legal-body {
  margin-top: 1.5rem;
}

.version-line {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.legal-body {
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal-body p {
  margin: 0 0 1em;
}

.legal-body h2 {
  margin: 2.25rem 0 0.75rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.legal-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.3rem;
}

.legal-body li {
  margin: 0 0 0.5rem;
}

.legal-body li::marker {
  color: var(--blue);
}

.legal-body strong {
  color: var(--ink);
}

.legal-lead {
  color: var(--soft);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
}

.address-block {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background-color: var(--tint);
  color: var(--text);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-box) var(--r-box) 0;
  font-style: normal;
  line-height: 1.65;
}

/* ---------- 480px and up ---------- */

@media (min-width: 480px) {
  .brand {
    font-size: 1.5rem;
  }

  .article-meta {
    margin-top: 1.1rem;
  }

  .media-figure.media-figure--flush {
    max-width: 280px;
  }
}

/* ---------- 768px and up ---------- */

@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
  }

  .container-article.container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .masthead-inner {
    min-height: 84px;
  }

  .brand {
    font-size: 1.75rem;
  }

  .ad-label {
    font-size: 0.75rem;
  }

  .article-page {
    padding-top: 1.5rem;
  }

  .kicker {
    font-size: 0.875rem;
  }

  .media-frame--hero {
    aspect-ratio: 2 / 1;
  }

  .media-frame--photo,
  .media-frame--wide {
    aspect-ratio: 16 / 9;
  }

  .media-figure.media-figure--flush {
    max-width: 300px;
    margin-top: 0;
  }

  .article-body {
    margin-top: 3rem;
    font-size: 1.25rem;
    line-height: 1.7;
  }

  .takeaway {
    padding: 1.4rem 1.6rem 1.4rem 1.75rem;
  }

  .takeaway ul {
    font-size: 1.0625rem;
  }

  .article-section {
    margin-top: 3.5rem;
  }

  .media-figure {
    margin: 2.5rem 0;
  }

  .media-caption {
    font-size: 0.9375rem;
  }

  .steps li {
    padding-bottom: 1.35rem;
  }

  .cta-block {
    margin-top: 2.5rem;
  }

  .btn-cta {
    display: inline-block;
    width: auto;
    min-width: 23rem;
    min-height: 4rem;
    padding: 1.3rem 2.25rem;
    font-size: 1.1875rem;
  }

  .closing {
    margin-top: 4.5rem;
    padding: 4rem 0 4.5rem;
    font-size: 1.25rem;
  }

  .base {
    padding: 3.5rem 0 4rem;
  }

  .legal-page {
    padding: 3rem 0 4rem;
  }

  .legal-body {
    font-size: 1.125rem;
  }
}

/* ---------- 1024px and up ---------- */

@media (min-width: 1024px) {
  .masthead-inner {
    min-height: 84px;
  }

  .article-head {
    padding-bottom: 0.5rem;
  }

  .media-frame--hero {
    aspect-ratio: 852 / 380;
  }

  .article-body {
    margin-top: 3.5rem;
  }

  .article-section {
    margin-top: 4rem;
  }

  .closing {
    margin-top: 5rem;
  }

  .base .nav_legal {
    gap: 0 1.5rem;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-cta,
  .btn-cta-arrow,
  .brand {
    transition: none;
  }
}
