/* Layout learned from the three reference sites, rebuilt without the WordPress shell. */
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  color: #1e293b;
  background: #fff;
  font-family: Roboto, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}
a { color: #046bd2; }
a:hover { color: #045cb4; }
img { max-width: 100%; height: auto; }
.skip {
  position: absolute;
  left: 8px;
  top: -40px;
  background: #046bd2;
  color: #fff;
  padding: 6px 10px;
}
.skip:focus { top: 8px; }
.site-header {
  background: #fff;
  border-bottom: 1px solid #d1d5db;
  min-height: 80px;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 16px 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img {
  width: 56px;
  height: auto;
  display: block;
}
.wordmark {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: #1e293b;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-left: auto;
}
.site-nav a {
  color: #1e293b;
  text-decoration: none;
  font-size: 16px;
  line-height: 80px;
}
.site-nav a:hover { color: #045cb4; }
.site-nav a[aria-current="page"] { color: #046bd2; }
.menu-toggle {
  display: none;
  margin-left: auto;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle .bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.menu-toggle[aria-expanded="true"] .bars {
  position: relative;
  box-shadow: none;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: rotate(90deg);
}
@media (max-width: 921px) {
  .site-header { position: relative; z-index: 30; }
  .header-inner { flex-wrap: nowrap; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    margin: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #d1d5db;
    padding: 6px 0 8px;
    z-index: 40;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    display: block;
    width: 100%;
    line-height: 1.3;
    padding: 12px 20px;
  }
}
.header-dl {
  flex: 0 0 auto;
  background: #e00000;
  color: #fff;
  text-decoration: none;
  font-family: Roboto, sans-serif;
  font-weight: 900;
  padding: 15px 30px;
  line-height: 1;
}
.header-dl:hover { background: #b30000; color: #fff; }
.sheet {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; color: #111; }
h1 { font-size: 36px; line-height: 1.4; margin: 0.35em 0 0.45em; }
h2 { font-size: 30px; margin: 1.3em 0 0.45em; }
h3 { font-size: 24px; margin: 1.15em 0 0.35em; }
h4 { font-size: 20px; line-height: 1.2; margin: 1em 0 0.3em; }
.display { text-align: center; font-size: 36px; line-height: 1.4; margin: 0.7em 0 0.35em; }
.center { text-align: center; }
.logo-caption { text-align: center; font-size: 24px; font-weight: 600; margin: 2px 0 14px; color: #111; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
.lede { font-size: 1.05rem; }
.hero-logo { text-align: center; margin: 10px 0 16px; }
.hero-logo img { width: 220px; max-width: 70%; height: auto; display: inline-block; }
.actions { margin: 8px 0 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.2;
}
.dl-ico { flex: 0 0 auto; }
.btn-dl {
  background: #b92020;
  color: #fff;
  border-radius: 7px;
  padding: 14px 28px;
}
.btn-dl:hover { color: #fff; background: #8e1818; }
.btn-play {
  display: inline-block;
  margin-left: 14px;
  background: transparent;
  color: #046bd2;
  padding: 14px 0;
  text-decoration: underline;
  font-weight: 500;
}
.reel {
  position: relative;
  max-width: 540px;
  margin: 8px auto 36px;
}
.shots {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin: 0 50px;
  border-radius: 22px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #070b14;
}
.shots::-webkit-scrollbar { display: none; }
.shots figure {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin: 0;
  aspect-ratio: 9 / 15;
  overflow: hidden;
}
.shots img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: #070b14;
  border-radius: 0;
}
.reel-btn {
  position: absolute;
  top: 46%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}
.reel-prev { left: 0; }
.reel-next { right: 0; }
.reel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.reel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #9aa3b2;
  cursor: pointer;
}
.reel-dots button[aria-current="true"] { background: #111; }
body.rs9-run .reel-dots button { background: #5c6b80; }
body.rs9-run .reel-dots button[aria-current="true"] { background: #fff; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
}
th { background: #f0f5fa; font-weight: 600; }
.layout-home h1,
.layout-home .lede,
.layout-home .actions,
.layout-home .hero-logo { text-align: center; }
.next { margin-top: 2em; }
.site-footer {
  border-top: 1px solid #d1d5db;
  padding: 16px 20px 20px;
  min-height: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
}
.copy, .fine { color: #334155; font-size: 15px; margin: 0; }
.fine { flex-basis: 100%; font-size: 13px; line-height: 1.45; }
.footer-actions { margin: 0; }
.footer-actions a { margin-right: 14px; }
.footer-nav, .contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav a, .contacts a { color: #334155; }
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: #046bd2;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.to-top:hover { background: #045cb4; color: #fff; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { border-top: 1px solid #d1d5db; padding: 12px 0; }
.guide-list a { font-weight: 600; text-decoration: none; }
.guide-list p { margin: 4px 0 0; color: #334155; }

/* rs9.run — dark centered conversion column, Rubik + Red Hat Text, white button */
body.rs9-run {
  background: #0f172a;
  color: #fff;
  font-family: Rubik, Roboto, sans-serif;
}
body.rs9-run a { color: #0085ff; }
body.rs9-run a:hover { color: #0177e3; }
body.rs9-run .site-header { background: #212a37; border-bottom-color: #070614; }
body.rs9-run .wordmark,
body.rs9-run .site-nav a,
body.rs9-run h1,
body.rs9-run h2,
body.rs9-run h3,
body.rs9-run h4 { color: #fff; }
body.rs9-run .site-nav a:hover { color: #0177e3; }
body.rs9-run .site-nav a[aria-current="page"] { color: #0085ff; }
body.rs9-run .lede,
body.rs9-run .center { font-family: "Red Hat Text", Rubik, sans-serif; }
body.rs9-run .center { font-style: italic; }
body.rs9-run .brand img { width: 42px; height: auto; border-radius: 8px; }
body.rs9-run .hero-logo img { width: 23%; max-width: 23%; border-radius: 63px; }
body.rs9-run .btn-dl {
  display: flex;
  width: 100%;
  background: #fff;
  color: #000;
  border-radius: 0;
  font-family: "Red Hat Text", sans-serif;
  font-weight: 500;
  padding: 16px 20px;
}
body.rs9-run .btn-dl:hover { background: #e7f6ff; color: #000; }
body.rs9-run .btn-play { color: #e7f6ff; margin-left: 0; display: block; margin-top: 10px; text-align: center; }
body.rs9-run .site-footer { background: #212a37; }
body.rs9-run th, body.rs9-run td { border-color: #4f5b62; }
body.rs9-run th { background: #212a37; color: #fff; }
body.rs9-run .copy,
body.rs9-run .fine,
body.rs9-run .footer-nav a,
body.rs9-run .contacts a { color: #e7f6ff; }
body.rs9-run .site-footer { border-bottom: 0; border-top-color: #070614; }
body.rs9-run .to-top { background: #0085ff; }
body.rs9-run .menu-toggle { color: #0085ff; }
@media (max-width: 921px) {
  body.rs9-run .site-nav { background: #212a37; border-bottom-color: #070614; }
  body.rs9-run .site-nav a { color: #e7f6ff; }
  body.rs9-run .site-nav a:hover { color: #0177e3; background: #0f172a; }
  body.rs9-run .site-nav a[aria-current="page"] { color: #0085ff; background: #0f172a; }
}
@media (max-width: 767px) {
  body.rs9-run .hero-logo img { width: 60%; max-width: none; border-radius: 30px; }
}

/* rs9.team — light document, red button, Roboto, logo not heavily rounded */
body.rs9-team { background: #fff; color: #111; }
body.rs9-run.layout-article h1,
body.rs9-team.layout-article h1 { text-align: center; }
body.rs9-team h1,
body.rs9-team h2,
body.rs9-team h3,
body.rs9-team h4,
body.rs9-team p,
body.rs9-team li { color: #111; }
body.rs9-team .brand img { width: 53px; height: auto; border-radius: 10px; }
body.rs9-team .hero-logo img { width: 26%; max-width: 26%; border-radius: 22%; }
body.rs9-team .btn-dl { display: flex; width: 100%; border-radius: 7px; padding: 14px 20px; font-weight: 500; }
body.rs9-team .btn-play { display: block; margin: 10px 0 0; text-align: center; }
body.rs9-team.layout-home th,
body.rs9-team.layout-home td { text-align: center; }
body.rs9-team .menu-toggle { color: #046bd2; }
@media (max-width: 921px) {
  body.rs9-team .site-nav { background: #fff; }
  body.rs9-team .site-nav a { color: #334155; }
  body.rs9-team .site-nav a:hover,
  body.rs9-team .site-nav a[aria-current="page"] { color: #045cb4; background: #f0f5fa; }
}
@media (max-width: 767px) {
  body.rs9-team .hero-logo img { width: 43%; max-width: none; border-radius: 28px; }
}

/* rs9.watch — green home, Poppins, red header button, red shadowed body button */
body.rs9-watch { font-family: Poppins, Roboto, sans-serif; color: #000; }
body.rs9-watch.layout-home { background: #dfffc9; }
body.rs9-watch.layout-home .site-header { background: #fff; }
body.rs9-watch.layout-article { background: #fff; }
body.rs9-watch.layout-article h1 { text-align: left; }
body.rs9-watch h1, body.rs9-watch h2, body.rs9-watch h3, body.rs9-watch h4 { color: #000; }
body.rs9-watch .btn-dl {
  background: #e71010;
  color: #fff;
  font-family: Roboto, sans-serif;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  border-radius: 27px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
  padding: 16px 22px;
  width: auto;
}
body.rs9-watch .btn-dl:hover { background: #b30000; color: #fff; }
body.rs9-watch .brand img { width: 51px; height: 51px; border-radius: 8px; }
body.rs9-watch h1 { text-align: left; }
body.rs9-watch.layout-home .sheet { max-width: 1240px; }
body.rs9-watch.layout-home h1 { font-size: 34px; line-height: 1.25; margin: 18px 0 12px; text-align: left; }
body.rs9-watch.layout-home .actions { text-align: left; }
body.rs9-watch .hero-logo { text-align: center; }
body.rs9-watch .hero-logo img { width: 220px; max-width: 70%; border-radius: 18px; }
body.rs9-watch .hero-bleed {
  width: 100%;
  margin: 0 0 18px;
  text-align: left;
}
body.rs9-watch .hero-bleed img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  display: block;
}
body.rs9-watch .btn-play { display: inline-flex; margin-left: 16px; color: #111; }
body.rs9-watch .wordmark { display: none; }
body.rs9-watch.layout-home { background: #dfffc9; }
body.rs9-watch.layout-home .site-footer { background: #fff; }
@media (max-width: 767px) {
  .reel { max-width: none; }
  .shots { margin: 0; }
  .reel-prev { left: 8px; }
  .reel-next { right: 8px; }
  body.rs9-watch .btn-dl { font-size: 19px; }
  body.rs9-watch .hero-bleed,
  body.rs9-watch .hero-bleed img {
    width: 196px;
    max-width: 196px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 9px;
  }
  body.rs9-watch.layout-home .actions { text-align: center; }
}
body.rs9-watch .menu-toggle { color: #111; }
@media (max-width: 921px) {
  body.rs9-watch .site-nav { background: #fff; }
  body.rs9-watch .site-nav a { color: #334155; }
  body.rs9-watch .site-nav a:hover,
  body.rs9-watch .site-nav a[aria-current="page"] { color: #045cb4; background: #f0f5fa; }
}
@media (max-width: 544px) {
  body.rs9-watch .site-header,
  body.rs9-watch.layout-home .site-header { background: #000; }
  body.rs9-watch .menu-toggle { color: #fff; }
}
