/* Final correction pass — consistent CinEstate public-site layout and product UI */
:root{--ce-ink:#171717;--ce-muted:#6e6e73;--ce-paper:#fbfbfa;--ce-line:#e5e5e7;--ce-gold:#b89462}
html{scroll-behavior:smooth}
body,button,input,textarea,select{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
h1,h2,h3,.hero-copy h1,.section-head h2,.story-copy h2,#upload-zone h2,#prog-overlay h2,.result-head h2,.hl,.rh{font-family:'Playfair Display',Georgia,serif!important;font-style:italic!important}
body{overflow-x:hidden}

/* The homepage is a full-width canvas; only its inner content has a max width. */
main#top{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
main#top .hero-apple{width:100%!important;max-width:none!important;margin:0!important;padding:clamp(76px,8vh,108px) 0 42px!important;min-height:0!important}
main#top .site-wrap.hero-grid{width:min(1640px,calc(100% - 80px))!important;max-width:1640px!important;margin:0 auto!important;display:grid!important;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr)!important;gap:clamp(28px,4vw,70px)!important;align-items:center!important}
main#top .hero-copy{min-width:0!important;width:100%!important}
main#top .hero-copy h1{font-size:clamp(50px,5.1vw,90px)!important;line-height:.94!important;max-width:720px!important}
main#top .hero-stage{position:relative!important;min-width:0!important;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;align-self:center!important}
main#top .demo-shell{display:block!important;position:relative!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:1.42!important;margin:0 auto!important;overflow:hidden!important;border-radius:32px!important;padding:9px!important;background:#111!important;box-shadow:0 32px 85px rgba(0,0,0,.17)!important}
main#top .demo-shell iframe{display:block!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:24px!important;background:#f7f7f5!important}
main#top .metrics{padding-top:16px!important;padding-bottom:38px!important}
main#top .features-apple{padding-top:54px!important;padding-bottom:62px!important}
main#top .story{padding-top:66px!important;padding-bottom:66px!important}
main#top .pricing-apple,main#top .compare-apple,main#top .faq-apple{padding-top:72px!important;padding-bottom:72px!important}

/* App canvas stays centered and uses comfortable, consistent page gutters. */
body:has(#s-upload) main{width:min(1480px,calc(100% - 64px))!important;max-width:none!important;margin-inline:auto!important;padding:52px 0 84px!important}
#s-upload,#s-mode,#s-manual,#s-result{width:100%!important;max-width:none!important;min-width:0!important}
#upload-zone{min-height:clamp(340px,48vh,520px)!important}
#s-mode .mode-header{margin-bottom:30px!important}
#s-manual .sec-bar{margin-bottom:20px!important}

/* Render state: light frosted canvas, dark editorial heading, neutral supporting text. */
body:has(#prog-overlay) #prog-overlay{background:rgba(247,247,246,.94)!important;color:#171717!important;backdrop-filter:blur(26px) saturate(130%)!important;-webkit-backdrop-filter:blur(26px) saturate(130%)!important;gap:20px!important}
body:has(#prog-overlay) #prog-overlay h2{font-family:'Playfair Display',Georgia,serif!important;font-style:italic!important;font-size:clamp(28px,3vw,42px)!important;line-height:1.08!important;letter-spacing:-.035em!important;color:#171717!important;-webkit-text-fill-color:#171717!important;text-transform:none!important;margin:0!important}
body:has(#prog-overlay) #prog-track{width:min(520px,calc(100vw - 48px))!important}
body:has(#prog-overlay) .prog-meta{color:#6e6e73!important}
body:has(#prog-overlay) #prog-lbl,body:has(#prog-overlay) #prog-pct{color:#6e6e73!important}
body:has(#prog-overlay) .prog-bg{background:#dedee0!important}
body:has(#prog-overlay) .prog-fill{background:#171717!important}
body:has(#prog-overlay) #prev-wrap{background:#000!important;border:1px solid #d2d2d7!important;border-radius:22px!important;box-shadow:0 22px 65px rgba(0,0,0,.14)!important;overflow:hidden!important}
body:has(#prog-overlay) .shot-lbl{color:rgba(255,255,255,.72)!important}

/* Result state: the title uses the same ink as the landing page, not the old gold. */
#s-result{margin-top:28px!important;background:#fff!important;border:1px solid #e5e5e7!important;border-radius:26px!important;box-shadow:0 20px 60px rgba(0,0,0,.055)!important;overflow:hidden!important}
#s-result .result-head{display:flex!important;align-items:baseline!important;gap:12px!important;flex-wrap:wrap!important;background:#fff!important;padding:22px 28px 18px!important;border-bottom:1px solid #e5e5e7!important}
#s-result .result-head h2{font-family:'Playfair Display',Georgia,serif!important;font-style:italic!important;letter-spacing:-.035em!important;font-size:clamp(26px,2.6vw,36px)!important;color:#171717!important;-webkit-text-fill-color:#171717!important;margin:0!important}
#s-result .result-head small{font-family:'DM Sans',sans-serif!important;color:#6e6e73!important;font-size:13px!important}
#s-result .result-actions{background:#fff!important;border-top:1px solid #e5e5e7!important;color:#6e6e73!important;padding:16px 28px!important}
#s-result .fmt-note{color:#777!important}
#s-result .btn-tiktok{background:#171717!important;color:#fff!important;border-radius:999px!important}

@media(max-width:1000px){
 main#top .site-wrap.hero-grid{width:calc(100% - 48px)!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:28px!important}
 main#top .hero-copy h1{font-size:clamp(44px,5.6vw,66px)!important}
 main#top .hero-stage{min-height:0!important}
}
@media(max-width:760px){
 main#top .hero-apple{padding:86px 0 28px!important}
 main#top .site-wrap.hero-grid{width:calc(100% - 32px)!important;grid-template-columns:1fr!important;gap:28px!important}
 main#top .hero-copy h1{font-size:clamp(44px,11vw,66px)!important}
 main#top .hero-stage{width:100%!important}
 main#top .demo-shell{border-radius:24px!important;padding:6px!important}
 main#top .demo-shell iframe{border-radius:18px!important}
 main#top .metrics{padding-bottom:28px!important}
 main#top .features-apple{padding-top:42px!important}
 body:has(#s-upload) main{width:calc(100% - 32px)!important;padding-top:32px!important}
 #s-result .result-head,#s-result .result-actions{padding-left:18px!important;padding-right:18px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Higher-specificity overrides for the earlier homepage patch so the full-width layout wins. */
body.cinestate-unified main#top{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.cinestate-unified main#top .site-wrap{width:min(1640px,calc(100% - 80px))!important;max-width:1640px!important;margin-inline:auto!important}
body.cinestate-unified main#top .site-wrap.hero-grid{width:min(1640px,calc(100% - 80px))!important;max-width:1640px!important;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr)!important;gap:clamp(28px,4vw,70px)!important;align-items:center!important}
body.cinestate-unified main#top .hero-apple{width:100%!important;max-width:none!important;min-height:0!important;padding:clamp(76px,8vh,108px) 0 42px!important;display:flex!important;align-items:center!important}
body.cinestate-unified main#top .hero-copy{min-width:0!important;width:100%!important;text-align:left!important}
body.cinestate-unified main#top .hero-copy h1{font-size:clamp(50px,5.1vw,90px)!important;line-height:.94!important;max-width:720px!important;margin-left:0!important;margin-right:0!important}
body.cinestate-unified main#top .hero-copy p{margin-left:0!important;margin-right:0!important}
body.cinestate-unified main#top .hero-actions,body.cinestate-unified main#top .hero-proof{justify-content:flex-start!important}
body.cinestate-unified main#top .hero-stage{position:relative!important;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;align-self:center!important;margin-top:0!important}
body.cinestate-unified main#top .demo-shell{width:100%!important;max-width:none!important;aspect-ratio:1.42!important;margin:0 auto!important;transform:none!important}
body.cinestate-unified main#top .metrics{padding-top:16px!important;padding-bottom:30px!important}
body.cinestate-unified main#top .features-apple{padding-top:36px!important;padding-bottom:62px!important}
body.cinestate-unified main#top .story{padding-top:66px!important;padding-bottom:66px!important}
body.cinestate-unified main#top .compare-apple,body.cinestate-unified main#top .pricing-apple,body.cinestate-unified main#top .faq-apple{padding-top:72px!important;padding-bottom:72px!important}
@media(max-width:1060px){
 body.cinestate-unified main#top .site-wrap{width:calc(100% - 48px)!important;max-width:900px!important}
 body.cinestate-unified main#top .site-wrap.hero-grid{grid-template-columns:1fr!important;gap:24px!important}
 body.cinestate-unified main#top .hero-copy{text-align:center!important}
 body.cinestate-unified main#top .hero-copy h1,body.cinestate-unified main#top .hero-copy p{margin-left:auto!important;margin-right:auto!important}
 body.cinestate-unified main#top .hero-actions,body.cinestate-unified main#top .hero-proof{justify-content:center!important}
 body.cinestate-unified main#top .hero-stage{min-height:0!important;margin-top:12px!important}
 body.cinestate-unified main#top .hero-copy h1{font-size:clamp(46px,7vw,72px)!important}
}
@media(max-width:760px){
 body.cinestate-unified main#top .site-wrap,body.cinestate-unified main#top .site-wrap.hero-grid{width:calc(100% - 32px)!important;max-width:720px!important}
 body.cinestate-unified main#top .hero-apple{padding:82px 0 28px!important}
 body.cinestate-unified main#top .hero-copy h1{font-size:clamp(42px,10.5vw,64px)!important}
 body.cinestate-unified main#top .demo-shell{border-radius:24px!important;padding:6px!important}
 body.cinestate-unified main#top .demo-shell iframe{border-radius:18px!important}
 body.cinestate-unified main#top .metrics{padding-bottom:24px!important}
 body.cinestate-unified main#top .features-apple{padding-top:28px!important}
}


/* V11 — restrained monochrome palette, consistent fonts, and a calmer hero composition. */
:root{
  --ce-ink:#171719!important;
  --ce-muted:#6f7075!important;
  --ce-paper:#ffffff!important;
  --ce-soft:#f5f6f7!important;
  --ce-line:#e5e6e8!important;
  --ce-gold:#b7a47d!important;
  --ce-gold-soft:#f5f5f4!important;
}
html,body{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
body.cinestate-unified{background:#fff!important;color:#171719!important}
body.cinestate-unified h1,
body.cinestate-unified h2,
body.cinestate-unified h3,
body.cinestate-unified .brand,
body.cinestate-unified .logo,
body.cinestate-unified .logo a,
body.cinestate-unified .hero-copy h1,
body.cinestate-unified .section-head h2,
body.cinestate-unified .story-copy h2,
body.cinestate-unified .mode-header h2,
body.cinestate-unified #upload-zone h2,
body.cinestate-unified #prog-overlay h2,
body.cinestate-unified .result-head h2,
body.cinestate-unified .upgrade-title,
body.cinestate-unified .up-tier,
body.cinestate-unified .pcard h3,
body.cinestate-unified .hl,
body.cinestate-unified .rh{
  font-family:'Playfair Display',Georgia,serif!important;
  font-style:italic!important;
  letter-spacing:-.045em!important;
}
body.cinestate-unified p,
body.cinestate-unified li,
body.cinestate-unified button,
body.cinestate-unified input,
body.cinestate-unified textarea,
body.cinestate-unified select,
body.cinestate-unified .nav-links,
body.cinestate-unified .nav-actions{
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
}

/* Homepage: crisp white with a subtle neutral-gray product stage, not a beige haze. */
body.cinestate-unified main#top .hero-apple{
  background:linear-gradient(180deg,#fff 0%,#fff 72%,#fafbfc 100%)!important;
  padding-top:clamp(82px,8vh,102px)!important;
  padding-bottom:34px!important;
}
body.cinestate-unified main#top .site-wrap,
body.cinestate-unified main#top .site-wrap.hero-grid{
  width:min(1580px,calc(100% - 88px))!important;
  max-width:1580px!important;
}
body.cinestate-unified main#top .site-wrap.hero-grid{
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
  gap:clamp(34px,3.8vw,62px)!important;
  align-items:center!important;
}
body.cinestate-unified main#top .hero-copy{max-width:700px!important}
body.cinestate-unified main#top .hero-copy .eyebrow{
  margin-bottom:20px!important;color:#777980!important;font-size:11px!important;
  letter-spacing:.18em!important;font-family:'DM Sans',sans-serif!important;font-weight:600!important;
}
body.cinestate-unified main#top .hero-copy h1{
  max-width:700px!important;
  font-family:'Playfair Display',Georgia,serif!important;
  font-style:italic!important;font-weight:500!important;
  font-size:clamp(48px,4.45vw,78px)!important;
  line-height:.99!important;letter-spacing:-.047em!important;
  color:#171719!important;margin:0!important;text-wrap:balance;
}
body.cinestate-unified main#top .hero-copy h1 .soft{
  color:#85868b!important;font-weight:500!important;
}
body.cinestate-unified main#top .hero-copy p{
  max-width:550px!important;margin:22px 0 24px!important;
  color:#6f7075!important;font-family:'DM Sans',sans-serif!important;
  font-size:17px!important;line-height:1.58!important;letter-spacing:-.01em!important;
}
body.cinestate-unified main#top .hero-actions{gap:12px!important}
body.cinestate-unified main#top .hero-actions .pill{
  min-height:46px!important;padding:12px 18px!important;font-size:13px!important;
  box-shadow:none!important;
}
body.cinestate-unified main#top .hero-actions .pill:not(.pill-dark){
  border:1px solid #e2e3e6!important;background:#fff!important;color:#252528!important;
}
body.cinestate-unified main#top .hero-proof{
  gap:12px 20px!important;margin-top:24px!important;font-size:11px!important;color:#777980!important;
}
body.cinestate-unified main#top .hero-proof svg{stroke:#45464a!important}
body.cinestate-unified main#top .hero-stage{min-width:0!important;overflow:visible!important}
body.cinestate-unified main#top .ambient-orb{display:none!important}
body.cinestate-unified main#top .demo-shell{
  aspect-ratio:1.42!important;
  border-radius:30px!important;padding:8px!important;
  background:#151516!important;
  box-shadow:0 24px 58px rgba(0,0,0,.13),0 2px 6px rgba(0,0,0,.07)!important;
}
body.cinestate-unified main#top .demo-shell iframe{
  border-radius:22px!important;background:#fff!important;
}
body.cinestate-unified main#top .hero-stage:after{
  background:radial-gradient(ellipse,rgba(20,24,30,.10),transparent 68%)!important;
  filter:blur(28px)!important;bottom:0!important;
}
/* Avoid motion tilt that makes the tablet look cluttered or distort the frame. */
body.cinestate-unified main#top .demo-shell.parallax{transform:none!important;will-change:auto!important}
body.cinestate-unified main#top .demo-shell.parallax:hover{transform:translateY(-2px)!important}
body.cinestate-unified main#top .metrics-card{background:#f5f6f7!important;border:1px solid #eff0f2!important}
body.cinestate-unified main#top .features-apple{background:#f5f6f7!important}
body.cinestate-unified main#top .closing{background:linear-gradient(180deg,#fff,#f5f6f7)!important}
body.cinestate-unified main#top .bento-card.dark{background:#18191b!important}

/* Shared page palette: reduce beige panels, retain the gold only as a tiny accent. */
body.cinestate-unified.app-body,
body.cinestate-unified:has(#s-upload),
body.cinestate-unified:has(#prog-overlay),
body.cinestate-unified .presentation,
body.cinestate-unified .presentation-page{
  background:#f5f6f7!important;
}
body.cinestate-unified .auth-page,
body.cinestate-unified .login-page{
  background:#f5f6f7!important;
}
body.cinestate-unified .mode-card,
body.cinestate-unified .pcard,
body.cinestate-unified .settings-panel,
body.cinestate-unified #s-result,
body.cinestate-unified .auth-card,
body.cinestate-unified .login-card{
  background:#fff!important;
}
body.cinestate-unified .btn-ai,
body.cinestate-unified .mode-card.selected,
body.cinestate-unified .mode.selected{
  background:#f5f6f7!important;color:#242529!important;border-color:#e2e3e6!important;
}

@media(max-width:1060px){
  body.cinestate-unified main#top .site-wrap,
  body.cinestate-unified main#top .site-wrap.hero-grid{width:calc(100% - 48px)!important;max-width:920px!important}
  body.cinestate-unified main#top .site-wrap.hero-grid{grid-template-columns:1fr!important;gap:30px!important}
  body.cinestate-unified main#top .hero-copy{text-align:center!important;max-width:780px!important;margin-inline:auto!important}
  body.cinestate-unified main#top .hero-copy h1,
  body.cinestate-unified main#top .hero-copy p{margin-left:auto!important;margin-right:auto!important}
  body.cinestate-unified main#top .hero-actions,
  body.cinestate-unified main#top .hero-proof{justify-content:center!important}
  body.cinestate-unified main#top .hero-stage{width:100%!important;max-width:1000px!important;margin-inline:auto!important}
}
@media(max-width:760px){
  body.cinestate-unified main#top .site-wrap,
  body.cinestate-unified main#top .site-wrap.hero-grid{width:calc(100% - 32px)!important}
  body.cinestate-unified main#top .hero-copy h1{font-size:clamp(42px,9.5vw,62px)!important;line-height:1.02!important}
  body.cinestate-unified main#top .hero-copy p{font-size:16px!important;margin-top:18px!important}
  body.cinestate-unified main#top .hero-proof{gap:10px 14px!important;margin-top:20px!important}
  body.cinestate-unified main#top .demo-shell{border-radius:22px!important;padding:6px!important}
  body.cinestate-unified main#top .demo-shell iframe{border-radius:16px!important}
}


/* V11 presentation and editorial surfaces: white/cool-neutral, gold kept minimal. */
body.cinestate-unified .sc,
body.cinestate-unified .slide,
body.cinestate-unified .presentation-slide,
body.cinestate-unified .slide-card{background:#fff!important;color:#171719!important}
body.cinestate-unified .lbl,
body.cinestate-unified .logo-tag,
body.cinestate-unified .logo-sub,
body.cinestate-unified .sub{color:#73757b!important}
body.cinestate-unified .navdot.on,
body.cinestate-unified .step-dot.active{background:#171719!important}
body.cinestate-unified .fill,
body.cinestate-unified .bar-fill{background:#171719!important}
body.cinestate-unified .pill-blue{background:#171719!important;color:#fff!important}
body.cinestate-unified .plan.featured .tag{background:#f0f1f2!important;color:#45464a!important}


/* =========================================================
   V15 — polished mobile experience and consistent line icons
   ========================================================= */
.line-arrow-icon{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero-how-link{display:inline-flex;align-items:center;gap:9px}
.play:after{display:none!important}
.property-media .play svg{display:block;width:22px;height:22px;fill:none;stroke:#171719;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#fb-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;font-family:'DM Sans',sans-serif!important}
#fb-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}

@media(max-width:760px){
  html{scroll-padding-top:72px}
  .apple-nav{height:62px!important;padding-top:env(safe-area-inset-top);background:rgba(255,255,255,.94)!important}
  .apple-nav .nav-inner{width:calc(100% - 28px)!important;gap:10px!important;justify-content:space-between!important}
  .brand{font-size:23px!important;line-height:1;letter-spacing:-.045em!important}
  .nav-actions{gap:0!important}
  .nav-actions .pill{min-height:42px!important;padding:10px 14px!important;font-size:12px!important;white-space:nowrap}
  main#top .hero-apple,body.cinestate-unified main#top .hero-apple{padding:82px 0 26px!important;background:#fff!important;min-height:0!important}
  main#top .site-wrap.hero-grid,body.cinestate-unified main#top .site-wrap.hero-grid{width:calc(100% - 32px)!important;max-width:560px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
  main#top .hero-copy,body.cinestate-unified main#top .hero-copy{max-width:none!important;width:100%!important;text-align:center!important;margin:0 auto!important}
  main#top .hero-copy .eyebrow,body.cinestate-unified main#top .hero-copy .eyebrow{font-size:10px!important;letter-spacing:.16em!important;margin:0 0 12px!important}
  main#top .hero-copy h1,body.cinestate-unified main#top .hero-copy h1{font-size:clamp(38px,10vw,54px)!important;line-height:1.01!important;letter-spacing:-.048em!important;max-width:560px!important;margin:0 auto!important;text-wrap:balance}
  main#top .hero-copy p,body.cinestate-unified main#top .hero-copy p{font-size:16px!important;line-height:1.52!important;max-width:36ch!important;margin:16px auto 19px!important;text-align:center!important}
  main#top .hero-actions,body.cinestate-unified main#top .hero-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:4px!important;max-width:310px!important;margin:0 auto!important}
  main#top .hero-actions .pill,body.cinestate-unified main#top .hero-actions .pill{width:100%!important;min-height:48px!important;padding:12px 18px!important;font-size:14px!important;justify-content:center!important}
  main#top .hero-actions .hero-how-link,body.cinestate-unified main#top .hero-actions .hero-how-link{width:auto!important;min-height:40px!important;align-self:center!important;padding:9px 12px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#252629!important}
  main#top .hero-proof,body.cinestate-unified main#top .hero-proof{display:grid!important;grid-template-columns:max-content max-content!important;justify-content:center!important;gap:11px 16px!important;max-width:100%!important;margin:17px auto 0!important;font-size:11px!important;line-height:1.35!important;text-align:left!important}
  main#top .hero-proof span:last-child,body.cinestate-unified main#top .hero-proof span:last-child{grid-column:1/-1!important;justify-self:center!important}
  main#top .hero-proof span,body.cinestate-unified main#top .hero-proof span{gap:6px!important;white-space:normal}
  main#top .hero-proof svg,body.cinestate-unified main#top .hero-proof svg{width:13px!important;height:13px!important;flex:0 0 auto}
  main#top .hero-stage,body.cinestate-unified main#top .hero-stage{width:100%!important;min-height:0!important;height:auto!important;margin:8px auto 0!important;overflow:hidden!important;perspective:none!important}
  main#top .demo-shell,body.cinestate-unified main#top .demo-shell{width:100%!important;max-width:100%!important;height:clamp(410px,118vw,470px)!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:1px solid #e3e5e8!important;border-radius:24px!important;background:#fff!important;box-shadow:0 14px 38px rgba(0,0,0,.075)!important;transform:none!important;overflow:hidden!important}
  main#top .demo-shell iframe,body.cinestate-unified main#top .demo-shell iframe{display:block!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:23px!important;background:#fff!important}
  main#top .hero-stage:after,body.cinestate-unified main#top .hero-stage:after{display:none!important}
  main#top .floating-card,main#top .arrow-note{display:none!important}
  main#top .workflow,body.cinestate-unified main#top .workflow{background:#f5f6f7!important;color:#171719!important;padding:8px 0!important}
  main#top .workflow-grid,body.cinestate-unified main#top .workflow-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important}
  main#top .flow-step,body.cinestate-unified main#top .flow-step{padding:19px 10px!important;text-align:center!important;border-right:1px solid #e4e5e8!important;border-bottom:1px solid #e4e5e8!important;min-width:0}
  main#top .flow-step:nth-child(2n),body.cinestate-unified main#top .flow-step:nth-child(2n){border-right:0!important}
  main#top .flow-step:nth-child(n+3),body.cinestate-unified main#top .flow-step:nth-child(n+3){border-bottom:0!important}
  main#top .flow-icon,body.cinestate-unified main#top .flow-icon{width:42px!important;height:42px!important;margin:0 auto 10px!important;background:#fff!important;border:1px solid #e3e5e8!important}
  main#top .flow-icon svg,body.cinestate-unified main#top .flow-icon svg{width:20px!important;height:20px!important;stroke:#171719!important}
  main#top .flow-step strong,body.cinestate-unified main#top .flow-step strong{font-size:15px!important;color:#171719!important;line-height:1.25!important}
  main#top .flow-step small,body.cinestate-unified main#top .flow-step small{display:block;margin-top:4px;color:#73757b!important;font-size:11px!important;line-height:1.4!important}
  main#top .story,body.cinestate-unified main#top .story{padding:50px 0!important}
  main#top .story-grid,body.cinestate-unified main#top .story-grid{grid-template-columns:minmax(0,1fr)!important;gap:26px!important}
  main#top .media-stack,body.cinestate-unified main#top .media-stack{width:100%!important;min-width:0}
  main#top .property-media,body.cinestate-unified main#top .property-media{aspect-ratio:1.12!important;border-radius:22px!important}
  main#top .before-chip,body.cinestate-unified main#top .before-chip{display:none!important}
  main#top .property-media .play,body.cinestate-unified main#top .property-media .play{width:48px!important;height:48px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 5px 18px rgba(0,0,0,.12)!important}
  main#top .story-copy,body.cinestate-unified main#top .story-copy{text-align:left!important}
  main#top .story-copy h2,body.cinestate-unified main#top .story-copy h2{font-size:clamp(38px,9.5vw,46px)!important;line-height:1.02!important;margin:10px 0 16px!important}
  main#top .story-copy>p,body.cinestate-unified main#top .story-copy>p{font-size:16px!important;line-height:1.55!important;margin:0!important}
  main#top .feature-list,body.cinestate-unified main#top .feature-list{width:100%!important;max-width:100%!important;margin:22px 0 0!important;gap:12px!important}
  main#top .feature-list li,body.cinestate-unified main#top .feature-list li{font-size:14px!important;line-height:1.4!important;gap:10px!important;align-items:flex-start!important}
  main#top .check,body.cinestate-unified main#top .check{width:20px!important;height:20px!important;flex:0 0 20px!important}
  main#top .metrics,body.cinestate-unified main#top .metrics{padding:0 0 42px!important}
  main#top .metrics-card,body.cinestate-unified main#top .metrics-card{grid-template-columns:repeat(2,minmax(0,1fr))!important;border-radius:20px!important}
  main#top .metric,body.cinestate-unified main#top .metric{padding:23px 10px!important;border-right:1px solid #e3e5e8!important;border-bottom:1px solid #e3e5e8!important;min-width:0}
  main#top .metric:nth-child(2n),body.cinestate-unified main#top .metric:nth-child(2n){border-right:0!important}
  main#top .metric:nth-child(n+3),body.cinestate-unified main#top .metric:nth-child(n+3){border-bottom:0!important}
  main#top .metric b,body.cinestate-unified main#top .metric b{font-size:30px!important}
  main#top .metric span,body.cinestate-unified main#top .metric span{display:block;font-size:11px!important;line-height:1.4!important;margin-top:5px}
  main#top .features-apple,main#top .compare-apple,main#top .pricing-apple,main#top .faq-apple,body.cinestate-unified main#top .features-apple,body.cinestate-unified main#top .compare-apple,body.cinestate-unified main#top .pricing-apple,body.cinestate-unified main#top .faq-apple{padding:54px 0!important}
  main#top .section-head,body.cinestate-unified main#top .section-head{margin:0 auto 28px!important}
  main#top .section-head h2,body.cinestate-unified main#top .section-head h2{font-size:clamp(36px,9.4vw,44px)!important;line-height:1.02!important;margin:10px 0 14px!important}
  main#top .section-head p,body.cinestate-unified main#top .section-head p{font-size:15px!important;line-height:1.55!important}
  main#top .bento,body.cinestate-unified main#top .bento{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  main#top .bento-card,body.cinestate-unified main#top .bento-card{min-height:260px!important;padding:23px!important;border-radius:22px!important}
  main#top .bento-card.large,body.cinestate-unified main#top .bento-card.large{grid-row:auto!important;min-height:380px!important}
  main#top .bento-card h3,body.cinestate-unified main#top .bento-card h3{font-size:26px!important;line-height:1.08!important}
  main#top .bento-card p,body.cinestate-unified main#top .bento-card p{font-size:14px!important;line-height:1.5!important}
  main#top .bento-visual,body.cinestate-unified main#top .bento-visual{left:20px!important;right:20px!important;height:48%!important;border-radius:17px 17px 0 0!important}
  main#top .gradient-disc,body.cinestate-unified main#top .gradient-disc{width:210px!important;height:210px!important;right:-45px!important;bottom:-50px!important}
  main#top .compare-grid,body.cinestate-unified main#top .compare-grid{grid-template-columns:minmax(0,1fr)!important;gap:25px!important}
  main#top .compare-copy,body.cinestate-unified main#top .compare-copy{position:static!important}
  main#top .compare-copy h2,body.cinestate-unified main#top .compare-copy h2{font-size:40px!important;line-height:1.02!important}
  main#top .compare-copy p,body.cinestate-unified main#top .compare-copy p{font-size:15px!important;line-height:1.55!important}
  main#top .compare-table,body.cinestate-unified main#top .compare-table{border-radius:16px!important}
  main#top .compare-row,body.cinestate-unified main#top .compare-row{grid-template-columns:minmax(0,1.35fr) minmax(48px,.65fr) minmax(66px,.75fr)!important;padding:13px 9px!important;gap:4px!important;font-size:11px!important;line-height:1.35!important;overflow-wrap:anywhere}
  main#top .compare-row.head,body.cinestate-unified main#top .compare-row.head{font-size:10px!important}
  main#top .pricing-apple .plans,body.cinestate-unified main#top .pricing-apple .plans{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  main#top .pricing-apple .plan,body.cinestate-unified main#top .pricing-apple .plan{min-height:0!important;padding:24px!important;border-radius:22px!important}
  main#top .pricing-apple .plan p,body.cinestate-unified main#top .pricing-apple .plan p{min-height:0!important}
  main#top .billing,body.cinestate-unified main#top .billing{max-width:100%!important;margin-bottom:24px!important}
  main#top .billing button,body.cinestate-unified main#top .billing button{padding:9px 13px!important;font-size:12px!important}
  main#top .faq-layout,body.cinestate-unified main#top .faq-layout{grid-template-columns:minmax(0,1fr)!important;gap:23px!important}
  main#top .faq-layout h2,body.cinestate-unified main#top .faq-layout h2{font-size:40px!important;line-height:1.03!important}
  main#top .faq-q,body.cinestate-unified main#top .faq-q{padding:18px 0!important;font-size:15px!important;line-height:1.45!important}
  main#top .closing,body.cinestate-unified main#top .closing{padding-top:48px!important}
  main#top .closing-card,body.cinestate-unified main#top .closing-card{min-height:350px!important;border-radius:22px 22px 0 0!important}
  main#top .closing-content h2,body.cinestate-unified main#top .closing-content h2{font-size:clamp(38px,9vw,48px)!important;line-height:1.02!important}
  main#top .closing-content .pill,body.cinestate-unified main#top .closing-content .pill{min-height:46px!important;padding:12px 16px!important;font-size:13px!important}
  main#top footer,body.cinestate-unified main#top footer{padding:28px 0!important}
  main#top .footer-inner,body.cinestate-unified main#top .footer-inner{align-items:flex-start!important;gap:15px!important}
  main#top .footer-links,body.cinestate-unified main#top .footer-links{gap:12px 18px!important;font-size:12px!important}
  #fb-btn{right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;padding:9px 12px!important;font-size:12px!important;box-shadow:0 6px 18px rgba(0,0,0,.14)!important}
  #fb-btn svg{width:15px!important;height:15px!important}
  #fb-overlay{padding:14px!important}
  #fb-modal{width:100%!important;max-width:440px!important;padding:22px!important;border-radius:22px!important}
}

/* Small-screen editor ergonomics: two-column photo cards and controls that wrap. */
@media(max-width:600px){
  body:has(#s-upload) header{position:sticky!important;top:0!important;z-index:120!important;display:flex!important;align-items:center!important;gap:8px!important;min-height:58px!important;height:auto!important;padding:8px 12px!important;flex-wrap:nowrap!important}
  body:has(#s-upload) header .logo{font-size:20px!important;white-space:nowrap}
  body:has(#s-upload) header .logo-sub{display:none!important}
  body:has(#s-upload) header .step-trail{display:flex!important;gap:4px!important;margin-left:auto!important;margin-right:4px!important;flex:0 0 auto}
  body:has(#s-upload) header .step-dot{width:6px!important;height:6px!important}
  body:has(#s-upload) header .hdr-right{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
  body:has(#s-upload) header .credits-badge{font-size:10px!important;padding:5px 7px!important;white-space:nowrap}
  body:has(#s-upload) header .tier-badge,body:has(#s-upload) header .trial-badge{display:none!important}
  body:has(#s-upload) header .hdr-upgrade-btn{font-size:10px!important;padding:8px 10px!important;white-space:nowrap}
  body:has(#s-upload) header .hdr-manage-btn,body:has(#s-upload) header .hdr-logout-btn{min-height:34px!important;padding:7px 9px!important;place-items:center!important}
  body:has(#s-upload) main{width:calc(100% - 24px)!important;padding:22px 0 50px!important}
  #upload-zone{min-height:260px!important;padding:38px 14px!important;border-radius:20px!important}
  #upload-zone h2{font-size:clamp(27px,7vw,34px)!important;line-height:1.08!important}
  #upload-zone p{font-size:13px!important;line-height:1.45!important}
  #photos-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  #photos-grid .pcard{min-width:0!important;border-radius:14px!important}
  #photos-grid .pcard img{width:100%!important;aspect-ratio:4/3!important;object-fit:cover!important}
  #s-manual .sec-bar{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important}
  #s-manual .sec-acts{display:flex!important;flex-wrap:wrap!important;gap:7px!important;width:100%!important;margin-left:0!important}
  #s-manual .sec-acts button{min-height:38px!important;font-size:11px!important;padding:8px 11px!important}
  .settings-panel{padding:14px!important;border-radius:16px!important}
  .sp-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .sp-input,.sp-sel,.res-sel,.fx-sel,.card-sel,.card-text-input{width:100%!important;min-width:0!important;min-height:40px!important}
  #s-result{margin-top:12px!important;border-radius:18px!important}
  #s-result .result-head{padding:16px!important;gap:6px!important}
  #s-result .result-head h2{font-size:25px!important}
  #s-result .result-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;padding:12px 14px!important}
  #s-result .result-actions button,#s-result .result-actions a{min-height:40px!important;max-width:100%!important;font-size:12px!important}
  body:has(#prog-overlay) #prog-overlay{padding:18px 12px!important;gap:14px!important}
  body:has(#prog-overlay) #prog-overlay h2{font-size:29px!important;text-align:center!important}
  body:has(#prog-overlay) #prev-wrap{width:min(54vw,220px)!important;max-width:220px!important;max-height:48vh!important;border-radius:15px!important}
  body:has(#prog-overlay) #prog-track{width:calc(100vw - 44px)!important}
  #fb-btn{right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important}
}


/* V15 icon finish: icons are vector strokes, never platform emoji. */
#fb-btn{background:#171719!important;color:#fff!important;border:0!important;border-radius:999px!important;box-shadow:0 8px 24px rgba(0,0,0,.12)!important}
#fb-btn:hover{background:#000!important;box-shadow:0 10px 28px rgba(0,0,0,.16)!important}
.hdr-manage-btn svg,.hdr-logout-btn svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mail-mark{display:flex;justify-content:center;align-items:center;color:#171719}
@media(max-width:380px){
  body:has(#s-upload) header .step-trail{display:none!important}
  body:has(#s-upload) header .logo{font-size:19px!important}
  body:has(#s-upload) header .hdr-right{gap:4px!important}
  body:has(#s-upload) header .credits-badge{padding:5px 6px!important}
  body:has(#s-upload) header .hdr-upgrade-btn{padding:8px 8px!important}
}


/* V16 account header repair: explicit icon contrast, preserved SVGs and visible sign-out action. */
body:has(#s-upload) header .hdr-right{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;min-width:0!important}
body:has(#s-upload) header .hdr-manage-btn,
body:has(#s-upload) header .hdr-logout-btn{
  align-items:center!important;justify-content:center!important;gap:6px!important;
  min-width:36px!important;min-height:36px!important;height:auto!important;width:auto!important;
  padding:8px 11px!important;border-radius:999px!important;
  background:#fff!important;color:#36363a!important;border:1px solid #dedee3!important;
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
  font-size:12px!important;font-weight:600!important;line-height:1!important;
  box-shadow:0 1px 2px rgba(0,0,0,.025)!important;white-space:nowrap!important;
}
body:has(#s-upload) header .hdr-manage-btn{display:none}
body:has(#s-upload) header .hdr-logout-btn{display:inline-flex!important}
body:has(#s-upload) header .hdr-manage-btn[style*="inline-flex"]{display:inline-flex!important}
body:has(#s-upload) header .hdr-manage-btn svg,
body:has(#s-upload) header .hdr-logout-btn svg{
  display:block!important;visibility:visible!important;opacity:1!important;flex:0 0 16px!important;
  width:16px!important;height:16px!important;overflow:visible!important;
  fill:none!important;stroke:#36363a!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;color:#36363a!important;
}
body:has(#s-upload) header .hdr-btn-label{display:inline-block!important;color:inherit!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important}
body:has(#s-upload) header .hdr-manage-btn:disabled{opacity:.65!important;cursor:wait!important}
body:has(#s-upload) header .hdr-manage-btn.is-loading svg{opacity:.55!important}
@media(max-width:600px){
  body:has(#s-upload) header{gap:7px!important;justify-content:space-between!important}
  body:has(#s-upload) header .hdr-right{gap:5px!important}
  body:has(#s-upload) header .credits-badge{font-size:10px!important;padding:6px 8px!important}
  body:has(#s-upload) header .hdr-manage-btn,body:has(#s-upload) header .hdr-logout-btn{min-height:34px!important;padding:8px 9px!important}
  body:has(#s-upload) header .hdr-btn-label{font-size:11px!important}
}
@media(max-width:380px){
  body:has(#s-upload) header .hdr-manage-btn .hdr-btn-label{display:none!important}
  body:has(#s-upload) header .hdr-manage-btn{width:34px!important;min-width:34px!important;padding:8px!important}
  body:has(#s-upload) header .hdr-logout-btn{padding:8px 9px!important}
}
