/* Options Made Simple microsite */

:root {
  --os-ink: #0c1222;
  --os-ink-soft: #1a2744;
  --os-muted: #5b6b86;
  --os-line: #d8e0ec;
  --os-surface: #ffffff;
  --os-mist: #eef3f8;
  --os-sky: #d4e4f0;
  --os-accent: #0d9488;
  --os-accent-deep: #0f766e;
  --os-accent-soft: #ccfbf1;
  --os-sale: #b45309;
  --os-sale-bg: #fff7ed;
  --os-shadow: 0 18px 50px -28px rgba(12, 18, 34, 0.35);
  --font-display: "Outfit", system-ui, sans-serif;
  /* One vertical rhythm for every homepage section */
  --space-section: 2.75rem;
}

@media (min-width: 640px) {
  :root {
    --space-section: 3.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-display);
  color: var(--os-ink);
  -webkit-font-smoothing: antialiased;
}

/* Shared site background (home + snippet landings) */
.page-home {
  background:
    radial-gradient(ellipse 90% 55% at 8% -8%, rgba(13, 148, 136, 0.13), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(180, 83, 9, 0.08), transparent 50%),
    linear-gradient(180deg, var(--os-mist) 0%, #f7fafc 42%, var(--os-sky) 100%);
}

a {
  color: inherit;
}

/* Top bar (all pages) */
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  padding: 0.75rem 1.25rem;
  background: var(--os-ink);
  color: #fff;
}

.topbar__brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 0.45rem;
  background: var(--os-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease;
}

.topbar__cta:hover {
  background: var(--os-accent-deep);
}

.page {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.75rem 1rem 3.5rem;
}

@media (min-width: 640px) {
  .page {
    padding: 2.25rem 1.5rem 4rem;
  }
}

.site-header {
  text-align: center;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.6s ease both;
}

@media (min-width: 640px) {
  .site-header {
    margin-bottom: 2.25rem;
  }
}

.site-brand {
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.home-headline {
  margin: 0.65rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--os-ink-soft);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-video {
  min-width: 0;
  animation: fadeUp 0.65s 0.05s ease both;
}

.video-meta {
  margin-bottom: 0.65rem;
}

.video-meta__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--os-accent-deep);
}

.video-meta__title {
  margin: 0.25rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.video-block {
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--os-ink);
  box-shadow: var(--os-shadow);
}

.video-player__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0c1222;
}

.video-player__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.65rem;
  background: var(--os-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(12, 18, 34, 0.55);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--os-ink-soft);
  transform: translateY(-1px);
}

.companion-panel__label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #94a3b8;
}

.companion-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.companion-nav--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .companion-nav--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.companion-nav--grid .companion-nav__item {
  border-left: 0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--os-line);
}

.companion-nav--grid .companion-nav__item:hover,
.companion-nav--grid .companion-nav__item--current {
  border-color: var(--os-accent);
  box-shadow: var(--os-shadow);
}

.companion-nav__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.65rem;
  row-gap: 0.15rem;
  padding: 0.75rem 0.8rem;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--os-ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 0.5rem 0.5rem 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.companion-nav__item:hover {
  background: rgba(255, 255, 255, 0.95);
  border-left-color: var(--os-accent);
}

.companion-nav__item--current {
  background: #fff;
  border-left-color: var(--os-accent);
  box-shadow: 0 4px 16px -10px rgba(12, 18, 34, 0.3);
}

.companion-nav__dur {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--os-accent-deep);
  background: var(--os-accent-soft);
  min-width: 3.25rem;
  padding: 0.3rem 0.4rem;
  border-radius: 0.35rem;
  text-align: center;
  white-space: nowrap;
}

.companion-nav__title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.companion-nav__item--current .companion-nav__title {
  font-weight: 700;
}

.companion-nav__blurb {
  grid-column: 2;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--os-muted);
}

.section {
  margin-top: var(--space-section);
  animation: fadeUp 0.7s 0.1s ease both;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.25rem;
}

.section__label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #94a3b8;
}

.section__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--os-accent-deep);
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

.section__lead {
  margin: 0.5rem 0 0;
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--os-muted);
}

.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .article-list {
    grid-template-columns: 1fr 1fr;
  }
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--os-line);
  border-radius: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--os-accent);
  box-shadow: var(--os-shadow);
}

.article-card__img {
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  background: var(--os-mist);
  display: block;
}

.article-card__img--empty {
  background: linear-gradient(160deg, var(--os-accent-soft), var(--os-mist));
}

.article-card__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem 1.1rem;
}

.article-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--os-ink);
}

.article-card__blurb {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--os-muted);
}

.site-footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

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

.site-footer a:hover {
  color: var(--os-accent-deep);
  text-decoration: underline;
}

/* Report landings: same site feel, narrower focused layout */
.page--narrow {
  max-width: 44rem;
}

.snippet-header {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.page-anchor {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--os-accent-deep);
}

.page-title {
  margin: 0;
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--os-ink);
}

.page-subtitle {
  margin: 0.7rem auto 0;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--os-muted);
  text-wrap: balance;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1.1rem;
}

.page--narrow .video-actions {
  justify-content: center;
}

.btn-next,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-cta {
  background: #fff;
  color: var(--os-ink);
  border: 1px solid var(--os-line);
}

.btn-cta:hover {
  border-color: var(--os-accent);
  color: var(--os-accent-deep);
  transform: translateY(-1px);
}

.btn-next {
  background: var(--os-accent);
  color: #fff;
  border: 1px solid transparent;
}

.btn-next:hover {
  background: var(--os-accent-deep);
  transform: translateY(-1px);
}

.video-stage {
  display: flex;
  flex-direction: column;
}

.video-stage .page-home-link {
  align-self: flex-start;
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
}

.video-stage .page-home-link:hover {
  color: var(--os-muted);
  text-decoration: underline;
}

/* Article pages */
.page--article {
  max-width: 42rem;
}

.article-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.article-kicker a {
  font-weight: 600;
  color: var(--os-muted);
  text-decoration: none;
}

.article-kicker a:hover {
  color: var(--os-accent-deep);
}

.article-header {
  margin-bottom: 1.25rem;
}

.article-hero {
  margin: 0 0 1.75rem;
  overflow: hidden;
  border-radius: 0.9rem;
  background: var(--os-mist);
}

.article-hero img,
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.article-hero img {
  max-height: 36rem;
  object-fit: contain;
}

.article-figure {
  margin: 0 0 1.5rem;
}

.article-figure img {
  border-radius: 0.75rem;
  background: var(--os-mist);
}

.zoom-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 1.5rem;
  background: rgba(12, 18, 34, 0.88);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: min(96vw, 72rem);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #fff;
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.4rem 0.7rem;
  border: 0;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.article-date {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--os-muted);
}

.article-title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--os-ink);
}

.article-blurb {
  margin: 0.85rem 0 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--os-muted);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--os-ink-soft);
}

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

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body a {
  color: var(--os-accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.article-body a:hover {
  color: var(--os-ink);
}

.editorial-ad {
  margin: 1.75rem 0 2rem;
  padding: 1.15rem 1.2rem 1.05rem;
  border: 1px solid var(--os-line);
  border-radius: 0.75rem;
  background: #fff;
}

.editorial-ad__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--os-accent-deep);
}

.editorial-ad__title {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.editorial-ad p {
  margin: 0 0 0.75rem;
}

.editorial-ad p:last-child {
  margin-bottom: 0;
}

.author {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--os-line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.85);
}

.author__avatar,
.author__photo {
  flex-shrink: 0;
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--os-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  object-fit: cover;
}

.author__meta {
  min-width: 0;
}

.author__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--os-ink);
}

.author__role {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--os-accent-deep);
}

.author__bio {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--os-muted);
}

.share {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--os-line);
}

.share__label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.share__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.share__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 0.45rem;
  border: 1px solid var(--os-line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--os-ink-soft);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.share__btn:hover {
  background: #fff;
  border-color: var(--os-accent);
  color: var(--os-accent-deep);
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .home-shell,
  .section,
  .snippet-header {
    animation: none !important;
  }
}
