/* Platform download controls and factual company details.
   Loaded after the approved cinematic styles; all selectors stay local. */

.hero-cta-row--platforms {
  gap: 28px;
  flex-wrap: wrap;
}

.hero-platform-downloads {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.platform-download {
  --platform-surface: #161b25;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 78px;
  min-width: 0;
  padding: 13px 19px 13px 17px;
  border: 1px solid #c0d0f23d;
  border-radius: 13px;
  background: var(--platform-surface);
  color: #f3f4f7;
  text-align: start;
  text-decoration: none;
  box-shadow: 0 8px 24px #00000020, inset 0 1px 0 #ffffff05;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hero-platform-download {
  min-width: 160px;
  background: #141820cf;
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.platform-download:hover {
  --platform-surface: #1e2941;
  background: var(--platform-surface);
  border-color: #8da9efb3;
  box-shadow: 0 12px 28px #00000026, inset 0 1px 0 #ffffff0a;
  transform: translateY(-2px);
}

.platform-download:active { transform: translateY(0); }

.platform-download:focus-visible {
  outline: 2px solid #b9caff;
  outline-offset: 5px;
}

.platform-download-icon {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 31px;
  fill: currentColor;
  color: #f3f4f7;
}

.platform-icon-apple { width: 30px; height: 34px; }
.platform-icon-android { width: 28px; height: 30px; }
.android-eye { fill: var(--platform-surface); }

.platform-download-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.platform-download-eyebrow {
  color: #c0ccdf;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 400;
  white-space: nowrap;
}

.platform-download-title {
  display: block;
  margin-block-start: 1px;
  color: #fff;
  font-family: var(--latin, "Manrope", Arial, sans-serif);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.35px;
}

.platform-download-meta {
  display: block;
  margin-block-start: 4px;
  color: #a9b8d2;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.platform-download[data-download-state="available"] .platform-download-meta {
  color: #bdd0ff;
}

.hero-cta-row--platforms .hero-watch {
  min-height: 46px;
  flex-shrink: 0;
}

/* The same platform choices are available from header and closing actions. */
.download-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-block: 24px 21px;
}

.dialog-platform-download {
  gap: 10px;
  min-height: 85px;
  padding: 13px 12px;
  background: #13171f;
  border-color: #5e749c66;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 #ffffff04;
}

.dialog-platform-download:hover {
  background: #1d2840;
  box-shadow: inset 0 1px 0 #ffffff07;
}

.dialog-platform-download .platform-download-icon { width: 25px; height: 29px; }
.dialog-platform-download .platform-download-title { font-size: 17px; }
.dialog-platform-download .platform-download-eyebrow { font-size: 9px; }
.dialog-platform-download .platform-download-meta { font-size: 9px; }

/* Values are intentionally empty placeholders until supplied by the owner. */
.footer-company {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr .8fr;
  align-items: start;
  gap: 14px 23px;
  padding-block: 19px 7px;
  border-block-start: 1px solid #ffffff09;
  color: #a1adc0;
  font-size: 10px;
  line-height: 1.9;
}

.company-slot {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 7px;
  min-width: 0;
  max-width: 100%;
}

.company-slot-label {
  color: #8290a7;
  font-weight: 400;
}

.company-slot-value {
  color: #afb9ca;
  font-weight: 400;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}

.footer-company[hidden], .company-slot[hidden] { display: none !important; }

html[dir="rtl"] .platform-download { padding-inline: 17px 19px; }
html[dir="rtl"] .dialog-platform-download { padding-inline: 12px; }
html[dir="rtl"] .platform-download-eyebrow { font-size: 11px; line-height: 1.65; }
html[dir="rtl"] .platform-download-meta { font-size: 10px; line-height: 1.65; }
html[dir="rtl"] .platform-download-title { align-self: flex-start; }
html[dir="rtl"] .dialog-platform-download .platform-download-eyebrow { font-size: 10px; }
html[dir="rtl"] .dialog-platform-download .platform-download-meta { font-size: 9px; }
html[dir="rtl"] .footer-company { font-size: 11px; line-height: 2; }

@media (max-width: 900px) {
  .hero-cta-row--platforms { gap: 22px; }
  .hero-platform-downloads { gap: 11px; }
  .hero-platform-download { min-width: 154px; padding: 12px 16px; }
  .platform-download-title { font-size: 18px; }
  .platform-download-icon { width: 25px; height: 28px; }
  .platform-icon-apple { width: 28px; height: 32px; }
  .footer-company { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 25px; }
}

@media (max-width: 720px) {
  .hero-cta-row--platforms {
    flex-direction: column;
    align-items: center;
    gap: 17px;
    margin-block-start: 25px;
  }
  .hero-platform-downloads { width: min(348px, 100%); gap: 11px; }
  .hero-platform-download {
    flex: 1 1 0;
    min-width: 0;
    min-height: 78px;
    padding: 12px 15px;
    gap: 11px;
    border-radius: 12px;
  }
  .platform-download-title { font-size: 18px; }
  .platform-download-eyebrow { font-size: 9px; }
  .platform-download-meta { font-size: 9px; }
  .hero-cta-row--platforms .hero-watch { font-size: 11px; gap: 10px; }
  .hero-cta-row--platforms .watch-disc { width: 35px; height: 35px; }
  .footer-company { gap: 12px 19px; padding-block: 17px 4px; font-size: 10px; }
  .company-slot { gap: 2px 6px; }
  html[dir="rtl"] .hero-platform-download { padding-inline: 15px; }
  html[dir="rtl"] .platform-download-eyebrow { font-size: 10px; }
  html[dir="rtl"] .platform-download-meta { font-size: 9px; }
  html[dir="rtl"] .footer-company { font-size: 10px; }
}

@media (max-width: 480px) {
  .download-platform-grid { grid-template-columns: 1fr; gap: 10px; margin-block: 21px 19px; }
  .dialog-platform-download { min-height: 76px; padding: 12px 17px; gap: 13px; }
  .dialog-platform-download .platform-download-title { font-size: 18px; }
  .dialog-platform-download .platform-download-eyebrow { font-size: 10px; }
  .dialog-platform-download .platform-download-meta { font-size: 10px; }
  .dialog-platform-download .platform-download-icon { width: 28px; height: 30px; }
  .footer-company { grid-template-columns: 1fr; gap: 7px; }
  html[dir="rtl"] .dialog-platform-download { padding-inline: 17px; }
  html[dir="rtl"] .dialog-platform-download .platform-download-eyebrow { font-size: 11px; }
  html[dir="rtl"] .dialog-platform-download .platform-download-meta { font-size: 10px; }
}

@media (max-width: 390px) {
  .hero-platform-downloads { gap: 9px; }
  .hero-platform-download { padding: 11px 12px; gap: 9px; min-height: 76px; }
  .hero-platform-download .platform-download-title { font-size: 17px; }
  .hero-platform-download .platform-download-icon { width: 24px; height: 27px; }
  .hero-platform-download .platform-icon-apple { width: 26px; height: 30px; }
  html[dir="rtl"] .hero-platform-download { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .platform-download { transition: none; }
  .platform-download:hover, .platform-download:active { transform: none; }
}
/* Shared content controls and the legal-page footer. */
.legal-footer .footer-company{flex:0 0 100%;width:100%}
.company-social,.company-legal-links{display:flex;align-items:center;flex-wrap:wrap;gap:16px;font-size:12px}
.faq-plus{font-size:23px;font-weight:400;line-height:1;color:#a9bdff;transition:transform .2s}
details[open] .faq-plus{transform:rotate(45deg)}
.hero-config-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s;pointer-events:none;z-index:-4}
.hero-config-video.is-loaded{opacity:1}
.hero-config-video.is-unavailable{opacity:0}
.preset-image{background-image:var(--preset-image,var(--media-coast))}
body{background:var(--bg,var(--legal-bg));color:var(--ink,var(--legal-ink))}
.site-header,.site-header.is-scrolled{background:var(--bg)}
.site-dialog{background:var(--panel)}
@media(prefers-reduced-motion:reduce){.hero-config-video,.faq-plus{transition:none}}
@media print{.footer-company,.footer-company span,.footer-company strong{color:#222!important;border-color:#ccc!important}}

/* Fit the bundled wordmark within the current layout, including the mobile header. */
.brand-lockup > img:is([src$="/trimveio-wordmark.png"], [src$="/trimvieo-wordmark.png"], [src$="/vixcut-lockup.png"]) {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
}
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
  .brand-lockup:has(> img:is([src$="/trimveio-wordmark.png"], [src$="/trimvieo-wordmark.png"], [src$="/vixcut-lockup.png"])) {
    isolation: auto;
    mix-blend-mode: normal;
    background-color: var(--ink, #f3f4f7);
    -webkit-mask: url("assets/trimveio-wordmark-mask.png") center / contain no-repeat;
    mask: url("assets/trimveio-wordmark-mask.png") center / contain no-repeat;
  }
  .brand-lockup:has(> img:is([src$="/trimveio-wordmark.png"], [src$="/trimvieo-wordmark.png"], [src$="/vixcut-lockup.png"])) > img { opacity: 0; }
}
/* Fit the bundled icon within the current layout, including the mobile header. */
.brand-monogram > img:is([src$="/trimveio-initial.png"], [src$="/vixcut-monogram.png"]) {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
}
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
  .brand-monogram:has(> img:is([src$="/trimveio-initial.png"], [src$="/vixcut-monogram.png"])) {
    isolation: auto;
    mix-blend-mode: normal;
    background-color: var(--ink, #f3f4f7);
    -webkit-mask: url("assets/trimveio-icon-mask.png") center / contain no-repeat;
    mask: url("assets/trimveio-icon-mask.png") center / contain no-repeat;
  }
  .brand-monogram:has(> img:is([src$="/trimveio-initial.png"], [src$="/vixcut-monogram.png"])) > img { opacity: 0; }
}
