/* =========================
   CMS (SunEditor) content
   Scope: .cms-content only
   ========================= */

/* */
.cms-content{
  --cms-max: 980px;
  --cms-pad: 16px;
  --cms-radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  background: #fff;
  padding: 0px 0 0px;
  width: 100vw !important;
  margin: 0px;
}

.cms-content > *{
  /* max-width: var(--cms-max); */
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* padding-left: var(--cms-pad); */
  /* padding-right: var(--cms-pad); */
}

.videocontainer{
  /* margin: 0 !important; */
  height: 880px;
  overflow: hidden;
}
.cms-content div{
  line-height: 1.4;
}


.cms-content h2,
.cms-content .h2{
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px auto 18px;
  text-align: center;
}
@media (min-width: 768px){
  .cms-content h2,
  .cms-content .h2{
    font-size: 40px;
  }
}

.cms-content h3{
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 26px auto 8px;
  text-align: center;
}
@media (min-width: 768px){
  .cms-content h3{
    font-size: 28px;
  }
}


.cms-content p{
  font-size: 16px;
  margin: 10px auto 0;
  text-align: center;
}
@media (min-width: 768px){
  .cms-content p{
    font-size: 18px;
  }
}


.cms-content p sup{
  font-size: 0.75em;
}

/* ---------- media (SunEditor) ---------- */


.cms-content figure{
  margin: 0;
}


.cms-content .se-component.se-image-container{
  max-width: var(--cms-max);
  margin: 22px auto 0;
  padding-left: var(--cms-pad);
  padding-right: var(--cms-pad);
}
.cms-content .se-component.se-image-container figure{
  border-radius: var(--cms-radius);
  overflow: hidden;
  background: #f5f5f7;
}
.cms-content .se-component.se-image-container img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}


.cms-content .se-component.se-video-container{
  /* max-width: 1420px; */
  /* margin: 0 auto; */
  /* padding-left: 12px; */
  /* padding-right: 12px; */
  width: 100vw !important;
}


.cms-content .se-component.se-video-container figure{
  /* border-radius: var(--cms-radius); */
  overflow: hidden;
  background: #000;
  width: 100vw !important;
  height: 692px !important;
  overflow: hidden;
  padding-bottom: 0px !important;
}


.cms-content .se-component.se-video-container video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.cms-content .__se__float-,
.cms-content .__se__float-none{
  float: none !important;
}


.cms-content div:has(> a + a){
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin: 18px auto 0;
}


.cms-content a{
  color: inherit;
  text-decoration: none;
}


.cms-content div:has(> a + a) > a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  padding: 10px 20px;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
}


.cms-content div:has(> a + a) > a:first-child{
  background: #0071e3;
  color: #fff;
}
.cms-content div:has(> a + a) > a:first-child:hover{
  background: #0077ed;
}
.cms-content div:has(> a + a) > a:nth-child(2){
  border-color: #0071e3;
  color: #0071e3;
  background: transparent;
}
.cms-content div:has(> a + a) > a:nth-child(2):hover{
  background: #0071e3;
  color: #fff;
}


.cms-content a:hover{
  text-decoration: underline;
}
.cms-content div:has(> a + a) > a:hover{
  text-decoration: none;
}

.cms-content > div:not(.se-component){
  margin-top: 10px;
  text-align: center;
}


.cms-content p:has(> svg):empty,
.cms-content p:has(> svg){

  display: none;
}

/* ========= Base / Reset ========= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ========= NAV ========= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(22,22,23,0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.icon-apple { width: 14px; height: 44px; fill: #fff; opacity: .85; }
.icon-apple.big { width: 21px; height: 25px; opacity: 1; }
.icon-apple.small { width: 14px; height: 22px; opacity: .95; fill: currentColor; }

.nav-desktop { display: none; gap: 28px; align-items: center; }
.nav-link {
  font-size: 12px;
  color: #e8e8ed;
  opacity: .85;
  transition: opacity .2s;
}
.nav-link:hover { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.icon-action {
  width: 15px;
  height: 44px;
  fill: #fff;
  opacity: .85;
  transition: opacity .2s;
}
.icon-action:hover { opacity: 1; }

.nav-toggle { display: none; }
.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-burger svg { width: 16px; height: 16px; fill: #fff; }

.nav-mobile {
  display: none;
  background: #161617;
  border-top: 1px solid #2a2a2a;
}
.nav-mobile-inner {
  padding: 16px;
  display: grid;
  gap: 8px;
}
.nav-mobile-link {
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
}

/* show mobile menu when checkbox is checked */
.nav-toggle:checked ~ .nav-logo + .nav-desktop + .nav-actions + .nav-mobile,
.nav-toggle:checked ~ .nav-mobile {
  display: block;
}

/* Desktop breakpoint */
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none !important; }
}

/* ========= HERO ========= */
.hero {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  margin-top: -36px; /* nav height */
}
@media (min-width: 768px) { .hero {height: 692px;} }

.hero-media { position: absolute; inset: 0; }
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.30), transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: 120px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.hero-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .hero-title { font-size: 40px; } }

.hero-title-strong { font-weight: 600; }
.hero-title-light { font-weight: 300; margin-left: 6px; }
.hero-sub { font-size: 18px; opacity: .92; margin: 10px 0 22px; }
@media (min-width: 768px) { .hero-sub { font-size: 20px; } }

.hero-pause {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-pause svg { width: 16px; height: 16px; fill: #fff; }

/* ========= Buttons ========= */
.btn-row { display: flex; gap: 14px; justify-content: center; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  padding: 10px 20px;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-light { background: #fff; color: #000; }
.btn-dark  { background: #1d1d1f; color: #fff; }

.btn-primary { background: #0071e3; color: #fff; }
.btn-primary:hover { background: #0077ed; }
.btn-secondary {
  border: 1px solid #0071e3;
  color: #0071e3;
  background: transparent;
}
.btn-secondary:hover { background: #0071e3; color: #fff; }

.btn-outline {
  border: 1px solid #0071e3;
  color: #0071e3;
  background: transparent;
}
.btn-outline:hover { background: #0071e3; color: #fff; }
.btn-outline.dark { color: #2997ff; border-color: #0071e3; }

/* ========= Sections ========= */
.section { padding: 48px 0 64px; }
.white { background: #fff; }
.dark { background: #161617; color: #fff; }
.gradient { background: linear-gradient(to bottom, #d4e9f7, #e8f4fc); }

.container {max-width: 980px;margin: 0 auto;padding: 0 16px;}
.center { text-align: center; }

.h1 { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
@media (min-width: 768px) { .h1 { font-size: 56px; } }

.h2 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 22px; }
@media (min-width: 768px) { .h2 { font-size: 40px; } }

.lead { font-size: 18px; margin-bottom: 18px; }
@media (min-width: 768px) { .lead { font-size: 20px; } }
.lead.dark { color: #1d1d1f; }

.media-wrap {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 320px;
}
.media-wrap.wide { min-height: 320px; max-width: 600px; margin-left: auto; margin-right: auto; }
.media-contain { object-fit: contain; }
.media-contain.bottom { object-position: bottom; }

/* ========= Cards Grid ========= */
.grid-wrap { padding: 12px 12px; }
.grid2 {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 500px;
}
@media (min-width: 768px) { .card { min-height: 580px; } }

.card-light { background: #fafafa; color: #1d1d1f; }
.card-dark  { background: #000; color: #fff; }

.card-content {
  position: relative;
  z-index: 2;
  padding: 48px 32px 0;
  text-align: center;
}
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}
.card-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .card-title { font-size: 28px; } }

.card-sub {
  font-size: 16px;
  margin-top: 6px;
  color: #6e6e73;
}
.card-dark .card-sub { color: #c7c7cc; }

.card-subsmall {
  font-size: 12px;
  margin-top: 8px;
  color: #6e6e73;
}
.card-dark .card-subsmall { color: #9a9aa0; }

.btn-row.compact { margin-top: 14px; gap: 12px; }

.card-media {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 350px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) { .card-media { height: 400px; } }
.card-media.small { height: 280px; }

/* ========= Feature + Scroller ========= */
.feature {
  border-radius: 20px;
  overflow: hidden;
  background: #f2f2f2;
  height: 300px;
  margin-bottom: 18px;
}
@media (min-width: 768px) { .feature { height: 400px; } }
.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.scroller::-webkit-scrollbar { height: 0; }

.scroller-item {
  flex: 0 0 auto;
  width: 160px;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: center;
  display: flex;
}
@media (min-width: 768px) {
  .scroller-item { width: 200px; height: 240px; }
}
.scroller-item img { width: 100%; height: 100%; object-fit: cover; }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: #d1d1d6; }
.dot.active { background: #1d1d1f; }
.dots.light .dot { background: #5c5c60; }
.dots.light .dot.active { background: #fff; }

/* ========= More video ========= */
.more-video {
  max-width: 800px;
  margin: 0 auto;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 768px) { .more-video { height: 450px; } }
.more-video video { width: 100%; height: 100%; object-fit: cover; }

/* ========= Footer ========= */
.footer { background: #f5f5f7; color: #6e6e73; font-size: 12px; }
.footer-inner { max-width: 980px; margin: 0 auto; padding: 24px 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }

.footer h3 { color: #1d1d1f; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { text-decoration: underline; }
.mt { margin-top: 18px; }

.footer-bottom {
  border-top: 1px solid #d2d2d7;
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-links span { color: #d2d2d7; }
.region { color: #1d1d1f; }
